Searched refs:characteristic (Results 1 – 9 of 9) sorted by relevance
42 MicrophoneInfo(audio_microphone_characteristic_t& characteristic) { in MicrophoneInfo() argument43 mDeviceId = String16(&characteristic.device_id[0]); in MicrophoneInfo()44 mPortId = characteristic.id; in MicrophoneInfo()45 mType = characteristic.device; in MicrophoneInfo()46 mAddress = String16(&characteristic.address[0]); in MicrophoneInfo()47 mDeviceLocation = characteristic.location; in MicrophoneInfo()48 mDeviceGroup = characteristic.group; in MicrophoneInfo()49 mIndexInTheGroup = characteristic.index_in_the_group; in MicrophoneInfo()50 mGeometricLocation.push_back(characteristic.geometric_location.x); in MicrophoneInfo()51 mGeometricLocation.push_back(characteristic.geometric_location.y); in MicrophoneInfo()[all …]
118 BluetoothGattCharacteristic characteristic120 if (characteristic != null) {122 mCharacteristic = characteristic;132 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 …]
381 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice,383 if (characteristic == null) {393 if (status == 0) characteristic.setValue(value);394 callback.onCharacteristicRead(BluetoothGatt.this, characteristic,421 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice,423 if (characteristic == null) return;432 characteristic.getWriteType(), authReq,433 characteristic.getValue());448 callback.onCharacteristicWrite(BluetoothGatt.this, characteristic,468 BluetoothGattCharacteristic characteristic = getCharacteristicById(mDevice,[all …]
244 public boolean addCharacteristic(BluetoothGattCharacteristic characteristic) { in addCharacteristic() argument245 mCharacteristics.add(characteristic); in addCharacteristic()246 characteristic.setService(this); in addCharacteristic()256 for (BluetoothGattCharacteristic characteristic : mCharacteristics) { in getCharacteristic()257 if (uuid.equals(characteristic.getUuid()) in getCharacteristic()258 && characteristic.getInstanceId() == instanceId) { in getCharacteristic()259 return characteristic; in getCharacteristic()366 for (BluetoothGattCharacteristic characteristic : mCharacteristics) { in getCharacteristic()367 if (uuid.equals(characteristic.getUuid())) { in getCharacteristic()368 return characteristic; in getCharacteristic()
148 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor() argument150 initDescriptor(characteristic, uuid, instance, permissions); in BluetoothGattDescriptor()160 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor() argument162 mCharacteristic = characteristic; in initDescriptor()212 /*package*/ void setCharacteristic(BluetoothGattCharacteristic characteristic) { in setCharacteristic() argument213 mCharacteristic = characteristic; in setCharacteristic()
86 public void onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, in onCharacteristicRead() argument105 BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicWrite() argument116 BluetoothGattCharacteristic characteristic) { in onCharacteristicChanged() argument
155 BluetoothGattCharacteristic characteristic = getCharacteristicByHandle(handle);156 if (characteristic == null) {163 characteristic);203 BluetoothGattCharacteristic characteristic = getCharacteristicByHandle(handle);204 if (characteristic == null) {210 mCallback.onCharacteristicWriteRequest(device, transId, characteristic,671 BluetoothGattCharacteristic characteristic, boolean confirm) { in notifyCharacteristicChanged() argument675 BluetoothGattService service = characteristic.getService(); in notifyCharacteristicChanged()678 if (characteristic.getValue() == null) { in notifyCharacteristicChanged()685 characteristic.getInstanceId(), confirm, in notifyCharacteristicChanged()[all …]
58 int offset, BluetoothGattCharacteristic characteristic) { in onCharacteristicReadRequest() argument76 BluetoothGattCharacteristic characteristic, in onCharacteristicWriteRequest() argument
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...