/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyMix.cpp | 75 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 …]
|
D | AudioInputDescriptor.cpp | 90 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()
|
D | AudioOutputDescriptor.cpp | 202 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/ |
D | AudioPolicyConfig.java | 63 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 …]
|
D | AudioPolicy.java | 195 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/ |
D | AmbientLuxTest.java | 155 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/ |
D | AudioPolicyMix.h | 37 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/ |
D | PatchPanel.cpp | 219 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/ |
D | scalar.h | 35 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/ |
D | DiagCommonKinds.inc | 104 "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/ |
D | image_wallpaper_fragment_shader.glsl | 34 diffuse = mix(diffuse, lum, trans); 38 float lower = mix(uReveal, uPer85, selector); 58 diffuse = mix(diffuse, remaps, uReveal);
|
/frameworks/av/media/libmedia/include/media/ |
D | PatchBuilder.h | 80 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/ |
D | vr.rscript | 68 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/ |
D | def2.rscript | 4 // expected-error: mix
|
D | def1.rscript | 4 // expected-error: mix
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixerTest.java | 144 long n = mFingerprintMixer.mix(mSeededRandom.nextLong()); in mix_randomlyDistributesBits() 167 assertThat(mFingerprintMixer.mix(i)).isNotEqualTo(i); in mix_doesNotProduceSameNumberAsInput()
|
/frameworks/av/services/oboeservice/ |
D | AAudioMixer.h | 41 int32_t mix(int streamIndex, android::FifoBuffer *fifo, bool allowUnderflow);
|
D | AAudioMixer.cpp | 52 int32_t AAudioMixer::mix(int streamIndex, FifoBuffer *fifo, bool allowUnderflow) { in mix() function in AAudioMixer
|
D | AAudioServiceEndpointPlay.cpp | 114 int32_t framesMixed = mMixer.mix(index, fifo, allowUnderflow); in callbackLoop()
|
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunking/cdc/ |
D | FingerprintMixer.java | 82 long mix(long fingerprint) { in mix() method in FingerprintMixer
|
D | ContentDefinedChunker.java | 103 mFingerprintMixer.mix(fingerprint)))) { in chunkify()
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
D | Engine.h | 65 const audio_attributes_t &attr, sp<AudioPolicyMix> *mix = nullptr) const override;
|
/frameworks/base/packages/EasterEgg/ |
D | Android.bp | 19 // so we will have a mix of java and kotlin files
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 952 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/ |
D | EngineInterface.h | 172 const audio_attributes_t &attr, sp<AudioPolicyMix> *mix = nullptr) const = 0;
|