/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionManagerServiceImpl.java | 261 private final PackageManagerInternal mPackageManagerInt; field in PermissionManagerServiceImpl 335 mPackageManagerInt.writeSettings(true); 339 mPackageManagerInt.writeSettings(true); 347 mPackageManagerInt.writeSettings(false); 403 mPackageManagerInt.writeSettings(true); 411 mPackageManagerInt.writePermissionSettings(userIds, !sync); 415 mPackageManagerInt.writeSettings(true); 419 mPackageManagerInt.writeSettings(false); 432 mPackageManagerInt = LocalServices.getService(PackageManagerInternal.class); in PermissionManagerServiceImpl() 521 if (mPackageManagerInt.getInstantAppPackageName(callingUid) != null) { in getAllPermissionGroups() [all …]
|
D | PermissionManagerService.java | 115 private final PackageManagerInternal mPackageManagerInt; field in PermissionManagerService 150 mPackageManagerInt = LocalServices.getService(PackageManagerInternal.class); in PermissionManagerService() 292 final AndroidPackage pkg = mPackageManagerInt.getPackage(packageName); in setAutoRevokeExempted() 335 mPackageManagerInt.isCallerInstallerOfRecord(pkg, callingUid); in checkAutoRevokeAccess() 343 if (pkg == null || mPackageManagerInt.filterAppAccess(pkg, callingUid, in checkAutoRevokeAccess() 355 final AndroidPackage pkg = mPackageManagerInt.getPackage(packageName); in isAutoRevokeExempted() 485 mPackageManagerInt.forEachInstalledPackage(pkg -> { in getPackagesWithAutoRevokePolicy()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceTimeoutTest.java | 85 private PackageManagerInternal mPackageManagerInt; field in ServiceTimeoutTest 106 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 107 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 115 realAms.mPackageManagerInt = mPackageManagerInt; in setUp()
|
D | BaseBroadcastQueueTest.java | 105 PackageManagerInternal mPackageManagerInt; field in BaseBroadcastQueueTest 153 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 156 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 157 doNothing().when(mPackageManagerInt).notifyComponentUsed(any(), anyInt(), any(), any()); in setUp() 160 }).when(mPackageManagerInt).getPackageUid(any(), anyLong(), eq(UserHandle.USER_SYSTEM)); in setUp() 170 realAms.mPackageManagerInt = mPackageManagerInt; in setUp()
|
D | AsyncProcessStartTest.java | 91 private PackageManagerInternal mPackageManagerInt; field in AsyncProcessStartTest 120 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 128 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 138 mRealAms.mPackageManagerInt = mPackageManagerInt; in setUp()
|
D | ProcessObserverTest.java | 90 private PackageManagerInternal mPackageManagerInt; field in ProcessObserverTest 121 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 129 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 139 mRealAms.mPackageManagerInt = mPackageManagerInt; in setUp()
|
D | AppChildProcessTest.java | 70 @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()
|
D | ServiceBindingOomAdjPolicyTest.java | 127 private PackageManagerInternal mPackageManagerInt; field in ServiceBindingOomAdjPolicyTest 163 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 164 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 174 realAms.mPackageManagerInt = mPackageManagerInt; in setUp() 181 doReturn(false).when(mPackageManagerInt).filterAppAccess(anyString(), anyInt(), anyInt()); in setUp() 558 doReturn(rInfo).when(mPackageManagerInt).resolveService(any(Intent.class), any(), in createServiceIntent()
|
D | ApplicationStartInfoTest.java | 88 @Mock private PackageManagerInternal mPackageManagerInt; field in ApplicationStartInfoTest 116 mAms.mPackageManagerInt = mPackageManagerInt; in setUp() 118 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 119 doReturn("com.android.test").when(mPackageManagerInt).getNameForUid(anyInt()); in setUp() 122 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp()
|
D | CacheOomRankerTest.java | 85 private PackageManagerInternal mPackageManagerInt; field in CacheOomRankerTest 119 mAms.mPackageManagerInt = mPackageManagerInt; in setUp() 120 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 122 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp()
|
D | CachedAppOptimizerTest.java | 86 private PackageManagerInternal mPackageManagerInt; field in CachedAppOptimizerTest 109 doReturn(new ComponentName("", "")).when(mPackageManagerInt).getSystemUiServiceComponent(); in setUp() 121 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 1003 mAms.mPackageManagerInt = mPackageManagerInt; in initActivityManagerService()
|
D | ApplicationExitInfoTest.java | 102 @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()
|
D | BroadcastQueueTest.java | 789 verify(mAms.mPackageManagerInt, atLeastOnce()).notifyComponentUsed(
|
D | MockingOomAdjusterTests.java | 192 mService.mPackageManagerInt = mPackageManagerInternal; in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 578 if (_service.mPackageManagerInt != null) { in ProcessRecord() 581 _service.mPackageManagerInt.getProcessesForUid(_definingUid); in ProcessRecord() 585 _service.mPackageManagerInt.getProcessesForUid(_uid); in ProcessRecord()
|
D | BroadcastQueueModernImpl.java | 1191 mService.mPackageManagerInt.grantImplicitAccess(r.userId, r.intent, in dispatchReceivers() 1257 mService.mPackageManagerInt.grantImplicitAccess(r.userId, r.intent, in scheduleResultTo() 1622 final int uid = mService.mPackageManagerInt.getPackageUid( in cleanupDisabledPackageReceiversLocked() 2145 mService.mPackageManagerInt.notifyComponentUsed( in notifyScheduleReceiver()
|
D | AppStartInfoTracker.java | 817 TextUtils.isEmpty(mService.mPackageManagerInt.getNameForUid(uid)); in onPackageRemoved() 1053 mService.mPackageManagerInt.getPackageUid( in clearHistoryProcessStartInfo()
|
D | AppExitInfoTracker.java | 633 mService.mPackageManagerInt.getNameForUid(uid)); in onPackageRemoved() 836 final int uid = mService.mPackageManagerInt.getPackageUid(packageName, in clearHistoryProcessExitInfo()
|
D | AppErrors.java | 530 if (mService.mPackageManagerInt.isPackageStateProtected(packages[i], proc.userId)) { in scheduleAppCrashLocked()
|
D | ContentProviderHelper.java | 518 mService.mPackageManagerInt.notifyComponentUsed( in getContentProviderImpl()
|
D | ProcessList.java | 1909 int[] denyGids = mService.mPackageManagerInt.getPermissionGids(
|
D | ActiveServices.java | 5789 mAm.mPackageManagerInt.notifyComponentUsed( in bringUpServiceInnerLocked()
|