Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp120 struct audio_patch *patches) const in listAudioPatches()
122 if (num_patches == NULL || (*num_patches != 0 && patches == NULL)) { in listAudioPatches()
126 *num_patches, patches, size()); in listAudioPatches()
127 if (patches == NULL) { in listAudioPatches()
155 patches[patchesWritten] = patch->mPatch; in listAudioPatches()
156 patches[patchesWritten++].id = patch->mHandle; in listAudioPatches()
/frameworks/base/media/java/android/media/
DAudioRecordingConfiguration.java128 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getAudioDevice() local
129 if (AudioManager.listAudioPatches(patches) != AudioManager.SUCCESS) { in getAudioDevice()
133 for (int i = 0 ; i < patches.size() ; i++) { in getAudioDevice()
134 final AudioPatch patch = patches.get(i); in getAudioDevice()
DAudioPortEventHandler.java85 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in init()
87 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init()
106 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
DAudioManager.java3985 public static int listAudioPatches(ArrayList<AudioPatch> patches) { in listAudioPatches() argument
3986 return updateAudioPortCache(null, patches, null); in listAudioPatches()
4065 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache() argument
4135 if (patches != null) { in updateAudioPortCache()
4136 patches.clear(); in updateAudioPortCache()
4137 patches.addAll(sAudioPatchesCached); in updateAudioPortCache()
DAudioSystem.java744 public static native int listAudioPatches(ArrayList<AudioPatch> patches, int[] generation); in listAudioPatches() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPatch.h50 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
/frameworks/av/services/audioflinger/
DPatchPanel.h46 struct audio_patch *patches);
DPatchPanel.cpp93 struct audio_patch *patches) in listAudioPatches() argument
97 return mPatchPanel->listAudioPatches(num_patches, patches); in listAudioPatches()
665 struct audio_patch *patches __unused) in listAudioPatches()
DAudioFlinger.h270 struct audio_patch *patches);
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp616 struct audio_patch *patches, in listAudioPatches() argument
619 if (num_patches == NULL || (*num_patches != 0 && patches == NULL) || in listAudioPatches()
625 unsigned int numPatchesReq = (patches == NULL) ? 0 : *num_patches; in listAudioPatches()
637 reply.read(patches, numPatchesReq * sizeof(struct audio_patch)); in listAudioPatches()
1270 struct audio_patch *patches = in onTransact() local
1273 if (patches == NULL) { in onTransact()
1279 status_t status = listAudioPatches(&numPatches, patches, &generation); in onTransact()
1286 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()
1289 free(patches); in onTransact()
DIAudioFlinger.cpp879 struct audio_patch *patches) in listAudioPatches() argument
881 if (num_patches == NULL || *num_patches == 0 || patches == NULL) { in listAudioPatches()
893 reply.read(patches, *num_patches * sizeof(struct audio_patch)); in listAudioPatches()
1441 struct audio_patch *patches = in onTransact() local
1444 if (patches == NULL) { in onTransact()
1449 status_t status = listAudioPatches(&numPatches, patches); in onTransact()
1456 reply->write(patches, numPatchesReq * sizeof(struct audio_patch)); in onTransact()
1458 free(patches); in onTransact()
DAudioSystem.cpp1082 struct audio_patch *patches, in listAudioPatches() argument
1087 return aps->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h146 struct audio_patch *patches,
DIAudioFlinger.h238 struct audio_patch *patches) = 0;
DAudioSystem.h318 struct audio_patch *patches,
/frameworks/av/include/media/
DIAudioPolicyService.h146 struct audio_patch *patches,
DIAudioFlinger.h238 struct audio_patch *patches) = 0;
DAudioSystem.h318 struct audio_patch *patches,
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp668 struct audio_patch *patches, in listAudioPatches() argument
676 return mAudioPolicyManager->listAudioPatches(num_patches, patches, generation); in listAudioPatches()
DAudioPolicyService.h179 struct audio_patch *patches,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h222 struct audio_patch *patches,
/frameworks/base/tools/aapt2/
Dreadme.md20 NOTE: 9-patches will not be processed correctly with this flag set.
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h211 struct audio_patch *patches,
DAudioPolicyManager.cpp3016 struct audio_patch *patches, in listAudioPatches() argument
3023 return mAudioPatches.listAudioPatches(num_patches, patches); in listAudioPatches()