Searched refs:mAudioPatch (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | MelReporter.cpp | 134 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch() 135 if (patch.mAudioPatch.num_sources == 0 in onCreateAudioPatch() 136 || patch.mAudioPatch.sources[0].type != AUDIO_PORT_TYPE_MIX) { in onCreateAudioPatch() 141 audio_io_handle_t streamHandle = patch.mAudioPatch.sources[0].ext.mix.handle; in onCreateAudioPatch() 145 for (size_t i = 0; i < patch.mAudioPatch.num_sinks; ++i) { in onCreateAudioPatch() 146 if (patch.mAudioPatch.sinks[i].type == AUDIO_PORT_TYPE_DEVICE && in onCreateAudioPatch() 148 patch.mAudioPatch.sinks[i].ext.device.type)) { in onCreateAudioPatch() 149 audio_port_handle_t deviceId = patch.mAudioPatch.sinks[i].id; in onCreateAudioPatch() 151 patch.mAudioPatch.sinks[i].ext.device.type, in onCreateAudioPatch() 152 patch.mAudioPatch.sinks[i].ext.device.address); in onCreateAudioPatch() [all …]
|
D | PatchPanel.cpp | 155 const struct audio_patch &oldPatch = removedPatch.mAudioPatch; in createAudioPatch_l() 355 if (iter.second.mAudioPatch.sinks[0].ext.mix.handle == thread->id()) { in createAudioPatch_l() 421 newPatch.mAudioPatch, p.second.mAudioPatch)) { in createAudioPatch_l() 443 if (iter.second.mAudioPatch.sources[0].ext.mix.handle == thread->id() && in createAudioPatch_l() 475 addSoftwarePatchToInsertedModules_l(insertedModule, *handle, &newPatch.mAudioPatch); in createAudioPatch_l() 512 PatchBuilder().addSource(mAudioPatch.sources[0]). in createConnections_l() 522 if (mAudioPatch.num_sinks != 0) { in createConnections_l() 524 PatchBuilder().addSource(mPlayback.thread()).addSink(mAudioPatch.sinks[0]).patch(), in createConnections_l() 548 audio_input_flags_t inputFlags = mAudioPatch.sources[0].config_mask & AUDIO_PORT_CONFIG_FLAGS ? in createConnections_l() 549 mAudioPatch.sources[0].flags.input : AUDIO_INPUT_FLAG_NONE; in createConnections_l() [all …]
|
D | PatchCommandThread.cpp | 50 patch.mAudioPatch.num_sinks, in createAudioPatch() 51 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in createAudioPatch() 65 patch.mAudioPatch.num_sinks, in updateAudioPatch() 66 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in updateAudioPatch()
|
D | IAfPatchPanel.h | 198 : mAudioPatch(patch), mIsEndpointPatch(endpointPatch) {} in Patch() 202 mAudioPatch = other.mAudioPatch; in Patch() 217 swap(mAudioPatch, other.mAudioPatch); in swap() 245 struct audio_patch mAudioPatch; variable
|
D | DeviceEffectManager.cpp | 61 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch() 86 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onUpdateAudioPatch()
|
D | Effects.cpp | 3464 status = checkPort(patch, &patch.mAudioPatch.sources[0], &handle); in onCreatePatch() 3466 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch() 3467 status = checkPort(patch, &patch.mAudioPatch.sinks[i], &handle); in onCreatePatch()
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvInputHardwareManager.java | 957 if (mAudioPatch != null) { 958 mAudioManager.releaseAudioPatch(mAudioPatch); 959 mAudioPatch = null; 975 private AudioPatch mAudioPatch = null; field in TvInputHardwareManager.TvInputHardwareImpl 1039 if (mAudioPatch != null) { in release() 1040 mAudioManager.releaseAudioPatch(mAudioPatch); in release() 1041 mAudioPatch = null; in release() 1104 if (mAudioPatch != null) { in updateAudioConfigLocked() 1105 mAudioManager.releaseAudioPatch(mAudioPatch); in updateAudioConfigLocked() 1106 mAudioPatch = null; in updateAudioConfigLocked() [all …]
|