Home
last modified time | relevance | path

Searched refs:characteristic (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothGatt.java283 BluetoothGattCharacteristic characteristic = service.getCharacteristic(
285 if (characteristic == null) return;
287 characteristic.addDescriptor(new BluetoothGattDescriptor(
288 characteristic, descUuid.getUuid(), descrInstId, 0));
349 BluetoothGattCharacteristic characteristic = service.getCharacteristic(
351 if (characteristic == null) return;
353 if (status == 0) characteristic.setValue(value);
356 mCallback.onCharacteristicRead(BluetoothGatt.this, characteristic, status);
385 BluetoothGattCharacteristic characteristic = service.getCharacteristic(
387 if (characteristic == null) return;
[all …]
DBluetoothGattService.java146 public boolean addCharacteristic(BluetoothGattCharacteristic characteristic) { in addCharacteristic() argument
147 mCharacteristics.add(characteristic); in addCharacteristic()
148 characteristic.setService(this); in addCharacteristic()
157 for(BluetoothGattCharacteristic characteristic : mCharacteristics) { in getCharacteristic()
158 if (uuid.equals(characteristic.getUuid()) in getCharacteristic()
159 && characteristic.getInstanceId() == instanceId) in getCharacteristic()
160 return characteristic; in getCharacteristic()
263 for(BluetoothGattCharacteristic characteristic : mCharacteristics) { in getCharacteristic()
264 if (uuid.equals(characteristic.getUuid())) in getCharacteristic()
265 return characteristic; in getCharacteristic()
DBluetoothGattDescriptor.java136 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() argument
138 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor()
141 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor() argument
143 mCharacteristic = characteristic; in initDescriptor()
161 /*package*/ void setCharacteristic(BluetoothGattCharacteristic characteristic) { in setCharacteristic() argument
162 mCharacteristic = characteristic; in setCharacteristic()
DBluetoothGattServer.java144 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 …]
DBluetoothGattCallback.java59 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, in onCharacteristicRead() argument
79 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicWrite() argument
90 BluetoothGattCharacteristic characteristic) { in onCharacteristicChanged() argument
DBluetoothGattServerCallback.java61 int offset, BluetoothGattCharacteristic characteristic) { in onCharacteristicReadRequest() argument
80 BluetoothGattCharacteristic characteristic, in onCharacteristicWriteRequest() argument
/frameworks/base/docs/html/guide/topics/connectivity/
Dbluetooth-le.jd91 <li><strong>Characteristic</strong>&mdash;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/tools/devices/
Dmanaging-avds.jd269 <td>Sets the generalized density characteristic used by the AVD's screen. Default value is
Dmanaging-avds-cmdline.jd333 <td>Sets the generalized density characteristic used by the AVD's screen. Default value is "160".</…
/frameworks/base/docs/html/about/dashboards/
Dindex.jd34 characteristic, such as Android version or screen size. This information may
/frameworks/base/docs/html/google/play/publishing/
Dmultiple-apks.jd278 <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/
Dandroid-3.2.jd113 on its height. In all cases, the smallestWidth is derived from a fixed characteristic of the
/frameworks/base/docs/html/tools/debugging/
Ddebugging-memory.jd215 <p>A nice characteristic of the PSS measurement is that you can add up the PSS across all processes…
/frameworks/base/docs/html/guide/practices/
Dscreens_support.jd446 <th>Screen characteristic</th>
751 height or width. The smallestWidth is a fixed screen size characteristic of the device; <strong>the
/frameworks/base/docs/html/guide/topics/resources/
Dproviding-resources.jd378 height or width. The smallestWidth is a fixed screen size characteristic of the device; <strong>the