Home
last modified time | relevance | path

Searched refs:mPm (Results 1 – 10 of 10) 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.java136 private PowerManager mPm; field in Connectivity
172 mScreenonWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK |
409 mPm = (PowerManager)getSystemService(Context.POWER_SERVICE); in onCreate()
563 mWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "ConnectivityTest"); in onStartDelayedCycle()
587 mScreenonWakeLock = mPm.newWakeLock(PowerManager.FULL_WAKE_LOCK, in onStartScreenCycle()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java71 private IPackageManager mPm; field in MonkeyPermissionUtil
77 mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in MonkeyPermissionUtil()
105 int flags = mPm.getPermissionFlags(pi.name, pkg, UserHandle.myUserId()); in shouldTargetPermission()
116 List<?> pkgInfos = mPm.getInstalledPackages( in populatePermissionsMapping()
132 PermissionInfo pi = mPm.getPermissionInfo(perm, 0); in populatePermissionsMapping()
DMonkey.java72 private IPackageManager mPm; field in Monkey
947 mPm = IPackageManager.Stub.asInterface(ServiceManager.getService("package")); in getSystemInterfaces()
948 if (mPm == null) { in getSystemInterfaces()
981 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()
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DLoaderCustomSupport.java104 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon()
114 mIcon = mInfo.loadIcon(mLoader.mPm); in getIcon()
213 final PackageManager mPm; field in LoaderCustomSupport.AppListLoader
224 mPm = getContext().getPackageManager(); in AppListLoader()
234 List<ApplicationInfo> apps = mPm.getInstalledApplications( in loadInBackground()