Searched defs:auth (Results 1 - 11 of 11) 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.java299 // when auth is initiated by client ,save the digest
325 public void setAuthenticator(Authenticator auth) throws IOException { argument
326 if (auth == null) {
329 mAuthenticator = auth;
352 // when auth is initiated by client ,save the digest
H A DServerSession.java70 * @param auth the authenticator to use with this connection
74 public ServerSession(ObexTransport trans, ServerRequestHandler handler, Authenticator auth) argument
76 mAuthenticator = auth;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java79 * @param auth require the remote device to be authenticated
85 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
88 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
97 * @param auth require the remote device to be authenticated
105 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port, argument
109 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null, mitm,
119 * @param auth require the remote device to be authenticated
125 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, ParcelUuid uuid) argument
127 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, -1, uuid);
H A DBluetoothSocket.java156 * @param auth require the remote device to be authenticated
164 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
166 this(type, fd, auth, encrypt, device, port, uuid, false, false);
173 * @param auth require the remote device to be authenticated
183 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
197 mAuth = auth;
257 * @param auth require the remote device to be authenticated
264 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, argument
266 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null, false, false);
H A DBluetoothAdapter.java1735 boolean auth, boolean encrypt) throws IOException {
1737 socket = new BluetoothServerSocket(BluetoothSocket.TYPE_RFCOMM, auth,
1734 createNewRfcommSocketAndRecord(String name, UUID uuid, boolean auth, boolean encrypt) argument
/frameworks/base/core/java/android/content/
H A DContentProvider.java1848 String auth = uri.getAuthority();
1849 int userId = getUserIdFromAuthority(auth, UserHandle.USER_CURRENT);
1854 if (!matchesOurAuthorities(getAuthorityWithoutUserId(auth))) {
1867 public static int getUserIdFromAuthority(String auth, int defaultUserId) { argument
1868 if (auth == null) return defaultUserId;
1869 int end = auth.lastIndexOf('@');
1871 String userIdString = auth.substring(0, end);
1881 public static int getUserIdFromAuthority(String auth) { argument
1882 return getUserIdFromAuthority(auth, UserHandle.USER_CURRENT);
1902 public static String getAuthorityWithoutUserId(String auth) { argument
[all...]
H A DIntentFilter.java147 private static final String AUTH_STR = "auth";
1103 public final boolean hasDataAuthority(AuthorityEntry auth) { argument
1109 if (mDataAuthorities.get(i).match(auth)) {
/frameworks/base/core/java/android/app/
H A DContextImpl.java2219 protected IContentProvider acquireProvider(Context context, String auth) { argument
2221 ContentProvider.getAuthorityWithoutUserId(auth),
2222 resolveUserIdFromAuthority(auth), true);
2226 protected IContentProvider acquireExistingProvider(Context context, String auth) { argument
2228 ContentProvider.getAuthorityWithoutUserId(auth),
2229 resolveUserIdFromAuthority(auth), true);
2238 protected IContentProvider acquireUnstableProvider(Context c, String auth) { argument
2240 ContentProvider.getAuthorityWithoutUserId(auth),
2241 resolveUserIdFromAuthority(auth), false);
2260 protected int resolveUserIdFromAuthority(String auth) { argument
[all...]
H A DActivityThread.java5464 Context c, String auth, int userId, boolean stable) {
5465 final IContentProvider provider = acquireExistingProvider(c, auth, userId, stable);
5479 getApplicationThread(), auth, userId, stable);
5484 Slog.e(TAG, "Failed to find provider info for " + auth);
5564 Context c, String auth, int userId, boolean stable) {
5566 final ProviderKey key = new ProviderKey(auth, userId);
5577 Log.i(TAG, "Acquiring provider " + auth + " for user " + userId
5782 for (String auth : auths) {
5783 final ProviderKey key = new ProviderKey(auth, userId);
5787 + " already published as " + auth);
5463 acquireProvider( Context c, String auth, int userId, boolean stable) argument
5563 acquireExistingProvider( Context c, String auth, int userId, boolean stable) argument
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DSettings.java3145 IntentFilter.AuthorityEntry auth = tmpPa.getDataAuthority(iauth);
3149 if (auth.getHost() != null) {
3150 builder.authority(auth.getHost());
3157 scheme, null, auth, path, userId);
3163 if (auth.getHost() != null) {
3164 builder.authority(auth.getHost());
3169 scheme, null, auth, null, userId);
3215 IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) {
3277 if (auth != null) {
3278 filter.addDataAuthority(auth);
3213 applyDefaultPreferredActivityLPw(PackageManagerService service, Intent intent, int flags, ComponentName cn, String scheme, PatternMatcher ssp, IntentFilter.AuthorityEntry auth, PatternMatcher path, int userId) argument
[all...]

Completed in 255 milliseconds