Home
last modified time | relevance | path

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

123

/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/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/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.cpp400 std::vector<media::MicrophoneInfo> *microphonesInfo __unused) { in getMicrophones()
405 status_t DeviceHalHidl::getMicrophones(std::vector<media::MicrophoneInfo> *microphonesInfo) { in getMicrophones()
409 [&](Result r, hidl_vec<MicrophoneInfo> micArrayHal) { in getMicrophones()
415 media::MicrophoneInfo microphone = media::MicrophoneInfo(dst); in getMicrophones()
DStreamHalLocal.cpp391 std::vector<media::MicrophoneInfo> *microphones __unused) { in getActiveMicrophones()
395 status_t StreamInHalLocal::getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones) { in getActiveMicrophones()
401 media::MicrophoneInfo microphoneInfo = media::MicrophoneInfo(mic_array[i]); in getActiveMicrophones()
DDeviceHalLocal.h107 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
DStreamHalHidl.cpp871 std::vector<media::MicrophoneInfo> *microphones __unused) { in getActiveMicrophones()
884 std::vector<media::MicrophoneInfo> *microphonesInfo) { in getActiveMicrophones()
888 [&](Result r, hidl_vec<MicrophoneInfo> micArrayHal) { in getActiveMicrophones()
894 media::MicrophoneInfo microphone = media::MicrophoneInfo(dst); in getActiveMicrophones()
DDeviceHalHidl.h114 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
DStreamHalLocal.h210 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
DMediaRecorder.java1565 public List<MicrophoneInfo> getActiveMicrophones() throws IOException { in getActiveMicrophones()
1566 ArrayList<MicrophoneInfo> activeMicrophones = new ArrayList<>(); in getActiveMicrophones()
1580 MicrophoneInfo microphone = AudioManager.microphoneInfoFromAudioDeviceInfo(device); in getActiveMicrophones()
1583 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones()
1593 ArrayList<MicrophoneInfo> activeMicrophones); in native_getActiveMicrophones()
DAudioManager.java5708 public static void setPortIdForMicrophones(ArrayList<MicrophoneInfo> microphones) { in setPortIdForMicrophones()
5733 public static MicrophoneInfo microphoneInfoFromAudioDeviceInfo(AudioDeviceInfo deviceInfo) { in microphoneInfoFromAudioDeviceInfo()
5736 || deviceType == AudioDeviceInfo.TYPE_TELEPHONY) ? MicrophoneInfo.LOCATION_MAINBODY in microphoneInfoFromAudioDeviceInfo()
5737 : deviceType == AudioDeviceInfo.TYPE_UNKNOWN ? MicrophoneInfo.LOCATION_UNKNOWN in microphoneInfoFromAudioDeviceInfo()
5738 : MicrophoneInfo.LOCATION_PERIPHERAL; in microphoneInfoFromAudioDeviceInfo()
5739 MicrophoneInfo microphone = new MicrophoneInfo( in microphoneInfoFromAudioDeviceInfo()
5742 MicrophoneInfo.GROUP_UNKNOWN, MicrophoneInfo.INDEX_IN_THE_GROUP_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()
5743 MicrophoneInfo.POSITION_UNKNOWN, MicrophoneInfo.ORIENTATION_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()
5745 MicrophoneInfo.SENSITIVITY_UNKNOWN, MicrophoneInfo.SPL_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()
5746 MicrophoneInfo.SPL_UNKNOWN, MicrophoneInfo.DIRECTIONALITY_UNKNOWN); in microphoneInfoFromAudioDeviceInfo()
[all …]
DAudioRecord.java1785 public List<MicrophoneInfo> getActiveMicrophones() throws IOException { in getActiveMicrophones()
1786 ArrayList<MicrophoneInfo> activeMicrophones = new ArrayList<>(); in getActiveMicrophones()
1800 MicrophoneInfo microphone = AudioManager.microphoneInfoFromAudioDeviceInfo(device); in getActiveMicrophones()
1803 channelMapping.add(new Pair(i, MicrophoneInfo.CHANNEL_MAPPING_DIRECT)); in getActiveMicrophones()
2042 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.h191 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.h76 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
DIMediaRecorder.h77 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
Dmediarecorder.h268 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.h85 std::vector<media::MicrophoneInfo>* activeMicrophones);

123