Searched refs:MicrophoneInfo (Results 1 – 25 of 53) 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;
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,
400 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()
391 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()
107 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
871 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()
114 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones);
210 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
1565 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()
5708 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 …]
1785 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()
64 // This is needed because the stream interface includes media/MicrophoneInfo.h
113 virtual status_t getMicrophones(std::vector<media::MicrophoneInfo> *microphones) = 0;
191 virtual status_t getActiveMicrophones(std::vector<media::MicrophoneInfo> *microphones) = 0;
72 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
76 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
77 std::vector<media::MicrophoneInfo>* activeMicrophones) = 0;
268 status_t getActiveMicrophones(std::vector<media::MicrophoneInfo>* activeMicrophones);
85 std::vector<media::MicrophoneInfo>* activeMicrophones);