Home
last modified time | relevance | path

Searched refs:mIpm (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/
DPreloadAppsInstallerTest.java59 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()
DRetailDemoModeServiceTest.java98 private @Mock IPackageManager mIpm; field in RetailDemoModeServiceTest
391 return mIpm; in getIPackageManager()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java59 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/
DApplicationsState.java100 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/
DSystemServicesProxy.java134 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/
DNetworkPolicyManagerServiceTest.java217 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()