Home
last modified time | relevance | path

Searched refs:mPm (Results 1 – 9 of 9) sorted by relevance

/development/apps/Development/src/com/android/development/
DAppHwConfigList.java42 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);
DProcessInfo.java28 PackageManager mPm; field in ProcessInfo
36 mPm = getPackageManager(); in onCreate()
DPermissionDetails.java59 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()
DAppHwPref.java52 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()
DRunningProcesses.java39 PackageManager mPm; field in RunningProcesses
45 mPm = getPackageManager(); in onCreate()
DConnectivity.java134 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/
DMonkeyPermissionUtil.java72 private IPackageManager mPm; field in MonkeyPermissionUtil
79 mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in MonkeyPermissionUtil()
120 List<?> pkgInfos = mPm.getInstalledPackages( in populatePermissionsMapping()
DMonkey.java75 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/
DLoaderCustom.java102 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()