Home
last modified time | relevance | path

Searched refs:MicrophoneInfo (Results 1 – 25 of 55) sorted by relevance

123

/frameworks/av/include/media/
DMicrophoneInfo.h38 class MicrophoneInfo : public Parcelable {
40 MicrophoneInfo() = default;
41 MicrophoneInfo(const MicrophoneInfo& microphoneInfo) = default;
42 MicrophoneInfo(audio_microphone_characteristic_t& characteristic) { in MicrophoneInfo() function
73 virtual ~MicrophoneInfo() = default;
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioRecord.aidl19 import android.media.MicrophoneInfo;
38 void getActiveMicrophones(out MicrophoneInfo[] activeMicrophones); in getActiveMicrophones()
DMicrophoneInfo.aidl19 parcelable MicrophoneInfo cpp_header "media/MicrophoneInfo.h";
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.cpp192 std::vector<media::MicrophoneInfo> *microphones __unused) { in getMicrophones()
196 status_t DeviceHalLocal::getMicrophones(std::vector<media::MicrophoneInfo> *microphones) { in getMicrophones()
202 media::MicrophoneInfo microphoneInfo = media::MicrophoneInfo(mic_array[i]); in getMicrophones()
DConversionHelperHidl.h86 using ::android::hardware::audio::CPP_VERSION::MicrophoneInfo;
87 void microphoneInfoToHal(const MicrophoneInfo& src,
DDeviceHalHidl.cpp368 std::vector<media::MicrophoneInfo> *microphonesInfo __unused) { in getMicrophones()
373 status_t DeviceHalHidl::getMicrophones(std::vector<media::MicrophoneInfo> *microphonesInfo) { in getMicrophones()
377 [&](Result r, hidl_vec<MicrophoneInfo> micArrayHal) { in getMicrophones()
383 media::MicrophoneInfo microphone = media::MicrophoneInfo(dst); in getMicrophones()
DStreamHalLocal.cpp354 std::vector<media::MicrophoneInfo> *microphones __unused) { in getActiveMicrophones()
358 status_t StreamInHalLocal::getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones) { in getActiveMicrophones()
364 media::MicrophoneInfo microphoneInfo = media::MicrophoneInfo(mic_array[i]); in getActiveMicrophones()
DStreamHalHidl.cpp813 std::vector<media::MicrophoneInfo> *microphones __unused) { in getActiveMicrophones()
826 std::vector<media::MicrophoneInfo> *microphonesInfo) { in getActiveMicrophones()
830 [&](Result r, hidl_vec<MicrophoneInfo> micArrayHal) { in getActiveMicrophones()
836 media::MicrophoneInfo microphone = media::MicrophoneInfo(dst); in getActiveMicrophones()
DDeviceHalLocal.h107 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
DDeviceHalHidl.h114 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
DStreamHalLocal.h205 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones);
/frameworks/base/core/jni/
Dandroid_media_MicrophoneInfo.h30 const media::MicrophoneInfo *microphoneInfo);
Dandroid_media_MicrophoneInfo.cpp49 const media::MicrophoneInfo *microphoneInfo) in convertMicrophoneInfoFromNative()
/frameworks/base/media/java/android/media/
DMicrophoneInfo.java35 public final class MicrophoneInfo { class
168 MicrophoneInfo(String deviceId, int type, String address, int location, in MicrophoneInfo() method in MicrophoneInfo
DAudioManager.java5087 public static void setPortIdForMicrophones(ArrayList<MicrophoneInfo> microphones) { in setPortIdForMicrophones()
5112 public static MicrophoneInfo microphoneInfoFromAudioDeviceInfo(AudioDeviceInfo deviceInfo) { in microphoneInfoFromAudioDeviceInfo()
5115 || deviceType == AudioDeviceInfo.TYPE_TELEPHONY) ? MicrophoneInfo.LOCATION_MAINBODY in microphoneInfoFromAudioDeviceInfo()
5116 : deviceType == AudioDeviceInfo.TYPE_UNKNOWN ? MicrophoneInfo.LOCATION_UNKNOWN in microphoneInfoFromAudioDeviceInfo()
5117 : MicrophoneInfo.LOCATION_PERIPHERAL; in microphoneInfoFromAudioDeviceInfo()
5118 MicrophoneInfo microphone = new MicrophoneInfo( in microphoneInfoFromAudioDeviceInfo()
5121 MicrophoneInfo.GROUP_UNKNOWN, MicrophoneInfo.INDEX_IN_THE_GROUP_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()
5122 MicrophoneInfo.POSITION_UNKNOWN, MicrophoneInfo.ORIENTATION_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()
5124 MicrophoneInfo.SENSITIVITY_UNKNOWN, MicrophoneInfo.SPL_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()
5125 MicrophoneInfo.SPL_UNKNOWN, MicrophoneInfo.DIRECTIONALITY_UNKNOWN); in microphoneInfoFromAudioDeviceInfo()
[all …]
DMediaRecorder.java1520 public List<MicrophoneInfo> getActiveMicrophones() throws IOException { in getActiveMicrophones()
1521 ArrayList<MicrophoneInfo> activeMicrophones = new ArrayList<>(); in getActiveMicrophones()
1535 MicrophoneInfo microphone = AudioManager.microphoneInfoFromAudioDeviceInfo(device); in getActiveMicrophones()
1538 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones()
1548 ArrayList<MicrophoneInfo> activeMicrophones); in native_getActiveMicrophones()
DAudioRecord.java1718 public List<MicrophoneInfo> getActiveMicrophones() throws IOException { in getActiveMicrophones()
1719 ArrayList<MicrophoneInfo> activeMicrophones = new ArrayList<>(); in getActiveMicrophones()
1733 MicrophoneInfo microphone = AudioManager.microphoneInfoFromAudioDeviceInfo(device); in getActiveMicrophones()
1736 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones()
1972 ArrayList<MicrophoneInfo> activeMicrophones); in native_get_active_microphones()
/frameworks/av/media/libaudiohal/
DAndroid.bp64 // This is needed because the stream interface includes media/MicrophoneInfo.h
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h113 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones) = 0;
DStreamHalInterface.h180 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones) = 0;
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h72 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h74 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
DIMediaRecorder.h75 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
Dmediarecorder.h266 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.h83 std::vector<media::MicrophoneInfo>* activeMicrophones);

123