Searched refs:MicrophoneInfo (Results 1 – 25 of 55) sorted by relevance
123
38 class MicrophoneInfo : public Parcelable {40 MicrophoneInfo() = default;41 MicrophoneInfo(const MicrophoneInfo& microphoneInfo) = default;42 MicrophoneInfo(audio_microphone_characteristic_t& characteristic) { in MicrophoneInfo() function73 virtual ~MicrophoneInfo() = default;
19 import android.media.MicrophoneInfo;38 void getActiveMicrophones(out MicrophoneInfo[] activeMicrophones); in getActiveMicrophones()
19 parcelable MicrophoneInfo cpp_header "media/MicrophoneInfo.h";
192 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()
86 using ::android::hardware::audio::CPP_VERSION::MicrophoneInfo;87 void microphoneInfoToHal(const MicrophoneInfo& src,
368 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()
354 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()
813 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()
107 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
114 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
205 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones);
30 const media::MicrophoneInfo *microphoneInfo);
49 const media::MicrophoneInfo *microphoneInfo) in convertMicrophoneInfoFromNative()
35 public final class MicrophoneInfo { class168 MicrophoneInfo(String deviceId, int type, String address, int location, in MicrophoneInfo() method in MicrophoneInfo
5087 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 …]
1520 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()
1718 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()
64 // This is needed because the stream interface includes media/MicrophoneInfo.h
113 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones) = 0;
180 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones) = 0;
72 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
74 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
75 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
266 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
83 std::vector<media::MicrophoneInfo>* activeMicrophones);