Lines Matching refs:pm
26 import android.content.pm.ApplicationInfo;
27 import android.content.pm.PackageManager;
28 import android.content.pm.PackageManager.NameNotFoundException;
60 PackageManager pm = parent.getPackageManager(); in initializeBenchmarks() local
62 pm.getInstalledApplications(PackageManager.MATCH_SYSTEM_ONLY); in initializeBenchmarks()
66 pm.getInstalledPackages(PackageManager.GET_ACTIVITIES); in initializeBenchmarks()
71 pm.getPackageInfo(packageName, 0); in initializeBenchmarks()
79 pm.getApplicationInfo(packageName, 0); in initializeBenchmarks()
86 ApplicationInfo app = pm.getApplicationInfo(packageName, 0); in initializeBenchmarks()
89 pm.getResourcesForApplication(app); in initializeBenchmarks()
96 pm.getPackagesForUid(app.uid); in initializeBenchmarks()
105 pm.getActivityInfo(component, PackageManager.GET_META_DATA); in initializeBenchmarks()
112 pm.getLaunchIntentForPackage(packageName); in initializeBenchmarks()
117 pm.getPackageUid(packageName, 0); in initializeBenchmarks()
125 pm.checkPermission("android.permission.SEND_SMS", packageName); in initializeBenchmarks()
130 pm.checkSignatures("com.android.settings", packageName); in initializeBenchmarks()
135 pm.queryBroadcastReceivers(intent, 0); in initializeBenchmarks()
139 pm.hasSystemFeature(PackageManager.FEATURE_CAMERA); in initializeBenchmarks()
143 pm.resolveService(intent, 0); in initializeBenchmarks()