/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() 397 if (mSecure && ((bondState == BluetoothDevice.BOND_NONE) || !bonded)) { 403 } else if (!mSecure && ((bondState != BluetoothDevice.BOND_NONE) || bonded)) { 414 mSecure = false; 491 if (mSecure) { 499 mSecure, mGattCallbacks); 503 … mBluetoothGatt = connectGatt(result.getDevice(), BleCocClientService.this, false, mSecure, 609 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 | 115 private boolean mSecure; field in BleConnectionPriorityClientService 172 mSecure = true; in onStartCommand() 346 if (mSecure && ((bond == BluetoothDevice.BOND_NONE) || !bonded)) { 350 } else if (!mSecure && ((bond != BluetoothDevice.BOND_NONE) || bonded)) { 397 …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) 668 mChatService.start(mSecure); in createChatService() 669 mPsm = mChatService.getPsm(mSecure); in createChatService()
|
D | BleClientService.java | 292 private boolean mSecure; field in BleClientService 348 mSecure = true; in onTestFinish() 515 mtuTestExecutable = !mSecure; in requestMtu() 925 if (mSecure && ((bond == BluetoothDevice.BOND_NONE) || !bonded)) { 929 } else if (!mSecure && ((bond != BluetoothDevice.BOND_NONE) || bonded)) { 938 mSecure = false; 1243 if (mSecure) { 1249 … mBluetoothGatt = connectGatt(result.getDevice(), mContext, false, mSecure, mGattCallbacks); 1252 … mBluetoothGatt = connectGatt(result.getDevice(), mContext, false, mSecure, mGattCallbacks); 1299 + device + ", mSecure=" + mSecure); [all …]
|
D | BleConnectionPriorityClientBaseActivity.java | 55 private boolean mSecure; field in BleConnectionPriorityClientBaseActivity 100 mSecure = secure; in setSecure() 104 return mSecure; in isSecure()
|
D | BleServerService.java | 222 private boolean mSecure; field in BleServerService 264 mSecure = false; in onCreate() 295 mSecure = true; in onStartCommand() 306 mSecure = false; in onStartCommand() 871 … if (mSecure && ((device.getBondState() == BluetoothDevice.BOND_NONE) || !bonded)) { 887 … } else if (!mSecure && ((device.getBondState() != BluetoothDevice.BOND_NONE) || bonded)) {
|