Home
last modified time | relevance | path

Searched refs:appContext (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/identity/src/android/security/identity/cts/
DProvisioningTest.java372 Context appContext = InstrumentationRegistry.getTargetContext(); in alreadyPersonalized() local
373 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in alreadyPersonalized()
391 Context appContext = InstrumentationRegistry.getTargetContext(); in nonExistent() local
392 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in nonExistent()
404 Context appContext = InstrumentationRegistry.getTargetContext(); in defaultStoreSupportsAnyDocumentType() local
405 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in defaultStoreSupportsAnyDocumentType()
416 Context appContext = InstrumentationRegistry.getTargetContext(); in deleteCredential() local
417 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in deleteCredential()
453 Context appContext = InstrumentationRegistry.getTargetContext(); in testProvisionAndRetrieve() local
454 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in testProvisionAndRetrieve()
[all …]
DAttestationTest.java56 Context appContext = InstrumentationRegistry.getTargetContext(); in attestationTest() local
57 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in attestationTest()
129 String appId = appContext.getPackageName(); in attestationTest()
DUserAuthTest.java109 Context appContext = InstrumentationRegistry.getTargetContext(); in performDeviceLock() local
110 KeyguardManager keyguardManager = (KeyguardManager)appContext. in performDeviceLock()
177 Context appContext = InstrumentationRegistry.getTargetContext(); in testUserAuth() local
178 KeyguardManager keyguardManager = (KeyguardManager)appContext in testUserAuth()
202 Context appContext = InstrumentationRegistry.getTargetContext(); in doTestUserAuth() local
203 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in doTestUserAuth()
DX509CertificateSigningTest.java55 Context appContext = InstrumentationRegistry.getTargetContext(); in testSigning() local
93 AtomicFile file = new AtomicFile(appContext.getFileStreamPath(filename)); in testSigning()
DIdentityApiTest.java181 Context appContext = InstrumentationRegistry.getTargetContext(); in testGetDirectAccessInstance() local
183 IdentityCredentialStore.getDirectAccessInstance(appContext); in testGetDirectAccessInstance()
DEphemeralKeyTest.java65 Context appContext = InstrumentationRegistry.getTargetContext(); in createEphemeralKey() local
66 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in createEphemeralKey()
DReaderAuthTest.java159 Context appContext = InstrumentationRegistry.getTargetContext(); in readerAuth() local
160 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in readerAuth()
DDynamicAuthTest.java65 Context appContext = InstrumentationRegistry.getTargetContext(); in dynamicAuthTest() local
66 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in dynamicAuthTest()
DUtil.java1262 Context appContext = InstrumentationRegistry.getTargetContext(); in isHalImplemented() local
1263 IdentityCredentialStore store = IdentityCredentialStore.getInstance(appContext); in isHalImplemented()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DDynamicConfigDeviceSide.java54 Context appContext = InstrumentationRegistry.getTargetContext(); in DynamicConfigDeviceSide() local
56 ContentResolver resolver = appContext.getContentResolver(); in DynamicConfigDeviceSide()
DBusinessLogicTestCase.java90 Context appContext = InstrumentationRegistry.getTargetContext(); in loadBusinessLogic() local
92 ContentResolver resolver = appContext.getContentResolver(); in loadBusinessLogic()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DDynamicConfigDeviceSide.java54 Context appContext = InstrumentationRegistry.getTargetContext(); in DynamicConfigDeviceSide() local
56 ContentResolver resolver = appContext.getContentResolver(); in DynamicConfigDeviceSide()
DBusinessLogicTestCase.java82 Context appContext = InstrumentationRegistry.getTargetContext(); in loadBusinessLogic() local
84 ContentResolver resolver = appContext.getContentResolver(); in loadBusinessLogic()