/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...] |
/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
|
ScanClient.java | 17 package com.android.bluetooth.gatt;
|
/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 178 prev_char_properties & bluetooth::gatt::kPropertyNotify; 180 bluetooth::gatt::Characteristic& ctrl = 201 bt_status_t btstat = g_internal->gatt->client->register_client(client_id); 212 bluetooth::gatt::Characteristic& ch = 247 g_internal->gatt->server->send_response(conn_id, trans_id, 0, response) 474 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
|
/frameworks/base/core/java/android/bluetooth/le/ |
PeriodicAdvertisingManager.java | 140 IBluetoothGatt gatt; local 142 gatt = mBluetoothManager.getBluetoothGatt(); 144 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 159 gatt.registerSync(scanResult, skip, timeout, wrapped); 178 IBluetoothGatt gatt; local 180 gatt = mBluetoothManager.getBluetoothGatt(); 182 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 192 gatt.unregisterSync(wrapper);
|
BluetoothLeScanner.java | 222 IBluetoothGatt gatt; local 224 gatt = mBluetoothManager.getBluetoothGatt(); 226 gatt = null; 228 if (gatt == null) { 244 BleScanCallbackWrapper wrapper = new BleScanCallbackWrapper(gatt, filters, 249 gatt.startScanForIntent(callbackIntent, settings, filters, 286 IBluetoothGatt gatt; local 288 gatt = mBluetoothManager.getBluetoothGatt(); 289 gatt.stopScanForIntent(callbackIntent, ActivityThread.currentOpPackageName()); 345 * Bluetooth GATT interface callback [all...] |
BluetoothLeAdvertiser.java | 410 IBluetoothGatt gatt; 412 gatt = mBluetoothManager.getBluetoothGatt(); 414 Log.e(TAG, "Failed to get Bluetooth gatt - ", e); 427 gatt.startAdvertisingSet(parameters, advertiseData, scanResponse, periodicParameters, 451 IBluetoothGatt gatt; 453 gatt = mBluetoothManager.getBluetoothGatt(); 454 gatt.stopAdvertisingSet(wrapped);
|
/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...] |
/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 | 330 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) {
334 int bond = gatt.getDevice().getBondState();
336 BluetoothDevice target = gatt.getDevice();
371 public void onServicesDiscovered(BluetoothGatt gatt, int status) {
383 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) {
|
BleClientService.java | [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
BluetoothAccessoryFragment.java | 160 // Only LE devices support GATT 249 public void onConnectionStateChange(BluetoothGatt gatt, int status, int newState) { 254 gatt.discoverServices(); 259 public void onServicesDiscovered(BluetoothGatt gatt, int status) { 262 Log.e(TAG, "Service discovery failure on " + gatt); 267 final BluetoothGattService battService = gatt.getService(GATT_BATTERY_SERVICE_UUID); 284 gatt.readCharacteristic(battLevel); 288 public void onCharacteristicRead(BluetoothGatt gatt, 292 Log.e(TAG, "Read characteristic failure on " + gatt + " " + characteristic);
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/gatt/ |
GattServiceTest.java | 1 package com.android.bluetooth.gatt;
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/ |
GattClientFacade.java | 100 * @param opportunistic Whether this GATT client is opportunistic. An opportunistic GATT client 101 * does not hold a GATT connection. It automatically disconnects when no 102 * other GATT connections are active for the remote device. 103 * @param transport preferred transport for GATT connections to remote dual-mode devices 108 @Rpc(description = "Create a gatt connection") 159 BluetoothGatt gatt = mBluetoothGattList.get(index); local 160 if (gatt != null) { 161 Object ret = gatt.getClass().getMethod("discoverServiceByUuid", UUID.class) 162 .invoke(gatt, UUID.fromString(uuid)) [all...] |