Home
last modified time | relevance | path

Searched refs:UUID (Results 1 – 25 of 136) sorted by relevance

123456

/frameworks/base/media/java/android/media/soundtrigger/
DSoundTriggerDetectionService.java40 import java.util.UUID;
78 private final ArrayMap<UUID, ISoundTriggerDetectionServiceClient> mClients =
92 private void setClient(@NonNull UUID uuid, @Nullable Bundle params, in setClient()
102 private void removeClient(@NonNull UUID uuid, @Nullable Bundle params) { in removeClient()
121 public void onConnected(@NonNull UUID uuid, @Nullable Bundle params) { in onConnected()
138 public void onDisconnected(@NonNull UUID uuid, @Nullable Bundle params) { in onDisconnected()
152 public void onGenericRecognitionEvent(@NonNull UUID uuid, @Nullable Bundle params, int opId, in onGenericRecognitionEvent()
167 public void onError(@NonNull UUID uuid, @Nullable Bundle params, int opId, int status) { in onError()
179 public abstract void onStopOperation(@NonNull UUID uuid, @Nullable Bundle params, int opId); in onStopOperation()
187 public final void operationFinished(@Nullable UUID uuid, int opId) { in operationFinished()
[all …]
DSoundTriggerManager.java45 import java.util.UUID;
65 private final HashMap<UUID, SoundTriggerDetector> mReceiverInstanceMap;
76 mReceiverInstanceMap = new HashMap<UUID, SoundTriggerDetector>(); in SoundTriggerManager()
96 public Model getModel(UUID soundModelId) { in getModel()
109 public void deleteModel(UUID soundModelId) { in deleteModel()
131 public SoundTriggerDetector createSoundTriggerDetector(UUID soundModelId, in createSoundTriggerDetector()
168 public static Model create(UUID modelUuid, UUID vendorUuid, byte[] data) { in create()
173 public UUID getModelUuid() { in getModelUuid()
177 public UUID getVendorUuid() { in getVendorUuid()
270 public int startRecognition(UUID soundModelId, PendingIntent callbackIntent, in startRecognition()
[all …]
/frameworks/base/core/java/android/os/
DParcelUuid.java19 import java.util.UUID;
28 private final UUID mUuid;
36 public ParcelUuid(UUID uuid) { in ParcelUuid()
52 return new ParcelUuid(UUID.fromString(uuid)); in fromString()
60 public UUID getUuid() { in getUuid()
115 UUID uuid = new UUID(mostSigBits, leastSigBits);
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java30 import java.util.UUID;
80 public static final UUID EFFECT_TYPE_ENV_REVERB = UUID
85 public static final UUID EFFECT_TYPE_PRESET_REVERB = UUID
90 public static final UUID EFFECT_TYPE_EQUALIZER = UUID
95 public static final UUID EFFECT_TYPE_BASS_BOOST = UUID
100 public static final UUID EFFECT_TYPE_VIRTUALIZER = UUID
109 public static final UUID EFFECT_TYPE_AGC = UUID
115 public static final UUID EFFECT_TYPE_AEC = UUID
121 public static final UUID EFFECT_TYPE_NS = UUID
127 public static final UUID EFFECT_TYPE_LOUDNESS_ENHANCER = UUID
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattDescriptor.java23 import java.util.UUID;
96 protected UUID mUuid;
133 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor()
145 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor()
153 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor()
157 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor()
217 public UUID getUuid() { in getUuid()
DBluetoothGattService.java24 import java.util.UUID;
58 protected UUID mUuid;
105 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService()
119 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, in BluetoothGattService()
134 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService()
253 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic()
305 public UUID getUuid() { in getUuid()
362 public BluetoothGattCharacteristic getCharacteristic(UUID uuid) { in getCharacteristic()
DBluetoothGattIncludedService.java22 import java.util.UUID;
34 protected UUID mUuid;
49 public BluetoothGattIncludedService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattIncludedService()
89 public UUID getUuid() { in getUuid()
DBluetoothHeadsetClientCall.java23 import java.util.UUID;
74 private final UUID mUUID;
83 this(device, id, UUID.randomUUID(), state, number, multiParty, outgoing, inBandRing); in BluetoothHeadsetClientCall()
86 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, UUID uuid, int state, in BluetoothHeadsetClientCall()
156 public UUID getUUID() { in getUUID()
282 in.readInt(), UUID.fromString(in.readString()), in.readInt(),
DBluetoothGattCharacteristic.java24 import java.util.UUID;
178 protected UUID mUuid;
243 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { in BluetoothGattCharacteristic()
253 UUID uuid, int instanceId, in BluetoothGattCharacteristic()
263 public BluetoothGattCharacteristic(UUID uuid, int instanceId, in BluetoothGattCharacteristic()
269 UUID uuid, int instanceId, in initCharacteristic()
360 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) { in getDescriptor()
393 public UUID getUuid() { in getUuid()
486 public BluetoothGattDescriptor getDescriptor(UUID uuid) { in getDescriptor()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DTestUtil.java29 import java.util.UUID;
51 user.setName(UUID.randomUUID().toString()); in createUser()
52 user.setLastName(UUID.randomUUID().toString()); in createUser()
54 user.setCustomField(UUID.randomUUID().toString()); in createUser()
62 pet.setName(UUID.randomUUID().toString()); in createPet()
88 school.setName(UUID.randomUUID().toString()); in createSchool()
98 address.setState(UUID.randomUUID().toString().substring(0, 2)); in createAddress()
99 address.setStreet(UUID.randomUUID().toString()); in createAddress()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java47 import java.util.UUID;
55 private final Map<UUID, ModelInfo> mModelInfoMap;
61 void addModel(UUID modelUuid, String state); in addModel()
62 void setModelState(UUID modelUuid, String state); in setModelState()
64 void handleDetection(UUID modelUuid); in handleDetection()
145 private UUID getModelUuidFromIntent(Intent intent) { in getModelUuidFromIntent()
149 return UUID.fromString(value); in getModelUuidFromIntent()
193 for (Map.Entry<UUID, ModelInfo> entry : mModelInfoMap.entrySet()) { in setUserActivity()
225 public UUID modelUuid;
226 public UUID vendorUuid;
[all …]
DSoundTriggerUtil.java32 import java.util.UUID;
80 public GenericSoundModel getSoundModel(UUID modelId) { in getSoundModel()
102 public boolean deleteSoundModel(UUID modelId) { in deleteSoundModel()
112 public SoundTriggerDetector createSoundTriggerDetector(UUID modelId, in createSoundTriggerDetector()
DSoundTriggerTestActivity.java25 import java.util.UUID;
60 private static UUID mSelectedModelUuid = null;
62 private Map<RadioButton, UUID> mButtonModelUuidMap;
63 private Map<UUID, RadioButton> mModelButtons;
64 private Map<UUID, String> mModelNames;
121 public void addModel(UUID modelUuid, String name) { in addModel()
155 public void setModelState(UUID modelUuid, String state) { in setModelState()
189 public void handleDetection(UUID modelUuid) { in handleDetection()
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java39 import java.util.UUID;
67 public boolean isQuotaSupported(@NonNull UUID storageUuid) { in isQuotaSupported()
83 public boolean isReservedSupported(@NonNull UUID storageUuid) { in isReservedSupported()
107 public @BytesLong long getTotalBytes(@NonNull UUID storageUuid) throws IOException { in getTotalBytes()
139 public @BytesLong long getFreeBytes(@NonNull UUID storageUuid) throws IOException { in getFreeBytes()
157 public @BytesLong long getCacheBytes(@NonNull UUID storageUuid) throws IOException { in getCacheBytes()
204 public @NonNull StorageStats queryStatsForPackage(@NonNull UUID storageUuid, in queryStatsForPackage()
247 public @NonNull StorageStats queryStatsForUid(@NonNull UUID storageUuid, int uid) in queryStatsForUid()
285 public @NonNull StorageStats queryStatsForUser(@NonNull UUID storageUuid, in queryStatsForUser()
322 public @NonNull ExternalStorageStats queryExternalStatsForUser(@NonNull UUID storageUuid, in queryExternalStatsForUser()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
DGenericSoundModelTest.java46 import java.util.UUID;
58 private HashSet<UUID> loadedModelUuids;
73 loadedModelUuids = new HashSet<UUID>(); in setUp()
78 for (UUID modelUuid : loadedModelUuids) { in tearDown()
88 UUID modelUuid = UUID.randomUUID(); in new_sound_model()
89 UUID mVendorUuid = UUID.randomUUID(); in new_sound_model()
204 UUID modelUuid = UUID.randomUUID(); in testFuzzGenericSoundModel()
205 UUID mVendorUuid = UUID.randomUUID(); in testFuzzGenericSoundModel()
/frameworks/base/media/java/android/media/
DMediaExtractor.java46 import java.util.UUID;
366 Map<UUID, byte[]> psshMap = getPsshInfo(); in getDrmInitData()
367 final Map<UUID, DrmInitData.SchemeInitData> initDataMap = in getDrmInitData()
368 new HashMap<UUID, DrmInitData.SchemeInitData>(); in getDrmInitData()
369 for (Map.Entry<UUID, byte[]> e: psshMap.entrySet()) { in getDrmInitData()
370 UUID uuid = e.getKey(); in getDrmInitData()
375 public SchemeInitData get(UUID schemeUuid) { in getDrmInitData()
391 public SchemeInitData get(UUID schemeUuid) { in getDrmInitData()
418 public Map<UUID, byte[]> getPsshInfo() {
419 Map<UUID, byte[]> psshMap = null;
[all …]
DMediaCrypto.java21 import java.util.UUID;
38 public static final boolean isCryptoSchemeSupported(@NonNull UUID uuid) { in isCryptoSchemeSupported()
43 private static final byte[] getByteArrayFromUUID(@NonNull UUID uuid) { in getByteArrayFromUUID()
64 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] initData) throws MediaCryptoException { in MediaCrypto()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DWorkRequest.java28 import java.util.UUID;
52 private @NonNull UUID mId;
60 protected WorkRequest(@NonNull UUID id, @NonNull WorkSpec workSpec, @NonNull Set<String> tags) { in WorkRequest()
71 public UUID getId() { in getId()
117 UUID mId;
122 mId = UUID.randomUUID(); in Builder()
DWorkStatus.java24 import java.util.UUID;
34 private @NonNull UUID mId;
40 @NonNull UUID id, in WorkStatus()
50 public @NonNull UUID getId() { in getId()
DSynchronousWorkManager.java23 import java.util.UUID;
86 void cancelWorkByIdSync(@NonNull UUID id); in cancelWorkByIdSync()
154 WorkStatus getStatusByIdSync(@NonNull UUID id); in getStatusByIdSync()
DWorker.java32 import java.util.UUID;
70 private @NonNull UUID mId;
91 public final @NonNull UUID getId() { in getId()
258 @NonNull UUID id, in internalInit()
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java34 import java.util.UUID;
101 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noData()
124 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData()
146 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
168 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
193 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_largeData()
/frameworks/support/media/src/main/java/androidx/media/
DMediaItem2.java31 import java.util.UUID;
68 private final UUID mUUID;
78 @Nullable MediaMetadata2 metadata, @Flags int flags, @Nullable UUID uuid) { in MediaItem2()
90 mUUID = (uuid == null) ? UUID.randomUUID() : uuid; in MediaItem2()
119 return fromBundle(bundle, UUID.fromString(uuidString)); in fromBundle()
131 static MediaItem2 fromBundle(@NonNull Bundle bundle, @Nullable UUID uuid) { in fromBundle()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaItem2Impl.java33 import java.util.UUID;
44 private final UUID mUUID;
55 @Nullable MediaMetadata2 metadata, @Flags int flags, @Nullable UUID uuid) { in MediaItem2Impl()
67 mUUID = (uuid == null) ? UUID.randomUUID() : uuid; in MediaItem2Impl()
108 return fromBundle(bundle, UUID.fromString(uuidString)); in fromBundle_impl()
120 static MediaItem2 fromBundle(@NonNull Bundle bundle, @Nullable UUID uuid) { in fromBundle()
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/
DBluetoothMidiDevice.java43 import java.util.UUID;
56 private static final UUID MIDI_SERVICE = UUID.fromString(
59 private static final UUID MIDI_CHARACTERISTIC = UUID.fromString(
62 private static final UUID CLIENT_CHARACTERISTIC_CONFIG = UUID.fromString(

123456