Home
last modified time | relevance | path

Searched refs:mSecure (Results 1 – 9 of 9) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleEncryptedClientService.java119 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 …]
DBleCocClientService.java147 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 …]
DMessageTestActivity.java78 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()
DBleEncryptedServerService.java100 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) {
DBleConnectionPriorityClientService.java90 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);
DBleCocServerService.java170 private boolean mSecure; field in BleCocServerService
225 mSecure = false; in onCreate()
260 mSecure = secure; in startServerTest()
461 if (mSecure && ((device.getBondState() == BluetoothDevice.BOND_NONE) ||
467 } else if (!mSecure && ((device.getBondState() != BluetoothDevice.BOND_NONE)
669 mChatService.start(mSecure); in createChatService()
670 mPsm = mChatService.getPsm(mSecure); in createChatService()
DBleClientService.java292 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 …]
DBleConnectionPriorityClientBaseActivity.java50 private boolean mSecure; field in BleConnectionPriorityClientBaseActivity
93 mSecure = secure; in setSecure()
97 return mSecure; in isSecure()
DBleServerService.java222 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)) {