Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/net/src/android/net/cts/
DIpSecManagerTest.java447 IpSecAlgorithm auth, in checkTransform() argument
465 if (auth != null) { in checkTransform()
466 transformBuilder.setAuthentication(auth); in checkTransform()
504 getTruncLenBits(auth != null ? auth : aead)); in checkTransform()
617 IpSecAlgorithm auth = new IpSecAlgorithm(IpSecAlgorithm.AUTH_HMAC_MD5, getKey(128), 96); in testIkeOverUdpEncapSocket() local
624 .setAuthentication(auth) in testIkeOverUdpEncapSocket()
668 IpSecAlgorithm auth = new IpSecAlgorithm(IpSecAlgorithm.AUTH_HMAC_MD5, getKey(128), 96); in testInterfaceCountersUdp4() local
669 checkTransform(IPPROTO_UDP, IPV4_LOOPBACK, crypt, auth, null, false, 1000, false); in testInterfaceCountersUdp4()
675 IpSecAlgorithm auth = new IpSecAlgorithm(IpSecAlgorithm.AUTH_HMAC_MD5, getKey(128), 96); in testInterfaceCountersUdp6() local
676 checkTransform(IPPROTO_UDP, IPV6_LOOPBACK, crypt, auth, null, false, 1000, false); in testInterfaceCountersUdp6()
[all …]
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java34 public static String getAuthorityWithoutUserId(String auth) { in getAuthorityWithoutUserId() argument
35 if (auth == null) { in getAuthorityWithoutUserId()
38 int end = auth.lastIndexOf('@'); in getAuthorityWithoutUserId()
39 return auth.substring(end + 1); in getAuthorityWithoutUserId()
/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java123 final String auth = "com.example"; in testRootUri() local
130 providerInfo.authority = auth; in testRootUri()
137 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri()
139 assertEquals(auth, uri.getAuthority()); in testRootUri()
146 final String auth = "com.example"; in testRootUri_returnFalse() local
154 final Uri uri = DocumentsContract.buildRootUri(auth, rootId); in testRootUri_returnFalse()
156 assertEquals(auth, uri.getAuthority()); in testRootUri_returnFalse()
163 final String auth = "com.example"; in testRootsUri() local
169 providerInfo.authority = auth; in testRootsUri()
176 final Uri uri = DocumentsContract.buildRootsUri(auth); in testRootsUri()
[all …]
/cts/tests/tests/accounts/CtsUnaffiliatedAccountAuthenticators/src/android/accounts/cts/unaffiliated/
DDefaultAccountAuthService.java32 TestDefaultAuthenticator auth = in onBind() local
34 return auth.getIBinder(); in onBind()
DStdAccountAuthService.java32 TestAccountAuthenticator auth = in onBind() local
34 return auth.getIBinder(); in onBind()
/cts/tests/security/src/android/keystore/cts/
DCertificateUtils.java31 import javax.security.auth.x500.X500Principal;
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorSpecTest.java25 import javax.security.auth.x500.X500Principal;
DKeyGenParameterSpecTest.java31 import javax.security.auth.x500.X500Principal;
DKeyPairGeneratorTest.java71 import javax.security.auth.x500.X500Principal;
DAndroidKeyStoreTest.java69 import javax.security.auth.x500.X500Principal;
/cts/tests/tests/net/src/org/apache/http/conn/ssl/cts/
DAbstractVerifierTest.java19 import javax.security.auth.x500.X500Principal;
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java581 Header[] auth = request.getHeaders("Authorization"); in getResponse() local
582 if ((auth.length > 0 && auth[0].getValue().equals(AUTH_CREDENTIALS)) in getResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java44 import javax.security.auth.x500.X500Principal;
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java69 import javax.security.auth.x500.X500Principal;