Home
last modified time | relevance | path

Searched refs:pmInternal (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java183 var pmInternal = LocalServices.getService(PackageManagerInternal.class); in addLibraryDependency() local
189 var pkg = pmInternal.getAndroidPackage(packageName); in addLibraryDependency()
214 pmInternal.forEachPackageState(pkgState -> { in addLibraryDependency()
DAppsFilterImpl.java268 PackageManagerInternal pmInternal, PackageManagerServiceInjector injector) { in FeatureConfigImpl() argument
269 mPmInternal = pmInternal; in FeatureConfigImpl()
490 public void onSystemReady(PackageManagerInternal pmInternal) { in onSystemReady() argument
494 updateEntireShouldFilterCacheAsync(pmInternal, in onSystemReady()
808 private void updateEntireShouldFilterCacheAsync(PackageManagerInternal pmInternal, int reason) { in updateEntireShouldFilterCacheAsync() argument
809 updateEntireShouldFilterCacheAsync(pmInternal, CACHE_REBUILD_DELAY_MIN_MS, reason); in updateEntireShouldFilterCacheAsync()
812 private void updateEntireShouldFilterCacheAsync(PackageManagerInternal pmInternal, in updateEntireShouldFilterCacheAsync() argument
823 final Computer snapshot = (Computer) pmInternal.snapshot(); in updateEntireShouldFilterCacheAsync()
843 updateEntireShouldFilterCacheAsync(pmInternal, in updateEntireShouldFilterCacheAsync()
DPackageManagerServiceTestParams.java79 public PackageManagerInternal pmInternal; field in PackageManagerServiceTestParams
DSettings.java3570 final PackageManagerInternal pmInternal =
3579 applyDefaultPreferredActivityLPw(pmInternal,
3665 private void applyDefaultPreferredActivityLPw(PackageManagerInternal pmInternal,
3706 applyDefaultPreferredActivityLPw(pmInternal, finalIntent, flags, cn,
3725 applyDefaultPreferredActivityLPw(pmInternal, finalIntent, flags, cn,
3737 applyDefaultPreferredActivityLPw(pmInternal, finalIntent, flags, cn,
3747 applyDefaultPreferredActivityLPw(pmInternal, finalIntent, flags, cn,
3763 applyDefaultPreferredActivityLPw(pmInternal, finalIntent, flags, cn,
3770 applyDefaultPreferredActivityLPw(pmInternal, finalIntent, flags, cn,
3777 applyDefaultPreferredActivityLPw(pmInternal, intent, flags, cn,
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java238 final PackageManagerInternal pmInternal = LocalServices.getService( in grantVisibilityToCaller() local
240 final int webviewUid = pmInternal.getPackageUid( in grantVisibilityToCaller()
242 pmInternal.grantImplicitAccess(UserHandle.getUserId(callingUid), null, in grantVisibilityToCaller()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java735 final PackageManagerInternal pmInternal = in canCallerAccessSpellChecker() local
737 return !pmInternal.filterAppAccess(sci.getPackageName(), callingUid, userId); in canCallerAccessSpellChecker()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java1857 final PackageManagerInternal pmInternal = in startActivityInner() local
1859 final int resultToUid = pmInternal.getPackageUid( in startActivityInner()
1862 pmInternal.grantImplicitAccess(mStartActivity.mUserId, mIntent, in startActivityInner()
1866 final PackageManagerInternal pmInternal = in startActivityInner() local
1868 pmInternal.grantImplicitAccess(mStartActivity.mUserId, mIntent, in startActivityInner()
DAccessibilityController.java2416 PackageManagerInternal pmInternal = in handleMessage() local
2443 os.write(CALLING_PKG, pmInternal.getNameForUid(message.arg1)); in handleMessage()
DActivityRecord.java5122 final PackageManagerInternal pmInternal = mAtmService.getPackageManagerInternalLocked(); in deliverNewIntentLocked() local
5123 pmInternal.grantImplicitAccess(userId, intent, recipientAppId /*recipient*/, in deliverNewIntentLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java388 final PowerManagerInternal pmInternal = addLocalServiceMock(PowerManagerInternal.class); in registerLocalServices() local
389 when(pmInternal.getLowPowerState(anyInt())).thenReturn(state); in registerLocalServices()
757 PowerManagerInternal pmInternal = LocalServices.getService(PowerManagerInternal.class); in testLowPowerModeObserver_ListenersRegistered() local
759 verify(pmInternal, atLeast(2)).registerLowPowerModeObserver(any()); in testLowPowerModeObserver_ListenersRegistered()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java6087 final PackageManagerInternal pmInternal =
6090 return pmInternal.getPackageUid(
6093 final boolean canAccess = !pmInternal.filterAppAccess(targetPkgName, callingUid, userId);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java15936 final PackageManagerInternal pmInternal = LocalServices.getService( in checkCrossProfilePackagePermissions() local
15938 final AndroidPackage androidPackage = pmInternal.getPackage(packageName); in checkCrossProfilePackagePermissions()