Searched refs:mIPm (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 120 private IPackageManager mIPm; field in IntentForwarderActivityTest 159 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_sendIntent() 174 verify(mIPm).canForwardTo(intentCaptor.capture(), eq(TYPE_PLAIN_TEXT), anyInt(), anyInt()); in forwardToManagedProfile_canForward_sendIntent() 198 when(mIPm.canForwardTo( in forwardToManagedProfile_cannotForward_sendIntent() 220 when(mIPm.canForwardTo( in forwardToManagedProfile_noManagedProfile_sendIntent() 277 when(mIPm.canForwardTo( in forwardToManagedProfile_canForward_selectorIntent() 293 verify(mIPm).canForwardTo( in forwardToManagedProfile_canForward_selectorIntent() 328 verify(mIPm).canForwardTo(any(), any(), anyInt(), anyInt()); in shouldSkipDisclosure_notWhitelisted() 343 verify(mIPm).canForwardTo(any(), any(), anyInt(), anyInt()); in shouldSkipDisclosure_withResolverActivity() 355 verify(mIPm).canForwardTo(any(), any(), anyInt(), anyInt()); in shouldSkipDisclosure_callIntent_call() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 57 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()
|
D | AppCopyHelper.java | 54 private final IPackageManager mIPm; field in AppCopyHelper 70 mIPm = injector.getIPackageManager(); in AppCopyHelper() 108 final ApplicationInfo info = mIPm.getApplicationInfo(packageName, in installSelectedApp() 113 mIPm.installExistingPackageAsUser(packageName, mUser.getIdentifier(), in installSelectedApp() 120 mIPm.setApplicationHiddenSettingAsUser(packageName, false, userId); in installSelectedApp()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 765 private final IPackageManager mIPm; field in NetworkPolicyManagerService 929 mIPm = pm; in NetworkPolicyManagerService() 4678 return mIPm.checkUidPermission(CONNECTIVITY_USE_RESTRICTED_NETWORKS, uid) 4680 || mIPm.checkUidPermission(NETWORK_STACK, uid) == PERMISSION_GRANTED 4681 || mIPm.checkUidPermission(PERMISSION_MAINLINE_NETWORK_STACK, uid) 5293 final boolean hasPermission = mIPm.checkUidPermission(Manifest.permission.INTERNET,
|