Searched refs:mPm (Results 1 – 9 of 9) sorted by relevance
/development/apps/Development/src/com/android/development/ |
D | AppHwConfigList.java | 42 PackageManager mPm; field in AppHwConfigList 48 mPm = getPackageManager(); in onCreate() 82 List<ApplicationInfo> appList = mPm.getInstalledApplications(0); in AppListAdapter() 86 pkgInfo = mPm.getPackageInfo(app.packageName, 0); in AppListAdapter() 136 text.setText(info != null ? info.applicationInfo.loadLabel(mPm) : "(none)"); in bindView() 147 CharSequence sa = ((PackageInfo) a).applicationInfo.loadLabel(mPm); 148 CharSequence sb = ((PackageInfo) b).applicationInfo.loadLabel(mPm);
|
D | ProcessInfo.java | 28 PackageManager mPm; field in ProcessInfo 36 mPm = getPackageManager(); in onCreate()
|
D | PermissionDetails.java | 59 PackageManager mPm; field in PermissionDetails 158 List<PackageInfo> list = mPm.getInstalledPackages(PackageManager.GET_PERMISSIONS); in getAppsUsingPerm() 191 mPm = getPackageManager(); in onCreate() 195 pInfo = mPm.getPermissionInfo(permName, in onCreate() 207 appInfo = mPm.getApplicationInfo(pInfo.packageName, 0); in onCreate() 208 String uidStr = mPm.getNameForUid(appInfo.uid); in onCreate() 216 String[] sharedList = mPm.getPackagesForUid(appInfo.uid); in onCreate()
|
D | AppHwPref.java | 52 PackageManager mPm; field in AppHwPref 68 mPm = getPackageManager(); in onCreate() 71 pInfo = mPm.getPackageInfo(pkgName, PackageManager.GET_CONFIGURATIONS); in onCreate() 83 displayTextView(R.id.attr_package, pInfo.applicationInfo.loadLabel(mPm)); in onCreate()
|
D | RunningProcesses.java | 39 PackageManager mPm; field in RunningProcesses 45 mPm = getPackageManager(); in onCreate()
|
D | Connectivity.java | 134 private PowerManager mPm; field in Connectivity 185 mScreenonWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK | 419 mPm = (PowerManager)getSystemService(Context.POWER_SERVICE); in onCreate() 576 mWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "ConnectivityTest"); in onStartDelayedCycle() 600 mScreenonWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, in onStartScreenCycle()
|
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyPermissionUtil.java | 72 private IPackageManager mPm; field in MonkeyPermissionUtil 79 mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in MonkeyPermissionUtil() 120 List<?> pkgInfos = mPm.getInstalledPackages( in populatePermissionsMapping()
|
D | Monkey.java | 75 private IPackageManager mPm; field in Monkey 300 mPm.resolveIntent(intent, intent.getType(), 0, in isActivityStartingAllowed() 1024 mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in getSystemInterfaces() 1025 if (mPm == null) { in getSystemInterfaces() 1058 List<ResolveInfo> mainApps = mPm.queryIntentActivities(intent, null, 0, in getMainApps()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LoaderCustom.java | 102 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon() 112 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon() 211 final PackageManager mPm; field in LoaderCustom.AppListLoader 222 mPm = getContext().getPackageManager(); in AppListLoader() 232 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()
|