Searched refs:auth (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/obex/javax/obex/
H A DSessionNotifier.java120 * @param auth the <code>Authenticator</code> to use with this connection;
127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException; argument
H A DClientSession.java258 // when auth is initiated by client ,save the digest
275 public void setAuthenticator(Authenticator auth) throws IOException { argument
276 if (auth == null) {
279 mAuthenticator = auth;
302 // when auth is initiated by client ,save the digest
H A DServerSession.java67 * @param auth the authenticator to use with this connection
71 public ServerSession(ObexTransport trans, ServerRequestHandler handler, Authenticator auth) argument
73 mAuthenticator = auth;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java77 * @param auth require the remote device to be authenticated
83 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
86 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
92 * @param auth require the remote device to be authenticated
98 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument
100 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid);
H A DBluetoothSocket.java137 * @param auth require the remote device to be authenticated
145 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
156 mAuth = auth;
205 * @param auth require the remote device to be authenticated
212 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, argument
214 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null);
H A DBluetoothAdapter.java1186 boolean auth, boolean encrypt) throws IOException {
1188 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth,
1185 createNewRfcommSocketAndRecord(String name, UUID uuid, boolean auth, boolean encrypt) argument
/frameworks/base/core/tests/coretests/src/android/net/http/
H A 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/core/java/android/content/
H A DContentProvider.java1781 String auth = uri.getAuthority();
1782 int userId = getUserIdFromAuthority(auth, UserHandle.USER_CURRENT);
1787 if (!matchesOurAuthorities(getAuthorityWithoutUserId(auth))) {
1800 public static int getUserIdFromAuthority(String auth, int defaultUserId) { argument
1801 if (auth == null) return defaultUserId;
1802 int end = auth.lastIndexOf('@');
1804 String userIdString = auth.substring(0, end);
1814 public static int getUserIdFromAuthority(String auth) { argument
1815 return getUserIdFromAuthority(auth, UserHandle.USER_CURRENT);
1835 public static String getAuthorityWithoutUserId(String auth) { argument
[all...]
H A DContentResolver.java1393 final String auth = uri.getAuthority();
1394 if (auth != null) {
1395 return acquireProvider(mContext, auth);
1412 final String auth = uri.getAuthority();
1413 if (auth != null) {
1414 return acquireExistingProvider(mContext, auth);
1440 String auth = uri.getAuthority();
1441 if (auth != null) {
H A DIntentFilter.java146 private static final String AUTH_STR = "auth";
898 public final boolean hasDataAuthority(AuthorityEntry auth) { argument
904 if (mDataAuthorities.get(i).match(auth)) {
/frameworks/base/keystore/tests/src/android/security/
H A DKeyPairGeneratorSpecTest.java24 import javax.security.auth.x500.X500Principal;
H A DAndroidKeyPairGeneratorTest.java40 import javax.security.auth.x500.X500Principal;
H A DAndroidKeyStoreTest.java63 import javax.security.auth.x500.X500Principal;
/frameworks/base/core/java/android/app/
H A DContextImpl.java2419 protected IContentProvider acquireProvider(Context context, String auth) { argument
2421 ContentProvider.getAuthorityWithoutUserId(auth),
2422 resolveUserIdFromAuthority(auth), true);
2426 protected IContentProvider acquireExistingProvider(Context context, String auth) { argument
2428 ContentProvider.getAuthorityWithoutUserId(auth),
2429 resolveUserIdFromAuthority(auth), true);
2438 protected IContentProvider acquireUnstableProvider(Context c, String auth) { argument
2440 ContentProvider.getAuthorityWithoutUserId(auth),
2441 resolveUserIdFromAuthority(auth), false);
2460 protected int resolveUserIdFromAuthority(String auth) { argument
[all...]
H A DActivityThread.java4575 Context c, String auth, int userId, boolean stable) {
4576 final IContentProvider provider = acquireExistingProvider(c, auth, userId, stable);
4590 getApplicationThread(), auth, userId, stable);
4594 Slog.e(TAG, "Failed to find provider info for " + auth);
4674 Context c, String auth, int userId, boolean stable) {
4676 final ProviderKey key = new ProviderKey(auth, userId);
4687 Log.i(TAG, "Acquiring provider " + auth + " for user " + userId
4891 for (String auth : auths) {
4892 final ProviderKey key = new ProviderKey(auth, userId);
4896 + " already published as " + auth);
4574 acquireProvider( Context c, String auth, int userId, boolean stable) argument
4673 acquireExistingProvider( Context c, String auth, int userId, boolean stable) argument
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyPairGeneratorSpec.java33 import javax.security.auth.x500.X500Principal;
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java2299 IntentFilter.AuthorityEntry auth = tmpPa.getDataAuthority(iauth);
2303 if (auth.getHost() != null) {
2304 builder.authority(auth.getHost());
2311 scheme, null, auth, path, userId);
2317 if (auth.getHost() != null) {
2318 builder.authority(auth.getHost());
2323 scheme, null, auth, null, userId);
2369 IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) {
2430 if (auth != null) {
2431 filter.addDataAuthority(auth);
2367 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) argument
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java206 + " auth=" + target
1185 for (AuthorityInfo auth : acc.authorities.values()) {
1186 removing.put(auth.ident, auth);
1231 + " auth=" + activeSyncContext.mSyncOperation.target
1259 + " auth=" + syncInfo.authority);
2018 + " auth=" + authorityName
2059 + accountName + " auth=" + authorityName

Completed in 875 milliseconds