/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/ |
D | PreloadAppsInstallerTest.java | 59 private @Mock IPackageManager mIpm; field in PreloadAppsInstallerTest 79 mInstaller = new PreloadAppsInstaller(mContext, mIpm, mPreloadsAppsDirectory); in setUp() 106 verify(mIpm).installPackageAsUser(eq(path), observer.capture(), anyInt(), in testInstallApps() 111 verify(mIpm).installExistingPackageAsUser(path, UserHandle.USER_SYSTEM, in testInstallApps() 138 verify(mIpm).installPackageAsUser(eq(path), observer.capture(), anyInt(), in testInstallApps_installationFails() 148 verify(mIpm).installExistingPackageAsUser(path, UserHandle.USER_SYSTEM, in testInstallApps_installationFails()
|
D | RetailDemoModeServiceTest.java | 98 private @Mock IPackageManager mIpm; field in RetailDemoModeServiceTest 391 return mIpm; in getIPackageManager()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 59 private @Mock IPackageManager mIpm; field in AppRestrictionsHelperTest 136 when(mIpm.getApplicationInfo(eq("app2"), anyInt(), eq(testUserId))) in testApplyUserAppsStates() 141 when(mIpm.getApplicationInfo(eq("app3"), anyInt(), eq(testUserId))) in testApplyUserAppsStates() 148 verify(mIpm, times(1)).installExistingPackageAsUser("app1", testUserId, in testApplyUserAppsStates() 150 verify(mIpm, times(1)).setApplicationHiddenSettingAsUser("app2", false, testUserId); in testApplyUserAppsStates() 289 return mIpm; in getIPackageManager()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 100 final IPackageManager mIpm; field in ApplicationsState 138 mIpm = AppGlobals.getPackageManager(); in ApplicationsState() 208 mIpm.getInstalledApplications( in doResumeIfNeededLocked() 302 info = mIpm.getApplicationInfo(packageName, 0, userId); in getEntry() 408 ApplicationInfo info = mIpm.getApplicationInfo(pkgName, in addPackage()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | SystemServicesProxy.java | 134 IPackageManager mIpm; field in SystemServicesProxy 311 mIpm = AppGlobals.getPackageManager(); in SystemServicesProxy() 827 if (mIpm == null) return null; in getActivityInfo() 831 return mIpm.getActivityInfo(cn, PackageManager.GET_META_DATA, userId); in getActivityInfo()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 217 private @Mock IPackageManager mIpm; field in NetworkPolicyManagerServiceTest 332 mNetworkManager, mIpm, mTime, mPolicyDir, true); in callSystemReady() 1508 when(mIpm.checkUidPermission(Manifest.permission.INTERNET, uid)).thenReturn( in expectHasInternetPermission()
|