Home
last modified time | relevance | path

Searched refs:microphones (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h133 std::vector<audio_microphone_characteristic_t>* microphones) = 0;
DStreamHalInterface.h313 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfoFw> *microphones) = 0;
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.h107 status_t getMicrophones(std::vector<audio_microphone_characteristic_t>* microphones) override;
DDeviceHalAidl.h153 status_t getMicrophones(std::vector<audio_microphone_characteristic_t>* microphones) override;
DStreamHalHidl.h270 status_t getActiveMicrophones(std::vector<media::MicrophoneInfoFw> *microphones) override;
DStreamHalAidl.cpp1079 status_t StreamInHalAidl::getActiveMicrophones(std::vector<media::MicrophoneInfoFw> *microphones) { in getActiveMicrophones() argument
1080 if (!microphones) { in getActiveMicrophones()
1110 *microphones = std::move(result); in getActiveMicrophones()
DStreamHalAidl.h436 status_t getActiveMicrophones(std::vector<media::MicrophoneInfoFw> *microphones) override;
DDeviceHalAidl.cpp782 std::vector<audio_microphone_characteristic_t>* microphones) { in getMicrophones() argument
786 if (microphones == nullptr) { in getMicrophones()
795 *microphones = VALUE_OR_RETURN_STATUS( in getMicrophones()
DStreamHalHidl.cpp1213 std::vector<media::MicrophoneInfoFw> *microphones __unused) { in getActiveMicrophones()
/frameworks/base/media/java/android/media/
DAudioManager.java8095 public static void setPortIdForMicrophones(ArrayList<MicrophoneInfo> microphones) { in setPortIdForMicrophones() argument
8097 for (int i = microphones.size() - 1; i >= 0; i--) { in setPortIdForMicrophones()
8100 if (device.getPort().type() == microphones.get(i).getInternalDeviceType() in setPortIdForMicrophones()
8101 && TextUtils.equals(device.getAddress(), microphones.get(i).getAddress())) { in setPortIdForMicrophones()
8102 microphones.get(i).setId(device.getId()); in setPortIdForMicrophones()
8109 + microphones.get(i).getType() + " address:" in setPortIdForMicrophones()
8110 + microphones.get(i).getAddress()); in setPortIdForMicrophones()
8111 microphones.remove(i); in setPortIdForMicrophones()
8141 private void addMicrophonesFromAudioDeviceInfo(ArrayList<MicrophoneInfo> microphones, in addMicrophonesFromAudioDeviceInfo() argument
8149 microphones.add(microphone); in addMicrophonesFromAudioDeviceInfo()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DIAudioFlinger.h346 virtual status_t getMicrophones(std::vector<media::MicrophoneInfoFw>* microphones) const = 0;
487 status_t getMicrophones(std::vector<media::MicrophoneInfoFw>* microphones) const override;
DAudioSystem.h514 static status_t getMicrophones(std::vector<media::MicrophoneInfoFw> *microphones);
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp570 std::vector<media::MicrophoneInfoFw> microphones; in invokeAudioSystem() local
571 AudioSystem::getMicrophones(&microphones); in invokeAudioSystem()
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp761 std::vector<media::MicrophoneInfoFw>* microphones) const { in getMicrophones()
764 if (microphones != nullptr) { in getMicrophones()
765 *microphones = std::move(aidlRet); in getMicrophones()
DAudioSystem.cpp2056 status_t AudioSystem::getMicrophones(std::vector<media::MicrophoneInfoFw>* microphones) { in getMicrophones() argument
2059 return af->getMicrophones(microphones); in getMicrophones()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2561 std::vector<media::MicrophoneInfoFw> microphones; in android_media_AudioSystem_getMicrophones() local
2562 status_t status = AudioSystem::getMicrophones(&microphones); in android_media_AudioSystem_getMicrophones()
2568 if (microphones.size() == 0) { in android_media_AudioSystem_getMicrophones()
2572 for (size_t i = 0; i < microphones.size(); i++) { in android_media_AudioSystem_getMicrophones()
2574 jStatus = convertMicrophoneInfoFromNative(env, &jMicrophoneInfo, &microphones[i]); in android_media_AudioSystem_getMicrophones()
/frameworks/av/services/audioflinger/
DAudioFlinger.h210 status_t getMicrophones(std::vector<media::MicrophoneInfoFw>* microphones) const final
DAudioFlinger.cpp2873 status_t AudioFlinger::getMicrophones(std::vector<media::MicrophoneInfoFw>* microphones) const in getMicrophones()
2886 std::transform(mics.begin(), mics.end(), std::back_inserter(*microphones), [](auto& mic) in getMicrophones()