Class of snx.android.app · PackageManagerImpl.java
public final class PackageManagerImpl extends PackageManager
PackageManagerImpl ← PackageManager
The package manager of a device where this app is the only package: its manifest answers each query.
public static PackageManagerImpl get() sourcepublic PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException sourcepublic ApplicationInfo getApplicationInfo(String packageName, int flags) throws NameNotFoundException sourcepublic ActivityInfo getActivityInfo(ComponentName c, int flags) throws NameNotFoundException sourcepublic ActivityInfo getReceiverInfo(ComponentName c, int flags) throws NameNotFoundException sourcepublic ServiceInfo getServiceInfo(ComponentName c, int flags) throws NameNotFoundException sourcepublic ProviderInfo getProviderInfo(ComponentName c, int flags) throws NameNotFoundException sourcepublic ProviderInfo resolveContentProvider(String authority, int flags) sourcepublic List<PackageInfo> getInstalledPackages(int flags) sourcepublic List<ApplicationInfo> getInstalledApplications(int flags) sourcepublic List<ResolveInfo> queryIntentActivities(Intent intent, int flags) sourcepublic List<ResolveInfo> queryIntentServices(Intent intent, int flags) sourcepublic List<ResolveInfo> queryBroadcastReceivers(Intent intent, int flags) sourcepublic List<ResolveInfo> queryIntentContentProviders(Intent intent, int flags) sourcepublic ResolveInfo resolveActivity(Intent intent, int flags) sourcepublic ResolveInfo resolveService(Intent intent, int flags) sourcepublic Intent getLaunchIntentForPackage(String packageName) sourcepublic int checkPermission(String permName, String packageName) sourcepublic boolean hasSystemFeature(String featureName) sourceThe features of a phone with a touchscreen: no camera, telephony or sensors.
public synchronized void setComponentEnabledSetting(ComponentName componentName, int newState, int flags) sourcepublic synchronized int getComponentEnabledSetting(ComponentName componentName) sourcepublic void setApplicationEnabledSetting(String packageName, int newState, int flags) empty body sourcepublic int getApplicationEnabledSetting(String packageName) sourcepublic String getInstallerPackageName(String packageName) sourcepublic CharSequence getApplicationLabel(ApplicationInfo info) sourcepublic Drawable getApplicationIcon(ApplicationInfo info) sourcepublic Drawable getApplicationIcon(String packageName) throws NameNotFoundException sourcepublic CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) sourcepublic Resources getResourcesForApplication(ApplicationInfo app) throws NameNotFoundException sourcepublic Resources getResourcesForApplication(String packageName) throws NameNotFoundException sourcepublic String[] getPackagesForUid(int uid) sourcepublic String getNameForUid(int uid) sourcepublic int getPackageUid(String packageName, int flags) throws NameNotFoundException sourcepublic boolean isSafeMode() sourcepublic PermissionInfo getPermissionInfo(String permName, int flags) throws NameNotFoundException sourcepublic int checkSignatures(String packageName1, String packageName2) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.