Home
last modified time | relevance | path

Searched refs:mix (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp75 status_t AudioPolicyMixCollection::registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc) in registerMix() argument
79 if (mix.mDeviceType == registeredMix->mDeviceType in registerMix()
80 && mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0) { in registerMix()
82 mix.mDeviceType, mix.mDeviceAddress.string()); in registerMix()
86 sp<AudioPolicyMix> policyMix = new AudioPolicyMix(mix); in registerMix()
98 status_t AudioPolicyMixCollection::unregisterMix(const AudioMix& mix) in unregisterMix() argument
102 if (mix.mDeviceType == registeredMix->mDeviceType in unregisterMix()
103 && mix.mDeviceAddress.compare(registeredMix->mDeviceAddress) == 0) { in unregisterMix()
105 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix()
112 mix.mDeviceType, mix.mDeviceAddress.string()); in unregisterMix()
[all …]
DAudioInputDescriptor.cpp90 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
91 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
92 dstConfig->ext.mix.usecase.source = source(); in toAudioPortConfig()
102 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
103 port->ext.mix.handle = mIoHandle; in toAudioPort()
104 port->ext.mix.latency_class = AUDIO_LATENCY_NORMAL; in toAudioPort()
DAudioOutputDescriptor.cpp202 dstConfig->ext.mix.hw_module = getModuleHandle(); in toAudioPortConfig()
203 dstConfig->ext.mix.usecase.stream = AUDIO_STREAM_DEFAULT; in toAudioPortConfig()
211 port->ext.mix.hw_module = getModuleHandle(); in toAudioPort()
394 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
405 port->ext.mix.handle = mIoHandle; in toAudioPort()
406 port->ext.mix.latency_class = in toAudioPort()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicyConfig.java63 public void addMix(AudioMix mix) throws IllegalArgumentException { in addMix() argument
64 if (mix == null) { in addMix()
67 mMixes.add(mix); in addMix()
87 for (AudioMix mix : mMixes) { in writeToParcel()
89 dest.writeInt(mix.getRouteFlags()); in writeToParcel()
91 dest.writeInt(mix.mCallbackFlags); in writeToParcel()
93 dest.writeInt(mix.mDeviceSystemType); in writeToParcel()
94 dest.writeString(mix.mDeviceAddress); in writeToParcel()
96 dest.writeInt(mix.getFormat().getSampleRate()); in writeToParcel()
97 dest.writeInt(mix.getFormat().getEncoding()); in writeToParcel()
[all …]
DAudioPolicy.java195 public Builder addMix(@NonNull AudioMix mix) throws IllegalArgumentException { in addMix() argument
196 if (mix == null) { in addMix()
199 mMixes.add(mix); in addMix()
312 for (AudioMix mix : mMixes) { in build()
313 mix.mCallbackFlags |= AudioMix.CALLBACK_FLAG_NOTIFY_ACTIVITY; in build()
343 for (AudioMix mix : mixes) { in attachMixes()
344 if (mix == null) { in attachMixes()
347 zeMixes.add(mix); in attachMixes()
382 for (AudioMix mix : mixes) { in detachMixes()
383 if (mix == null) { in detachMixes()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientLuxTest.java155 mix(lowerBrightness, upperBrightness, t)); in testSpline_OneSegment()
157 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, t), 0.001); in testSpline_OneSegment()
186 float luxOverride = mix(brightness0, brightness1, t); in testSpline_TwoSegments()
188 float bias = mix(bias0, bias1, t); in testSpline_TwoSegments()
190 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, bias), 0.001); in testSpline_TwoSegments()
194 float luxOverride = mix(brightness1, brightness2, t); in testSpline_TwoSegments()
196 float bias = mix(bias1, bias2, t); in testSpline_TwoSegments()
198 mix(LOW_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, bias), 0.001); in testSpline_TwoSegments()
281 mix(lowerBrightness, upperBrightness, t)); in testSpline_OneSegmentHighLight()
283 mix(HIGH_LIGHT_AMBIENT_COLOR_TEMPERATURE, ambientColorTemperature, 1.0f - t), in testSpline_OneSegmentHighLight()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h37 AudioPolicyMix(const AudioMix &mix) : AudioMix(mix) {} in AudioPolicyMix() argument
58 status_t registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc);
60 status_t unregisterMix(const AudioMix& mix);
112 MixMatchStatus mixMatch(const AudioMix* mix, size_t mixIndex,
/frameworks/av/services/audioflinger/
DPatchPanel.cpp219 patch->sources[1].ext.mix.hw_module)) { in createAudioPatch()
226 mAudioFlinger.checkPlaybackThread_l(patch->sources[1].ext.mix.handle); in createAudioPatch()
316 patch->sinks[0].ext.mix.handle); in createAudioPatch()
318 thread = mAudioFlinger.checkMmapThread_l(patch->sinks[0].ext.mix.handle); in createAudioPatch()
321 __func__, patch->sinks[0].ext.mix.handle); in createAudioPatch()
333 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch()
350 audio_module_handle_t srcModule = patch->sources[0].ext.mix.hw_module; in createAudioPatch()
378 mAudioFlinger.checkPlaybackThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
380 thread = mAudioFlinger.checkMmapThread_l(patch->sources[0].ext.mix.handle); in createAudioPatch()
383 __func__, patch->sources[0].ext.mix.handle); in createAudioPatch()
[all …]
/frameworks/native/libs/math/include/math/
Dscalar.h35 static constexpr T mix(T x, T y, T a) noexcept { in mix() function
41 return mix(x, y, a); in lerp()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc104 "cannot mix --static with --as-needed",
105 "cannot mix --static with --as-needed")
196 "cannot mix -nmagic option with -shared",
197 "cannot mix -nmagic option with -shared")
200 "cannot mix -omagic option with -shared",
201 "cannot mix -omagic option with -shared")
/frameworks/base/packages/SystemUI/res/raw/
Dimage_wallpaper_fragment_shader.glsl34 diffuse = mix(diffuse, lum, trans);
38 float lower = mix(uReveal, uPer85, selector);
58 diffuse = mix(diffuse, remaps, uReveal);
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h80 add(entity).ext.mix.usecase = usecaseUpdate; in add()
85 mix_usecase_t* usecase = &add(entity).ext.mix.usecase; in add()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
Dvr.rscript68 float v_0_0 = mix(v_0_0_0, v_0_0_1, delta.x);
69 float v_0_1 = mix(v_0_1_0, v_0_1_1, delta.x);
70 float v_1_0 = mix(v_1_0_0, v_1_0_1, delta.x);
71 float v_1_1 = mix(v_1_1_0, v_1_1_1, delta.x);
72 float v_0 = mix(v_0_0, v_0_1, delta.y);
73 float v_1 = mix(v_1_0, v_1_1, delta.y);
74 float v = mix(v_0, v_1, delta.z);
/frameworks/compile/slang/tests/F_one_definition_rule6/
Ddef2.rscript4 // expected-error: mix
Ddef1.rscript4 // expected-error: mix
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixerTest.java144 long n = mFingerprintMixer.mix(mSeededRandom.nextLong()); in mix_randomlyDistributesBits()
167 assertThat(mFingerprintMixer.mix(i)).isNotEqualTo(i); in mix_doesNotProduceSameNumberAsInput()
/frameworks/av/services/oboeservice/
DAAudioMixer.h41 int32_t mix(int streamIndex, android::FifoBuffer *fifo, bool allowUnderflow);
DAAudioMixer.cpp52 int32_t AAudioMixer::mix(int streamIndex, FifoBuffer *fifo, bool allowUnderflow) { in mix() function in AAudioMixer
DAAudioServiceEndpointPlay.cpp114 int32_t framesMixed = mMixer.mix(index, fifo, allowUnderflow); in callbackLoop()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/
DFingerprintMixer.java82 long mix(long fingerprint) { in mix() method in FingerprintMixer
DContentDefinedChunker.java103 mFingerprintMixer.mix(fingerprint)))) { in chunkify()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h65 const audio_attributes_t &attr, sp<AudioPolicyMix> *mix = nullptr) const override;
/frameworks/base/packages/EasterEgg/
DAndroid.bp19 // so we will have a mix of java and kotlin files
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp952 sp<AudioPolicyMix> mix = policyDesc->mPolicyMix.promote(); in getOutputForAttrInt() local
954 mAvailableOutputDevices.getDevice(mix->mDeviceType, in getOutputForAttrInt()
955 mix->mDeviceAddress, in getOutputForAttrInt()
2844 AudioMix mix = mixes[i]; in registerPolicyMixes() local
2846 if (is_mix_loopback_render(mix.mRouteFlags) && mix.mMixType != MIX_TYPE_PLAYERS) { in registerPolicyMixes()
2855 if ((mix.mRouteFlags & MIX_ROUTE_FLAG_LOOP_BACK) == MIX_ROUTE_FLAG_LOOP_BACK) { in registerPolicyMixes()
2857 mix.mRouteFlags); in registerPolicyMixes()
2869 String8 address = mix.mDeviceAddress; in registerPolicyMixes()
2871 if (mix.mMixType == MIX_TYPE_PLAYERS) { in registerPolicyMixes()
2872 mix.mDeviceType = AUDIO_DEVICE_OUT_REMOTE_SUBMIX; in registerPolicyMixes()
[all …]
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h172 const audio_attributes_t &attr, sp<AudioPolicyMix> *mix = nullptr) const = 0;

1234