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()
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 …]
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()
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.java50 private boolean mSecure; field in BleConnectionPriorityClientBaseActivity
93 mSecure = secure; in setSecure()
97 return mSecure; in isSecure()
DBleClientService.java300 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 …]
DBleServerService.java232 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)) {