Lines Matching refs:patch
30 AudioPatch::AudioPatch(const struct audio_patch *patch, uid_t uid) :
32 mPatch(*patch),
44 snprintf(buffer, SIZE, "%*sAudio patch %d:\n", spaces, "", index+1);
86 const sp<AudioPatch>& patch)
91 ALOGW("addAudioPatch() patch %d already in", handle);
94 add(handle, patch);
97 handle, patch->mAfPatchHandle, patch->mPatch.num_sources, patch->mPatch.num_sinks,
98 patch->mPatch.sources[0].id, patch->mPatch.sinks[0].id);
107 ALOGW("removeAudioPatch() patch %d not in", handle);
130 const sp<AudioPatch> patch = valueAt(i);
131 patches[patchesWritten] = patch->mPatch;
132 patches[patchesWritten++].id = patch->mHandle;
133 ALOGV("listAudioPatches() patch %zu num_sources %d num_sinks %d",
134 i, patch->mPatch.num_sources, patch->mPatch.num_sinks);