/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessCheckingService.kt | 57 private lateinit var packageManagerInternal: PackageManagerInternal in <lambda>() variable 76 packageManagerInternal = LocalServices.getService(PackageManagerInternal::class.java) in <lambda>() 84 val knownPackages = packageManagerInternal.knownPackages in <lambda>() 159 val knownPackages = packageManagerInternal.knownPackages in <lambda>() 176 val knownPackages = packageManagerInternal.knownPackages in <lambda>() 191 val knownPackages = packageManagerInternal.knownPackages in <lambda>() 207 val knownPackages = packageManagerInternal.knownPackages in <lambda>() 223 val knownPackages = packageManagerInternal.knownPackages in <lambda>()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PackageUtils.java | 192 PackageManagerInternal packageManagerInternal, @NonNull String packageName) { 193 return isPackageAllowlisted(context, packageManagerInternal, packageName, 201 PackageManagerInternal packageManagerInternal, String packageName) { 202 return isPackageAllowlisted(context, packageManagerInternal, packageName, 207 PackageManagerInternal packageManagerInternal, String packageName, 225 final Signature[] requestingPackageSignatures = packageManagerInternal.getPackage(
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionMigrationHelperImpl.java | 44 PackageManagerInternal packageManagerInternal = in hasLegacyPermission() local 46 LegacyPermissionSettings legacySettings = packageManagerInternal.getLegacyPermissions(); in hasLegacyPermission() 135 PackageManagerInternal packageManagerInternal = in getLegacyPermissionStateVersion() local 137 int version = packageManagerInternal.getLegacyPermissionsVersion(userId); in getLegacyPermissionStateVersion()
|
D | LegacyPermissionManagerService.java | 334 final PackageManagerInternal packageManagerInternal = LocalServices.getService( in resetRuntimePermissions() local 339 packageManagerInternal.forEachPackage(pkg -> { in resetRuntimePermissions()
|
D | Permission.java | 403 @NonNull PackageManagerInternal packageManagerInternal) { in isOverridingSystemPermission() argument 411 var currentPackageState = packageManagerInternal.getPackageStateInternal( in isOverridingSystemPermission()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BackupEligibilityRules.java | 104 PackageManagerInternal packageManagerInternal, in forBackup() argument 107 return new BackupEligibilityRules(packageManager, packageManagerInternal, userId, context, in forBackup() 112 PackageManagerInternal packageManagerInternal, in BackupEligibilityRules() argument 116 this(packageManager, packageManagerInternal, userId, context, backupDestination, in BackupEligibilityRules() 121 PackageManagerInternal packageManagerInternal, in BackupEligibilityRules() argument 127 mPackageManagerInternal = packageManagerInternal; in BackupEligibilityRules()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PruneInstantAppsJobService.java | 52 PackageManagerInternal packageManagerInternal = LocalServices.getService( in onStartJob() local 54 packageManagerInternal.pruneInstantApps(); in onStartJob()
|
D | SensitiveContentProtectionManagerService.java | 250 PackageManagerInternal packageManagerInternal, ArraySet<String> exemptedPackages) { in init() argument 258 mPackageManagerInternal = packageManagerInternal; in init()
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | RoleServicePlatformHelperImpl.java | 217 PackageManagerInternal packageManagerInternal = LocalServices.getService( in readFromLegacySettings() local 219 String browserPackageName = packageManagerInternal.removeLegacyDefaultBrowserPackageName( in readFromLegacySettings() 306 PackageManagerInternal packageManagerInternal = LocalServices.getService( in computePackageStateHash() local 313 packageManagerInternal.forEachInstalledPackage(pkg -> { in computePackageStateHash() 317 dataOutputStream.writeInt(packageManagerInternal.getApplicationEnabledState( in computePackageStateHash() 327 packageManagerInternal.getEnabledComponents(pkg.getPackageName(), userId); in computePackageStateHash() 335 packageManagerInternal.getDisabledComponents(pkg.getPackageName(), userId); in computePackageStateHash()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaServerUtils.java | 75 final PackageManagerInternal packageManagerInternal = in enforcePackageName() local 77 if (!packageManagerInternal.isSameApp(packageName, uid, UserHandle.getUserId(uid))) { in enforcePackageName()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceMigrationTest.java | 226 when(getServices().packageManagerInternal.isAdminSuspendingAnyPackages( in testCompMigration_keepSuspendedAppsWhenDpcIsRPlus() 231 verify(getServices().packageManagerInternal, never()) in testCompMigration_keepSuspendedAppsWhenDpcIsRPlus() 237 verify(getServices().packageManagerInternal, never()) in testCompMigration_keepSuspendedAppsWhenDpcIsRPlus() 260 when(getServices().packageManagerInternal.isAdminSuspendingAnyPackages( in testCompMigration_unsuspendAppsWhenDpcNotRPlus() 266 verify(getServices().packageManagerInternal) in testCompMigration_unsuspendAppsWhenDpcNotRPlus()
|
D | OwnersTest.java | 132 services.packageManagerInternal, services.activityTaskManagerInternal, in makeOwners()
|
D | MockSystemServices.java | 108 public final PackageManagerInternal packageManagerInternal; field in MockSystemServices 168 packageManagerInternal = mock(PackageManagerInternal.class); in MockSystemServices() 207 when(packageManagerInternal.getSystemUiServiceComponent()).thenReturn( in MockSystemServices()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ProcessRecordTests.java | 85 final PackageManagerInternal packageManagerInternal = mock(PackageManagerInternal.class); in setUpOnce() local 86 LocalServices.addService(PackageManagerInternal.class, packageManagerInternal); in setUpOnce() 88 doReturn(sysUiName).when(packageManagerInternal).getSystemUiServiceComponent(); in setUpOnce()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | ClientController.java | 53 ClientController(PackageManagerInternal packageManagerInternal) { in ClientController() argument 54 mPackageManagerInternal = packageManagerInternal; in ClientController()
|
D | InputMethodUtils.java | 187 static boolean checkIfPackageBelongsToUid(PackageManagerInternal packageManagerInternal, in checkIfPackageBelongsToUid() argument 191 return packageManagerInternal.isSameApp(packageName, /* flags= */ 0, uid, in checkIfPackageBelongsToUid()
|
D | InputMethodSettings.java | 629 @NonNull PackageManagerInternal packageManagerInternal, int callingUid) { in getNewAdditionalSubtypeMap() argument 634 if (!InputMethodUtils.checkIfPackageBelongsToUid(packageManagerInternal, callingUid, in getNewAdditionalSubtypeMap()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | PermissionService.kt | 118 private lateinit var packageManagerInternal: PackageManagerInternal in <lambda>() variable in com.android.server.permission.access.permission.PermissionService 150 packageManagerInternal = LocalServices.getService(PackageManagerInternal::class.java) in <lambda>() 476 val androidPackage = packageManagerInternal.getPackage(uid) in <lambda>() 480 packageManagerInternal.getPackageStateInternal(androidPackage.packageName) in <lambda>() 735 val callingUidName = packageManagerInternal.getNameForUid(callingUid) in <lambda>() 769 packageManagerInternal in <lambda>() 1288 val callingUidName = packageManagerInternal.getNameForUid(callingUid) in <lambda>() 1330 val targetSdkVersion = packageManagerInternal.getUidTargetSdkVersion(callingUid) in <lambda>() 1345 val packageState = packageManagerInternal.getPackageStateInternal(packageName) in <lambda>() 1352 packageManagerInternal.filterAppAccess(packageName, callingUid, userId, false) in <lambda>() [all …]
|
/frameworks/base/services/companion/java/com/android/server/companion/ |
D | BackupRestoreProcessor.java | 65 @NonNull PackageManagerInternal packageManagerInternal, in BackupRestoreProcessor() argument 71 mPackageManagerInternal = packageManagerInternal; in BackupRestoreProcessor()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 305 final PackageManagerInternal packageManagerInternal = mock(PackageManagerInternal.class); 306 LocalServices.addService(PackageManagerInternal.class, packageManagerInternal); 307 doReturn(false).when(packageManagerInternal).isPermissionsReviewRequired( 309 doReturn(null).when(packageManagerInternal).getDefaultHomeActivity(anyInt()); 312 doReturn(systemServiceComponent).when(packageManagerInternal).getSystemUiServiceComponent();
|
/frameworks/base/services/companion/java/com/android/server/companion/association/ |
D | AssociationRequestsProcessor.java | 136 @NonNull PackageManagerInternal packageManagerInternal, in AssociationRequestsProcessor() argument 139 mPackageManagerInternal = packageManagerInternal; in AssociationRequestsProcessor()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessErrorStateRecord.java | 580 final PackageManagerInternal packageManagerInternal = mService.getPackageManagerInternal(); in appNotResponding() local 581 if (mApp.info != null && mApp.info.packageName != null && packageManagerInternal != null) { in appNotResponding() 583 packageManagerInternal.getIncrementalStatesInfo( in appNotResponding()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 124 @NonNull PackageManagerInternal packageManagerInternal) { in AccessibilitySecurityPolicy() argument 128 mPackageManagerInternal = packageManagerInternal; in AccessibilitySecurityPolicy()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 88 PackageManagerInternal packageManagerInternal, in Owners() argument 95 mPackageManagerInternal = packageManagerInternal; in Owners()
|
/frameworks/base/services/core/java/com/android/server/pdb/ |
D | PersistentDataBlockService.java | 1278 PackageManagerInternal packageManagerInternal = in isUpgradingFromPreVRelease() local 1280 if (packageManagerInternal == null) { in isUpgradingFromPreVRelease() 1285 return packageManagerInternal in isUpgradingFromPreVRelease()
|