HomeSort by relevance Sort by last modified time
    Searched refs:BluetoothGattDescriptor (Results 1 - 25 of 38) sorted by null

1 2

  /frameworks/base/core/java/android/bluetooth/
BluetoothGattDescriptor.aidl 19 parcelable BluetoothGattDescriptor;
BluetoothGattDescriptor.java 31 public class BluetoothGattDescriptor implements Parcelable {
121 * Create a new BluetoothGattDescriptor.
127 public BluetoothGattDescriptor(UUID uuid, int permissions) {
132 * Create a new BluetoothGattDescriptor.
139 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid,
147 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) {
172 public static final Parcelable.Creator<BluetoothGattDescriptor> CREATOR
173 = new Parcelable.Creator<BluetoothGattDescriptor>() {
174 public BluetoothGattDescriptor createFromParcel(Parcel in) {
175 return new BluetoothGattDescriptor(in)
    [all...]
BluetoothGattCallback.java 131 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor,
144 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor,
BluetoothGattServerCallback.java 97 int offset, BluetoothGattDescriptor descriptor) {
116 BluetoothGattDescriptor descriptor,
BluetoothGattCharacteristic.java 30 * additional information and optional GATT descriptors, {@link BluetoothGattDescriptor}.
224 protected List<BluetoothGattDescriptor> mDescriptors;
266 mDescriptors = new ArrayList<BluetoothGattDescriptor>();
311 mDescriptors = new ArrayList<BluetoothGattDescriptor>();
313 ArrayList<BluetoothGattDescriptor> descs =
314 in.createTypedArrayList(BluetoothGattDescriptor.CREATOR);
316 for (BluetoothGattDescriptor desc: descs) {
338 public boolean addDescriptor(BluetoothGattDescriptor descriptor) {
348 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) {
349 for(BluetoothGattDescriptor descriptor : mDescriptors)
    [all...]
BluetoothGattServer.java 126 List<BluetoothGattDescriptor> temp_descs = temp_char.getDescriptors();
127 List<BluetoothGattDescriptor> svc_descs = svc_char.getDescriptors();
175 BluetoothGattDescriptor descriptor = getDescriptorByHandle(handle);
224 BluetoothGattDescriptor descriptor = getDescriptorByHandle(handle);
388 /*package*/ BluetoothGattDescriptor getDescriptorByHandle(int handle) {
391 for(BluetoothGattDescriptor desc : charac.getDescriptors()) {
BluetoothGatt.java 458 BluetoothGattDescriptor descriptor = getDescriptorById(mDevice, handle);
505 BluetoothGattDescriptor descriptor = getDescriptorById(mDevice, handle);
692 /*package*/ BluetoothGattDescriptor getDescriptorById(BluetoothDevice device, int instanceId) {
695 for(BluetoothGattDescriptor desc : charac.getDescriptors()) {
    [all...]
  /system/bt/service/common/android/bluetooth/
BluetoothGattDescriptor.aidl 19 parcelable BluetoothGattDescriptor cpp_header "android/bluetooth/bluetooth_gatt_descriptor.h";
bluetooth_gatt_descriptor.h 31 class BluetoothGattDescriptor : public Parcelable,
34 BluetoothGattDescriptor() = default;
35 BluetoothGattDescriptor(
38 ~BluetoothGattDescriptor() = default;
bluetooth_gatt_descriptor.cc 30 status_t BluetoothGattDescriptor::writeToParcel(Parcel* parcel) const {
41 status_t BluetoothGattDescriptor::readFromParcel(const Parcel* parcel) {
bluetooth_gatt_characteristic.cc 44 std::vector<BluetoothGattDescriptor> descriptors;
72 std::vector<BluetoothGattDescriptor> descriptors;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleServerService.java 23 import android.bluetooth.BluetoothGattDescriptor;
597 private BluetoothGattDescriptor getDescriptor() {
598 BluetoothGattDescriptor descriptor = null;
620 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11);
621 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE);
628 descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11);
629 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE);
636 descriptor = new BluetoothGattDescriptor(UPDATE_DESCRIPTOR_UUID, 0x11);
637 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE)
    [all...]
BleEncryptedServerService.java 23 import android.bluetooth.BluetoothGattDescriptor;
278 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11);
282 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_ENCRYPTED_READ_UUID, 0x02);
284 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_ENCRYPTED_WRITE_UUID, 0x20);
290 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11);
294 descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11);
389 public void onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) {
411 public void onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) {
BleClientService.java 25 import android.bluetooth.BluetoothGattDescriptor;
554 BluetoothGattDescriptor descriptor = getDescriptor(uid);
562 BluetoothGattDescriptor descriptor = getDescriptor(uuid);
569 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid);
577 BluetoothGattDescriptor descriptor = getDescriptor(cuid, duid);
586 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(UPDATE_DESCRIPTOR_UUID);
589 descriptor.setValue(BluetoothGattDescriptor.ENABLE_INDICATION_VALUE);
591 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
594 descriptor.setValue(BluetoothGattDescriptor.DISABLE_NOTIFICATION_VALUE);
    [all...]
BleEncryptedClientService.java 25 import android.bluetooth.BluetoothGattDescriptor;
240 private BluetoothGattDescriptor getDescriptor(UUID uid) {
241 BluetoothGattDescriptor descriptor = null;
264 BluetoothGattDescriptor descriptor;
456 public void onDescriptorRead(BluetoothGatt gatt, final BluetoothGattDescriptor descriptor, final int status) {
499 public void onDescriptorWrite(BluetoothGatt gatt, final BluetoothGattDescriptor descriptor, final int status) {
BleConnectionPriorityServerService.java 23 import android.bluetooth.BluetoothGattDescriptor;
240 BluetoothGattDescriptor descriptor = new BluetoothGattDescriptor(DESCRIPTOR_UUID, 0x11);
  /packages/apps/Test/connectivity/PMC/src/com/android/pmc/
GattServer.java 25 import android.bluetooth.BluetoothGattDescriptor;
93 BluetoothGattDescriptor descriptor =
94 new BluetoothGattDescriptor(UUID.fromString(READABLE_DESC_UUID),
95 BluetoothGattDescriptor.PERMISSION_READ
96 | BluetoothGattDescriptor.PERMISSION_WRITE);
152 BluetoothGattDescriptor descriptor) {
158 BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded,
GattClientListener.java 26 import android.bluetooth.BluetoothGattDescriptor;
241 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor,
247 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor,
  /developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 25 import android.bluetooth.BluetoothGattDescriptor;
301 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
303 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
  /developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/
BluetoothLeService.java 25 import android.bluetooth.BluetoothGattDescriptor;
301 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
303 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
  /development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/
BluetoothLeService.java 25 import android.bluetooth.BluetoothGattDescriptor;
301 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
303 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
  /frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
BluetoothMidiDevice.java 23 import android.bluetooth.BluetoothGattDescriptor;
155 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
158 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
  /system/bt/service/test/
parcelable_unittest.cc 158 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s);
162 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s2);
166 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s3);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
GattServerFacade.java 23 import android.bluetooth.BluetoothGattDescriptor;
54 private final HashMap<Integer, BluetoothGattDescriptor> mDescriptorList;
79 mDescriptorList = new HashMap<Integer, BluetoothGattDescriptor>();
671 List<BluetoothGattDescriptor> descList = mGattChar.getDescriptors();
672 for (BluetoothGattDescriptor mGattDesc : descList) {
703 List<BluetoothGattDescriptor> descList = mGattChar.getDescriptors();
704 for (BluetoothGattDescriptor mGattDesc : descList) {
    [all...]
GattClientFacade.java 26 import android.bluetooth.BluetoothGattDescriptor;
58 private final HashMap<Integer, BluetoothGattDescriptor> mDescriptorList;
89 mDescriptorList = new HashMap<Integer, BluetoothGattDescriptor>();
568 List<BluetoothGattDescriptor> descList = mGattChar.getDescriptors();
569 for (BluetoothGattDescriptor mGattDesc : descList) {
    [all...]

Completed in 1057 milliseconds

1 2