Searched refs:encrypt (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java71 * @param encrypt require the connection to be encrypted
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.java117 * @param encrypt require the connection to be encrypted
124 /*package*/ BluetoothSocket(int type, int fd, boolean auth, boolean encrypt, argument
140 mEncrypt = encrypt;
163 * @param encrypt require the connection to be encrypted
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.cpp98 jboolean encrypt; local
125 encrypt = env->GetBooleanField(obj, field_mEncrypt);
131 lm |= encrypt ? RFCOMM_LM_ENCRYPT : 0;
132 lm |= (auth && encrypt) ? RFCOMM_LM_SECURE : 0;
136 lm |= encrypt ? L2CAP_LM_ENCRYPT : 0;
137 lm |= (auth && encrypt) ? L2CAP_LM_SECURE : 0;
345 jboolean encrypt; local
393 encrypt = env->GetBooleanField(obj, field_mEncrypt);
399 type, fd, auth, encrypt, addr_jstr, -1);
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl78 int setStorageEncryption(in ComponentName who, boolean encrypt);
H A DDevicePolicyManager.java1168 * <p>Important Note: On some devices, it is possible to encrypt storage without requiring
1174 * @param encrypt true to request encryption, false to release any previous request
1180 public int setStorageEncryption(ComponentName admin, boolean encrypt) { argument
1183 return mService.setStorageEncryption(admin, encrypt);
/frameworks/base/services/java/com/android/server/
H A DDevicePolicyManagerService.java1922 public int setStorageEncryption(ComponentName who, boolean encrypt) { argument
1937 if (ap.encryptionRequested != encrypt) {
1938 ap.encryptionRequested = encrypt;
2022 private void setEncryptionRequested(boolean encrypt) { argument

Completed in 163 milliseconds