Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/companiontests/src/android/companion/
DBluetoothDeviceFilterUtilsTest.java43 mNonMatchingDeviceUuid.getUuid(), in testUuidsMaskedEquals()
44 mServiceUuid.getUuid(), in testUuidsMaskedEquals()
45 mMaskUuid.getUuid())); in testUuidsMaskedEquals()
48 mMatchingDeviceUuid.getUuid(), in testUuidsMaskedEquals()
49 mServiceUuid.getUuid(), in testUuidsMaskedEquals()
50 mMaskUuid.getUuid())); in testUuidsMaskedEquals()
53 mNonMatchingDeviceUuid.getUuid(), in testUuidsMaskedEquals()
54 mServiceUuid.getUuid(), in testUuidsMaskedEquals()
55 mMatchingMaskUuid.getUuid())); in testUuidsMaskedEquals()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java549 mEventLogger.enqueue(new SessionEvent(Type.START_RECOGNITION, getUuid(soundModel))); in startRecognition()
556 getUuid(soundModel), "Invalid sound model").printLog(ALOGW, TAG)); in startRecognition()
564 int ret = mSoundTriggerHelper.startGenericRecognition(soundModel.getUuid(), in startRecognition()
568 mSoundModelStatTracker.onStart(soundModel.getUuid()); in startRecognition()
576 mEventLogger.enqueue(new SessionEvent(Type.STOP_RECOGNITION, getUuid(parcelUuid))); in stopRecognition()
579 int ret = mSoundTriggerHelper.stopGenericRecognition(parcelUuid.getUuid(), in stopRecognition()
582 mSoundModelStatTracker.onStop(parcelUuid.getUuid()); in stopRecognition()
593 soundModelId.getUuid()); in getSoundModel()
600 mEventLogger.enqueue(new SessionEvent(Type.UPDATE_MODEL, getUuid(soundModel))); in updateSoundModel()
609 mEventLogger.enqueue(new SessionEvent(Type.DELETE_MODEL, getUuid(soundModelId))); in deleteSoundModel()
[all …]
DSoundTriggerDbHelper.java89 values.put(GenericSoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateGenericSoundModel()
144 + "='" + soundModel.getUuid().toString() + "'"; in deleteGenericSoundModel()
/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()
DSoundTriggerDetector.java345 status = mSoundTriggerSession.stopRecognition(new ParcelUuid(mSoundModel.getUuid()), in stopRecognition()
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/
DObservableUuidStore.java93 Slog.i(TAG, "Removing uuid=[" + uuid.getUuid() + "] from store..."); in removeObservableUuid()
102 && uuid1.getUuid().equals(uuid)); in removeObservableUuid()
113 Slog.i(TAG, "Writing uuid=[" + uuid.getUuid() + "] to store..."); in writeObservableUuid()
119 cachedObservableUuids.removeIf(uuid1 -> uuid1.getUuid().equals( in writeObservableUuid()
120 uuid.getUuid()) && uuid1.getPackageName().equals(uuid.getPackageName())); in writeObservableUuid()
164 writeStringAttribute(serializer, XML_ATTR_UUID, uuid.getUuid().toString()); in writeUuidToXml()
311 if (observableUuid.getUuid().equals(uuid)) { in isUuidBeingObserved()
DDevicePresenceProcessor.java188 final ParcelUuid requestUuid = request.getUuid(); in startObservingDevicePresence()
246 final ParcelUuid requestUuid = request.getUuid(); in stopObservingDevicePresence()
363 if (isDeviceUuidPresent(uuid.getUuid())) { in shouldBindPackage()
731 final ParcelUuid parcelUuid = uuid.getUuid(); in onDevicePresenceEventByUuid()
924 if (isDeviceUuidPresent(uuid.getUuid())) { in shouldScheduleRebind()
1010 && Objects.equals(deviceEvent.getUuid(), uuid) in onDeviceLocked()
1024 && Objects.equals(deviceEvent.getUuid(), uuid) in onDeviceLocked()
1046 boolean isUuid = deviceEvent.getUuid() != null; in sendDevicePresenceEventOnUnlocked()
1049 if (uuid.getUuid().equals(deviceEvent.getUuid())) { in sendDevicePresenceEventOnUnlocked()
DObservableUuid.java43 public ParcelUuid getUuid() { in getUuid() method in ObservableUuid
DBluetoothDeviceProcessor.java134 if (deviceUuids.contains(uuid.getUuid())) { in onDeviceConnectivityChanged()
/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/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DSoundTriggerTest.java140 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroData()
181 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
208 assertEquals(ksm.getUuid(), unparceled.getUuid()); in testKeyphraseSoundModelParcelUnparcel_largeData()
/frameworks/base/core/java/android/companion/
DBluetoothDeviceFilterUtils.java86 UUID uuidMask = serviceUuidMask == null ? null : serviceUuidMask.getUuid(); in matchesServiceUuid()
87 if (uuidsMaskedEquals(parcelUuid.getUuid(), serviceUuid.getUuid(), uuidMask)) { in matchesServiceUuid()
DDevicePresenceEvent.java150 public ParcelUuid getUuid() { in getUuid() method in DevicePresenceEvent
DObservingDevicePresenceRequest.java80 public ParcelUuid getUuid() { in getUuid() method in ObservingDevicePresenceRequest
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerDuplicateModelHandler.java53 String getUuid() { in getUuid() method in SoundTriggerDuplicateModelHandler.ModelData
199 var model = mModelList.stream().filter(x -> x.getUuid().equals(uuid)).findFirst(); in checkDuplicateModelUuid()
/frameworks/base/core/java/android/hardware/soundtrigger/
DSoundTrigger.java207 public UUID getUuid() { in getUuid() method in SoundTrigger.ModuleProperties
321 dest.writeString(getUuid().toString()); in writeToParcel()
430 + ", description=" + getDescription() + ", uuid=" + getUuid() in toString()
497 public UUID getUuid() { in getUuid() method in SoundTrigger.SoundModel
531 result = prime * result + ((getUuid() == null) ? 0 : getUuid().hashCode()); in hashCode()
551 if (getUuid() == null) { in equals()
552 if (other.getUuid() != null) { in equals()
555 } else if (!getUuid().equals(other.getUuid())) { in equals()
825 dest.writeString(getUuid().toString()); in writeToParcel()
840 + ", uuid=" + getUuid() + ", vendorUuid=" + getVendorUuid() in toString()
[all …]
/frameworks/base/core/java/android/os/
DParcelUuid.java64 public UUID getUuid() { in getUuid() method in ParcelUuid
/frameworks/base/core/java/android/service/tracing/
DTraceReportService.java110 public UUID getUuid() { in getUuid() method in TraceReportService.TraceParams
/frameworks/base/omapi/aidl/vts/functional/config/schema/
Dcurrent.txt12 method public String getUuid();
/frameworks/native/libs/sensor/include/sensor/
DSensor.h99 const uuid_t& getUuid() const;
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDatabaseHelper.java161 values.put(SoundModelContract.KEY_MODEL_UUID, soundModel.getUuid().toString()); in updateKeyphraseSoundModel()
206 + "='" + soundModel.getUuid().toString() + "'"; in deleteKeyphraseSoundModel()
/frameworks/base/core/java/android/hardware/
DSensor.java1162 public java.util.UUID getUuid() { in getUuid() method in Sensor
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java333 public @Nullable String getUuid() { in getUuid() method in StorageVolume
/frameworks/base/services/core/java/com/android/server/audio/
DSpatializerHelper.java1663 final UUID uuid = sensor.getUuid(); in getHeadSensorHandleUpdateTracker()
1685 if (htSensor.getUuid().equals(UuidUtils.STANDALONE_UUID)) { in getHeadSensorHandleUpdateTracker()
1696 final UUID uuid = sensor.getUuid(); in getHeadSensorHandleUpdateTracker()

12