/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ManagedServicesTest.java | 88 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/ |
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() 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/ |
D | SystemServicesProxy.java | 98 IPackageManager mIpm; field in SystemServicesProxy 138 mIpm = AppGlobals.getPackageManager(); in SystemServicesProxy()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 117 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/ |
D | PackageInstallerActivity.java | 87 IPackageManager mIpm; field in PackageInstallerActivity 293 mIpm = AppGlobals.getPackageManager(); in onCreate()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ApplicationsStateRoboTest.java | 700 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/ |
D | NetworkPolicyManagerServiceTest.java | 234 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()
|