Home
last modified time | relevance | path

Searched refs:sourceFormat (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/view/translation/
DTranslationManager.java238 @TranslationSpec.DataFormat int sourceFormat, in getOnDeviceTranslationCapabilities()
242 mService.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, receiver, in getOnDeviceTranslationCapabilities()
267 @TranslationSpec.DataFormat int sourceFormat, in getTranslationCapabilities()
269 return getOnDeviceTranslationCapabilities(sourceFormat, targetFormat); in getTranslationCapabilities()
310 @TranslationSpec.DataFormat int sourceFormat, in addOnDeviceTranslationCapabilityUpdateListener()
316 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in addOnDeviceTranslationCapabilityUpdateListener()
328 @TranslationSpec.DataFormat int sourceFormat, in addTranslationCapabilityUpdateListener()
331 addOnDeviceTranslationCapabilityUpdateListener(sourceFormat, targetFormat, pendingIntent); in addTranslationCapabilityUpdateListener()
367 @TranslationSpec.DataFormat int sourceFormat, in removeOnDeviceTranslationCapabilityUpdateListener()
373 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in removeOnDeviceTranslationCapabilityUpdateListener()
[all …]
DITranslationManager.aidl37 void onTranslationCapabilitiesRequest(int sourceFormat, int destFormat, in onTranslationCapabilitiesRequest() argument
/frameworks/base/core/java/android/service/translation/
DTranslationService.java121 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat,
126 TranslationService.this, sourceFormat, targetFormat,
303 @TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest()
362 @TranslationSpec.DataFormat int sourceFormat, in handleOnTranslationCapabilitiesRequest()
365 onTranslationCapabilitiesRequest(sourceFormat, targetFormat, in handleOnTranslationCapabilitiesRequest()
369 if (!isValidCapabilities(sourceFormat, targetFormat, values)) { in handleOnTranslationCapabilitiesRequest()
387 private boolean isValidCapabilities(@TranslationSpec.DataFormat int sourceFormat, in isValidCapabilities() argument
389 if (sourceFormat != TranslationSpec.DATA_FORMAT_TEXT in isValidCapabilities()
DITranslationService.aidl39 void onTranslationCapabilitiesRequest(int sourceFormat, int targetFormat, in onTranslationCapabilitiesRequest() argument
/frameworks/av/media/libaaudio/src/client/
DAAudioFlowGraph.cpp42 aaudio_result_t AAudioFlowGraph::configure(audio_format_t sourceFormat, in configure() argument
57 __func__, sourceFormat, sourceChannelCount, sourceSampleRate, sinkFormat, in configure()
60 switch (sourceFormat) { in configure()
77 ALOGE("%s() Unsupported source format = %d", __func__, sourceFormat); in configure()
90 if (sourceFormat == AUDIO_FORMAT_PCM_FLOAT && sinkFormat == AUDIO_FORMAT_PCM_FLOAT) { in configure()
DAAudioFlowGraph.h52 aaudio_result_t configure(audio_format_t sourceFormat,
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java242 FrameFormat sourceFormat = inputPort.getSourceFormat(); in runTypeCheckOn() local
244 if (sourceFormat != null && targetFormat != null) { in runTypeCheckOn()
245 … if (mLogVerbose) Log.v(TAG, "Checking " + sourceFormat + " against " + targetFormat + "."); in runTypeCheckOn()
253 compatible = sourceFormat.mayBeCompatibleWith(targetFormat); in runTypeCheckOn()
257 compatible = sourceFormat.isCompatibleWith(targetFormat); in runTypeCheckOn()
265 + sourceFormat + "!"); in runTypeCheckOn()
/frameworks/base/services/translation/java/com/android/server/translation/
DRemoteTranslationService.java93 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() argument
96 run((s) -> s.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, resultReceiver)); in onTranslationCapabilitiesRequest()
DTranslationManagerService.java157 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() argument
165 service.onTranslationCapabilitiesRequestLocked(sourceFormat, targetFormat, in onTranslationCapabilitiesRequest()
DTranslationManagerServiceImpl.java195 void onTranslationCapabilitiesRequestLocked(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequestLocked() argument
200 remoteService.onTranslationCapabilitiesRequest(sourceFormat, destFormat, in onTranslationCapabilitiesRequestLocked()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaTranscoderTests.cpp180 [dstMime, bitrate](AMediaFormat* sourceFormat) { in testTranscodeVideo() argument
183 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, in testTranscodeVideo()
334 static AMediaFormat* getAVCVideoFormat(AMediaFormat* sourceFormat) { in getAVCVideoFormat() argument
337 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getAVCVideoFormat()
DTranscoderTestUtils.h65 AMediaFormat* sourceFormat, bool includeBitrate = true) {
71 AMediaFormat_copy(destinationFormat, sourceFormat);
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/fuzzer/
Dmedia_transcoder_fuzzer.cpp118 AMediaFormat* getFormat(AMediaFormat* sourceFormat) { in getFormat() argument
121 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getFormat()
/frameworks/av/media/module/libmediatranscoding/transcoder/benchmark/
DMediaTrackTranscoderBenchmark.cpp232 AMediaFormat* sourceFormat) { in GetDefaultTrackFormat() argument
241 AMediaFormat_copy(format, sourceFormat); in GetDefaultTrackFormat()
/frameworks/av/media/module/libmediatranscoding/transcoder/
DMediaTranscoder.cpp287 for (const std::shared_ptr<AMediaFormat>& sourceFormat : mSourceTrackFormats) { in getTrackFormats() local
289 AMediaFormat_copy(copy, sourceFormat.get()); in getTrackFormats()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java1205 int sourceFormat = AudioFormat.ENCODING_DEFAULT; in updateAudioConfigLocked() local
1207 sourceFormat = sinkConfig.format(); in updateAudioConfigLocked()
1210 sourceFormat, sourceGainConfig); in updateAudioConfigLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...