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.java143 private boolean mSecure; field in BleCocClientService
194 mSecure = false; in onTestFinish()
198 mSecure = true; in onTestFinish()
394 if (mSecure && ((bondState == BluetoothDevice.BOND_NONE) || !bonded)) {
400 } else if (!mSecure && ((bondState != BluetoothDevice.BOND_NONE) || bonded)) {
411 mSecure = false;
489 if (mSecure) {
496 mSecure, mGattCallbacks);
499 … mBluetoothGatt = connectGatt(result.getDevice(), BleCocClientService.this, false, mSecure,
612 Log.d(TAG, "notifyLeCocClientConnected: device=" + mDevice + ", mSecure=" + mSecure); in notifyLeCocClientConnected()
[all …]
DMessageTestActivity.java80 private final boolean mSecure; field in MessageTestActivity
88 mSecure = secure; in MessageTestActivity()
102 setTitle(mSecure ? R.string.bt_secure_server : R.string.bt_insecure_server); in onCreate()
104 setTitle(mSecure ? R.string.bt_secure_client : R.string.bt_insecure_client); in onCreate()
180 mChatService.start(mSecure); in startChatService()
183 mChatService.connect(device, mSecure); in startChatService()
259 .setMessage(getString(mSecure in showInstructionsDialog()
330 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()
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()
DBleConnectionPriorityClientBaseActivity.java55 private boolean mSecure; field in BleConnectionPriorityClientBaseActivity
100 mSecure = secure; in setSecure()
104 return mSecure; in isSecure()
DBleClientService.java326 private boolean mSecure; field in BleClientService
395 mSecure = true; in onTestFinish()
617 mtuTestExecutable = !mSecure; in requestMtu()
1114 if (mSecure && ((bond == BluetoothDevice.BOND_NONE) || !bonded)) {
1118 } else if (!mSecure && ((bond != BluetoothDevice.BOND_NONE) || bonded)) {
1127 mSecure = false;
1551 if (mSecure) {
1558 mSecure, mGattCallbacks);
1561 mBluetoothGatt = connectGatt(result.getDevice(), mContext, false, mSecure,
1610 + device + ", mSecure=" + mSecure);
[all …]
DBleServerService.java232 private boolean mSecure; field in BleServerService
276 mSecure = false; in onCreate()
307 mSecure = true; in onStartCommand()
315 mSecure = false; in onStartCommand()
917 if (mSecure && ((device.getBondState() == BluetoothDevice.BOND_NONE)
935 } else if (!mSecure && ((device.getBondState() != BluetoothDevice.BOND_NONE)