/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattCallback.java | 28 * @param gatt GATT client 36 public void onPhyUpdate(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { 42 * @param gatt GATT client 50 public void onPhyRead(BluetoothGatt gatt, int txPhy, int rxPhy, int status) { 54 * Callback indicating when GATT client has connected/disconnected to/from a remote 55 * GATT server. 57 * @param gatt GATT clien [all...] |
BluetoothGattServerCallback.java | 204 public void onConnectionUpdated(BluetoothDevice gatt, int interval, int latency, int timeout,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
GattServiceConfig.java | 17 package com.android.bluetooth.gatt;
|
CallbackInfo.java | 16 package com.android.bluetooth.gatt;
|
FilterParams.java | 17 package com.android.bluetooth.gatt;
|
AdvtFilterOnFoundOnLostInfo.java | 17 package com.android.bluetooth.gatt;
|
GattDbElement.java | 17 package com.android.bluetooth.gatt; 22 * Helper class for passing gatt db elements between java and JNI, equal to
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/gatt/ |
GattServiceTest.java | 2 package com.android.bluetooth.gatt; 7 import com.android.bluetooth.gatt.GattService;
|
/frameworks/base/core/java/android/bluetooth/le/ |
AdvertisingSet.java | 40 private final IBluetoothGatt gatt; field in class:AdvertisingSet 48 this.gatt = bluetoothManager.getBluetoothGatt(); 50 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 76 gatt.enableAdvertisingSet(this.advertiserId, enable, duration, 98 gatt.setAdvertisingData(this.advertiserId, advertiseData); 116 gatt.setScanResponseData(this.advertiserId, scanResponse); 131 gatt.setAdvertisingParameters(this.advertiserId, parameters); 144 gatt.setPeriodicAdvertisingParameters(this.advertiserId, parameters); 163 gatt.setPeriodicAdvertisingData(this.advertiserId, periodicData); 177 gatt.setPeriodicAdvertisingEnable(this.advertiserId, enable) [all...] |
PeriodicAdvertisingManager.java | 138 IBluetoothGatt gatt; local 140 gatt = mBluetoothManager.getBluetoothGatt(); 142 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 156 gatt.registerSync(scanResult, skip, timeout, wrapped); 175 IBluetoothGatt gatt; local 177 gatt = mBluetoothManager.getBluetoothGatt(); 179 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 189 gatt.unregisterSync(wrapper);
|
BluetoothLeScanner.java | 210 IBluetoothGatt gatt; local 212 gatt = mBluetoothManager.getBluetoothGatt(); 214 gatt = null; 216 if (gatt == null) { 232 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters, 237 gatt.startScanForIntent(callbackIntent, settings, filters, 274 IBluetoothGatt gatt; local 276 gatt = mBluetoothManager.getBluetoothGatt(); 277 gatt.stopScanForIntent(callbackIntent, ActivityThread.currentOpPackageName()); 333 * Bluetooth GATT interface callback [all...] |
BluetoothLeAdvertiser.java | 413 IBluetoothGatt gatt; 415 gatt = mBluetoothManager.getBluetoothGatt(); 417 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 428 gatt.startAdvertisingSet(parameters, advertiseData, scanResponse, periodicParameters, 450 IBluetoothGatt gatt; 452 gatt = mBluetoothManager.getBluetoothGatt(); 453 gatt.stopAdvertisingSet(wrapped);
|
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/ |
GattClientListener.java | 45 * Class to provide Receiver for AlarmManager to start Gatt Client alarms 105 * @param startTime - time (sec) when next GATT writing needs to be started 106 * @param writeTime - how long (sec) to write GATT characteristic 142 * Receive function will be called for AlarmManager to connect GATT 173 * Callback for GATT Writing 184 public void onConnectionStateChange(BluetoothGatt gatt, int status, 189 + gatt.getDevice().getAddress() + " status " + status); 195 + gatt.getDevice().getAddress() + " status " + status); 199 Log.e(TAG, "Close Gatt: " + e); 205 + gatt.getDevice().getAddress() + " status " + status) [all...] |
/system/bt/service/ |
gatt_server_old.cc | 55 // each bluetooth::gatt::Server instance already keeps a pointer to the 74 static bluetooth::gatt::ServerInternals* g_internal = nullptr; 83 namespace gatt { namespace in namespace:bluetooth 115 const btgatt_interface_t* gatt; member in struct:bluetooth::gatt::ServerInternals 126 } // namespace gatt 176 prev_char_properties & bluetooth::gatt::kPropertyNotify; 178 bluetooth::gatt::Characteristic& ctrl = 200 bt_status_t btstat = g_internal->gatt->client->register_client(&client_id); 211 bluetooth::gatt::Characteristic& ch = 246 g_internal->gatt->server->send_response(conn_id, trans_id, 0, &response) 473 namespace gatt { namespace in namespace:bluetooth [all...] |
gatt_server_old.h | 28 namespace gatt { namespace in namespace:bluetooth 40 // GATT characteristic properties bit-field values 72 // Register GATT interface, initialize internal state, 125 } // namespace gatt
|
/packages/services/Car/TrustAgent/src/com/android/car/trust/comms/ |
SimpleBleClient.java | 54 void onCharacteristicChanged(BluetoothGatt gatt, 281 // Once we find one, stop scanning and open a GATT connection to the device. 307 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 308 super.onConnectionStateChange(gatt, status, newState); 316 callback.onDeviceConnected(gatt.getDevice()); 326 Log.d(TAG, " Gatt connection status: " + getStatus(status) + " newState: " + state); 331 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 332 super.onServicesDiscovered(gatt, status); 337 List<BluetoothGattService> services = gatt.getServices(); 354 public void onCharacteristicWrite(BluetoothGatt gatt, [all...] |
/system/bt/tools/bdtool/ |
Android.mk.disabled | 30 ../../test/suite/support/gatt.c \
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
BluetoothMidiDevice.java | 55 // Bluetooth MIDI Gatt service UUID 58 // Bluetooth MIDI Gatt characteristic UUID 99 public void onConnectionStateChange(BluetoothGatt gatt, int status, 103 Log.d(TAG, "Connected to GATT server."); 107 Log.i(TAG, "Disconnected from GATT server."); 113 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 115 BluetoothGattService service = gatt.getService(MIDI_SERVICE); 125 boolean result = gatt.requestConnectionPriority( 142 public void onCharacteristicRead(BluetoothGatt gatt, 169 public void onCharacteristicWrite(BluetoothGatt gatt, [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
BluetoothAccessoryFragment.java | 154 // Only LE devices support GATT 243 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 248 gatt.discoverServices(); 253 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 256 Log.e(TAG, "Service discovery failure on " + gatt); 261 final BluetoothGattService battService = gatt.getService(GATT_BATTERY_SERVICE_UUID); 278 gatt.readCharacteristic(battLevel); 282 public void onCharacteristicRead(BluetoothGatt gatt, 286 Log.e(TAG, "Read characteristic failure on " + gatt + " " + characteristic);
|
/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
BluetoothLeService.java | 39 * Service for managing connection and data communication with a GATT server hosted on a 69 // Implements callback methods for GATT events that the app cares about. For example, 73 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 79 Log.i(TAG, "Connected to GATT server."); 87 Log.i(TAG, "Disconnected from GATT server."); 93 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 102 public void onCharacteristicRead(BluetoothGatt gatt, 111 public void onCharacteristicChanged(BluetoothGatt gatt, 128 // http://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml 203 * Connects to the GATT server hosted on the Bluetooth LE device [all...] |
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
BluetoothLeService.java | 39 * Service for managing connection and data communication with a GATT server hosted on a 69 // Implements callback methods for GATT events that the app cares about. For example, 73 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 79 Log.i(TAG, "Connected to GATT server."); 87 Log.i(TAG, "Disconnected from GATT server."); 93 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 102 public void onCharacteristicRead(BluetoothGatt gatt, 111 public void onCharacteristicChanged(BluetoothGatt gatt, 128 // http://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml 203 * Connects to the GATT server hosted on the Bluetooth LE device [all...] |
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
BluetoothLeService.java | 39 * Service for managing connection and data communication with a GATT server hosted on a 69 // Implements callback methods for GATT events that the app cares about. For example, 73 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 79 Log.i(TAG, "Connected to GATT server."); 87 Log.i(TAG, "Disconnected from GATT server."); 93 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 102 public void onCharacteristicRead(BluetoothGatt gatt, 111 public void onCharacteristicChanged(BluetoothGatt gatt, 128 // http://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml 203 * Connects to the GATT server hosted on the Bluetooth LE device [all...] |
/system/bt/service/ipc/ |
linux_ipc_host.h | 35 // Reads from the GATT pipe read end will result in a write to 51 // Handler for GATT characteristic writes. 101 // Container for multiple GATT servers. Currently only one is supported. 103 std::unordered_map<std::string, std::unique_ptr<bluetooth::gatt::Server>>
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BleConnectionPriorityClientService.java | 325 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
329 int bond = gatt.getDevice().getBondState();
331 BluetoothDevice target = gatt.getDevice();
366 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
378 public void onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) {
|
BleEncryptedClientService.java | 301 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
367 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
378 public void onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, final int status) {
416 public void onCharacteristicRead(BluetoothGatt gatt, final BluetoothGattCharacteristic characteristic, final int status) {
456 public void onDescriptorRead(BluetoothGatt gatt, final BluetoothGattDescriptor descriptor, final int status) {
499 public void onDescriptorWrite(BluetoothGatt gatt, final BluetoothGattDescriptor descriptor, final int status) {
|