/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 92 struct audio_patch *patches) const in listAudioPatches() 94 if (num_patches == NULL || (*num_patches != 0 && patches == NULL)) { in listAudioPatches() 98 *num_patches, patches, size()); in listAudioPatches() 99 if (patches == NULL) { in listAudioPatches() 127 patches[patchesWritten] = patch->mPatch; in listAudioPatches() 128 patches[patchesWritten++].id = patch->getHandle(); in listAudioPatches()
|
/frameworks/base/media/java/android/media/ |
D | HwAudioSource.java | 153 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getDeviceId() local 154 if (AudioManager.listAudioPatches(patches) != AudioManager.SUCCESS) { in getDeviceId() 158 for (int i = 0; i < patches.size(); i++) { in getDeviceId() 159 AudioPatch patch = patches.get(i); in getDeviceId()
|
D | AudioPortEventHandler.java | 99 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in init() 101 int status = AudioManager.updateAudioPortCache(ports, patches, null); in init() 126 AudioPatch[] patchList = patches.toArray(new AudioPatch[0]); in init()
|
D | AudioRecordingConfiguration.java | 254 ArrayList<AudioPatch> patches = new ArrayList<AudioPatch>(); in getAudioDevice() local 255 if (AudioManager.listAudioPatches(patches) != AudioManager.SUCCESS) { in getAudioDevice() 259 for (int i = 0 ; i < patches.size() ; i++) { in getAudioDevice() 260 final AudioPatch patch = patches.get(i); in getAudioDevice()
|
D | AudioManager.java | 7614 public static int listAudioPatches(ArrayList<AudioPatch> patches) { in listAudioPatches() argument 7615 return updateAudioPortCache(null, patches, null); in listAudioPatches() 7698 static int updateAudioPortCache(ArrayList<AudioPort> ports, ArrayList<AudioPatch> patches, in updateAudioPortCache() argument 7726 && (ports == null || patches == null)); in updateAudioPortCache() 7776 if (patches != null) { in updateAudioPortCache() 7777 patches.clear(); in updateAudioPortCache() 7778 patches.addAll(sAudioPatchesCached); in updateAudioPortCache()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_test_utils.cpp | 651 std::vector<struct audio_patch> patches; in getPatchForOutputMix() local 652 status_t status = listAudioPatches(patches); in getPatchForOutputMix() 655 for (auto i = 0; i < patches.size(); i++) { in getPatchForOutputMix() 656 for (auto j = 0; j < patches[i].num_sources; j++) { in getPatchForOutputMix() 657 if (patches[i].sources[j].type == AUDIO_PORT_TYPE_MIX && in getPatchForOutputMix() 658 patches[i].sources[j].ext.mix.handle == audioIo) { in getPatchForOutputMix() 659 patch = patches[i]; in getPatchForOutputMix() 668 std::vector<struct audio_patch> patches; in getPatchForInputMix() local 669 status_t status = listAudioPatches(patches); in getPatchForInputMix() 672 for (auto i = 0; i < patches.size(); i++) { in getPatchForInputMix() [all …]
|
D | audiosystem_tests.cpp | 38 std::vector<struct audio_patch> patches; in anyPatchContainsInputDevice() local 39 status_t status = listAudioPatches(patches); in anyPatchContainsInputDevice() 42 for (const auto& patch : patches) { in anyPatchContainsInputDevice()
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.h | 52 struct audio_patch* patches) final 58 std::vector<SoftwarePatch>* patches) const final;
|
D | DeviceEffectManager.cpp | 103 const std::map<audio_patch_handle_t, IAfPatchPanel::Patch>& patches, in createEffect_l() argument 146 lStatus = effect->init_l(patches); in createEffect_l()
|
D | IAfPatchPanel.h | 281 virtual status_t listAudioPatches_l(unsigned int* num_patches, struct audio_patch* patches) 287 audio_io_handle_t stream, std::vector<SoftwarePatch>* patches) const = 0;
|
D | DeviceEffectManager.h | 52 const std::map<audio_patch_handle_t, IAfPatchPanel::Patch>& patches,
|
D | PatchPanel.cpp | 876 struct audio_patch *patches __unused) in listAudioPatches_l() 884 std::vector<SoftwarePatch>* patches) const in getDownstreamSoftwarePatches() 892 patches->emplace_back(sp<const IAfPatchPanel>::fromExisting(this), in getDownstreamSoftwarePatches()
|
D | IAfEffect.h | 392 virtual status_t init_l(const std::map<audio_patch_handle_t, IAfPatchPanel::Patch>& patches)
|
D | AudioFlinger.h | 196 struct audio_patch* patches) const final EXCLUDES_AudioFlinger_Mutex;
|
/frameworks/ex/camera2/extensions/ |
D | README.android | 6 Local patches
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPatch.h | 61 status_t listAudioPatches(unsigned int *num_patches, struct audio_patch *patches) const;
|
/frameworks/av/media/libaudiohal/tests/ |
D | CoreAudioHalAidl_test.cpp | 94 std::vector<AudioPatch> patches; member 297 std::vector<::aidl::android::hardware::audio::core::AudioPatch>* patches) override { in getAudioPatches() argument 298 *patches = mConfig.patches; in getAudioPatches() 354 mConfig.patches.push_back(*patch); in setAudioPatch() 357 auto iter = findById<AudioPatch>(mConfig.patches, requested.id); in setAudioPatch() 358 if (iter == mConfig.patches.end()) { in setAudioPatch() 396 auto iter = findById<AudioPatch>(mConfig.patches, patchId); in resetAudioPatch() 397 if (iter == mConfig.patches.end()) { in resetAudioPatch() 400 mConfig.patches.erase(iter); in resetAudioPatch() 1239 auto patches = mModule->getPatches(); in TEST_F() local [all …]
|
/frameworks/av/media/libaudiohal/impl/ |
D | Hal2AidlMapper.cpp | 737 std::vector<AudioPatch> patches; in initialize() local 739 statusTFromBinderStatus(mModule->getAudioPatches(&patches))); // OK if empty in initialize() 740 std::transform(patches.begin(), patches.end(), in initialize()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioPolicyService.aidl | 253 int listAudioPatches(inout Int count, out AudioPatchFw[] patches); in listAudioPatches() argument
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 267 struct audio_patch *patches,
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioFlinger.h | 329 struct audio_patch* patches) const = 0; 480 struct audio_patch* patches) const override;
|
D | AudioSystem.h | 471 struct audio_patch *patches,
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | audioflinger_fuzzer.cpp | 759 struct audio_patch patches = {}; in invokeAudioPatch() local 760 af->listAudioPatches(&num_patches, &patches); in invokeAudioPatch()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1687 std::unique_ptr<audio_patch[]> patches(new audio_patch[num_patches]); in listAudioPatches() local 1696 mAudioPolicyManager->listAudioPatches(&num_patches, patches.get(), &generation))); in listAudioPatches() 1699 convertRange(patches.get(), patches.get() + numPatchesReq, in listAudioPatches()
|
/frameworks/base/tools/aapt2/ |
D | readme.md | 56 NOTE: 9-patches will not be processed correctly with this flag set.
|