Home
last modified time | relevance | path

Searched refs:targetFormat (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/view/translation/
DTranslationManager.java239 @TranslationSpec.DataFormat int targetFormat) { in getOnDeviceTranslationCapabilities() argument
242 mService.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, receiver, in getOnDeviceTranslationCapabilities()
268 @TranslationSpec.DataFormat int targetFormat) { in getTranslationCapabilities() argument
269 return getOnDeviceTranslationCapabilities(sourceFormat, targetFormat); in getTranslationCapabilities()
311 @TranslationSpec.DataFormat int targetFormat, in addOnDeviceTranslationCapabilityUpdateListener() argument
316 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in addOnDeviceTranslationCapabilityUpdateListener()
329 @TranslationSpec.DataFormat int targetFormat, in addTranslationCapabilityUpdateListener() argument
331 addOnDeviceTranslationCapabilityUpdateListener(sourceFormat, targetFormat, pendingIntent); in addTranslationCapabilityUpdateListener()
368 @TranslationSpec.DataFormat int targetFormat, in removeOnDeviceTranslationCapabilityUpdateListener() argument
373 final Pair<Integer, Integer> formatPair = new Pair<>(sourceFormat, targetFormat); in removeOnDeviceTranslationCapabilityUpdateListener()
[all …]
/frameworks/base/core/java/android/service/translation/
DTranslationService.java122 @TranslationSpec.DataFormat int targetFormat,
126 TranslationService.this, sourceFormat, targetFormat,
304 @TranslationSpec.DataFormat int targetFormat, in onTranslationCapabilitiesRequest() argument
363 @TranslationSpec.DataFormat int targetFormat, in handleOnTranslationCapabilitiesRequest() argument
365 onTranslationCapabilitiesRequest(sourceFormat, targetFormat, in handleOnTranslationCapabilitiesRequest()
369 if (!isValidCapabilities(sourceFormat, targetFormat, values)) { in handleOnTranslationCapabilitiesRequest()
388 @TranslationSpec.DataFormat int targetFormat, Set<TranslationCapability> capabilities) { in isValidCapabilities() argument
390 && targetFormat != TranslationSpec.DATA_FORMAT_TEXT) { in isValidCapabilities()
DITranslationService.aidl39 void onTranslationCapabilitiesRequest(int sourceFormat, int targetFormat, in onTranslationCapabilitiesRequest() argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilterGraph.java243 FrameFormat targetFormat = inputPort.getPortFormat(); 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()
264 + "format of type " + targetFormat + " but got a format of type " in runTypeCheckOn()
/frameworks/base/services/translation/java/com/android/server/translation/
DRemoteTranslationService.java94 @TranslationSpec.DataFormat int targetFormat, in onTranslationCapabilitiesRequest() argument
96 run((s) -> s.onTranslationCapabilitiesRequest(sourceFormat, targetFormat, resultReceiver)); in onTranslationCapabilitiesRequest()
DTranslationManagerService.java158 @TranslationSpec.DataFormat int targetFormat, in onTranslationCapabilitiesRequest() argument
165 service.onTranslationCapabilitiesRequestLocked(sourceFormat, targetFormat, in onTranslationCapabilitiesRequest()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DPolicyAudioPort.cpp209 audio_format_t targetFormat) in isBetterFormatMatch() argument
211 return formatDistance(newFormat, targetFormat) < formatDistance(currentFormat, targetFormat); in isBetterFormatMatch()
/frameworks/av/media/libaudioprocessing/
DAudioMixer.cpp242 const audio_format_t targetFormat = mDownmixRequiresFormat != AUDIO_FORMAT_INVALID in prepareForReformat() local
245 if (mFormat != targetFormat) { in prepareForReformat()
249 targetFormat, in prepareForReformat()
261 if (targetFormat != mMixerInFormat) { in prepareForReformat()
264 targetFormat, in prepareForReformat()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp1248 const sp<AMessage> &targetFormat) const { in supportsSeamlessAudioFormatChange()
1249 if (targetFormat == NULL) { in supportsSeamlessAudioFormatChange()
1254 if (!targetFormat->findString("mime", &mime)) { in supportsSeamlessAudioFormatChange()
1264 !targetFormat->findInt32(keys[i], &newVal) || in supportsSeamlessAudioFormatChange()
1272 targetFormat->findBuffer("csd-0", &newBuf)) { in supportsSeamlessAudioFormatChange()
1282 bool NuPlayer::Decoder::supportsSeamlessFormatChange(const sp<AMessage> &targetFormat) const { in supportsSeamlessFormatChange()
1287 if (targetFormat == NULL) { in supportsSeamlessFormatChange()
1293 || !targetFormat->findString("mime", &newMime) in supportsSeamlessFormatChange()
1301 seamless = supportsSeamlessAudioFormatChange(targetFormat); in supportsSeamlessFormatChange()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DPolicyAudioPort.h90 audio_format_t targetFormat);
/frameworks/av/media/libmediaplayerservice/nuplayer/include/nuplayer/
DNuPlayerDecoder.h136 bool supportsSeamlessAudioFormatChange(const sp<AMessage> &targetFormat) const;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...