Home
last modified time | relevance | path

Searched defs:appContext (Results 1 – 24 of 24) sorted by relevance

/cts/tests/tests/identity/src/android/security/identity/cts/
DTestUtil.java101 Context appContext = InstrumentationRegistry.getTargetContext(); in getFeatureVersion() local
135 Context appContext = InstrumentationRegistry.getTargetContext(); in isHalImplemented() local
146 Context appContext = InstrumentationRegistry.getTargetContext(); in isDirectAccessHalImplemented() local
156 Context appContext = InstrumentationRegistry.getTargetContext(); in isLockScreenSupported() local
DProvisioningTest.java383 Context appContext = InstrumentationRegistry.getTargetContext(); in alreadyPersonalized() local
402 Context appContext = InstrumentationRegistry.getTargetContext(); in nonExistent() local
415 Context appContext = InstrumentationRegistry.getTargetContext(); in defaultStoreSupportsAnyDocumentType() local
427 Context appContext = InstrumentationRegistry.getTargetContext(); in deleteCredentialByName() local
465 Context appContext = InstrumentationRegistry.getTargetContext(); in deleteCredential() local
521 Context appContext = InstrumentationRegistry.getTargetContext(); in proofOfOwnership() local
573 Context appContext = InstrumentationRegistry.getTargetContext(); in testProvisionAndRetrieve() local
663 Context appContext = InstrumentationRegistry.getTargetContext(); in testProvisionAndRetrieveMultipleTimes() local
726 Context appContext = InstrumentationRegistry.getTargetContext(); in testProvisionAndRetrieveWithFiltering() local
779 Context appContext = InstrumentationRegistry.getTargetContext(); in testProvisionAndRetrieveElementWithNoACP() local
[all …]
DUserAuthTest.java68 Context appContext = InstrumentationRegistry.getTargetContext(); in performDeviceLock() local
80 Context appContext = InstrumentationRegistry.getTargetContext(); in performDeviceUnlock() local
106 Context appContext = InstrumentationRegistry.getTargetContext(); in testUserAuth() local
131 Context appContext = InstrumentationRegistry.getTargetContext(); in doTestUserAuth() local
DDynamicAuthTest.java70 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthTest() local
467 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthWithExpirationTest() local
596 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthMinValidTimeTest() local
810 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthCanGetExpirations() local
876 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthMultipleGetEntries() local
939 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthNoUsageCountIncrement() local
DMultiDocumentPresentationTest.java97 Context appContext = InstrumentationRegistry.getTargetContext(); in multipleDocuments() local
228 Context appContext = InstrumentationRegistry.getTargetContext(); in cryptoObjectReturnsCorrectSession() local
DNoSessionEncryptionTest.java65 Context appContext = InstrumentationRegistry.getTargetContext(); in noSessionEncryption() local
DX509CertificateSigningTest.java56 Context appContext = InstrumentationRegistry.getTargetContext(); in testSigning() local
DAttestationTest.java60 Context appContext = InstrumentationRegistry.getTargetContext(); in attestationTest() local
DEphemeralKeyTest.java66 Context appContext = InstrumentationRegistry.getTargetContext(); in createEphemeralKey() local
DIdentityApiTest.java181 Context appContext = InstrumentationRegistry.getTargetContext(); in testGetDirectAccessInstance() local
DReaderAuthTest.java160 Context appContext = InstrumentationRegistry.getTargetContext(); in readerAuth() local
/cts/tests/framework/base/localeconfig/src/com/android/cts/localeconfig/
DLocaleConfigTest.java90 Context appContext = mContext.createPackageContext(TEST_PACKAGE, 0); in testGetLocaleList() local
108 Context appContext = mContext.createPackageContext(TEST_PACKAGE, 0); in testGetDefaultLocale() local
122 Context appContext = mContext.createPackageContext(TEST_PACKAGE_WITHOUT_LOCALECONFIG, 0); in testNoLocaleConfigTag() local
142 Context appContext = mContext.createPackageContext(TEST_PACKAGE, 0); in testGetOverrideLocaleConfig() local
160 Context appContext = mContext.createPackageContext(TEST_PACKAGE, 0); in testGetOriginalLocaleConfig() local
DLocaleConfigAppUpdateTest.java126 Context appContext = mContext.createPackageContext(TEST_PACKAGE, 0); in testUpgradedApk_setFromApp_KeepAppLocales() local
174 Context appContext = mContext.createPackageContext(TEST_PACKAGE, 0); in testUpgradedApk_removeLocaleConfig_ClearAppLocales() local
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DPerformanceHintManagerTests.java70 Context appContext = ApplicationProvider.getApplicationContext(); in testAdpfTidCleanup() local
123 Context appContext = ApplicationProvider.getApplicationContext(); in testCreateHintSession() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2024-34723/test-app/src/android/security/cts/CVE_2024_34723/
DDeviceTest.java50 final Context appContext = getApplicationContext(); in testPocCVE_2024_34723() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDynamicConfigDeviceSide.java54 Context appContext = InstrumentationRegistry.getTargetContext(); in DynamicConfigDeviceSide() local
DBusinessLogicTestCase.java93 Context appContext = InstrumentationRegistry.getTargetContext(); in loadBusinessLogic() local
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/
DSdkAvailabilityTest.java194 final Context appContext = ApplicationProvider.getApplicationContext(); in isLargeScreenDisplay() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DWindowMetricsWindowContextTests.java86 final Context appContext = ApplicationProvider.getApplicationContext(); in WindowContextTestSession() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8332/
Dpoc.c86 applicationContext* appContext = (applicationContext*) context; in ReadHandler() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DIdentityCredentialAuthenticationMultiDocument.java80 private static int getFeatureVersion(Context appContext) { in getFeatureVersion()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DAssociationRevokedTestBase.kt41 protected val appContext: Context = instrumentation.targetContext constant in android.companion.cts.uiautomation.AssociationRevokedTestBase
/cts/tests/tests/keystore/src/android/keystore/cts/util/
DTestUtils.java121 public static int getFeatureVersionKeystore(Context appContext, boolean useStrongbox) { in getFeatureVersionKeystore()
144 public static int getFeatureVersionKeystore(Context appContext) { in getFeatureVersionKeystore()
168 public static int getFeatureVersionKeystoreStrongBox(Context appContext) { in getFeatureVersionKeystoreStrongBox()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1255 final Context appContext = ApplicationProvider.getApplicationContext(); in isTablet() local