Searched refs:MicrophoneInfo (Results 1 – 25 of 55) sorted by relevance
123
19 import android.media.MicrophoneInfo;38 void getActiveMicrophones(out MicrophoneInfo[] activeMicrophones); in getActiveMicrophones()
19 parcelable MicrophoneInfo cpp_header "media/MicrophoneInfo.h";
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;
75 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
74 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
266 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
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,
370 std::vector<media::MicrophoneInfo> *microphonesInfo __unused) { in getMicrophones()375 status_t DeviceHalHidl::getMicrophones(std::vector<media::MicrophoneInfo> *microphonesInfo) { in getMicrophones()379 [&](Result r, hidl_vec<MicrophoneInfo> micArrayHal) { in getMicrophones()385 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()
107 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
114 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
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()
30 const media::MicrophoneInfo *microphoneInfo);
35 public final class MicrophoneInfo { class168 MicrophoneInfo(String deviceId, int type, String address, int location, in MicrophoneInfo() method in MicrophoneInfo
5055 public static void setPortIdForMicrophones(ArrayList<MicrophoneInfo> microphones) { in setPortIdForMicrophones()5080 public static MicrophoneInfo microphoneInfoFromAudioDeviceInfo(AudioDeviceInfo deviceInfo) { in microphoneInfoFromAudioDeviceInfo()5083 || deviceType == AudioDeviceInfo.TYPE_TELEPHONY) ? MicrophoneInfo.LOCATION_MAINBODY in microphoneInfoFromAudioDeviceInfo()5084 : deviceType == AudioDeviceInfo.TYPE_UNKNOWN ? MicrophoneInfo.LOCATION_UNKNOWN in microphoneInfoFromAudioDeviceInfo()5085 : MicrophoneInfo.LOCATION_PERIPHERAL; in microphoneInfoFromAudioDeviceInfo()5086 MicrophoneInfo microphone = new MicrophoneInfo( in microphoneInfoFromAudioDeviceInfo()5089 MicrophoneInfo.GROUP_UNKNOWN, MicrophoneInfo.INDEX_IN_THE_GROUP_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()5090 MicrophoneInfo.POSITION_UNKNOWN, MicrophoneInfo.ORIENTATION_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()5092 MicrophoneInfo.SENSITIVITY_UNKNOWN, MicrophoneInfo.SPL_UNKNOWN, in microphoneInfoFromAudioDeviceInfo()5093 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()
112 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);
73 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
83 std::vector<media::MicrophoneInfo>* activeMicrophones);