/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/ |
D | CookieTest.java | 36 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookieUpdateAndRetrieval() local 66 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls1() local 74 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls2() local 82 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedUpgradeFromInstant1() local 93 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedUpgradeFromInstant2() local 104 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookieResetOnNonInstantReinstall1() local 112 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookieResetOnNonInstantReinstall2() local
|
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/ |
D | ApplicationVisibilityCrossUserTest.java | 56 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_currentUser() local 65 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserGrant() local 74 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserNoGrant() local 86 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserGrant() local 95 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserNoGrant() local 107 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_currentUser() local 116 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_anyUserCrossUserGrant() local 125 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_anyUserCrossUserNoGrant() local 137 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_otherUserGrant() local 146 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_otherUserNoGrant() local [all …]
|
/cts/hostsidetests/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/ |
D | PackageAccessTest.java | 50 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_inUser() local 61 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_inUserUninstalled() local 72 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_notInOtherUser() local 83 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_notInOtherUserUninstalled() local 94 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_getPackagesCantSeeTiny() local 106 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_getPackagesCanSeeTiny() local
|
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/ |
D | V3RotationTest.java | 120 PackageManager pm = getContext().getPackageManager(); in testHasPerm() local 127 PackageManager pm = getContext().getPackageManager(); in testHasNoPerm() local 137 PackageManager pm = getContext().getPackageManager(); in testGetSignaturesShowsOld() local 149 PackageManager pm = getContext().getPackageManager(); in testGetSigningCertificatesShowsAll() local 180 PackageManager pm = getContext().getPackageManager(); in testGetApkContentsSignersShowsCurrent() local 192 PackageManager pm = getContext().getPackageManager(); in testGetApkContentsSignersShowsMultipleSigners() local 205 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificate() local 217 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateSha256() local 230 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateByUid() local 243 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateByUidSha256() local
|
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/ |
D | PackageResolutionTest.java | 39 final PackageManager pm = in queryActivityOrdered() local 59 final PackageManager pm = in queryServiceOrdered() local 79 final PackageManager pm = in queryReceiverOrdered() local
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_WakeLockTest.java | 35 PowerManager pm = (PowerManager) getContext().getSystemService(Context.POWER_SERVICE); in testPowerManagerWakeLock() local 72 final PowerManager pm = getContext().getSystemService(PowerManager.class); in testWakeLockTimeout() local
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperInfoTest.java | 50 PackageManager pm = context.getPackageManager(); in test_wallpaperServiceQuery() local 60 PackageManager pm = context.getPackageManager(); in test_wallpaperInfoOptions() local 93 PackageManager pm = context.getPackageManager(); in getInfoForService() local
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/mainline/ |
D | ModuleDetector.java | 50 public static boolean moduleIsPlayManaged(PackageManager pm, MainlineModule module) in moduleIsPlayManaged() 59 public static Set<MainlineModule> getPlayManagedModules(PackageManager pm) throws Exception { in getPlayManagedModules() 79 private static String getSignatureDigest(PackageManager pm, MainlineModule module) in getSignatureDigest()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassifierPolicyTest.java | 18 PackageManager pm = ApplicationProvider.getApplicationContext().getPackageManager(); in isDefaultTextClassifierPackageKnown() local 31 PackageManager pm = ApplicationProvider.getApplicationContext().getPackageManager(); in defaultTextClassifierIsNotTheSameAsSystemTextClassifier() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | VerifiedBootTest.java | 56 private static boolean isLowRamExempt(PackageManager pm) { in isLowRamExempt() 77 PackageManager pm = mContext.getPackageManager(); in testVerifiedBootSupport() local
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ApplicationInfo_DisplayNameComparatorTest.java | 39 PackageManager pm = getContext().getPackageManager(); in testConstructor() local 46 PackageManager pm = getContext().getPackageManager(); in testCompare() local
|
D | ChecksumsTest.java | 204 PackageManager pm = getPackageManager(); in testDefaultChecksums() local 219 PackageManager pm = getPackageManager(); in testSplitsDefaultChecksums() local 245 PackageManager pm = getPackageManager(); in testFixedDefaultChecksums() local 262 PackageManager pm = getPackageManager(); in testFixedV1DefaultChecksums() local 275 PackageManager pm = getPackageManager(); in testFixedSha512DefaultChecksums() local 294 PackageManager pm = getPackageManager(); in testFixedVerityDefaultChecksums() local 306 PackageManager pm = getPackageManager(); in testAllChecksums() local 328 PackageManager pm = getPackageManager(); in testFixedAllChecksums() local 363 PackageManager pm = getPackageManager(); in testFixedV1AllChecksums() local 395 PackageManager pm = getPackageManager(); in testDefaultIncrementalChecksums() local [all …]
|
D | PermissionFeatureTest.java | 74 final PackageManager pm = getContext().getPackageManager(); in assertPermissionGranted() local 80 final PackageManager pm = getContext().getPackageManager(); in assertPermissionDenied() local
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | WifiSliceTest.java | 118 final PackageManager pm = mContext.getPackageManager(); in wifiSlice_grantedPermissionToDefaultAssistant() local 149 final PackageManager pm = mContext.getPackageManager(); in wifiSlice_grantedPermissionToDefaultVoiceAssistant() local 165 PackageManager pm = mContext.getPackageManager(); in isCar() local 170 PackageManager pm = mContext.getPackageManager(); in isTv() local
|
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/ |
D | PrivilegedAppDisableTest.java | 64 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in getApplicationFlags() local 75 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in assertPackageEnabledState() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureUtil.java | 93 PackageManager pm = context.getPackageManager(); in isWatch() local 101 PackageManager pm = context.getPackageManager(); in isWatchOrAutomotive() local 110 PackageManager pm = context.getPackageManager(); in isAutomotive() local
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | SessionTestInstant.kt | 30 private val pm = context.packageManager constant
|
D | ExternalSourcesInstantAppsTest.kt | 30 private val pm = InstrumentationRegistry.getTargetContext().packageManager constant
|
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/ |
D | ExternalSourcesInstantAppsTest.kt | 30 private val pm = InstrumentationRegistry.getTargetContext().packageManager constant
|
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/ |
D | ExternalSourcesInstantAppsTest.kt | 30 private val pm = InstrumentationRegistry.getTargetContext().packageManager constant in android.packageinstaller.install_appop_denied.cts.ExternalSourcesInstantAppsTest
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/ |
D | CarDockTestActivity.java | 86 PackageManager pm = getApplicationContext().getPackageManager(); in onCreate() local 102 PackageManager pm = getApplicationContext().getPackageManager(); in swapCarDockHandler() local
|
/cts/libs/helpers/core/src/com/android/cts/helpers/ |
D | DeviceInteractionHelperRule.java | 150 void buildPackageList(String property, PackageManager pm) { in buildPackageList() 214 PackageManager pm = mContext.getPackageManager(); in evaluate() local 216 buildPackageList(SystemProperties.get(PACKAGE_PATH_PROPERTY), pm); in evaluate() local
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTestCase.java | 66 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in setUp() local 155 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in supportedHardware() local 165 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in supportedHardwareForScopedDirectoryAccess() local 175 final PackageManager pm = getInstrumentation().getContext().getPackageManager(); in isTelevision() local
|
/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp2/src/test/instant/cookie/ |
D | CookieTest.java | 33 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls2() local
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | RevokePermissionTest.kt | 142 val pm = context.packageManager in testRevoke() constant 178 val pm = context.packageManager in assertPackageNotInstalled() constant
|