/frameworks/av/media/libaaudio/src/client/ |
D | AAudioFlowGraph.cpp | 37 aaudio_result_t AAudioFlowGraph::configure(audio_format_t sourceFormat, in configure() argument 45 __func__, sourceFormat, sourceChannelCount, sinkFormat, sinkChannelCount); in configure() 47 switch (sourceFormat) { in configure() 61 ALOGE("%s() Unsupported source format = %d", __func__, sourceFormat); in configure() 73 if (sourceFormat == AUDIO_FORMAT_PCM_FLOAT && sinkFormat == AUDIO_FORMAT_PCM_FLOAT) { in configure()
|
D | AAudioFlowGraph.h | 41 aaudio_result_t configure(audio_format_t sourceFormat,
|
D | AudioStreamInternalCapture.cpp | 191 const audio_format_t sourceFormat = getDeviceFormat(); in readNowWithConversion() local 195 wrappingBuffer.data[partIndex], sourceFormat, numSamples); in readNowWithConversion()
|
/frameworks/base/core/java/android/view/translation/ |
D | TranslationManager.java | 263 @TranslationSpec.DataFormat int sourceFormat, in getOnDeviceTranslationCapabilities() 267 mService.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, receiver, in getOnDeviceTranslationCapabilities() 295 @TranslationSpec.DataFormat int sourceFormat, in getTranslationCapabilities() 297 return getOnDeviceTranslationCapabilities(sourceFormat, targetFormat); in getTranslationCapabilities() 338 @TranslationSpec.DataFormat int sourceFormat, in addOnDeviceTranslationCapabilityUpdateListener() 344 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in addOnDeviceTranslationCapabilityUpdateListener() 356 @TranslationSpec.DataFormat int sourceFormat, in addTranslationCapabilityUpdateListener() 359 addOnDeviceTranslationCapabilityUpdateListener(sourceFormat, targetFormat, pendingIntent); in addTranslationCapabilityUpdateListener() 395 @TranslationSpec.DataFormat int sourceFormat, in removeOnDeviceTranslationCapabilityUpdateListener() 401 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in removeOnDeviceTranslationCapabilityUpdateListener() [all …]
|
D | ITranslationManager.aidl | 37 void onTranslationCapabilitiesRequest(int sourceFormat, int destFormat, in onTranslationCapabilitiesRequest() argument
|
/frameworks/base/core/java/android/service/translation/ |
D | TranslationService.java | 116 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, 121 TranslationService.this, sourceFormat, targetFormat, 298 @TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() 357 @TranslationSpec.DataFormat int sourceFormat, in handleOnTranslationCapabilitiesRequest() 360 onTranslationCapabilitiesRequest(sourceFormat, targetFormat, in handleOnTranslationCapabilitiesRequest() 364 if (!isValidCapabilities(sourceFormat, targetFormat, values)) { in handleOnTranslationCapabilitiesRequest() 381 private boolean isValidCapabilities(@TranslationSpec.DataFormat int sourceFormat, in isValidCapabilities() argument 383 if (sourceFormat != TranslationSpec.DATA_FORMAT_TEXT in isValidCapabilities()
|
D | ITranslationService.aidl | 39 void onTranslationCapabilitiesRequest(int sourceFormat, int targetFormat, in onTranslationCapabilitiesRequest() argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | FilterGraph.java | 242 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/ |
D | RemoteTranslationService.java | 93 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() argument 96 run((s) -> s.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, resultReceiver)); in onTranslationCapabilitiesRequest()
|
D | TranslationManagerService.java | 157 public void onTranslationCapabilitiesRequest(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequest() argument 165 service.onTranslationCapabilitiesRequestLocked(sourceFormat, targetFormat, in onTranslationCapabilitiesRequest()
|
D | TranslationManagerServiceImpl.java | 148 void onTranslationCapabilitiesRequestLocked(@TranslationSpec.DataFormat int sourceFormat, in onTranslationCapabilitiesRequestLocked() argument 153 remoteService.onTranslationCapabilitiesRequest(sourceFormat, destFormat, in onTranslationCapabilitiesRequestLocked()
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/ |
D | MediaTranscoderTests.cpp | 180 [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()
|
D | TranscoderTestUtils.h | 65 AMediaFormat* sourceFormat, bool includeBitrate = true) { 71 AMediaFormat_copy(destinationFormat, sourceFormat);
|
/frameworks/av/media/libmediatranscoding/transcoder/tests/fuzzer/ |
D | media_transcoder_fuzzer.cpp | 118 AMediaFormat* getFormat(AMediaFormat* sourceFormat) { in getFormat() argument 121 AMediaFormat_getString(sourceFormat, AMEDIAFORMAT_KEY_MIME, &mime); in getFormat()
|
/frameworks/av/media/libmediatranscoding/transcoder/benchmark/ |
D | MediaTrackTranscoderBenchmark.cpp | 230 AMediaFormat* sourceFormat) { in GetDefaultTrackFormat() argument 239 AMediaFormat_copy(format, sourceFormat); in GetDefaultTrackFormat()
|
/frameworks/av/media/libmediatranscoding/transcoder/ |
D | MediaTranscoder.cpp | 287 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/ |
D | TvInputHardwareManager.java | 1041 int sourceFormat = AudioFormat.ENCODING_DEFAULT; in updateAudioConfigLocked() local 1043 sourceFormat = sinkConfig.format(); in updateAudioConfigLocked() 1046 sourceFormat, sourceGainConfig); in updateAudioConfigLocked()
|