Home
last modified time | relevance | path

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

123456

/cts/hostsidetests/appsecurity/test-apps/InstantCookieApp/src/test/instant/cookie/
DCookieTest.java34 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookieUpdateAndRetrieval() local
64 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls1() local
72 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls2() local
80 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedUpgradeFromInstant1() local
91 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedUpgradeFromInstant2() local
102 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookieResetOnNonInstantReinstall1() local
110 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookieResetOnNonInstantReinstall2() local
/cts/tests/tests/content/src/android/content/pm/cts/
DPermissionFeatureTest.java24 PackageManager pm = getContext().getPackageManager(); in testPermissionRequiredFeatureDefined() local
31 PackageManager pm = getContext().getPackageManager(); in testPermissionRequiredFeatureUndefined() local
38 PackageManager pm = getContext().getPackageManager(); in testPermissionRequiredNotFeatureDefined() local
45 PackageManager pm = getContext().getPackageManager(); in testPermissionRequiredNotFeatureUndefined() local
52 PackageManager pm = getContext().getPackageManager(); in testPermissionRequiredMultiDeny() local
59 PackageManager pm = getContext().getPackageManager(); in testPermissionRequiredMultiGrant() local
DApplicationInfo_DisplayNameComparatorTest.java39 PackageManager pm = getContext().getPackageManager(); in testConstructor() local
46 PackageManager pm = getContext().getPackageManager(); in testCompare() local
DResolveInfoTest.java38 PackageManager pm = getContext().getPackageManager(); in testResolveInfo() local
52 PackageManager pm = getContext().getPackageManager(); in testDump() local
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java50 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_currentUser() local
59 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserGrant() local
68 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_anyUserCrossUserNoGrant() local
79 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserGrant() local
88 final PackageManager pm = mContext.getPackageManager(); in testPackageVisibility_otherUserNoGrant() local
99 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_currentUser() local
108 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_anyUserCrossUserGrant() local
117 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_anyUserCrossUserNoGrant() local
128 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_otherUserGrant() local
137 final PackageManager pm = mContext.getPackageManager(); in testApplicationVisibility_otherUserNoGrant() local
/cts/hostsidetests/appsecurity/test-apps/PackageAccessApp/src/com/android/cts/packageaccessapp/
DPackageAccessTest.java52 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_inUser() local
63 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_inUserUninstalled() local
74 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_notInOtherUser() local
85 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_notInOtherUserUninstalled() local
96 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_getPackagesCantSeeTiny() local
108 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testPackageAccess_getPackagesCanSeeTiny() local
/cts/hostsidetests/appsecurity/test-apps/V3SigningSchemeRotation/src/android/appsecurity/cts/v3rotationtests/
DV3RotationTest.java87 PackageManager pm = getContext().getPackageManager(); in testHasPerm() local
94 PackageManager pm = getContext().getPackageManager(); in testHasNoPerm() local
104 PackageManager pm = getContext().getPackageManager(); in testGetSignaturesShowsOld() local
116 PackageManager pm = getContext().getPackageManager(); in testGetSigningCertificatesShowsAll() local
147 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificate() local
159 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateSha256() local
172 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateByUid() local
185 PackageManager pm = getContext().getPackageManager(); in testHasSigningCertificateByUidSha256() local
/cts/hostsidetests/appsecurity/test-apps/OrderedActivityApp/src/android/appsecurity/cts/orderedactivity/
DPackageResolutionTest.java41 final PackageManager pm = in queryActivityOrdered() local
61 final PackageManager pm = in queryServiceOrdered() local
81 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/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java132 PackageManager pm = mActivity.getPackageManager(); in runCurrentWebViewPackageTest() local
221 PackageManager pm = mActivity.getPackageManager(); in testGetWebViewLooperOnUiThread() local
232 PackageManager pm = mActivity.getPackageManager(); in testGetWebViewLooperCreatedOnUiThreadFromInstrThread() local
255 PackageManager pm = mActivity.getPackageManager(); in testGetWebViewLooperCreatedOnBackgroundThreadFromInstThread() local
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
DPrivilegedAppDisableTest.java66 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in getApplicationFlags() local
77 PackageManager pm = getInstrumentation().getContext().getPackageManager(); in assertPackageEnabledState() local
/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/hostsidetests/appsecurity/test-apps/InstantCookieApp2/src/test/instant/cookie/
DCookieTest.java34 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCookiePersistedAcrossInstantInstalls2() local
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFeatureUtil.java46 PackageManager pm = getPackageManager(); in hasAnySystemFeature() local
57 PackageManager pm = getPackageManager(); in hasAllSystemFeatures() local
/cts/tests/tests/telephony/preconditions/app/src/android/telephony/cts/preconditions/app/
DTelephonyPreparerAppTest.java35 PackageManager pm = this.getContext().getPackageManager(); in testPhoneNumberPresent() local
/cts/tests/tests/security/src/android/security/cts/
DVerifiedBootTest.java38 PackageManager pm = getContext().getPackageManager(); in testVerifiedBootSupport() local
DIntentSenderRemovalTest.java42 PackageManager pm = getContext().getPackageManager(); in testIntentSenderIntent() local
DDeviceIdleControllerTest.java62 PowerManager pm = mContext.getSystemService(PowerManager.class); in testAddWhiteList() local
/cts/hostsidetests/sustainedperf/app/src/android/test/app/
DDeviceTestActivity.java31 PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE); in onCreate() local
/cts/hostsidetests/appsecurity/test-apps/MajorVersionApp/src-common/com/android/cts/majorversion/
DVersionTest.java35 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCheckVersion() local
/cts/tests/tests/media/src/android/media/cts/
DMidiSoloTest.java88 PackageManager pm = getContext().getPackageManager(); in testMidiManager() local
114 PackageManager pm = getContext().getPackageManager(); in testMidiReceiver() local
159 PackageManager pm = getContext().getPackageManager(); in testMidiReceiverException() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraVulkanGpuTest.java37 PackageManager pm = InstrumentationRegistry.getContext().getPackageManager(); in testCameraImportAndRendering() local
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/
DPreconditionsTest.java38 PackageManager pm = this.getContext().getPackageManager(); in testScreenUnlocked() local
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DAppLinkTest.java76 PackageManager pm = mContext.getPackageManager(); in checkHttpIntentResult() local
89 PackageManager pm = mContext.getPackageManager(); in assertNumberOfReceivers() local
/cts/hostsidetests/appsecurity/test-apps/keysets/testApp/src/com/android/cts/keysets/
DKeySetPermissionsTest.java36 PackageManager pm = getContext().getPackageManager(); in testHasPerm() local

123456