OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mPm
(Results
1 - 25
of
38
) sorted by null
1
2
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
PmPermissionsTests.java
28
private PackageManager
mPm
;
34
mPm
= getContext().getPackageManager();
44
mPm
.getPackageSizeInfo(mPkgName, null);
59
mPm
.deleteApplicationCacheFiles(mPkgName, null);
74
mPm
.installPackage(null, null, 0, null);
89
mPm
.freeStorage(100000, null);
104
mPm
.freeStorageAndNotify(100000, null);
119
mPm
.clearApplicationUserData(mPkgName, null);
134
mPm
.deletePackage(mPkgName, null, 0);
/frameworks/base/core/tests/coretests/src/android/os/
PowerManagerTest.java
25
private PowerManager
mPm
;
33
mPm
= (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
43
assertNotNull(
mPm
);
53
PowerManager.WakeLock wl =
mPm
.newWakeLock(PowerManager.FULL_WAKE_LOCK, "FULL_WAKE_LOCK");
56
wl =
mPm
.newWakeLock(PowerManager.SCREEN_BRIGHT_WAKE_LOCK, "SCREEN_BRIGHT_WAKE_LOCK");
59
wl =
mPm
.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK, "SCREEN_DIM_WAKE_LOCK");
62
wl =
mPm
.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "PARTIAL_WAKE_LOCK");
83
PowerManager.WakeLock wl =
mPm
.newWakeLock(badFlags, "foo");
134
mPm
.setBacklightBrightness(0);
/development/apps/Development/src/com/android/development/
AppHwConfigList.java
42
PackageManager
mPm
;
48
mPm
= getPackageManager();
82
List<ApplicationInfo> appList =
mPm
.getInstalledApplications(0);
86
pkgInfo =
mPm
.getPackageInfo(app.packageName, 0);
136
text.setText(info != null ? info.applicationInfo.loadLabel(
mPm
) : "(none)");
147
CharSequence sa = ((PackageInfo) a).applicationInfo.loadLabel(
mPm
);
148
CharSequence sb = ((PackageInfo) b).applicationInfo.loadLabel(
mPm
);
ProcessInfo.java
28
PackageManager
mPm
;
36
mPm
= getPackageManager();
PermissionDetails.java
59
PackageManager
mPm
;
158
List<PackageInfo> list =
mPm
.getInstalledPackages(PackageManager.GET_PERMISSIONS);
191
mPm
= getPackageManager();
195
pInfo =
mPm
.getPermissionInfo(permName,
207
appInfo =
mPm
.getApplicationInfo(pInfo.packageName, 0);
208
String uidStr =
mPm
.getNameForUid(appInfo.uid);
216
String[] sharedList =
mPm
.getPackagesForUid(appInfo.uid);
AppHwPref.java
52
PackageManager
mPm
;
68
mPm
= getPackageManager();
71
pInfo =
mPm
.getPackageInfo(pkgName, PackageManager.GET_CONFIGURATIONS);
83
displayTextView(R.id.attr_package, pInfo.applicationInfo.loadLabel(
mPm
));
RunningProcesses.java
39
PackageManager
mPm
;
45
mPm
= getPackageManager();
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
PowerTest.java
35
PowerManager
mPm
;
46
mPm
= (PowerManager)getSystemService("power");
47
mProx =
mPm
.newWakeLock(PowerManager.PROXIMITY_SCREEN_OFF_WAKE_LOCK, "PowerTest-prox");
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
GrantActivity.java
46
private PackageManager
mPm
;
53
mPm
= getPackageManager();
77
PackageUtil.AppSnippet as = new PackageUtil.AppSnippet(
mPm
.getApplicationLabel(pkgInfo.applicationInfo),
78
mPm
.getApplicationIcon(pkgInfo.applicationInfo));
107
PackageInfo pkgInfo =
mPm
.getPackageInfo(mRequestingPackage, PackageManager.GET_PERMISSIONS);
160
PackageInfo pkgInfo =
mPm
.getPackageInfo(mRequestingPackage, PackageManager.GET_PERMISSIONS);
202
PermissionInfo pInfo =
mPm
.getPermissionInfo(permission, 0);
220
mPm
.grantPermission(mRequestingPackage, permission);
UninstallerActivity.java
55
PackageManager
mPm
;
83
CharSequence appTitle =
mPm
.getApplicationLabel(mAppInfo);
131
mPm
= getPackageManager();
134
mAppInfo =
mPm
.getApplicationInfo(packageName, PackageManager.GET_UNINSTALLED_PACKAGES);
146
activityInfo =
mPm
.getActivityInfo(new ComponentName(packageName, className), 0);
177
CharSequence activityLabel = activityInfo.loadLabel(
mPm
);
178
if (!activityLabel.equals(mAppInfo.loadLabel(
mPm
))) {
PackageInstallerActivity.java
74
PackageManager
mPm
;
262
CharSequence appTitle =
mPm
.getApplicationLabel(mPkgInfo.applicationInfo);
287
CharSequence appTitle1 =
mPm
.getApplicationLabel(mPkgInfo.applicationInfo);
301
CharSequence appTitle2 =
mPm
.getApplicationLabel(mSourceInfo);
344
mSourceInfo =
mPm
.getApplicationInfo(callerPackage, 0);
376
String[] oldName =
mPm
.canonicalToCurrentPackageNames(new String[] { pkgName });
387
mAppInfo =
mPm
.getApplicationInfo(pkgName,
419
mPm
= getPackageManager();
446
mPkgInfo =
mPm
.getPackageInfo(mPackageURI.getSchemeSpecificPart(),
460
as = new PackageUtil.AppSnippet(
mPm
.getApplicationLabel(mPkgInfo.applicationInfo)
[
all
...]
/packages/apps/Settings/src/com/android/settings/applications/
AppOpsDetails.java
53
private PackageManager
mPm
;
67
icon.setImageDrawable(
mPm
.getApplicationIcon(pkgInfo.applicationInfo));
70
label.setText(
mPm
.getApplicationLabel(pkgInfo.applicationInfo));
94
mPackageInfo =
mPm
.getPackageInfo(packageName,
127
PermissionInfo pi =
mPm
.getPermissionInfo(perm, 0);
130
PermissionGroupInfo pgi =
mPm
.getPermissionGroupInfo(pi.group, 0);
133
pgi.loadIcon(
mPm
));
174
mPm
= getActivity().getPackageManager();
ProcessStatsDetail.java
60
private PackageManager
mPm
;
84
mPm
= getActivity().getPackageManager();
88
mEntry.retrieveUiData(
mPm
);
134
icon.setImageDrawable(mEntry.mUiTargetApp.loadIcon(
mPm
));
181
ApplicationInfo ai =
mPm
.getApplicationInfo(packageName, 0);
182
icon.setImageDrawable(ai.loadIcon(
mPm
));
183
nameView.setText(ai.loadLabel(
mPm
));
303
ApplicationInfo info =
mPm
.getApplicationInfo(mEntry.mUiPackage, 0);
AppOpsState.java
49
final PackageManager
mPm
;
58
mPm
= context.getPackageManager();
250
mIcon = mInfo.loadIcon(mState.
mPm
);
260
mIcon = mInfo.loadIcon(mState.
mPm
);
470
appInfo =
mPm
.getApplicationInfo(packageName,
531
PackageInfo pi =
mPm
.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS);
538
apps =
mPm
.getPackagesHoldingPermissions(permsArray, 0);
InstalledAppDetails.java
105
private PackageManager
mPm
;
316
PackageInfo sys =
mPm
.getPackageInfo("android", PackageManager.GET_SIGNATURES);
407
mPm
= getActivity().getPackageManager();
620
mPackageInfo =
mPm
.getPackageInfo(mAppEntry.info.packageName,
638
final int match =
mPm
.checkSignatures(pkg1, pkg2);
666
mPm
.getHomeActivities(homeActivities);
688
mPm
.getPreferredActivities(intentList, prefActList, packageName);
[
all
...]
/packages/apps/Settings/src/com/android/settings/
HomeSettings.java
59
PackageManager
mPm
;
98
mPm
.replacePreferredActivity(mHomeFilter, IntentFilter.MATCH_CATEGORY_EMPTY,
149
ComponentName currentDefaultHome =
mPm
.getHomeActivities(homeActivities);
163
Drawable icon = info.loadIcon(
mPm
);
164
CharSequence name = info.loadLabel(
mPm
);
193
mPm
= getPackageManager();
244
final int match =
mPm
.checkSignatures(info.packageName, altHomePackage);
246
PackageInfo altInfo =
mPm
.getPackageInfo(altHomePackage, 0);
UsageStats.java
61
private PackageManager
mPm
;
133
ApplicationInfo appInfo =
mPm
.getApplicationInfo(ps.packageName, 0);
134
label = appInfo.loadLabel(
mPm
);
227
mPm
= getPackageManager();
NotificationStation.java
62
private PackageManager
mPm
;
106
mPm
= mContext.getPackageManager();
255
r =
mPm
.getResourcesForApplicationAsUser(pkg, userId);
269
icon =
mPm
.getApplicationIcon(pkg);
278
ApplicationInfo info =
mPm
.getApplicationInfo(pkg,
280
if (info != null) return
mPm
.getApplicationLabel(info);
390
intent.setComponent(intent.resolveActivity(
mPm
));
/frameworks/base/cmds/pm/src/com/android/commands/pm/
Pm.java
65
IPackageManager
mPm
;
90
mPm
= IPackageManager.Stub.asInterface(ServiceManager.getService("package"));
91
if (
mPm
== null) {
310
final List<PackageInfo> packages = getInstalledPackages(
mPm
, getFlags, userId);
332
System.out.print(
mPm
.getInstallerPackageName(info.packageName));
358
FeatureInfo[] rawList =
mPm
.getSystemAvailableFeatures();
396
String[] rawList =
mPm
.getSystemSharedLibraryNames();
452
List<InstrumentationInfo> list =
mPm
.queryInstrumentation(targetPackage, flags);
486
List<PermissionGroupInfo> pgs =
mPm
.getAllPermissionGroups(0);
547
mPm
.getAllPermissionGroups(0)
[
all
...]
/frameworks/base/core/java/android/widget/
AppSecurityPermissions.java
72
private final PackageManager
mPm
;
258
mPm
= mContext.getPackageManager();
269
pkgInfo =
mPm
.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS);
295
installedPkgInfo =
mPm
.getPackageInfo(info.packageName,
305
sharedUid =
mPm
.getUidForSharedUser(info.sharedUserId);
332
String sharedPkgList[] =
mPm
.getPackagesForUid(sharedUid);
343
PackageInfo pkgInfo =
mPm
.getPackageInfo(packageName, PackageManager.GET_PERMISSIONS);
367
PermissionInfo tmpPermInfo =
mPm
.getPermissionInfo(permName, 0);
398
grp =
mPm
.getPermissionGroupInfo(origGroupName, 0);
608
pInfo.mLabel = pInfo.loadLabel(
mPm
);
[
all
...]
/frameworks/base/services/java/com/android/server/
ServiceWatcher.java
55
private final PackageManager
mPm
;
105
mPm
= mContext.getPackageManager();
168
List<ResolveInfo> rInfos =
mPm
.queryIntentServicesAsUser(intent,
180
pInfo =
mPm
.getPackageInfo(packageName, PackageManager.GET_SIGNATURES);
/frameworks/base/services/java/com/android/server/search/
Searchables.java
76
final private IPackageManager
mPm
;
87
mPm
= AppGlobals.getPackageManager();
132
ai =
mPm
.getActivityInfo(activity, PackageManager.GET_META_DATA, mUserId);
409
mPm
.queryIntentActivities(intent,
/frameworks/base/core/java/com/android/internal/app/
ResolverActivity.java
71
private PackageManager
mPm
;
131
mPm
= getPackageManager();
208
dr = getIcon(
mPm
.getResourcesForApplication(ri.resolvePackageName), ri.icon);
215
dr = getIcon(
mPm
.getResourcesForApplication(ri.activityInfo.packageName), iconRes);
223
return ri.loadIcon(
mPm
);
490
currentResolveList = mOrigResolveList =
mPm
.queryIntentActivities(
540
new ResolveInfo.DisplayNameComparator(
mPm
);
575
CharSequence r0Label = r0.loadLabel(
mPm
);
582
CharSequence riLabel = ri.loadLabel(
mPm
);
615
CharSequence startApp = ro.activityInfo.applicationInfo.loadLabel(
mPm
);
[
all
...]
/development/samples/ApiDemos/src/com/example/android/apis/app/
LoaderCustom.java
102
mIcon = mInfo.loadIcon(mLoader.
mPm
);
112
mIcon = mInfo.loadIcon(mLoader.
mPm
);
211
final PackageManager
mPm
;
222
mPm
= getContext().getPackageManager();
232
List<ApplicationInfo> apps =
mPm
.getInstalledApplications(
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
LoaderCustomSupport.java
104
mIcon = mInfo.loadIcon(mLoader.
mPm
);
114
mIcon = mInfo.loadIcon(mLoader.
mPm
);
213
final PackageManager
mPm
;
224
mPm
= getContext().getPackageManager();
234
List<ApplicationInfo> apps =
mPm
.getInstalledApplications(
Completed in 3323 milliseconds
1
2