Home
last modified time | relevance | path

Searched refs:mPackageManagerInt (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java251 private final PackageManagerInternal mPackageManagerInt; field in PermissionManagerService
347 mPackageManagerInt.writeSettings(true);
351 mPackageManagerInt.writeSettings(true);
358 mPackageManagerInt.writeSettings(false);
368 mPackageManagerInt.writeSettings(true);
372 mPackageManagerInt.writePermissionSettings(userIds, !sync);
376 mPackageManagerInt.writeSettings(true);
380 mPackageManagerInt.writeSettings(false);
405 mPackageManagerInt = LocalServices.getService(PackageManagerInternal.class); in PermissionManagerService()
527 if (mPackageManagerInt.getInstantAppPackageName(callingUid) != null) { in getAllPermissionGroups()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DAppChildProcessTest.java70 @Mock private PackageManagerInternal mPackageManagerInt; field in AppChildProcessTest
107 mAms.mPackageManagerInt = mPackageManagerInt; in setUp()
111 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp()
115 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp()
DCacheOomRankerTest.java72 private PackageManagerInternal mPackageManagerInt; field in CacheOomRankerTest
105 mAms.mPackageManagerInt = mPackageManagerInt; in setUp()
106 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp()
108 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp()
DCachedAppOptimizerTest.java89 private PackageManagerInternal mPackageManagerInt; field in CachedAppOptimizerTest
111 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp()
123 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp()
1051 mAms.mPackageManagerInt = mPackageManagerInt; in initActivityManagerService()
DApplicationExitInfoTest.java102 @Mock private PackageManagerInternal mPackageManagerInt; field in ApplicationExitInfoTest
142 mAms.mPackageManagerInt = mPackageManagerInt; in setUp()
143 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp()
146 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp()
DMockingOomAdjusterTests.java162 sService.mPackageManagerInt = sPackageManagerInternal; in setUpOnce()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java481 if (_service.mPackageManagerInt != null) { in ProcessRecord()
483 _service.mPackageManagerInt.getProcessesForUid(_uid); in ProcessRecord()
DAppExitInfoTracker.java600 mService.mPackageManagerInt.getNameForUid(uid)); in onPackageRemoved()
803 final int uid = mService.mPackageManagerInt.getPackageUid(packageName, in clearHistoryProcessExitInfo()
DActivityManagerService.java1497 PackageManagerInternal mPackageManagerInt; field in ActivityManagerService
5534 if (mPackageManagerInt.isPackagePersistent(packageName)) { in appServicesRestrictedInBackgroundLOSP()
5931 if (mPackageManagerInt == null) { in getPackageManagerInternal()
5932 mPackageManagerInt = LocalServices.getService(PackageManagerInternal.class); in getPackageManagerInternal()
5934 return mPackageManagerInt; in getPackageManagerInternal()
6277 androidPackage = mPackageManagerInt.getPackage(packageName); in openContentUri()
6279 androidPackage = mPackageManagerInt.getPackage(uid); in openContentUri()
7836 mPackageManagerInt.getIncrementalStatesInfo(r.info.packageName, r.uid, in handleApplicationCrashInner()
8428 final int clientTargetSdk = mPackageManagerInt.getUidTargetSdkVersion(callingUid); in getRunningAppProcesses()
8530 uid = mPackageManagerInt.getPackageUid(packageName, in enforceDumpPermissionForPackage()
[all …]
DProcessList.java1856 int[] denyGids = mService.mPackageManagerInt.getPermissionGids(