/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 | 59 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_currentUser() local 68 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserGrant() local 77 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserNoGrant() local 89 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserGrant() local 98 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserNoGrant() local 110 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_currentUser() local 119 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_anyUserCrossUserGrant() local 128 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_anyUserCrossUserNoGrant() local 140 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_otherUserGrant() local 149 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 | 167 PackageManager pm = getContext().getPackageManager(); in testHasPerm() local 174 PackageManager pm = getContext().getPackageManager(); in testHasNoPerm() local 184 PackageManager pm = getContext().getPackageManager(); in testGetSignaturesShowsOld() local 196 PackageManager pm = getContext().getPackageManager(); in testGetSigningCertificatesShowsAll() local 227 PackageManager pm = getContext().getPackageManager(); in testGetApkContentsSignersShowsCurrent() local 239 PackageManager pm = getContext().getPackageManager(); in testGetApkContentsSignersShowsMultipleSigners() local 261 PackageManager pm = getContext().getPackageManager(); in testGetSigningCertificateHistoryReturnsSignersInOrder() local 274 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificate() local 286 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateSha256() local 299 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateByUid() local [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_WakeLockTest.java | 47 PowerManager pm = (PowerManager) getContext().getSystemService(Context.POWER_SERVICE); in testPowerManagerWakeLock() local 84 final PowerManager pm = getContext().getSystemService(PowerManager.class); in testWakeLockTimeout() local 99 final PowerManager pm = getContext().getSystemService(PowerManager.class); in testWakeLockCallback() local 131 final PowerManager pm = getContext().getSystemService(PowerManager.class); in testWakeLockCallback_changeListener() local 192 final PowerManager pm = getContext().getSystemService(PowerManager.class); in testWakeLockCallback_nullListener() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/ |
D | FeatureUtil.java | 120 PackageManager pm = context.getPackageManager(); in isDataRoamingSupported() local 163 PackageManager pm = context.getPackageManager(); in isWatch() local 171 PackageManager pm = context.getPackageManager(); in isTelevision() local 179 PackageManager pm = context.getPackageManager(); in isWatchOrAutomotive() local 188 PackageManager pm = context.getPackageManager(); in isWatchOrAutomotiveOrTv() local 199 PackageManager pm = context.getPackageManager(); in isAutomotive() local 207 PackageManager pm = context.getPackageManager(); in supportManagedSecondaryUsers() local 231 PackageManager pm = context.getPackageManager(); in supportCameraFeature() 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/wifi/src/android/net/wifi/cts/ |
D | WifiFeature.java | 34 final PackageManager pm = context.getPackageManager(); in isTelephonySupported() local 39 final PackageManager pm = context.getPackageManager(); in isRttSupported() local 44 final PackageManager pm = context.getPackageManager(); in isAwareSupported() local
|
/cts/tests/tests/wifi/src/android/net/wifi/nl80211/cts/ |
D | WifiFeature.java | 34 final PackageManager pm = context.getPackageManager(); in isTelephonySupported() local 39 final PackageManager pm = context.getPackageManager(); in isRttSupported() local 44 final PackageManager pm = context.getPackageManager(); in isAwareSupported() local
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | Checkers.java | 54 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in checkValidLightSensor() local 60 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in checkBrightnessSliderPermission() local 77 private int numberOfSystemAppsWithPermission(String permission, PackageManager pm) { in numberOfSystemAppsWithPermission()
|
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/ |
D | WallpaperInfoTest.java | 45 PackageManager pm = context.getPackageManager(); in test_wallpaperServiceQuery() local 54 PackageManager pm = context.getPackageManager(); in test_wallpaperInfoOptions() local 88 PackageManager pm = context.getPackageManager(); in getInfoForService() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0921/src/android/security/cts/CVE_2021_0921/ |
D | Trigger.java | 23 PackageManager pm = context.getPackageManager(); in isCar() local 28 PackageManager pm = context.getPackageManager(); in isWear() local 33 PackageManager pm = context.getPackageManager(); in isTv() 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/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/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/content/src/android/content/pm/cts/ |
D | ApplicationInfo_DisplayNameComparatorTest.java | 41 PackageManager pm = getContext().getPackageManager(); in testConstructor() local 48 PackageManager pm = getContext().getPackageManager(); in testCompare() local
|
D | ChecksumsTest.java | 218 PackageManager pm = getPackageManager(); in testNameNotFound() local 244 PackageManager pm = getPackageManager(); in testDefaultChecksums() local 260 PackageManager pm = getPackageManager(); in testSplitsDefaultChecksums() local 287 PackageManager pm = getPackageManager(); in testFixedDefaultChecksums() local 305 PackageManager pm = getPackageManager(); in testFixedV1DefaultChecksums() local 319 PackageManager pm = getPackageManager(); in testFixedSha512DefaultChecksums() local 342 PackageManager pm = getPackageManager(); in testFixedFSVerityDefaultChecksums() local 376 PackageManager pm = getPackageManager(); in testFixedFSVerityDefaultChecksumsIncremental() local 400 PackageManager pm = getPackageManager(); in testFixedVerityDefaultChecksums() local 427 PackageManager pm = getPackageManager(); in testArchivedDefaultChecksums() local [all …]
|
/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/tests/tests/secure_element/src/android/secure_element/cts/ |
D | SeServiceManagerTest.java | 51 private boolean hasSecureElementPackage(PackageManager pm) { in hasSecureElementPackage() 63 final PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in setUp() local
|
/cts/tests/tests/settings/src/android/settings/cts/ |
D | WifiSliceTest.java | 120 final PackageManager pm = mContext.getPackageManager(); in wifiSlice_grantedPermissionToDefaultAssistant() local 151 final PackageManager pm = mContext.getPackageManager(); in wifiSlice_grantedPermissionToDefaultVoiceAssistant() local 177 PackageManager pm = mContext.getPackageManager(); in isCar() local 182 PackageManager pm = mContext.getPackageManager(); in isTv() local
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | MidiSoloTest.java | 90 PackageManager pm = getContext().getPackageManager(); in testMediaPerformanceClassSupportsMidi() local 100 PackageManager pm = getContext().getPackageManager(); in testMidiManager() local 140 PackageManager pm = getContext().getPackageManager(); in testMidiReceiver() local 185 PackageManager pm = getContext().getPackageManager(); in testMidiReceiverException() 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 in android.packageinstaller.install.cts.ExternalSourcesInstantAppsTest
|
/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
|
/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 in android.packageinstaller.install_appop_default.cts.ExternalSourcesInstantAppsTest
|