/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | SELinuxMMACTest.java | 58 var packageState = new PackageStateBuilder(Build.VERSION_CODES.P).build(); in getSeInfoOptInToLatest() local 69 var packageState = new PackageStateBuilder(Build.VERSION_CODES.P).build(); in getSeInfoOptInToR() local 80 var packageState = new PackageStateBuilder(Build.VERSION_CODES.P).build(); in getSeInfoNoOptIn() local 91 var packageState = new PackageStateBuilder(LATEST_OPT_IN_VERSION).build(); in getSeInfoNoOptInButAlreadyLatest() local 102 var packageState = new PackageStateBuilder(Build.VERSION_CODES.CUR_DEVELOPMENT).build(); in getSeInfoTargetingCurDevelopment() local 113 var packageState = new PackageStateBuilder(R_OPT_IN_VERSION).build(); in getSeInfoNoOptInButAlreadyR() local 124 var packageState = new PackageStateBuilder(R_OPT_IN_VERSION + 1).build(); in getSeInfoOptInRButLater() local 135 var packageState = new PackageStateBuilder(Build.VERSION_CODES.CUR_DEVELOPMENT) in getSeInfoPreinstalledToSystem() local 148 var packageState = new PackageStateBuilder(Build.VERSION_CODES.CUR_DEVELOPMENT) in getSeInfoPreinstalledToSystemExt() local 161 var packageState = new PackageStateBuilder(Build.VERSION_CODES.CUR_DEVELOPMENT) in getSeInfoPreinstalledToProduct() local [all …]
|
/frameworks/base/services/tests/PermissionServiceMockingTests/src/com/android/server/permission/test/ |
D | DevicePermissionPolicyTest.kt | 40 val packageState = mockPackageState( in testOnAppIdRemoved_clearPermissionFlags() constant 140 val packageState = mockPackageState( in testOnStorageVolumeMounted_trimsPermissionsNotRequestAnymore() constant 181 val packageState = mockPackageState( in testResetRuntimePermissions_trimsPermissionStates() constant 204 val packageState = mockPackageState( in testResetRuntimePermissions_keepsPermissionStates() constant
|
D | AppIdPermissionPolicyPermissionDefinitionsTest.kt | 122 val packageState = mockPackageState(APP_ID_0, mockSimpleAndroidPackage()) in testPermissionGroupDefinition_newPermissionGroup_getsDeclared() constant 192 val packageState = mockPackageState(APP_ID_0, mockSimpleAndroidPackage()) in testPermissionDefinition_newPermission_getsDeclared() constant
|
/frameworks/base/services/core/java/com/android/server/pm/pkg/ |
D | PackageStateUtils.java | 30 public static boolean isMatch(PackageState packageState, long flags) { in isMatch() 56 public static boolean isEnabledAndMatches(@Nullable PackageStateInternal packageState, in isEnabledAndMatches() 64 public static boolean isEnabledAndMatches(@Nullable PackageStateInternal packageState, in isEnabledAndMatches()
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
D | ArtUtils.java | 42 AndroidPackage pkg, PackageState packageState) { in createArtPackageInfo() 51 private static String getOatDir(AndroidPackage pkg, @NonNull PackageState packageState) { in getOatDir()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SuspendPackageHelper.java | 133 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in setPackagesSuspended() local 240 final PackageStateInternal packageState = in getUnsuspendablePackagesForUser() local 300 final PackageStateInternal packageState = in removeSuspensionsBySuspendingPackage() local 369 final PackageStateInternal packageState = in getSuspendedPackageLauncherExtras() local 397 final PackageStateInternal packageState = in isPackageSuspended() local 414 final PackageStateInternal packageState = snapshot.getPackageStateInternal( in getSuspendingPackage() local 461 final PackageStateInternal packageState = snapshot.getPackageStateInternal( in getSuspendedDialogInfo() local 579 PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in canSuspendPackageForUser() local
|
D | DistractingPackageHelper.java | 91 final PackageStateInternal packageState = in setDistractingPackageRestrictionsAsUser() local 154 final PackageStateInternal packageState = in getDistractingPackageRestrictionsAsUser() local
|
D | IncrementalProgressListener.java | 36 PackageStateInternal packageState = mPm.snapshotComputer() in onPackageLoadingProgressChanged() local
|
D | PackageManagerInternalBase.java | 293 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getDistractingPackageRestrictions() local 389 final PackageStateInternal packageState = getPackageStateInternal(packageName); in isPackageEphemeral() local 397 final PackageStateInternal packageState = getPackageStateInternal(packageName); in wasPackageEverLaunched() local 516 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getPackageTargetSdkVersion() local 608 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getEnabledComponents() local 618 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getDisabledComponents() local 629 final PackageStateInternal packageState = getPackageStateInternal(packageName); in getApplicationEnabledState() local
|
D | PackageManagerService.java | 5861 final PackageStateInternal packageState = snapshot.getPackageStateInternal( in setApplicationHiddenSettingAsUser() local 5936 PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in setBlockUninstallForUser() local 6221 PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in setInstantAppCookie() local 6249 final PackageStateInternal packageState = snapshot.getPackageStateInternal(packageName); in setMimeGroup() local 6346 final PackageStateInternal packageState = snapshot in setUserMinAspectRatio() local 6379 PackageStateInternal packageState = snapshot.getPackageStateForInstalledAndFiltered( in setSplashScreenTheme() local 6687 PackageStateInternal packageState = snapshot().getPackageStateInternal(packageName); in isPlatformSigned() local 6763 final PackageStateInternal packageState = in getCeDataInode() local 6830 final PackageStateInternal packageState = in isPackagePersistent() local 6847 final PackageStateInternal packageState = packageStates.valueAt(index); in getOverlayPackages() local [all …]
|
D | SELinuxMMAC.java | 407 public static String getSeInfo(@NonNull PackageState packageState, @NonNull AndroidPackage pkg, in getSeInfo() 433 public static String getSeInfo(PackageState packageState, AndroidPackage pkg, in getSeInfo()
|
/frameworks/libs/modules-utils/java/com/android/modules/utils/pm/ |
D | PackageStateModulesUtils.java | 38 public static boolean isDexoptable(@NonNull PackageState packageState) { in isDexoptable() 72 public static boolean isLoadableInOtherProcesses( in isLoadableInOtherProcesses()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/ |
D | DevicePermissionPolicy.kt | 98 val packageState = in <lambda>() constant 129 val packageState = newState.externalState.packageStates[packageName] ?: return in <lambda>() constant 178 val packageState = state.externalState.packageStates[packageName]!! in <lambda>() constant 190 val packageState = state.externalState.packageStates[packageName]!! in <lambda>() constant
|
D | PermissionService.kt | 479 val packageState = in <lambda>() constant 533 val packageState = in <lambda>() constant 611 val packageState = in <lambda>() constant 767 val packageState: PackageState? in <lambda>() constant 1076 val packageState = in <lambda>() constant 1119 val packageState = in <lambda>() constant 1163 val packageState = in <lambda>() constant 1185 val packageState = in <lambda>() constant 1214 val packageState = in <lambda>() constant 1345 val packageState = packageManagerInternal.getPackageStateInternal(packageName) in <lambda>() constant [all …]
|
D | AppIdPermissionPolicy.kt | 80 newState.externalState.packageStates.forEach { (_, packageState) -> in <lambda>() method 108 val packageState = in <lambda>() constant 122 val packageState = in <lambda>() constant 128 val packageState = in <lambda>() constant 236 packageState -> in <lambda>() method 279 val packageState = newState.externalState.packageStates[packageName] ?: return in <lambda>() constant 608 val packageState = newState.externalState.packageStates[packageName] in <lambda>() constant 724 packageState -> in <lambda>() method 730 packageState -> in <lambda>() method 841 val packageState = newState.externalState.packageStates[packageName]!! in <lambda>() constant [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsDreamStartable.kt | 54 val packageState = in <lambda>() constant
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/pkg/ |
D | AndroidPackageUtils.java | 166 public static boolean canHaveOatDir(@NonNull PackageState packageState, in canHaveOatDir() 241 @NonNull PackageStateInternal packageState) { in getHiddenApiEnforcementPolicy() 272 public static boolean isMatchForSystemOnly(@NonNull PackageState packageState, long flags) { in isMatchForSystemOnly()
|
/frameworks/base/services/permission/java/com/android/server/permission/access/ |
D | AccessPolicy.kt | 80 packageStates.forEach { (_, packageState) -> in <lambda>() method 108 newState.externalState.packageStates.forEach { (_, packageState) -> in <lambda>() method 134 packageStates.forEach { (packageName, packageState) -> in <lambda>() method 162 packageStates.forEach { (_, packageState) -> in <lambda>() method 180 val packageState = packageStates[packageName] in <lambda>() constant 250 val packageState = packageStates[packageName] in <lambda>() constant
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerService.java | 434 var packageState = mPackageManager.onPackageAdded(packageName, userId); in onPackageAdded() local 454 var packageState = mPackageManager.onPackageUpdated(packageName, userId); in onPackageChanged() local 475 var packageState = mPackageManager.onPackageUpdated(packageName, userId); in onPackageReplacing() local 495 var packageState = mPackageManager.onPackageUpdated(packageName, userId); in onPackageReplaced() local 1168 private PackageStateUsers(@NonNull PackageState packageState) { in PackageStateUsers() 1334 var packageState = getPackageStateForUser(packageName, userId); in getOverlayableForTarget() local 1358 var packageState = getPackageStateForUser(targetPackageName, userId); in doesTargetDefineOverlayable() local
|
/frameworks/base/services/core/java/com/android/server/pm/local/ |
D | PackageManagerLocalImpl.java | 252 var packageState = packageStates.valueAt(index); in getPackageStates() local 254 filteredPackageStates.put(packageStates.keyAt(index), packageState); in getPackageStates() local
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/ |
D | PackageManagerLocalSnapshotTest.kt | 168 val packageState = arguments[0] as PackageState in pmLocal() constant
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/ |
D | PackageStateTest.kt | 119 val packageState = PackageSettingBuilder() in collectionImmutability() constant
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | PermissionMigrationHelperImpl.java | 105 PackageState packageState = packageStates.get(packageName); in getLegacyPermissionStates() local
|
D | PermissionManagerServiceInternal.java | 288 void onPackageAdded(@NonNull PackageState packageState, in onPackageAdded() 327 @Nullable PackageState packageState, @Nullable AndroidPackage pkg, in onPackageUninstalled()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinaryTransparencyService.java | 205 PackageState packageState, int mbaStatus) { in collectAppInfo() 372 PackageState packageState = mPackageManagerInternal.getPackageStateInternal( in collectAllApexInfo() local 415 mPackageManagerInternal.forEachPackageState((packageState) -> { in collectAllUpdatedPreloadInfo() argument 441 PackageState packageState = mPackageManagerInternal.getPackageStateInternal( in collectAllSilentInstalledMbaInfo() local
|