/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleEncryptedClientService.java | 119 private boolean mSecure; field in BleEncryptedClientService 145 mSecure = false; in onCreate() 181 mSecure = intent.getBooleanExtra(BleEncryptedServerService.EXTRA_SECURE, false); in onStartCommand() 185 mSecure = true; in onStartCommand() 188 mSecure = false; in onStartCommand() 336 if (mSecure) { 346 if (mSecure) { 390 if (mSecure) { 400 if (!mSecure) { 426 if (mSecure) { [all …]
|
D | BleCocClientService.java | 147 private boolean mSecure; field in BleCocClientService 196 mSecure = false; in onTestFinish() 200 mSecure = true; in onTestFinish() 396 if (mSecure && ((bondState == BluetoothDevice.BOND_NONE) || !bonded)) { 402 } else if (!mSecure && ((bondState != BluetoothDevice.BOND_NONE) || bonded)) { 413 mSecure = false; 490 if (mSecure) { 498 mSecure, mGattCallbacks); 502 … mBluetoothGatt = connectGatt(result.getDevice(), BleCocClientService.this, false, mSecure, 615 Log.d(TAG, "notifyLeCocClientConnected: device=" + mDevice + ", mSecure=" + mSecure); in notifyLeCocClientConnected() [all …]
|
D | MessageTestActivity.java | 78 private final boolean mSecure; field in MessageTestActivity 86 mSecure = secure; in MessageTestActivity() 100 setTitle(mSecure ? R.string.bt_secure_server : R.string.bt_insecure_server); in onCreate() 102 setTitle(mSecure ? R.string.bt_secure_client : R.string.bt_insecure_client); in onCreate() 178 mChatService.start(mSecure); in startChatService() 181 mChatService.connect(device, mSecure); in startChatService() 257 .setMessage(getString(mSecure in showInstructionsDialog() 328 if (!mSecure && ACTION_PAIRING_REQUEST.equals(intent.getAction())) { in onReceive()
|
D | BleEncryptedServerService.java | 100 private boolean mSecure; field in BleEncryptedServerService 118 mSecure = false; in onCreate() 157 mSecure = true; in onStartCommand() 160 mSecure = false; in onStartCommand() 347 if (mSecure) { 381 if (mSecure) { 402 if (mSecure) { 425 if (mSecure) {
|
D | BleConnectionPriorityClientService.java | 90 private boolean mSecure; field in BleConnectionPriorityClientService 148 mSecure = true; in onStartCommand() 212 if (mSecure && ((bond == BluetoothDevice.BOND_NONE) || !bonded)) { 216 } else if (!mSecure && ((bond != BluetoothDevice.BOND_NONE) || bonded)) { 300 …hGatt = BleClientService.connectGatt(result.getDevice(), mContext, false, mSecure, mGattCallbacks);
|
D | BleCocServerService.java | 170 private boolean mSecure; field in BleCocServerService 225 mSecure = false; in onCreate() 260 mSecure = secure; in startServerTest() 460 if (mSecure && ((device.getBondState() == BluetoothDevice.BOND_NONE) || 466 } else if (!mSecure && ((device.getBondState() != BluetoothDevice.BOND_NONE) 674 mChatService.start(mSecure); in createChatService() 675 mPsm = mChatService.getPsm(mSecure); in createChatService()
|
D | BleConnectionPriorityClientBaseActivity.java | 50 private boolean mSecure; field in BleConnectionPriorityClientBaseActivity 93 mSecure = secure; in setSecure() 97 return mSecure; in isSecure()
|
D | BleClientService.java | 300 private boolean mSecure; field in BleClientService 365 mSecure = true; in onTestFinish() 536 mtuTestExecutable = !mSecure; in requestMtu() 975 if (mSecure && ((bond == BluetoothDevice.BOND_NONE) || !bonded)) { 979 } else if (!mSecure && ((bond != BluetoothDevice.BOND_NONE) || bonded)) { 988 mSecure = false; 1306 if (mSecure) { 1312 … mBluetoothGatt = connectGatt(result.getDevice(), mContext, false, mSecure, mGattCallbacks); 1315 … mBluetoothGatt = connectGatt(result.getDevice(), mContext, false, mSecure, mGattCallbacks); 1362 + device + ", mSecure=" + mSecure); [all …]
|
D | BleServerService.java | 232 private boolean mSecure; field in BleServerService 276 mSecure = false; in onCreate() 307 mSecure = true; in onStartCommand() 318 mSecure = false; in onStartCommand() 909 … if (mSecure && ((device.getBondState() == BluetoothDevice.BOND_NONE) || !bonded)) { 925 … } else if (!mSecure && ((device.getBondState() != BluetoothDevice.BOND_NONE) || bonded)) {
|