Searched defs:encrypt (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java70 * @param encrypt require the connection to be encrypted
75 /*package*/ BluetoothServerSocket(int type, boolean auth, boolean encrypt, int port) argument
77 mSocket = new BluetoothSocket(type, -1, auth, encrypt, null, port, null);
H A DBluetoothSocket.java111 * @param encrypt require the connection to be encrypted
118 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
134 mEncrypt = encrypt;
157 * @param encrypt require the connection to be encrypted
163 private BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, String address, argument
165 this(type, fd, auth, encrypt, new BluetoothDevice(address), port, null);
H A DBluetoothAdapter.java832 boolean auth, boolean encrypt) throws IOException {
846 BluetoothSocket.TYPE_RFCOMM, auth, encrypt, channel);
831 createNewRfcommSocketAndRecord(String name, UUID uuid, boolean auth, boolean encrypt) argument
/frameworks/base/core/jni/
H A Dandroid_bluetooth_BluetoothSocket.cpp94 jboolean encrypt; local
121 encrypt = env->GetBooleanField(obj, field_mEncrypt);
127 lm |= encrypt ? RFCOMM_LM_ENCRYPT : 0;
128 lm |= (auth && encrypt) ? RFCOMM_LM_SECURE : 0;
132 lm |= encrypt ? L2CAP_LM_ENCRYPT : 0;
133 lm |= (auth && encrypt) ? L2CAP_LM_SECURE : 0;
320 jboolean encrypt; local
368 encrypt = env->GetBooleanField(obj, field_mEncrypt);
374 type, fd, auth, encrypt, addr_jstr, -1);

Completed in 171 milliseconds