Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DPackageManagerWrapper.java36 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/
DPackageManagerAdapter.java36 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/
DInstallStart.java47 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/
DPendingIntentControllerTest.java63 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/
DAppBindingService.java78 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/
DDevicePolicyManagerService.java499 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/
DInputMethodManagerService.java690 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/
DWallpaperManagerService.java793 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/
DShortcutService.java318 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/
DStorageManagerService.java470 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()