Home
last modified time | relevance | path

Searched refs:BluetoothGattDescriptor (Results 1 – 22 of 22) sorted by relevance

/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattDescriptor.java33 public class BluetoothGattDescriptor implements Parcelable { class
135 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor() method in BluetoothGattDescriptor
146 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() method in BluetoothGattDescriptor
154 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor() method in BluetoothGattDescriptor
178 …public static final @android.annotation.NonNull Parcelable.Creator<BluetoothGattDescriptor> CREATO…
179 new Parcelable.Creator<BluetoothGattDescriptor>() {
180 public BluetoothGattDescriptor createFromParcel(Parcel in) {
181 return new BluetoothGattDescriptor(in);
184 public BluetoothGattDescriptor[] newArray(int size) {
185 return new BluetoothGattDescriptor[size];
[all …]
H A DBluetoothGattCharacteristic.java236 protected List<BluetoothGattDescriptor> mDescriptors;
279 mDescriptors = new ArrayList<BluetoothGattDescriptor>(); in initCharacteristic()
323 mDescriptors = new ArrayList<BluetoothGattDescriptor>(); in BluetoothGattCharacteristic()
325 ArrayList<BluetoothGattDescriptor> descs = in BluetoothGattCharacteristic()
326 in.createTypedArrayList(BluetoothGattDescriptor.CREATOR); in BluetoothGattCharacteristic()
328 for (BluetoothGattDescriptor desc : descs) { in BluetoothGattCharacteristic()
350 public boolean addDescriptor(BluetoothGattDescriptor descriptor) { in addDescriptor()
362 for (BluetoothGattDescriptor descriptor : mDescriptors) { in getDescriptor()
479 public List<BluetoothGattDescriptor> getDescriptors() { in getDescriptors()
489 public BluetoothGattDescriptor getDescriptor(UUID uuid) { in getDescriptor()
[all …]
H A DBluetoothGattServerCallback.java93 int offset, BluetoothGattDescriptor descriptor) { in onDescriptorReadRequest()
111 BluetoothGattDescriptor descriptor, in onDescriptorWriteRequest()
H A DBluetoothGattCallback.java129 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorRead()
141 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorWrite()
H A DBluetoothGattServer.java138 List<BluetoothGattDescriptor> temp_descs = temp_char.getDescriptors();
139 List<BluetoothGattDescriptor> svc_descs = svc_char.getDescriptors();
188 BluetoothGattDescriptor descriptor = getDescriptorByHandle(handle);
237 BluetoothGattDescriptor descriptor = getDescriptorByHandle(handle);
420 /*package*/ BluetoothGattDescriptor getDescriptorByHandle(int handle) { in getDescriptorByHandle()
423 for (BluetoothGattDescriptor desc : charac.getDescriptors()) { in getDescriptorByHandle()
H A DBluetoothGatt.java517 BluetoothGattDescriptor descriptor = getDescriptorById(mDevice, handle);
570 BluetoothGattDescriptor descriptor = getDescriptorById(mDevice, handle);
803 /*package*/ BluetoothGattDescriptor getDescriptorById(BluetoothDevice device, int instanceId) { in getDescriptorById()
806 for (BluetoothGattDescriptor desc : charac.getDescriptors()) { in getDescriptorById()
1297 public boolean readDescriptor(BluetoothGattDescriptor descriptor) { in readDescriptor()
1339 public boolean writeDescriptor(BluetoothGattDescriptor descriptor) { in writeDescriptor()
/aosp12/system/bt/service/common/android/bluetooth/
H A Dbluetooth_gatt_descriptor.h31 class BluetoothGattDescriptor : public Parcelable,
34 BluetoothGattDescriptor() = default;
35 BluetoothGattDescriptor( in BluetoothGattDescriptor() function
38 ~BluetoothGattDescriptor() = default;
H A Dbluetooth_gatt_descriptor.cc30 status_t BluetoothGattDescriptor::writeToParcel(Parcel* parcel) const { in writeToParcel()
41 status_t BluetoothGattDescriptor::readFromParcel(const Parcel* parcel) { in readFromParcel()
H A Dbluetooth_gatt_characteristic.cc44 std::vector<BluetoothGattDescriptor> descriptors; in writeToParcel()
72 std::vector<BluetoothGattDescriptor> descriptors; in readFromParcel()
H A DBluetoothGattDescriptor.aidl19 parcelable BluetoothGattDescriptor cpp_header "android/bluetooth/bluetooth_gatt_descriptor.h";
/aosp12/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
H A DGattServer.java25 import android.bluetooth.BluetoothGattDescriptor;
93 BluetoothGattDescriptor descriptor = in GattServer()
94 new BluetoothGattDescriptor(UUID.fromString(READABLE_DESC_UUID), in GattServer()
95 BluetoothGattDescriptor.PERMISSION_READ in GattServer()
96 | BluetoothGattDescriptor.PERMISSION_WRITE); in GattServer()
152 BluetoothGattDescriptor descriptor) { in onDescriptorReadRequest()
158 BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, in onDescriptorWriteRequest()
H A DGattClientListener.java26 import android.bluetooth.BluetoothGattDescriptor;
241 public void onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorRead()
247 public void onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor, in onDescriptorWrite()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DFastPairGattServer.java24 import android.bluetooth.BluetoothGattDescriptor;
233 BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded,
594 mKeyBasedPairingCharacteristic.addDescriptor(new BluetoothGattDescriptor( in setup()
596 BluetoothGattDescriptor.PERMISSION_READ in setup()
597 | BluetoothGattDescriptor.PERMISSION_WRITE)); in setup()
606 mPasskeyCharacteristic.addDescriptor(new BluetoothGattDescriptor( in setup()
608 BluetoothGattDescriptor.PERMISSION_READ in setup()
609 | BluetoothGattDescriptor.PERMISSION_WRITE)); in setup()
/aosp12/system/bt/service/test/
H A DParcelableTest.aidl11 import android.bluetooth.BluetoothGattDescriptor;
26 void OnDescripor(in BluetoothGattDescriptor descriptor); in OnDescripor()
H A Dparcelable_unittest.cc158 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s); in TEST()
162 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s2); in TEST()
166 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s3); in TEST()
/aosp12/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
H A DBluetoothMidiDevice.java23 import android.bluetooth.BluetoothGattDescriptor;
155 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(
158 descriptor.setValue(BluetoothGattDescriptor.ENABLE_NOTIFICATION_VALUE);
/aosp12/system/bt/binder/android/bluetooth/
H A DBluetoothGattDescriptor.aidl19 parcelable BluetoothGattDescriptor;
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DGattService.java30 import android.bluetooth.BluetoothGattDescriptor;
1653 currChar.addDescriptor(new BluetoothGattDescriptor(el.uuid, el.id, 0)); in onGetGattDb()
3221 .addDescriptor(new BluetoothGattDescriptor(el.uuid, el.attributeHandle, in onServiceAdded()
3595 for (BluetoothGattDescriptor descriptor : characteristic.getDescriptors()) { in addService()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt9115 …ission.BLUETOOTH_CONNECT) public boolean readDescriptor(android.bluetooth.BluetoothGattDescriptor);
9145 … onDescriptorRead(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int);
9146 …onDescriptorWrite(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int);
9158 method public boolean addDescriptor(android.bluetooth.BluetoothGattDescriptor);
9160 method public android.bluetooth.BluetoothGattDescriptor getDescriptor(java.util.UUID);
9161 method public java.util.List<android.bluetooth.BluetoothGattDescriptor> getDescriptors();
9206 field protected java.util.List<android.bluetooth.BluetoothGattDescriptor> mDescriptors;
9209 public class BluetoothGattDescriptor implements android.os.Parcelable {
9210 ctor public BluetoothGattDescriptor(java.util.UUID, int);
9218 …blic static final android.os.Parcelable.Creator<android.bluetooth.BluetoothGattDescriptor> CREATOR;
[all …]
/aosp12/frameworks/opt/setupwizard/tools/docs/
H A Dandroid-22.txt6254 method public boolean readDescriptor(android.bluetooth.BluetoothGattDescriptor);
6260 method public boolean writeDescriptor(android.bluetooth.BluetoothGattDescriptor);
6282 … onDescriptorRead(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int);
6283 …onDescriptorWrite(android.bluetooth.BluetoothGatt, android.bluetooth.BluetoothGattDescriptor, int);
6292 method public boolean addDescriptor(android.bluetooth.BluetoothGattDescriptor);
6293 method public android.bluetooth.BluetoothGattDescriptor getDescriptor(java.util.UUID);
6294 method public java.util.List<android.bluetooth.BluetoothGattDescriptor> getDescriptors();
6337 field protected java.util.List<android.bluetooth.BluetoothGattDescriptor> mDescriptors;
6340 public class BluetoothGattDescriptor {
6341 ctor public BluetoothGattDescriptor(java.util.UUID, int);
[all …]
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt10179 …othGattCharacteristic;->getDescriptor(Ljava/util/UUID;I)Landroid/bluetooth/BluetoothGattDescriptor;
10195 Landroid/bluetooth/BluetoothGattDescriptor;-><init>(Landroid/bluetooth/BluetoothGattCharacteristic;…
10196 Landroid/bluetooth/BluetoothGattDescriptor;-><init>(Landroid/os/Parcel;)V
10197 Landroid/bluetooth/BluetoothGattDescriptor;-><init>(Ljava/util/UUID;II)V
10198 Landroid/bluetooth/BluetoothGattDescriptor;->getInstanceId()I
10199 Landroid/bluetooth/BluetoothGattDescriptor;->initDescriptor(Landroid/bluetooth/BluetoothGattCharact…
10200 Landroid/bluetooth/BluetoothGattDescriptor;->mPermissions:I
10201 Landroid/bluetooth/BluetoothGattDescriptor;->mUuid:Ljava/util/UUID;
10202 Landroid/bluetooth/BluetoothGattDescriptor;->mValue:[B
10203 Landroid/bluetooth/BluetoothGattDescriptor;->setInstanceId(I)V
[all …]
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...