/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGatt.java | 278 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice, handle); 279 if (characteristic == null) { 284 if (status == 0) characteristic.setValue(value); 287 mCallback.onCharacteristicRead(BluetoothGatt.this, characteristic, status); 310 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice, handle); 311 if (characteristic == null) return; 319 characteristic.getWriteType(), AUTHENTICATION_MITM, 320 characteristic.getValue()); 330 mCallback.onCharacteristicWrite(BluetoothGatt.this, characteristic, status); 348 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice, handle); [all …]
|
D | BluetoothGattServer.java | 144 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid); 145 if (characteristic == null) return; 148 mCallback.onCharacteristicReadRequest(device, transId, offset, characteristic); 173 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid); 174 if (characteristic == null) return; 176 BluetoothGattDescriptor descriptor = characteristic.getDescriptor(descrUuid); 203 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid); 204 if (characteristic == null) return; 207 mCallback.onCharacteristicWriteRequest(device, transId, characteristic, 236 BluetoothGattCharacteristic characteristic = service.getCharacteristic(charUuid); [all …]
|
D | BluetoothGattService.java | 232 public boolean addCharacteristic(BluetoothGattCharacteristic characteristic) { in addCharacteristic() argument 233 mCharacteristics.add(characteristic); in addCharacteristic() 234 characteristic.setService(this); in addCharacteristic() 243 for(BluetoothGattCharacteristic characteristic : mCharacteristics) { in getCharacteristic() 244 if (uuid.equals(characteristic.getUuid()) in getCharacteristic() 245 && characteristic.getInstanceId() == instanceId) in getCharacteristic() 246 return characteristic; in getCharacteristic() 349 for(BluetoothGattCharacteristic characteristic : mCharacteristics) { in getCharacteristic() 350 if (uuid.equals(characteristic.getUuid())) in getCharacteristic() 351 return characteristic; in getCharacteristic()
|
D | BluetoothGattDescriptor.java | 139 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() argument 141 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor() 151 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor() argument 153 mCharacteristic = characteristic; in initDescriptor() 201 /*package*/ void setCharacteristic(BluetoothGattCharacteristic characteristic) { in setCharacteristic() argument 202 mCharacteristic = characteristic; in setCharacteristic()
|
D | BluetoothGattCallback.java | 59 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, in onCharacteristicRead() argument 79 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicWrite() argument 90 BluetoothGattCharacteristic characteristic) { in onCharacteristicChanged() argument
|
D | BluetoothGattServerCallback.java | 61 int offset, BluetoothGattCharacteristic characteristic) { in onCharacteristicReadRequest() argument 80 BluetoothGattCharacteristic characteristic, in onCharacteristicWriteRequest() argument
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
D | BluetoothMidiDevice.java | 121 for (BluetoothGattCharacteristic characteristic : characteristics) { 122 if (MIDI_CHARACTERISTIC.equals(characteristic.getUuid())) { 124 mCharacteristic = characteristic; 128 mBluetoothGatt.readCharacteristic(characteristic); 143 BluetoothGattCharacteristic characteristic, 148 mBluetoothGatt.setCharacteristicNotification(characteristic, true); 152 int originalWriteType = characteristic.getWriteType(); 153 characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT); 155 BluetoothGattDescriptor descriptor = characteristic.getDescriptor( 165 characteristic.setWriteType(originalWriteType); [all …]
|
/frameworks/base/docs/html/guide/topics/connectivity/ |
D | bluetooth-le.jd | 91 <li><strong>Characteristic</strong>—A characteristic contains a single 92 value and 0-n descriptors that describe the characteristic's value. A 93 characteristic can be thought of as a type, analogous to a class. </li> 95 describe a characteristic value. For example, a descriptor might specify a 96 human-readable description, an acceptable range for a characteristic's value, or 97 a unit of measure that is specific to a characteristic's value.</li> 414 // Result of a characteristic read operation 416 BluetoothGattCharacteristic characteristic, 419 broadcastUpdate(ACTION_DATA_AVAILABLE, characteristic); 431 …gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_mea… [all …]
|
/frameworks/base/docs/html/about/dashboards/ |
D | index.jd | 36 characteristic, such as Android version or screen size. This information may
|
/frameworks/base/docs/html/google/play/publishing/ |
D | multiple-apks.jd | 278 <li>If you use this characteristic as the factor to distinguish multiple APKs, then the APK 335 <p>Usually, you will differentiate your APKs based on a specific characteristic (such as the 388 compatible with devices that have an ARMv7 CPU, the APKs overlap on this characteristic.
|
/frameworks/base/docs/html/about/versions/ |
D | android-3.2.jd | 113 on its height. In all cases, the smallestWidth is derived from a fixed characteristic of the
|
/frameworks/base/docs/html/guide/practices/ |
D | screens_support.jd | 456 <th>Screen characteristic</th> 767 height or width. The smallestWidth is a fixed screen size characteristic of the device; <strong>the
|
/frameworks/base/docs/html/guide/topics/resources/ |
D | providing-resources.jd | 392 height or width. The smallestWidth is a fixed screen size characteristic of the device; <strong>the
|