Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java97 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) in BluetoothServerSocket() argument
100 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null); in BluetoothServerSocket()
118 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port, in BluetoothServerSocket() argument
122 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null, mitm, in BluetoothServerSocket()
139 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) in BluetoothServerSocket() argument
141 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid); in BluetoothServerSocket()
DBluetoothSocket.java178 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() argument
180 this(type, fd, auth, encrypt, device, port, uuid, false, false); in BluetoothSocket()
198 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, in BluetoothSocket() argument
214 mAuth = auth; in BluetoothSocket()
285 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, in BluetoothSocket() argument
287 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null, false, false); in BluetoothSocket()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceProviderPermissionsTest.java68 SliceAuthority auth = provider.getOrCreateAuthority("some_auth"); in testDirty_addPkg() local
71 auth.addPkg(new PkgUser("pkg", 0)); in testDirty_addPkg()
121 SliceAuthority auth = provider.getOrCreateAuthority("com.android.pkg.slices"); in createProvider() local
122 auth.addPkg(new PkgUser("com.example.pkg", 0)); in createProvider()
123 auth.addPkg(new PkgUser("example.pkg.com", 10)); in createProvider()
125 auth = provider.getOrCreateAuthority("com.android.pkg"); in createProvider()
126 auth.addPkg(new PkgUser("com.example.pkg", 2)); in createProvider()
DSliceClientPermissionsTest.java184 SliceAuthority auth = client.getOrCreateAuthority( in testDirty_addPkg() local
189 auth.addPath(Arrays.asList("/something/")); in testDirty_addPkg()
244 SliceAuthority auth = client.getOrCreateAuthority( in createClient() local
247 auth.addPath(Arrays.asList("/something/")); in createClient()
248 auth.addPath(Arrays.asList("/something/else")); in createClient()
250 auth = client.getOrCreateAuthority( in createClient()
253 auth.addPath(Arrays.asList("/somewhere")); in createClient()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java2021 AuthenticationToken auth = initializeSyntheticPasswordLocked( in verifyCredential() local
2024 activateEscrowTokens(auth, userId); in verifyCredential()
2397 private void onAuthTokenKnownForUser(@UserIdInt int userId, AuthenticationToken auth) { in onAuthTokenKnownForUser() argument
2401 mSpCache.put(userId, auth); in onAuthTokenKnownForUser()
2413 final byte[] rawSecret = auth.deriveVendorAuthSecret(); in onAuthTokenKnownForUser()
2503 final AuthenticationToken auth = mSpManager.newSyntheticPasswordAndSid( in initializeSyntheticPasswordLocked() local
2505 onAuthTokenKnownForUser(userId, auth); in initializeSyntheticPasswordLocked()
2506 if (auth == null) { in initializeSyntheticPasswordLocked()
2511 credential, credentialType, auth, requestedQuality, userId); in initializeSyntheticPasswordLocked()
2516 mSpManager.newSidForUser(getGateKeeperService(), auth, userId); in initializeSyntheticPasswordLocked() local
[all …]
DSyntheticPasswordManager.java1031 @NonNull AuthenticationToken auth, long challenge, int userId) throws RemoteException { in verifyChallenge() argument
1040 spHandle, auth.deriveGkPassword()); in verifyChallenge()
1046 spHandle, auth.deriveGkPassword()); in verifyChallenge()
1051 return verifyChallenge(gatekeeper, auth, challenge, userId); in verifyChallenge()
/frameworks/base/core/tests/coretests/src/android/net/http/
DDefaultHttpClientTest.java31 import org.apache.http.auth.AuthenticationException;
32 import org.apache.http.auth.UsernamePasswordCredentials;
34 import org.apache.http.impl.auth.DigestScheme;
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DFakeStorageManager.java80 Pair<byte[], byte[]> auth = auths.get(0); in unlockUser() local
81 if (!Arrays.equals(secret, auth.second)) { in unlockUser()
/frameworks/base/services/core/java/com/android/server/
DIpSecService.java1446 IpSecAlgorithm auth = config.getAuthentication(); in validateAlgorithms() local
1452 aead != null || crypt != null || auth != null, in validateAlgorithms()
1455 auth == null || auth.isAuthentication(), in validateAlgorithms()
1463 aead == null || (auth == null && crypt == null), in validateAlgorithms()
1597 IpSecAlgorithm auth = c.getAuthentication(); in createOrUpdateTransform() local
1619 (auth != null) ? auth.getName() : "", in createOrUpdateTransform()
1620 (auth != null) ? auth.getKey() : new byte[] {}, in createOrUpdateTransform()
1621 (auth != null) ? auth.getTruncationLengthBits() : 0, in createOrUpdateTransform()
/frameworks/base/core/java/android/content/
DContentProvider.java2215 String auth = uri.getAuthority(); in validateIncomingUri() local
2217 int userId = getUserIdFromAuthority(auth, UserHandle.USER_CURRENT); in validateIncomingUri()
2223 validateIncomingAuthority(auth); in validateIncomingUri()
2248 public static int getUserIdFromAuthority(String auth, int defaultUserId) { in getUserIdFromAuthority() argument
2249 if (auth == null) return defaultUserId; in getUserIdFromAuthority()
2250 int end = auth.lastIndexOf('@'); in getUserIdFromAuthority()
2252 String userIdString = auth.substring(0, end); in getUserIdFromAuthority()
2262 public static int getUserIdFromAuthority(String auth) { in getUserIdFromAuthority() argument
2263 return getUserIdFromAuthority(auth, UserHandle.USER_CURRENT); in getUserIdFromAuthority()
2283 public static String getAuthorityWithoutUserId(String auth) { in getAuthorityWithoutUserId() argument
[all …]
DContentResolver.java2066 final String auth = uri.getAuthority();
2067 if (auth != null) {
2068 return acquireProvider(mContext, auth);
2086 final String auth = uri.getAuthority();
2087 if (auth != null) {
2088 return acquireExistingProvider(mContext, auth);
2115 String auth = uri.getAuthority();
2116 if (auth != null) {
/frameworks/base/obex/javax/obex/
DSessionNotifier.java127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException; in acceptAndOpen() argument
DClientSession.java325 public void setAuthenticator(Authenticator auth) throws IOException { in setAuthenticator() argument
326 if (auth == null) { in setAuthenticator()
329 mAuthenticator = auth; in setAuthenticator()
DServerSession.java74 public ServerSession(ObexTransport trans, ServerRequestHandler handler, Authenticator auth) in ServerSession() argument
76 mAuthenticator = auth; in ServerSession()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceParameterizedTest.java305 IpSecAlgorithm auth = config.getAuthentication(); in verifyTransformNetdCalledForCreatingSA() local
319 eq((auth != null) ? auth.getName() : ""), in verifyTransformNetdCalledForCreatingSA()
320 eq((auth != null) ? auth.getKey() : new byte[] {}), in verifyTransformNetdCalledForCreatingSA()
321 eq((auth != null) ? auth.getTruncationLengthBits() : 0), in verifyTransformNetdCalledForCreatingSA()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySessionStorage.java25 import javax.security.auth.Destroyable;
/frameworks/base/keystore/java/android/security/keystore/
DDelegatingX509Certificate.java37 import javax.security.auth.x500.X500Principal;
DParcelableKeyGenParameterSpec.java28 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/android/app/
DContextImpl.java2764 protected IContentProvider acquireProvider(Context context, String auth) { in acquireProvider() argument
2766 ContentProvider.getAuthorityWithoutUserId(auth), in acquireProvider()
2767 resolveUserIdFromAuthority(auth), true); in acquireProvider()
2771 protected IContentProvider acquireExistingProvider(Context context, String auth) { in acquireExistingProvider() argument
2773 ContentProvider.getAuthorityWithoutUserId(auth), in acquireExistingProvider()
2774 resolveUserIdFromAuthority(auth), true); in acquireExistingProvider()
2783 protected IContentProvider acquireUnstableProvider(Context c, String auth) { in acquireUnstableProvider() argument
2785 ContentProvider.getAuthorityWithoutUserId(auth), in acquireUnstableProvider()
2786 resolveUserIdFromAuthority(auth), false); in acquireUnstableProvider()
2805 protected int resolveUserIdFromAuthority(String auth) { in resolveUserIdFromAuthority() argument
[all …]
/frameworks/base/keystore/java/android/security/
DKeyPairGeneratorSpec.java34 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java37 import javax.security.auth.x500.X500Principal;
/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java99 for (String auth : taskStatus.changedAuthorities) { in maybeStartTrackingJobLocked()
100 taskStatus.contentObserverJobInstance.mChangedAuthorities.add(auth); in maybeStartTrackingJobLocked()
/frameworks/base/keystore/tests/src/android/security/
DParcelableKeyGenParameterSpecTest.java38 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/org/apache/http/conn/ssl/
DAndroidDistinguishedNameParser.java23 import javax.security.auth.x500.X500Principal;
/frameworks/av/media/extractors/fuzzers/
Dmp4_extractor_fuzzer.dict100 kw99="auth"

12