Searched defs:auth (Results 1 - 7 of 7) 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 DServerSession.java67 * @param auth the authenticator to use with this connection
71 public ServerSession(ObexTransport trans, ServerRequestHandler handler, Authenticator auth) argument
73 mAuthenticator = auth;
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
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java70 * @param auth require the remote device to be authenticated
76 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
79 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
H A DBluetoothSocket.java116 * @param auth require the remote device to be authenticated
124 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
139 mAuth = auth;
162 * @param auth require the remote device to be authenticated
169 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, argument
171 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null);
H A DBluetoothAdapter.java975 boolean auth, boolean encrypt) throws IOException {
989 BluetoothSocket.TYPE_RFCOMM, auth, encrypt, channel);
974 createNewRfcommSocketAndRecord(String name, UUID uuid, boolean auth, boolean encrypt) argument
/frameworks/base/core/jni/
H A Dandroid_bluetooth_BluetoothSocket.cpp97 jboolean auth; local
124 auth = env->GetBooleanField(obj, field_mAuth);
130 lm |= auth ? RFCOMM_LM_AUTH : 0;
132 lm |= (auth && encrypt) ? RFCOMM_LM_SECURE : 0;
135 lm |= auth ? L2CAP_LM_AUTH : 0;
137 lm |= (auth && encrypt) ? L2CAP_LM_SECURE : 0;
344 jboolean auth; local
392 auth = env->GetBooleanField(obj, field_mAuth);
399 type, fd, auth, encrypt, addr_jstr, -1);

Completed in 411 milliseconds