Home
last modified time | relevance | path

Searched refs:patches (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp89 struct audio_patch *patches) const in listAudioPatches()
91 if (num_patches == NULL || (*num_patches != 0 && patches == NULL)) { in listAudioPatches()
95 *num_patches, patches, size()); in listAudioPatches()
96 if (patches == NULL) { in listAudioPatches()
124 patches[patchesWritten] = patch->mPatch; in listAudioPatches()
125 patches[patchesWritten++].id = patch->getHandle(); in listAudioPatches()
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java97 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in init()
99 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init()
124 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
DAudioRecordingConfiguration.java244 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getAudioDevice() local
245 if (AudioManager.listAudioPatches(patches) != AudioManager.SUCCESS) { in getAudioDevice()
249 for (int i = 0 ; i < patches.size() ; i++) { in getAudioDevice()
250 final AudioPatch patch = patches.get(i); in getAudioDevice()
DAudioManager.java4688 public static int listAudioPatches(ArrayList<AudioPatch> patches) { in listAudioPatches() argument
4689 return updateAudioPortCache(null, patches, null); in listAudioPatches()
4770 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache() argument
4798 && (ports == null || patches == null)); in updateAudioPortCache()
4848 if (patches != null) { in updateAudioPortCache()
4849 patches.clear(); in updateAudioPortCache()
4850 patches.addAll(sAudioPatchesCached); in updateAudioPortCache()
DAudioSystem.java1247 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation); in listAudioPatches() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h61 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
/frameworks/av/services/audioflinger/
DPatchPanel.h66 struct audio_patch *patches);
71 std::vector<SoftwarePatch> *patches) const;
DDeviceEffectManager.cpp75 const std::map<audio_patch_handle_t, PatchPanel::Patch>& patches, in createEffect_l() argument
103 effect->init(patches); in createEffect_l()
DPatchPanel.cpp81 struct audio_patch *patches) in listAudioPatches() argument
84 return mPatchPanel.listAudioPatches(num_patches, patches); in listAudioPatches()
752 struct audio_patch *patches __unused) in listAudioPatches()
760 std::vector<AudioFlinger::PatchPanel::SoftwarePatch> *patches) const in getDownstreamSoftwarePatches()
768 patches->emplace_back(*this, patchHandle, in getDownstreamSoftwarePatches()
DDeviceEffectManager.h37 const std::map<audio_patch_handle_t, PatchPanel::Patch>& patches,
DEffects.h631 status_t init(const std::map<audio_patch_handle_t, PatchPanel::Patch>& patches);
DAudioFlinger.h273 struct audio_patch *patches);
DEffects.cpp2946 const std::map <audio_patch_handle_t, PatchPanel::Patch>& patches) { in init() argument
2958 for (auto &patch : patches) { in init()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp840 struct audio_patch *patches) in listAudioPatches() argument
842 if (num_patches == NULL || *num_patches == 0 || patches == NULL) { in listAudioPatches()
854 reply.read(patches, *num_patches * sizeof(struct audio_patch)); in listAudioPatches()
1523 struct audio_patch *patches = in onTransact() local
1526 if (patches == NULL) { in onTransact()
1531 status_t status = listAudioPatches(&numPatches, patches); in onTransact()
1538 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()
1540 free(patches); in onTransact()
DIAudioPolicyService.cpp734 struct audio_patch *patches, in listAudioPatches() argument
737 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches()
743 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches()
755 reply.read(patches, numPatchesReq * sizeof(struct audio_patch)); in listAudioPatches()
1972 struct audio_patch *patches = in onTransact() local
1975 if (patches == NULL) { in onTransact()
1981 status_t status = listAudioPatches(&numPatches, patches, &generation); in onTransact()
1988 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()
1991 free(patches); in onTransact()
DAudioSystem.cpp1182 struct audio_patch *patches, in listAudioPatches() argument
1187 return aps->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h170 struct audio_patch *patches,
DIAudioFlinger.h500 struct audio_patch *patches) = 0;
DAudioSystem.h335 struct audio_patch *patches,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h226 struct audio_patch *patches,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1071 struct audio_patch *patches, in listAudioPatches() argument
1079 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
DAudioPolicyService.h204 struct audio_patch *patches,
/frameworks/base/tools/aapt2/
Dreadme.md56 NOTE: 9-patches will not be processed correctly with this flag set.
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h243 struct audio_patch *patches,
/frameworks/base/core/proto/android/os/
Dsystem_properties.proto334 // this build except for the patches provided in the Android Public

12