Home
last modified time | relevance | path

Searched defs:pm (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/
DCookieTest.java36 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/
DApplicationVisibilityCrossUserTest.java59 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/
DPackageAccessTest.java50 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/
DV3RotationTest.java167 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/
DPowerManager_WakeLockTest.java47 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/
DFeatureUtil.java120 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/
DPackageResolutionTest.java39 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/
DWifiFeature.java34 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/
DWifiFeature.java34 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/
DCheckers.java54 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/
DWallpaperInfoTest.java45 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/
DTrigger.java23 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/
DModuleDetector.java50 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/
DVerifiedBootTest.java56 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/
DTextClassifierPolicyTest.java18 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/
DApplicationInfo_DisplayNameComparatorTest.java41 PackageManager pm = getContext().getPackageManager(); in testConstructor() local
48 PackageManager pm = getContext().getPackageManager(); in testCompare() local
DChecksumsTest.java218 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/
DPrivilegedAppDisableTest.java64 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/
DSeServiceManagerTest.java51 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/
DWifiSliceTest.java120 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/
DMidiSoloTest.java90 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/
DSessionTestInstant.kt30 private val pm = context.packageManager constant
DExternalSourcesInstantAppsTest.kt30 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/
DExternalSourcesInstantAppsTest.kt30 private val pm = InstrumentationRegistry.getTargetContext().packageManager constant
/cts/tests/tests/packageinstaller/install_appop_default/src/android/packageinstaller/install_appop_default/cts/
DExternalSourcesInstantAppsTest.kt30 private val pm = InstrumentationRegistry.getTargetContext().packageManager constant in android.packageinstaller.install_appop_default.cts.ExternalSourcesInstantAppsTest

12345678910>>...12