Home
last modified time | relevance | path

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

123456789

/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.java56 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/
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.java120 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/
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/os/src/android/os/cts/
DPowerManager_WakeLockTest.java35 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/
DWallpaperInfoTest.java50 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/
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/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/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/content/src/android/content/pm/cts/
DApplicationInfo_DisplayNameComparatorTest.java39 PackageManager pm = getContext().getPackageManager(); in testConstructor() local
46 PackageManager pm = getContext().getPackageManager(); in testCompare() local
DChecksumsTest.java204 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 …]
DPermissionFeatureTest.java74 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/
DWifiSliceTest.java118 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/
DPrivilegedAppDisableTest.java64 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/
DFeatureUtil.java93 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/
DSessionTestInstant.kt30 private val pm = context.packageManager constant
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
/cts/tests/tests/packageinstaller/install_appop_denied/src/android/packageinstaller/install_appop_denied/cts/
DExternalSourcesInstantAppsTest.kt30 private val pm = InstrumentationRegistry.getTargetContext().packageManager constant in android.packageinstaller.install_appop_denied.cts.ExternalSourcesInstantAppsTest
/cts/apps/CtsVerifier/src/com/android/cts/verifier/car/
DCarDockTestActivity.java86 PackageManager pm = getApplicationContext().getPackageManager(); in onCreate() local
102 PackageManager pm = getApplicationContext().getPackageManager(); in swapCarDockHandler() local
/cts/libs/helpers/core/src/com/android/cts/helpers/
DDeviceInteractionHelperRule.java150 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/
DDocumentsClientTestCase.java66 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/
DCookieTest.java33 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls2() local
/cts/tests/tests/permission/src/android/permission/cts/
DRevokePermissionTest.kt142 val pm = context.packageManager in testRevoke() constant
178 val pm = context.packageManager in assertPackageNotInstalled() constant

123456789