Home
last modified time | relevance | path

Searched refs:BleClientService (Results 1 – 8 of 8) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientTestBaseActivity.java110 filter.addAction(BleClientService.BLE_BLUETOOTH_CONNECTED); in onResume()
111 filter.addAction(BleClientService.BLE_BLUETOOTH_DISCONNECTED); in onResume()
112 filter.addAction(BleClientService.BLE_SERVICES_DISCOVERED); in onResume()
113 filter.addAction(BleClientService.BLE_MTU_CHANGED_23BYTES); in onResume()
114 filter.addAction(BleClientService.BLE_MTU_CHANGED_512BYTES); in onResume()
115 filter.addAction(BleClientService.BLE_CHARACTERISTIC_READ); in onResume()
116 filter.addAction(BleClientService.BLE_CHARACTERISTIC_WRITE); in onResume()
117 filter.addAction(BleClientService.BLE_CHARACTERISTIC_CHANGED); in onResume()
118 filter.addAction(BleClientService.BLE_DESCRIPTOR_READ); in onResume()
119 filter.addAction(BleClientService.BLE_DESCRIPTOR_WRITE); in onResume()
[all …]
DBleButtonActivity.java49 mCommand = BleClientService.COMMAND_DISCOVER_SERVICE; in BleButtonActivity()
50 mFilter = BleClientService.BLE_SERVICES_DISCOVERED; in BleButtonActivity()
56 mCommand = BleClientService.COMMAND_DISCONNECT; in BleButtonActivity()
57 mFilter = BleClientService.BLE_BLUETOOTH_DISCONNECTED; in BleButtonActivity()
74 Intent intent = new Intent(BleButtonActivity.this, BleClientService.class); in onCreate()
75 intent.putExtra(BleClientService.EXTRA_COMMAND, mCommand); in onCreate()
DBleInsecureClientStartActivity.java28 mIntent = new Intent(this, BleClientService.class); in onCreate()
29 mIntent.setAction(BleClientService.BLE_CLIENT_ACTION_CLIENT_CONNECT); in onCreate()
DBleSecureClientStartActivity.java34 mIntent = new Intent(this, BleClientService.class); in onCreate()
35 mIntent.setAction(BleClientService.BLE_CLIENT_ACTION_CLIENT_CONNECT_SECURE); in onCreate()
DBleServerService.java825 if (mMtuTestReceivedData.equals(BleClientService.WRITE_VALUE_512BYTES_FOR_MTU)) { in onMtuTestDataReceive()
1037 if (BleClientService.WRITE_VALUE_BAD_RESP.equals(valueStr)) {
1048 … if (Arrays.equals(BleClientService.WRITE_VALUE.getBytes(), characteristic.getValue())) {
1125 if (Arrays.equals(BleClientService.WRITE_VALUE.getBytes(), descriptor.getValue())) {
1132 if (Arrays.equals(BleClientService.WRITE_VALUE.getBytes(), descriptor.getValue())) {
1160 String str = BleClientService.WRITE_VALUE_507BYTES_FOR_RELIABLE_WRITE
1161 + BleClientService.WRITE_VALUE_507BYTES_FOR_RELIABLE_WRITE;
DBleClientService.java53 public class BleClientService extends Service { class
860 Toast.makeText(BleClientService.this, msg, Toast.LENGTH_SHORT).show(); in showMessage()
999 … if (Arrays.equals(BleClientService.WRITE_VALUE.getBytes(), characteristic.getValue())) {
DBleConnectionPriorityClientService.java392 …mBluetoothGatt = BleClientService.connectGatt(result.getDevice(), mContext, false, mSecure, mGattC…
DBleEncryptedClientService.java551 … mBluetoothGatt = BleClientService.connectGatt(mDevice, mContext, false, mSecure, mGattCallbacks);