Searched refs:mIPm (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 81 @Mock private IPackageManager mIPm; field in IntentForwarderActivityTest 103 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_sendIntent() 118 verify(mIPm).canForwardTo(intentCaptor.capture(), eq(TYPE_PLAIN_TEXT), anyInt(), anyInt()); in forwardToManagedProfile_canForward_sendIntent() 136 when(mIPm.canForwardTo( in forwardToManagedProfile_cannotForward_sendIntent() 158 when(mIPm.canForwardTo( in forwardToManagedProfile_noManagedProfile_sendIntent() 179 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_chooserIntent() 198 verify(mIPm).canForwardTo(intentCaptor.capture(), eq(TYPE_PLAIN_TEXT), anyInt(), anyInt()); in forwardToManagedProfile_canForward_chooserIntent() 221 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_selectorIntent() 236 verify(mIPm).canForwardTo( in forwardToManagedProfile_canForward_selectorIntent() 283 return mIPm; in getIPackageManager()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 56 private final IPackageManager mIPm; field in AppRestrictionsHelper 74 mIPm = mInjector.getIPackageManager(); in AppRestrictionsHelper() 114 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState() 118 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in applyUserAppState() 127 mIPm.setApplicationHiddenSettingAsUser(packageName, false, userId); in applyUserAppState() 138 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); in applyUserAppState() 148 mIPm.setApplicationHiddenSettingAsUser(packageName, true, userId); in applyUserAppState() 163 final IPackageManager ipm = mIPm; in fetchAndMergeApps() 352 return mIPm.getApplicationInfo(packageName, flags, user.getIdentifier()); in getAppInfoForUser()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 552 private final IPackageManager mIPm; field in NetworkPolicyManagerService 602 mIPm = pm; in NetworkPolicyManagerService() 3874 if (mIPm.checkUidPermission(Manifest.permission.INTERNET, uid) in hasInternetPermissions()
|