Home
last modified time | relevance | path

Searched refs:mIPm (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java105 private IPackageManager mIPm; field in IntentForwarderActivityTest
132 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_sendIntent()
147 verify(mIPm).canForwardTo(intentCaptor.capture(), eq(TYPE_PLAIN_TEXT), anyInt(), anyInt()); in forwardToManagedProfile_canForward_sendIntent()
165 when(mIPm.canForwardTo( in forwardToManagedProfile_cannotForward_sendIntent()
187 when(mIPm.canForwardTo( in forwardToManagedProfile_noManagedProfile_sendIntent()
208 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_chooserIntent()
227 verify(mIPm).canForwardTo(intentCaptor.capture(), eq(TYPE_PLAIN_TEXT), anyInt(), anyInt()); in forwardToManagedProfile_canForward_chooserIntent()
250 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_selectorIntent()
265 verify(mIPm).canForwardTo( in forwardToManagedProfile_canForward_selectorIntent()
293 verify(mIPm).canForwardTo(any(), any(), anyInt(), anyInt()); in shouldSkipDisclosure_notWhitelisted()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java57 private final IPackageManager mIPm; field in AppRestrictionsHelper
75 mIPm = mInjector.getIPackageManager(); in AppRestrictionsHelper()
115 ApplicationInfo info = mIPm.getApplicationInfo(packageName, in applyUserAppState()
119 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in applyUserAppState()
129 mIPm.setApplicationHiddenSettingAsUser(packageName, false, userId); in applyUserAppState()
140 ApplicationInfo info = mIPm.getApplicationInfo(packageName, 0, userId); in applyUserAppState()
150 mIPm.setApplicationHiddenSettingAsUser(packageName, true, userId); in applyUserAppState()
165 final IPackageManager ipm = mIPm; in fetchAndMergeApps()
354 return mIPm.getApplicationInfo(packageName, flags, user.getIdentifier()); in getAppInfoForUser()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java571 private final IPackageManager mIPm; field in NetworkPolicyManagerService
621 mIPm = pm; in NetworkPolicyManagerService()
4135 if (mIPm.checkUidPermission(Manifest.permission.INTERNET, uid) in hasInternetPermissions()