Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java88 private IPackageManager mIpm; field in ManagedServicesTest
164 mIpm, approvalLevel); in testBackupAndRestore_migration()
213 mIpm, approvalLevel); in testBackupAndRestore_migration_preO()
253 mIpm, approvalLevel); in testReadXml_migrationFromSettings()
271 mIpm, approvalLevel); in testReadXml()
291 mIpm, approvalLevel); in testReadXml_appendsListOfApprovedComponents()
319 getContext(), mLock, mUserProfiles, mIpm, approvalLevel); in testReadXml_onlyRestoresForTargetUser()
340 getContext(), mLock, mUserProfiles, mIpm, approvalLevel); in testWriteXml_onlyBackupsForTargetUser()
393 mIpm, approvalLevel); in testWriteXml_trimsMissingServices()
457 mIpm, approvalLevel); in testWriteXml_writesSetting()
[all …]
/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()
151 verify(mIpm, times(1)).setApplicationHiddenSettingAsUser("app2", false, testUserId); in testApplyUserAppsStates()
287 return mIpm; in getIPackageManager()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java98 IPackageManager mIpm; field in SystemServicesProxy
138 mIpm = AppGlobals.getPackageManager(); in SystemServicesProxy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java117 final IPackageManager mIpm; field in ApplicationsState
195 mIpm = iPackageManager; in ApplicationsState()
277 mIpm.getInstalledApplications( in doResumeIfNeededLocked()
468 info = mIpm.getApplicationInfo(packageName, 0, userId); in getEntry()
583 ApplicationInfo info = mIpm.getApplicationInfo(pkgName, in addPackage()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java87 IPackageManager mIpm; field in PackageInstallerActivity
293 mIpm = AppGlobals.getPackageManager(); in onCreate()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DApplicationsStateRoboTest.java700 when(mApplicationsState.mIpm.getInstalledApplications(anyInt(), eq(0))) in setupDoResumeIfNeededLocked()
704 when(mApplicationsState.mIpm.getInstalledApplications(anyInt(), eq(PROFILE_USERID))) in setupDoResumeIfNeededLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java234 private @Mock IPackageManager mIpm; field in NetworkPolicyManagerServiceTest
374 mNetworkManager, mIpm, mClock, mPolicyDir, true); in callSystemReady()
1891 when(mIpm.checkUidPermission(Manifest.permission.INTERNET, uid)).thenReturn( in expectHasInternetPermission()