/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | PackageManagerWrapper.java | 36 private static final IPackageManager mIPackageManager = AppGlobals.getPackageManager(); field in PackageManagerWrapper 52 return mIPackageManager.getActivityInfo(componentName, PackageManager.GET_META_DATA, in getActivityInfo() 66 return mIPackageManager.getHomeActivities(allHomeCandidates); in getHomeActivities() 80 return mIPackageManager.resolveIntent( in resolveActivity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | PackageManagerAdapter.java | 36 private IPackageManager mIPackageManager; field in PackageManagerAdapter 42 mIPackageManager = AppGlobals.getPackageManager(); in PackageManagerAdapter() 47 return mIPackageManager.getServiceInfo(className, flags, userId); in getServiceInfo()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | InstallStart.java | 47 private IPackageManager mIPackageManager; field in InstallStart 53 mIPackageManager = AppGlobals.getPackageManager(); in onCreate() 140 final String[] packages = mIPackageManager.getAppOpPermissionPackages(permission); in declaresAppOpPermission() 201 if (mIPackageManager.checkUidPermission(Manifest.permission.MANAGE_DOCUMENTS, in getOriginatingUid()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | PendingIntentControllerTest.java | 63 private IPackageManager mIPackageManager; field in PendingIntentControllerTest 80 doReturn(mIPackageManager).when(() -> AppGlobals.getPackageManager()); in setUp() 81 when(mIPackageManager.getPackageUid(eq(TEST_PACKAGE_NAME), anyInt(), anyInt())).thenReturn( in setUp()
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 78 private final IPackageManager mIPackageManager; field in AppBindingService 147 mIPackageManager = injector.getIPackageManager(); in AppBindingService() 391 final ServiceInfo service = app.findService(userId, mIPackageManager, mConstants); in bindServicesLocked()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 499 final IPackageManager mIPackageManager; field in DevicePolicyManagerService 1798 if (mIPackageManager.getPackageInfo(adminPackage, 0, userHandle) == null in handlePackagesChanged() 1799 || mIPackageManager.getReceiverInfo(aa.info.getComponent(), in handlePackagesChanged() 1851 && mIPackageManager.getPackageInfo(targetPackage, 0, userHandle) == null; in isRemovedPackage() 2228 mIPackageManager = Preconditions.checkNotNull(injector.getIPackageManager()); in DevicePolicyManagerService() 2991 ai = mIPackageManager.getReceiverInfo(adminName, 6259 receivers = mIPackageManager.queryIntentReceivers( in resolveDelegateReceiver() 7127 ai = mIPackageManager.getApplicationInfo(callerPackage, 0, userHandle); in getStorageEncryptionStatus() 8242 mIPackageManager.updatePermissionFlagsForAllApps( in clearUserPoliciesLocked() 8482 ApplicationInfo appInfo = mIPackageManager.getApplicationInfo(packageName, 0, userId); in checkDeviceIdentifierAccess() [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodManagerService.java | 690 private final IPackageManager mIPackageManager; field in InputMethodManagerService 1296 si = mIPackageManager.getServiceInfo( in onFinishPackageChangesInternal() 1444 mIPackageManager = AppGlobals.getPackageManager(); in InputMethodManagerService() 1572 InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mIPackageManager, in switchUserLocked() 1648 InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mIPackageManager, in systemRunning() 2410 mIPackageManager.getApplicationInfo(packageName, 0, in updateStatusIcon() 2627 ApplicationInfo ai = mIPackageManager.getApplicationInfo(imm.getPackageName(), in updateInputMethodsFromSettingsLocked() 2636 mIPackageManager.setApplicationEnabledSetting(imm.getPackageName(), in updateInputMethodsFromSettingsLocked() 3426 packageInfos = mIPackageManager.getPackagesForUid(Binder.getCallingUid()); in setAdditionalInputMethodSubtypes() 5101 InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mIPackageManager, in handleShellCommandResetInputMethod()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 793 private final IPackageManager mIPackageManager; field in WallpaperManagerService 1645 mIPackageManager = AppGlobals.getPackageManager(); in WallpaperManagerService() 1878 si = mIPackageManager.getServiceInfo(cname, in switchWallpaper() 2624 ServiceInfo si = mIPackageManager.getServiceInfo(componentName, in bindWallpaperComponentLocked() 2648 mIPackageManager.queryIntentServices(intent, in bindWallpaperComponentLocked() 2685 final int hasPrivilege = mIPackageManager.checkPermission( in bindWallpaperComponentLocked() 2702 final int componentUid = mIPackageManager.getPackageUid(componentName.getPackageName(), in bindWallpaperComponentLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutService.java | 318 private final IPackageManager mIPackageManager; field in ShortcutService 435 mIPackageManager = AppGlobals.getPackageManager(); in ShortcutService() 3154 return mIPackageManager.getPackageUid(packageName, PACKAGE_MATCH_FLAGS, userId); in injectGetPackageUid() 3185 return mIPackageManager.getPackageInfo( in injectPackageInfoWithUninstalled() 3221 return mIPackageManager.getApplicationInfo(packageName, PACKAGE_MATCH_FLAGS, userId); in injectApplicationInfoWithUninstalled() 3252 return mIPackageManager.getActivityInfo(activity, in injectGetActivityInfoWithMetadataWithUninstalled() 3298 mIPackageManager.getInstalledPackages(PACKAGE_MATCH_FLAGS, userId); in injectGetPackagesWithUninstalled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 470 private IPackageManager mIPackageManager; field in StorageManagerService 1637 mIPackageManager = IPackageManager.Stub.asInterface( in servicesReady() 3634 final String[] packagesForUid = mIPackageManager.getPackagesForUid(uid); in getMountModeInternal() 3655 final boolean hasFull = mIPackageManager.checkUidPermission(WRITE_MEDIA_STORAGE, in getMountModeInternal() 3663 final boolean hasInstall = mIPackageManager.checkUidPermission(INSTALL_PACKAGES, in getMountModeInternal() 3946 final String[] packagesForUid = mIPackageManager.getPackagesForUid(uid); in getExternalStorageMountMode()
|