Home
last modified time | relevance | path

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

1234567891011

/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.java61 import java.util.UUID;
86 private final HashMap<UUID, SoundTriggerDetector> mReceiverInstanceMap = new HashMap<>();
237 public Model getModel(UUID soundModelId) { in getModel()
262 public void deleteModel(UUID soundModelId) { in deleteModel()
293 public SoundTriggerDetector createSoundTriggerDetector(UUID soundModelId, in createSoundTriggerDetector()
342 public static Model create(@NonNull UUID modelUuid, @NonNull UUID vendorUuid, in create()
359 public static Model create(@NonNull UUID modelUuid, @NonNull UUID vendorUuid, in create()
370 public UUID getModelUuid() { in getModelUuid()
380 public UUID getVendorUuid() { in getVendorUuid()
516 public int startRecognition(@NonNull UUID soundModelId, @Nullable Bundle params, in startRecognition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotActionsController.kt26 import java.util.UUID
40 private val actionProviders: MutableMap<UUID, ScreenshotActionsProvider> = mutableMapOf()
41 private var currentScreenshotId: UUID? = null
43 fun setCurrentScreenshot(screenshot: ScreenshotData): UUID { in setCurrentScreenshot()
44 val screenshotId = UUID.randomUUID() in setCurrentScreenshot()
60 fun onAssistContent(screenshotId: UUID, assistContent: AssistContent?) { in onAssistContent()
64 fun onScrollChipReady(screenshotId: UUID, onClick: Runnable) { in onScrollChipReady()
76 fun setCompletedScreenshot(screenshotId: UUID, result: ScreenshotSavedResult) { in setCompletedScreenshot()
87 inner class ActionsCallback(private val screenshotId: UUID) { in getController()
/frameworks/base/media/java/android/media/audiofx/
DAudioEffect.java43 import java.util.UUID;
94 public static final UUID EFFECT_TYPE_ENV_REVERB = UUID
99 public static final UUID EFFECT_TYPE_PRESET_REVERB = UUID
104 public static final UUID EFFECT_TYPE_EQUALIZER = UUID
109 public static final UUID EFFECT_TYPE_BASS_BOOST = UUID
114 public static final UUID EFFECT_TYPE_VIRTUALIZER = UUID
123 public static final UUID EFFECT_TYPE_AGC = UUID
129 public static final UUID EFFECT_TYPE_AEC = UUID
135 public static final UUID EFFECT_TYPE_NS = UUID
141 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.java22 import java.util.UUID;
32 private final UUID mUuid;
40 public ParcelUuid(UUID uuid) { in ParcelUuid()
56 return new ParcelUuid(UUID.fromString(uuid)); in fromString()
64 public UUID getUuid() { in getUuid()
120 UUID uuid = new UUID(mostSigBits, leastSigBits);
/frameworks/base/media/java/android/media/
DDrmInitData.java23 import java.util.UUID;
44 public abstract SchemeInitData get(UUID schemeUuid); in get()
74 @NonNull public static final UUID UUID_NIL = new UUID(0, 0);
80 @NonNull public final UUID uuid;
97 public SchemeInitData(@NonNull UUID uuid, @NonNull String mimeType, @NonNull byte[] data) { in SchemeInitData()
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()
DMediaExtractor.java44 import java.util.UUID;
388 Map<UUID, byte[]> psshMap = getPsshInfo(); in getDrmInitData()
394 final Map<UUID, DrmInitData.SchemeInitData> initDataMap = in getDrmInitData()
398 public SchemeInitData get(UUID schemeUuid) { in getDrmInitData()
428 public SchemeInitData get(UUID schemeUuid) { in getDrmInitData()
468 public Map<UUID, byte[]> getPsshInfo() {
469 Map<UUID, byte[]> psshMap = null;
477 psshMap = new HashMap<UUID, byte[]>();
482 UUID uuid = new UUID(msb, lsb);
/frameworks/base/services/core/java/com/android/server/am/
DTraceErrorLogger.java21 import java.util.UUID;
39 public UUID generateErrorId() { in generateErrorId()
40 return UUID.randomUUID(); in generateErrorId()
52 public void addProcessInfoAndErrorIdToTrace(String processName, int pid, UUID errorId) { in addProcessInfoAndErrorIdToTrace()
65 public void addSubjectToTrace(String subject, UUID errorId) { in addSubjectToTrace()
/frameworks/base/services/core/java/com/android/server/audio/
DUuidUtils.java23 import java.util.UUID;
42 public static final UUID STANDALONE_UUID = new UUID(0, 0);
47 public static UUID uuidFromAudioDeviceAttributes(AudioDeviceAttributes device) { in uuidFromAudioDeviceAttributes()
66 return new UUID(0, lsb); in uuidFromAudioDeviceAttributes()
/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java42 import java.util.UUID;
70 public boolean isQuotaSupported(@NonNull UUID storageUuid) { in isQuotaSupported()
86 public boolean isReservedSupported(@NonNull UUID storageUuid) { in isReservedSupported()
110 public @BytesLong long getTotalBytes(@NonNull UUID storageUuid) throws IOException { in getTotalBytes()
142 public @BytesLong long getFreeBytes(@NonNull UUID storageUuid) throws IOException { in getFreeBytes()
160 public @BytesLong long getCacheBytes(@NonNull UUID storageUuid) throws IOException { in getCacheBytes()
207 public @NonNull StorageStats queryStatsForPackage(@NonNull UUID storageUuid, in queryStatsForPackage()
250 public @NonNull StorageStats queryStatsForUid(@NonNull UUID storageUuid, int uid) in queryStatsForUid()
288 public @NonNull StorageStats queryStatsForUser(@NonNull UUID storageUuid, in queryStatsForUser()
325 public @NonNull ExternalStorageStats queryExternalStatsForUser(@NonNull UUID storageUuid, in queryExternalStatsForUser()
[all …]
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java49 import java.util.UUID;
58 private final Map<UUID, ModelInfo> mModelInfoMap;
66 void addModel(UUID modelUuid, String state); in addModel()
67 void setModelState(UUID modelUuid, String state); in setModelState()
69 void handleDetection(UUID modelUuid); in handleDetection()
152 private UUID getModelUuidFromIntent(Intent intent) { in getModelUuidFromIntent()
156 return UUID.fromString(value); in getModelUuidFromIntent()
200 for (Map.Entry<UUID, ModelInfo> entry : mModelInfoMap.entrySet()) { in setUserActivity()
232 public UUID modelUuid;
233 public UUID vendorUuid;
[all …]
DSoundTriggerUtil.java34 import java.util.UUID;
93 public SoundTriggerManager.Model getSoundModel(UUID modelId) { in getSoundModel()
111 public boolean deleteSoundModel(UUID modelId) { in deleteSoundModel()
122 public int getModelState(UUID modelId) { in getModelState()
126 public SoundTriggerDetector createSoundTriggerDetector(UUID modelId, in createSoundTriggerDetector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/data/repository/
DFlingInfo.kt19 import java.util.UUID
30 val id: UUID = UUID.randomUUID()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationJavaUtil.java31 import java.util.UUID;
41 @Nullable UUID domainSetId, @Nullable Set<String> domains, int state) in setStatusForceNullable()
47 @Nullable UUID domainSetId, @Nullable Set<String> domains, boolean enabled, in setUserSelectionForceNullable()
54 @Nullable UUID domainSetId, @Nullable Set<String> domains, int state) in setStatusForceNullable()
60 @Nullable UUID domainSetId, @Nullable Set<String> domains, boolean enabled) in setUserSelectionForceNullable()
DDomainVerificationServiceUtil.kt21 import java.util.UUID
23 fun DomainVerificationService.setStatus(domainSetId: UUID, domains: Set<String>, state: Int) =
27 domainSetId: UUID,
/frameworks/base/telephony/java/android/telephony/
DTelephonyLocalConnection.java19 import java.util.UUID;
29 String getCallComposerServerUrlForHandle(int subscriptionId, UUID uuid); in getCallComposerServerUrlForHandle()
33 public static String getCallComposerServerUrlForHandle(int subscriptionId, UUID uuid) { in getCallComposerServerUrlForHandle()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/models/
DDomainVerificationStateMap.java30 import java.util.UUID;
46 private final ArrayMap<UUID, ValueType> mDomainSetIdMap = new ArrayMap<>();
63 public ValueType get(@NonNull UUID domainSetId) { in get()
67 public void put(@NonNull String packageName, @NonNull UUID domainSetId, in put()
90 public ValueType remove(@NonNull UUID domainSetId) { in remove()
DDomainVerificationPkgState.java32 import java.util.UUID;
45 private final UUID mId;
88 public DomainVerificationPkgState(@NonNull String packageName, @NonNull UUID id, in DomainVerificationPkgState()
95 @NonNull UUID id, boolean hasAutoVerifyDomains) { in DomainVerificationPkgState()
100 public DomainVerificationPkgState(@NonNull String packageName, @NonNull UUID id, in DomainVerificationPkgState()
184 @NonNull UUID id, in DomainVerificationPkgState()
217 public @NonNull UUID getId() { in getId()
/frameworks/base/telephony/java/android/telephony/data/
DTrafficDescriptor.java28 import java.util.UUID;
49 public static final UUID ANDROID_OS_ID =
50 UUID.fromString("97a498e3-fc92-5c94-8986-0333d06e4e47");
63 private final @NonNull UUID mOsId;
84 public OsAppId(@NonNull UUID osId, @NonNull String appId) { in OsAppId()
97 public OsAppId(@NonNull UUID osId, @NonNull String appId, int differentiator) { in OsAppId()
118 mOsId = new UUID(bb.getLong(), bb.getLong()); in OsAppId()
144 public @NonNull UUID getOsId() { in getOsId()
/frameworks/base/core/java/android/service/tracing/
DTraceReportService.java37 import java.util.UUID;
90 private final UUID mUuid;
94 mUuid = new UUID(params.uuidMsb, params.uuidLsb); in TraceParams()
110 public UUID getUuid() { in getUuid()
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger/
DSoundTriggerTest.java37 import java.util.UUID;
106 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noData()
128 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroData()
150 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_noKeyphrases()
169 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases()
196 KeyphraseSoundModel ksm = new KeyphraseSoundModel(UUID.randomUUID(), UUID.randomUUID(), in testKeyphraseSoundModelParcelUnparcel_largeData()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerEvent.java23 import java.util.UUID;
109 private final UUID mModelUuid;
113 public SessionEvent(Type type, UUID modelUuid, String errorString) { in SessionEvent()
119 public SessionEvent(Type type, UUID modelUuid) { in SessionEvent()

1234567891011