/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionMigrationHelperImpl.java | 20 import android.content.pm.PackageManagerInternal; 44 PackageManagerInternal packageManagerInternal = in hasLegacyPermission() 45 LocalServices.getService(PackageManagerInternal.class); in hasLegacyPermission() 56 PackageManagerInternal mPackageManagerInternal = in getLegacyPermissions() 57 LocalServices.getService(PackageManagerInternal.class); in getLegacyPermissions() 67 PackageManagerInternal mPackageManagerInternal = in getLegacyPermissionTrees() 68 LocalServices.getService(PackageManagerInternal.class); in getLegacyPermissionTrees() 91 PackageManagerInternal mPackageManagerInternal = in getLegacyPermissionStates() 92 LocalServices.getService(PackageManagerInternal.class); in getLegacyPermissionStates() 135 PackageManagerInternal packageManagerInternal = in getLegacyPermissionStateVersion() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | AppErrorDialogTest.java | 26 import android.content.pm.PackageManagerInternal; 55 final PackageManagerInternal pm = mock(PackageManagerInternal.class); in setUpOnce() 57 LocalServices.addService(PackageManagerInternal.class, pm); in setUpOnce() 62 LocalServices.removeServiceForTest(PackageManagerInternal.class); in tearDownOnce()
|
D | ProcessRecordTests.java | 32 import android.content.pm.PackageManagerInternal; 85 final PackageManagerInternal packageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce() 86 LocalServices.addService(PackageManagerInternal.class, packageManagerInternal); in setUpOnce() 105 LocalServices.removeServiceForTest(PackageManagerInternal.class); in tearDownOnce()
|
D | OomAdjusterTests.java | 34 import android.content.pm.PackageManagerInternal; 56 private static PackageManagerInternal sPackageManagerInternal; 68 sPackageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce() 71 LocalServices.addService(PackageManagerInternal.class, sPackageManagerInternal); in setUpOnce() 117 LocalServices.removeServiceForTest(PackageManagerInternal.class); in tearDownOnce()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/utils/ |
D | PackageUtilsTest.java | 26 import android.content.pm.PackageManagerInternal; 68 PackageManagerInternal pm = mock(PackageManagerInternal.class); in isAllowlisted_true() 92 PackageManagerInternal pm = mock(PackageManagerInternal.class); in isAllowlisted_package_disallowed() 116 PackageManagerInternal pm = mock(PackageManagerInternal.class); in isAllowlisted_signature_mismatch()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | Searchables.java | 30 import android.content.pm.PackageManagerInternal; 135 final PackageManagerInternal pm = in getSearchableInfo() 136 LocalServices.getService(PackageManagerInternal.class); in getSearchableInfo() 199 final PackageManagerInternal pm = in getSearchableInfo() 200 LocalServices.getService(PackageManagerInternal.class); in getSearchableInfo() 512 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in createFilterdSearchableInfoList() 528 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in createFilterdResolveInfoList() 544 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in getGlobalSearchActivity() 558 final PackageManagerInternal pm = LocalServices.getService(PackageManagerInternal.class); in getWebSearchActivity()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PruneInstantAppsJobService.java | 25 import android.content.pm.PackageManagerInternal; 52 PackageManagerInternal packageManagerInternal = LocalServices.getService( in onStartJob() 53 PackageManagerInternal.class); in onStartJob()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageList.java | 21 import android.content.pm.PackageManagerInternal; 22 import android.content.pm.PackageManagerInternal.PackageListObserver; 71 LocalServices.getService(PackageManagerInternal.class).removePackageListObserver(this); in close()
|
D | UserSystemPackageInstaller.java | 24 import android.content.pm.PackageManagerInternal; 215 final PackageManagerInternal pmInt = LocalServices.getService(PackageManagerInternal.class); in installWhitelistedSystemPackages() 348 final PackageManagerInternal pmInt = LocalServices.getService(PackageManagerInternal.class); in getPackagesWhitelistWarnings() 379 final PackageManagerInternal pmInt = LocalServices.getService(PackageManagerInternal.class); in getPackagesWhitelistErrors() 527 final PackageManagerInternal pmInt = LocalServices.getService(PackageManagerInternal.class); in getInstallablePackagesForUserType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobSetTest.java | 29 import android.content.pm.PackageManagerInternal; 66 final PackageManagerInternal pm = mock(PackageManagerInternal.class); in setUp() 69 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setUp() 70 LocalServices.addService(PackageManagerInternal.class, pm); in setUp() 148 LocalServices.removeServiceForTest(PackageManagerInternal.class); in tearDown()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiServiceTestCase.java | 24 import android.content.pm.PackageManagerInternal; 43 @Mock protected PackageManagerInternal mPmi; 77 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setup() 78 LocalServices.addService(PackageManagerInternal.class, mPmi); in setup()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/display/ |
D | SmallAreaDetectionControllerTest.java | 28 import android.content.pm.PackageManagerInternal; 54 private PackageManagerInternal mMockPackageManagerInternal; 73 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setup() 74 LocalServices.addService(PackageManagerInternal.class, mMockPackageManagerInternal); in setup()
|
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
D | PreferredComponentTest.java | 30 import android.content.pm.PackageManagerInternal; 53 private PackageManagerInternal mMockPackageManagerInternal; 57 mMockPackageManagerInternal = mock(PackageManagerInternal.class); in setUp() 58 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setUp() 59 LocalServices.addService(PackageManagerInternal.class, mMockPackageManagerInternal); in setUp()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaServerUtils.java | 24 import android.content.pm.PackageManagerInternal; 75 final PackageManagerInternal packageManagerInternal = in enforcePackageName() 76 LocalServices.getService(PackageManagerInternal.class); in enforcePackageName()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/ |
D | ActiveRestoreSessionTest.java | 30 import android.content.pm.PackageManagerInternal; 66 private PackageManagerInternal mPackageManagerInternal; 78 () -> LocalServices.removeServiceForTest(PackageManagerInternal.class) 90 when(LocalServices.getService(PackageManagerInternal.class)).thenReturn( in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceTimeoutTest.java | 40 import android.content.pm.PackageManagerInternal; 85 private PackageManagerInternal mPackageManagerInt; 105 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setUp() 106 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInt); in setUp() 126 LocalServices.removeServiceForTest(PackageManagerInternal.class); in tearDown()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | PackageSuspender.java | 22 import android.content.pm.PackageManagerInternal; 49 private final PackageManagerInternal mPackageManager; 54 PackageManagerInternal pmi, int userId) { in PackageSuspender()
|
D | NetworkLogger.java | 22 import android.content.pm.PackageManagerInternal; 48 private final PackageManagerInternal mPm; 106 NetworkLogger(DevicePolicyManagerService dpm, PackageManagerInternal pm, int targetUserId) { in NetworkLogger()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | SmallAreaDetectionController.java | 22 import android.content.pm.PackageManagerInternal; 49 private final PackageManagerInternal mPackageManager; 65 mPackageManager = LocalServices.getService(PackageManagerInternal.class); in SmallAreaDetectionController() 154 private final class PackageReceiver implements PackageManagerInternal.PackageListObserver {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 31 import android.content.pm.PackageManagerInternal; 54 @Mock protected PackageManagerInternal mPackageManagerInternal; 62 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setUp() 63 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInternal); in setUp()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | ClientController.java | 21 import android.content.pm.PackageManagerInternal; 46 private final PackageManagerInternal mPackageManagerInternal; 53 ClientController(PackageManagerInternal packageManagerInternal) { in ClientController()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | BinaryTransparencyServiceTest.java | 32 import android.content.pm.PackageManagerInternal; 85 private PackageManagerInternal mPackageManagerInternal; 99 LocalServices.removeServiceForTest(PackageManagerInternal.class); in setUp() 100 LocalServices.addService(PackageManagerInternal.class, mPackageManagerInternal); in setUp() 115 LocalServices.removeServiceForTest(PackageManagerInternal.class); in tearDown()
|
/frameworks/base/services/core/java/com/android/server/signedconfig/ |
D | SignedConfigService.java | 25 import android.content.pm.PackageManagerInternal; 57 private final PackageManagerInternal mPacMan; 61 mPacMan = LocalServices.getService(PackageManagerInternal.class); in SignedConfigService()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 38 import android.content.pm.PackageManagerInternal; 79 private final PackageManagerInternal mPackageManagerInternal; 104 PackageManagerInternal packageManagerInternal, in forBackup() 112 PackageManagerInternal packageManagerInternal, in BackupEligibilityRules() 121 PackageManagerInternal packageManagerInternal, in BackupEligibilityRules()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayShellCommand.java | 19 import android.content.pm.PackageManagerInternal; 89 return LocalServices.getService(PackageManagerInternal.class).getPackage(packageNameArg) in getPackageName()
|