Home
last modified time | relevance | path

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

12345

/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()
286 public int startRecognition(@NonNull UUID soundModelId, @Nullable Bundle params, in startRecognition()
[all …]
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java42 import java.util.UUID;
92 public static final UUID EFFECT_TYPE_ENV_REVERB = UUID
97 public static final UUID EFFECT_TYPE_PRESET_REVERB = UUID
102 public static final UUID EFFECT_TYPE_EQUALIZER = UUID
107 public static final UUID EFFECT_TYPE_BASS_BOOST = UUID
112 public static final UUID EFFECT_TYPE_VIRTUALIZER = UUID
121 public static final UUID EFFECT_TYPE_AGC = UUID
127 public static final UUID EFFECT_TYPE_AEC = UUID
133 public static final UUID EFFECT_TYPE_NS = UUID
139 public static final UUID EFFECT_TYPE_LOUDNESS_ENHANCER = UUID
[all …]
DStreamDefaultEffect.java22 import java.util.UUID;
63 public StreamDefaultEffect(UUID type, UUID uuid, int priority, int streamUsage) { in StreamDefaultEffect()
DSourceDefaultEffect.java22 import java.util.UUID;
64 public SourceDefaultEffect(UUID type, UUID uuid, int priority, int source) { in SourceDefaultEffect()
/frameworks/base/core/java/android/os/
DParcelUuid.java21 import java.util.UUID;
30 private final UUID mUuid;
38 public ParcelUuid(UUID uuid) { in ParcelUuid()
54 return new ParcelUuid(UUID.fromString(uuid)); in fromString()
62 public UUID getUuid() { in getUuid()
118 UUID uuid = new UUID(mostSigBits, leastSigBits);
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattDescriptor.java24 import java.util.UUID;
97 protected UUID mUuid;
136 public BluetoothGattDescriptor(UUID uuid, int permissions) { in BluetoothGattDescriptor()
148 /*package*/ BluetoothGattDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in BluetoothGattDescriptor()
156 public BluetoothGattDescriptor(UUID uuid, int instance, int permissions) { in BluetoothGattDescriptor()
160 private void initDescriptor(BluetoothGattCharacteristic characteristic, UUID uuid, in initDescriptor()
221 public UUID getUuid() { in getUuid()
DBluetoothGattService.java25 import java.util.UUID;
60 protected UUID mUuid;
107 public BluetoothGattService(UUID uuid, int serviceType) { in BluetoothGattService()
121 /*package*/ BluetoothGattService(BluetoothDevice device, UUID uuid, in BluetoothGattService()
136 public BluetoothGattService(UUID uuid, int instanceId, int serviceType) { in BluetoothGattService()
255 /*package*/ BluetoothGattCharacteristic getCharacteristic(UUID uuid, int instanceId) { in getCharacteristic()
308 public UUID getUuid() { in getUuid()
365 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.java24 import java.util.UUID;
75 private final UUID mUUID;
84 this(device, id, UUID.randomUUID(), state, number, multiParty, outgoing, inBandRing); in BluetoothHeadsetClientCall()
87 public BluetoothHeadsetClientCall(BluetoothDevice device, int id, UUID uuid, int state, in BluetoothHeadsetClientCall()
158 public UUID getUUID() { in getUUID()
288 in.readInt(), UUID.fromString(in.readString()), in.readInt(),
DBluetoothGattCharacteristic.java25 import java.util.UUID;
179 protected UUID mUuid;
246 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { in BluetoothGattCharacteristic()
256 UUID uuid, int instanceId, in BluetoothGattCharacteristic()
266 public BluetoothGattCharacteristic(UUID uuid, int instanceId, in BluetoothGattCharacteristic()
272 UUID uuid, int instanceId, in initCharacteristic()
363 /*package*/ BluetoothGattDescriptor getDescriptor(UUID uuid, int instanceId) { in getDescriptor()
397 public UUID getUuid() { in getUuid()
491 public BluetoothGattDescriptor getDescriptor(UUID uuid) { in getDescriptor()
DBluetoothUuid.java29 import java.util.UUID;
222 UUID uuid = parcelUuid.getUuid(); in getServiceIdentifierFromParcelUuid()
255 return new ParcelUuid(new UUID(msb, lsb)); in parseUuidFrom()
272 return new ParcelUuid(new UUID(msb, lsb)); in parseUuidFrom()
329 UUID uuid = parcelUuid.getUuid(); in is16BitUuid()
347 UUID uuid = parcelUuid.getUuid(); in is32BitUuid()
/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;
395 Map<UUID, byte[]> psshMap = getPsshInfo(); in getDrmInitData()
396 final Map<UUID, DrmInitData.SchemeInitData> initDataMap = in getDrmInitData()
397 new HashMap<UUID, DrmInitData.SchemeInitData>(); in getDrmInitData()
398 for (Map.Entry<UUID, byte[]> e: psshMap.entrySet()) { in getDrmInitData()
399 UUID uuid = e.getKey(); in getDrmInitData()
404 public SchemeInitData get(UUID schemeUuid) { in getDrmInitData()
420 public SchemeInitData get(UUID schemeUuid) { in getDrmInitData()
450 public Map<UUID, byte[]> getPsshInfo() {
451 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()
66 public MediaCrypto(@NonNull UUID uuid, @NonNull byte[] sessionId) throws MediaCryptoException { in MediaCrypto()
/frameworks/base/wifi/tests/src/android/net/wifi/p2p/nsd/
DWifiP2pUpnpServiceInfoTest.java35 private static final String UUID = "6859dede-8574-59ab-9332-123456789012"; field in WifiP2pUpnpServiceInfoTest
54 UUID, DEVICE, null); in testNewInstance()
58 UUID, DEVICE, mServiceList); in testNewInstance()
72 UUID, in testNewInstance()
/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/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(
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerHelper.java54 import java.util.UUID;
93 private final HashMap<UUID, ModelData> mModelDataMap;
99 private HashMap<Integer, UUID> mKeyphraseUuidMap;
118 mModelDataMap = new HashMap<UUID, ModelData>(); in SoundTriggerHelper()
119 mKeyphraseUuidMap = new HashMap<Integer, UUID>(); in SoundTriggerHelper()
142 int startGenericRecognition(UUID modelId, GenericSoundModel soundModel, in startGenericRecognition()
346 int stopGenericRecognition(UUID modelId, IRecognitionStatusCallback callback) { in stopGenericRecognition()
530 int unloadGenericSoundModel(UUID modelId) { in unloadGenericSoundModel()
571 boolean isRecognitionRequested(UUID modelId) { in isRecognitionRequested()
578 int getGenericModelState(UUID modelId) { in getGenericModelState()
[all …]
DSoundTriggerDbHelper.java30 import java.util.UUID;
100 public GenericSoundModel getGenericSoundModel(UUID model_uuid) { in getGenericSoundModel()
116 return new GenericSoundModel(model_uuid, UUID.fromString(vendor_uuid), in getGenericSoundModel()
128 public boolean deleteGenericSoundModel(UUID model_uuid) { in deleteGenericSoundModel()
/frameworks/base/apct-tests/perftests/core/src/android/database/
DTableHelper.java20 import java.util.UUID;
178 UUID.randomUUID().toString(),
179 UUID.randomUUID().toString(),
184 UUID.randomUUID().toString(),

12345