Home
last modified time | relevance | path

Searched refs:getUuid (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java98 loadedModelUuids.add(model.getUuid()); in testUpdateGenericSoundModel()
102 soundTriggerService.getSoundModel(new ParcelUuid(model.getUuid())); in testUpdateGenericSoundModel()
112 loadedModelUuids.add(model.getUuid()); in testDeleteGenericSoundModel()
115 soundTriggerService.deleteSoundModel(new ParcelUuid(model.getUuid())); in testDeleteGenericSoundModel()
116 loadedModelUuids.remove(model.getUuid()); in testDeleteGenericSoundModel()
120 soundTriggerService.getSoundModel(new ParcelUuid(model.getUuid())); in testDeleteGenericSoundModel()
136 loadedModelUuids.add(model.getUuid()); in testStartStopGenericSoundModel()
137 int r = soundTriggerService.startRecognition(new ParcelUuid(model.getUuid()), spyCallback, in testStartStopGenericSoundModel()
143 r = soundTriggerService.stopRecognition(new ParcelUuid(model.getUuid()), spyCallback); in testStartStopGenericSoundModel()
160 loadedModelUuids.add(model.getUuid()); in testTriggerGenericSoundModel()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java284 int ret = mSoundTriggerHelper.startGenericRecognition(parcelUuid.getUuid(), model, in startRecognition()
287 mSoundModelStatTracker.onStart(parcelUuid.getUuid()); in startRecognition()
304 int ret = mSoundTriggerHelper.stopGenericRecognition(parcelUuid.getUuid(), callback); in stopRecognition()
306 mSoundModelStatTracker.onStop(parcelUuid.getUuid()); in stopRecognition()
322 soundModelId.getUuid()); in getSoundModel()
351 mSoundTriggerHelper.unloadGenericSoundModel(soundModelId.getUuid()); in deleteSoundModel()
354 mSoundModelStatTracker.onStop(soundModelId.getUuid()); in deleteSoundModel()
357 mDbHelper.deleteGenericSoundModel(soundModelId.getUuid()); in deleteSoundModel()
364 if (soundModel == null || soundModel.getUuid() == null) { in loadGenericSoundModel()
373 Slog.i(TAG, "loadGenericSoundModel(): id = " + soundModel.getUuid()); in loadGenericSoundModel()
[all …]
DSoundTriggerDbHelper.java89 values.put(GenericSoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateGenericSoundModel()
144 + "='" + soundModel.getUuid().toString() + "'"; in deleteGenericSoundModel()
/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java222 UUID uuid = parcelUuid.getUuid(); in getServiceIdentifierFromParcelUuid()
270 long msb = BASE_UUID.getUuid().getMostSignificantBits() + (shortUuid << 32); in parseUuidFrom()
271 long lsb = BASE_UUID.getUuid().getLeastSignificantBits(); in parseUuidFrom()
309 long msb = uuid.getUuid().getMostSignificantBits(); in uuidToBytes()
310 long lsb = uuid.getUuid().getLeastSignificantBits(); in uuidToBytes()
329 UUID uuid = parcelUuid.getUuid(); in is16BitUuid()
330 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is16BitUuid()
347 UUID uuid = parcelUuid.getUuid(); in is32BitUuid()
348 if (uuid.getLeastSignificantBits() != BASE_UUID.getUuid().getLeastSignificantBits()) { in is32BitUuid()
DBluetoothGattService.java162 includedServices.add(new BluetoothGattIncludedService(s.getUuid(), in writeToParcel()
180 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattService()
201 mIncludedServices.add(new BluetoothGattService(null, isvc.getUuid(), in BluetoothGattService()
257 if (uuid.equals(characteristic.getUuid()) in getCharacteristic()
308 public UUID getUuid() { in getUuid() method in BluetoothGattService
367 if (uuid.equals(characteristic.getUuid())) { in getCharacteristic()
DBluetoothGattIncludedService.java79 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattIncludedService()
89 public UUID getUuid() { in getUuid() method in BluetoothGattIncludedService
DBluetoothGattDescriptor.java192 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattDescriptor()
221 public UUID getUuid() { in getUuid() method in BluetoothGattDescriptor
DBluetoothGattServer.java109 + " uuid=" + service.getUuid() + " status=" + status);
510 && svc.getUuid().equals(uuid)) { in getService()
714 if (DBG) Log.d(TAG, "addService() - service: " + service.getUuid()); in addService()
738 if (DBG) Log.d(TAG, "removeService() - service: " + service.getUuid()); in removeService()
741 BluetoothGattService intService = getService(service.getUuid(), in removeService()
801 if (service.getUuid().equals(uuid)) { in getService()
DBluetoothGattCharacteristic.java317 mUuid = ((ParcelUuid) in.readParcelable(null)).getUuid(); in BluetoothGattCharacteristic()
365 if (descriptor.getUuid().equals(uuid) in getDescriptor()
397 public UUID getUuid() { in getUuid() method in BluetoothGattCharacteristic
493 if (descriptor.getUuid().equals(uuid)) { in getDescriptor()
DBluetoothGatt.java324 brokenRef.getUuid(), brokenRef.getInstanceId());
730 && svc.getUuid().equals(uuid)) { in getService()
1068 if (service.getDevice().equals(mDevice) && service.getUuid().equals(uuid)) { in getService()
1093 if (VDBG) Log.d(TAG, "readCharacteristic() - uuid: " + characteristic.getUuid()); in readCharacteristic()
1173 if (VDBG) Log.d(TAG, "writeCharacteristic() - uuid: " + characteristic.getUuid()); in writeCharacteristic()
1213 if (VDBG) Log.d(TAG, "readDescriptor() - uuid: " + descriptor.getUuid()); in readDescriptor()
1254 if (VDBG) Log.d(TAG, "writeDescriptor() - uuid: " + descriptor.getUuid()); in writeDescriptor()
1394 Log.d(TAG, "setCharacteristicNotification() - uuid: " + characteristic.getUuid() in setCharacteristicNotification()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java118 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_noData()
143 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroData()
165 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
187 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
214 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_largeData()
/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetectionService.java220 UUID uuid = puuid.getUuid(); in onBind()
232 UUID uuid = puuid.getUuid(); in onBind()
246 UUID uuid = puuid.getUuid(); in onBind()
260 UUID uuid = puuid.getUuid(); in onBind()
273 UUID uuid = puuid.getUuid(); in onBind()
DSoundTriggerManager.java214 return mGenericSoundModel.getUuid(); in getModelUuid()
/frameworks/base/tests/VoiceEnrollment/src/com/android/test/voiceenrollment/
DTestEnrollmentActivity.java94 Toast.makeText(this, "Successfully un-enrolled, model UUID=" + soundModel.getUuid(), in onUnEnrollButtonClicked()
115 KeyphraseSoundModel updated = new KeyphraseSoundModel(soundModel.getUuid(), in onReEnrollButtonClicked()
119 Toast.makeText(this, "Successfully re-enrolled, model UUID=" + updated.getUuid(), in onReEnrollButtonClicked()
DEnrollmentUtil.java162 if (soundModel.getUuid() == null) { in verifyKeyphraseSoundModel()
/frameworks/base/core/java/android/bluetooth/le/
DScanFilter.java391 UUID uuidMask = parcelUuidMask == null ? null : parcelUuidMask.getUuid(); in matchesServiceUuids()
392 if (matchesServiceUuid(uuid.getUuid(), uuidMask, parcelUuid.getUuid())) { in matchesServiceUuids()
419 ? null : parcelSolicitationUuidMask.getUuid(); in matchesServiceSolicitationUuids()
420 if (matchesServiceUuid(solicitationUuid.getUuid(), solicitationUuidMask, in matchesServiceSolicitationUuids()
421 parcelSolicitationUuid.getUuid())) { in matchesServiceSolicitationUuids()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java187 public UUID getUuid() { in getUuid() method in SoundTrigger.ModuleProperties
301 dest.writeString(getUuid().toString()); in writeToParcel()
410 + ", description=" + getDescription() + ", uuid=" + getUuid() in toString()
477 public UUID getUuid() { in getUuid() method in SoundTrigger.SoundModel
511 result = prime * result + ((getUuid() == null) ? 0 : getUuid().hashCode()); in hashCode()
531 if (getUuid() == null) { in equals()
532 if (other.getUuid() != null) { in equals()
535 } else if (!getUuid().equals(other.getUuid())) { in equals()
805 dest.writeString(getUuid().toString()); in writeToParcel()
820 + ", uuid=" + getUuid() + ", vendorUuid=" + getVendorUuid() in toString()
[all …]
DConversionUtil.java110 aidlModel.uuid = api2aidlUuid(apiModel.getUuid()); in api2aidlSoundModel()
/frameworks/base/core/java/android/os/
DParcelUuid.java62 public UUID getUuid() { in getUuid() method in ParcelUuid
/frameworks/native/libs/sensor/include/sensor/
DSensor.h103 const uuid_t& getUuid() const;
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java254 + soundModel.getUuid()); in loadModel()
258 + soundModel.getUuid() + "!"); in loadModel()
281 + soundModel.getUuid()); in unloadModel()
285 modelInfo.name + ", UUID=" + soundModel.getUuid() + "!"); in unloadModel()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java165 values.put(SoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateKeyphraseSoundModel()
212 + "='" + soundModel.getUuid().toString() + "'"; in deleteKeyphraseSoundModel()
/frameworks/base/core/java/android/hardware/
DSensor.java1020 public java.util.UUID getUuid() { in getUuid() method in Sensor
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java293 public @Nullable String getUuid() { in getUuid() method in StorageVolume
/frameworks/native/libs/sensor/
DSensor.cpp462 const Sensor::uuid_t& Sensor::getUuid() const { in getUuid() function in android::Sensor

12