Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java75 private IPackageManager mIpm; field in ManagedServicesTest
146 mIpm, approvalLevel); in testBackupAndRestore_migration()
195 mIpm, approvalLevel); in testBackupAndRestore_migration_preO()
235 mIpm, approvalLevel); in testReadXml_migrationFromSettings()
253 mIpm, approvalLevel); in testReadXml()
273 mIpm, approvalLevel); in testReadXml_appendsListOfApprovedComponents()
299 mIpm, approvalLevel); in testWriteXml_trimsMissingServices()
359 mIpm, approvalLevel); in testWriteXml_writesSetting()
386 mIpm, in rebindServices_onlyBindsExactMatchesIfComponent()
413 verify(mIpm, never()).getServiceInfo( in rebindServices_onlyBindsExactMatchesIfComponent()
[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()
150 verify(mIpm, times(1)).setApplicationHiddenSettingAsUser("app2", false, testUserId); in testApplyUserAppsStates()
286 return mIpm; in getIPackageManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java98 IPackageManager mIpm; field in SystemServicesProxy
137 mIpm = AppGlobals.getPackageManager(); in SystemServicesProxy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java107 final IPackageManager mIpm; field in ApplicationsState
177 mIpm = AppGlobals.getPackageManager(); in ApplicationsState()
251 mIpm.getInstalledApplications( in doResumeIfNeededLocked()
346 info = mIpm.getApplicationInfo(packageName, 0, userId); in getEntry()
461 ApplicationInfo info = mIpm.getApplicationInfo(pkgName, in addPackage()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java232 private @Mock IPackageManager mIpm; field in NetworkPolicyManagerServiceTest
371 mNetworkManager, mIpm, mClock, mPolicyDir, true); in callSystemReady()
1726 when(mIpm.checkUidPermission(Manifest.permission.INTERNET, uid)).thenReturn( in expectHasInternetPermission()