/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableTest.java | 58 import android.content.pm.PackageManager.PackageInfoFlags; 173 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasMedataData_notDisplayCompat_returnsTrue() 191 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasMedataDataDisplayCompat_requiredTrue_returnsTrue() 211 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasFeatureAutomotive_requiredTrue_returnsFalse() 223 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasFeatureAutomotive_requiredFalse_returnsFalse() 232 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasNoActivities_returnsFalse() 245 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasDistractionOptimizedActivity_returnsFalse() 256 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in isPrivileged_returnsFalse() 271 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in isSystem_returnsFalse() 286 when(mInterface.getPackageInfoAsUser(eq("package1"), any(PackageInfoFlags.class), in hasPlatformSignature_returnsFalse() [all …]
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderInterface.java | 26 import android.content.pm.PackageManager.PackageInfoFlags; 61 @NonNull PackageInfoFlags flags, @UserIdInt int userId) in getPackageInfoAsUser()
|
D | CarDisplayCompatScaleProvider.java | 46 import android.content.pm.PackageManager.PackageInfoFlags; 131 PackageInfoFlags flags, int userId) in getBuiltinInterface()
|
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/ktx/ |
D | PackageManagerKtx.kt | 26 val pkgInfo = this.getPackageInfo(appPackageName, PackageManager.PackageInfoFlags.of(0)) in PackageManager()
|
D | CredentialKtx.kt | 370 PackageManager.PackageInfoFlags.of(0) in getServiceLabelAndIcon() 401 PackageManager.PackageInfoFlags.of(0) in getServiceLabelAndIcon() 435 PackageManager.PackageInfoFlags.of( in getPackageInfo()
|
/frameworks/base/services/companion/java/com/android/server/companion/utils/ |
D | PackageUtils.java | 42 import android.content.pm.PackageManager.PackageInfoFlags; 81 final PackageInfoFlags flags = PackageInfoFlags.of(GET_PERMISSIONS | GET_CONFIGURATIONS); in getPackageInfo()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTest.java | 32 assertThat(PackageManager.PackageInfoFlags.of(42L).getValue()).isEqualTo(42L); in testPackageInfoFlags()
|
/frameworks/base/tests/StagedInstallTest/app/src/com/android/tests/stagedinstallinternal/ |
D | StagedInstallInternalTest.java | 135 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_FACTORY_ONLY)); in testUpdateSystemApp_InstallV2() 139 info = pm.getPackageInfo(TestApp.A, PackageManager.PackageInfoFlags.of(0)); in testUpdateSystemApp_InstallV2() 148 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_FACTORY_ONLY)); in testUpdateSystemApp_InstallV2() 152 info = pm.getPackageInfo(TestApp.A, PackageManager.PackageInfoFlags.of(0)); in testUpdateSystemApp_InstallV2() 166 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_FACTORY_ONLY)); in testUpdateSystemApp_PostInstallV2() 170 info = pm.getPackageInfo(TestApp.A, PackageManager.PackageInfoFlags.of(0)); in testUpdateSystemApp_PostInstallV2()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/ |
D | DataConverter.kt | 69 pm.getPackageInfo(appPackageName, PackageManager.PackageInfoFlags.of(0)) in <lambda>() 98 PackageManager.PackageInfoFlags.of(0) in getServiceLabelAndIcon() 129 PackageManager.PackageInfoFlags.of(0) in getServiceLabelAndIcon() 163 PackageManager.PackageInfoFlags.of( in getPackageInfo()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 227 return getPackageInfo(packageName, PackageInfoFlags.of(flags)); in getPackageInfo() 231 public PackageInfo getPackageInfo(String packageName, PackageInfoFlags flags) in getPackageInfo() 239 return getPackageInfo(versionedPackage, PackageInfoFlags.of(flags)); in getPackageInfo() 243 public PackageInfo getPackageInfo(VersionedPackage versionedPackage, PackageInfoFlags flags) in getPackageInfo() 261 return getPackageInfoAsUser(packageName, PackageInfoFlags.of(flags), userId); in getPackageInfoAsUser() 265 public PackageInfo getPackageInfoAsUser(String packageName, PackageInfoFlags flags, int userId) in getPackageInfoAsUser() 369 return getPackageGids(packageName, PackageInfoFlags.of(flags)); in getPackageGids() 373 public int[] getPackageGids(String packageName, PackageInfoFlags flags) in getPackageGids() 391 return getPackageUid(packageName, PackageInfoFlags.of(flags)); in getPackageUid() 395 public int getPackageUid(String packageName, PackageInfoFlags flags) in getPackageUid() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 5613 public final static class PackageInfoFlags extends Flags { class in PackageManager 5614 private PackageInfoFlags(@PackageInfoFlagsBits long value) { in PackageInfoFlags() method in PackageManager.PackageInfoFlags 5618 public static PackageInfoFlags of(@PackageInfoFlagsBits long value) { in of() 5619 return new PackageInfoFlags(value); in of() 5703 public PackageInfo getPackageInfo(@NonNull String packageName, @NonNull PackageInfoFlags flags) in getPackageInfo() 5741 @NonNull PackageInfoFlags flags) throws NameNotFoundException { in getPackageInfo() 5780 @NonNull PackageInfoFlags flags, @UserIdInt int userId) throws NameNotFoundException { in getPackageInfoAsUser() 5917 public int[] getPackageGids(@NonNull String packageName, @NonNull PackageInfoFlags flags) in getPackageGids() 5943 public int getPackageUid(@NonNull String packageName, @NonNull PackageInfoFlags flags) in getPackageUid() 5995 public int getPackageUidAsUser(@NonNull String packageName, @NonNull PackageInfoFlags flags, in getPackageUidAsUser() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 216 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_ARCHIVED_PACKAGES)); in onCreateDialog() 277 PackageManager.PackageInfoFlags.of(0), cloneUser.getIdentifier()) > 0) { in hasClonedInstance()
|
/frameworks/base/core/tests/packagemonitortests/src/com/android/internal/content/ |
D | PackageMonitorVisibilityTest.java | 84 PackageManager.PackageInfoFlags.of(0)); in testPackageMonitorPackageVisible()
|
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/ |
D | CarDisplayCompatScaleProviderUpdatableImpl.java | 47 import android.content.pm.PackageManager.PackageInfoFlags; 488 PackageInfoFlags pkgFlags = PackageInfoFlags in requiresDisplayCompatNotCachedLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BinaryTransparencyService.java | 972 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_FACTORY_ONLY in onShellCommand() 978 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_ALL in onShellCommand() 1540 pm.getPackageInfo(packageName, PackageManager.PackageInfoFlags.of( in isPackagePreloaded() 1552 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_APEX)); in isPackageAnApex() 1625 PackageManager.PackageInfoFlags.of(PackageManager.MATCH_APEX in getCurrentInstalledApexs()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | BackgroundInstallControlService.java | 204 PackageManager.PackageInfoFlags.of(flags), userId); in getBackgroundInstalledPackages() 233 name, PackageManager.PackageInfoFlags.of(PackageManager.MATCH_ALL)); in getMockBackgroundInstalledPackages()
|
/frameworks/base/services/core/java/com/android/server/locales/ |
D | LocaleManagerService.java | 33 import android.content.pm.PackageManager.PackageInfoFlags; 512 .getPackageUidAsUser(appPackageName, PackageInfoFlags.of(0), userId); in getPackageUid()
|
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/ |
D | CrossUserPackageVisibilityTests.java | 197 CROSS_USER_TEST_PACKAGE_NAME, PackageManager.PackageInfoFlags.of(0)); in testGetFlagsForUid_cannotDetectCrossUserPkg()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | MetricUtilities.java | 89 PackageManager.PackageInfoFlags.of(0), userId); in getPackageUid()
|
D | CredentialManagerService.java | 473 PackageManager.PackageInfoFlags.of( in constructCallingAppInfo() 1112 PackageManager.PackageInfoFlags.of(0)); in enforceCallingPackage()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | MusicFxHelper.java | 244 PackageManager.PackageInfoFlags.of(MATCH_ANY_USER), getCurrentUserId()); in handleAudioEffectBroadcast()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 289 any(PackageManager.PackageInfoFlags.class), anyInt())).thenReturn(packageInfo); in testReportDelayedRestoreResult_sendsLogsToMonitor()
|
/frameworks/opt/car/services/builtInServices/api/ |
D | module-lib-current.txt | 108 …oAsUser(@NonNull String, @NonNull android.content.pm.PackageManager.PackageInfoFlags, int) throws …
|
/frameworks/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/ |
D | Ts43AuthenticationLibrary.java | 424 PackageManager.PackageInfoFlags.of( in getMainPackageSignatures()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 167 PackageManager.PackageInfoFlags.of(0) in resolveSdkSandboxPackageUid()
|