Lines Matching refs:media
32 using SrcSinkPair = std::pair<aidl::android::media::audio::common::AudioPortConfig,
33 aidl::android::media::audio::common::AudioPortConfig>;
37 static std::optional<aidl::android::media::audio::common::AudioOffloadInfo>
39 const aidl::android::media::audio::common::AudioPortConfig& portConfig);
41 static std::vector<aidl::android::media::audio::common::AudioPort> getAudioPortsForDeviceTypes(
42 const std::vector<aidl::android::media::audio::common::AudioPort>& ports,
43 const std::vector<aidl::android::media::audio::common::AudioDeviceType>& deviceTypes,
45 static std::vector<aidl::android::media::audio::common::AudioPort> getBuiltInMicPorts(
46 const std::vector<aidl::android::media::audio::common::AudioPort>& ports);
52 std::vector<aidl::android::media::audio::common::AudioPort> getAttachedDevicePorts() const;
53 std::vector<aidl::android::media::audio::common::AudioPort> getAudioPortsForDeviceTypes(
54 const std::vector<aidl::android::media::audio::common::AudioDeviceType>& deviceTypes,
56 std::vector<aidl::android::media::audio::common::AudioPort> getConnectedExternalDevicePorts()
60 std::vector<aidl::android::media::audio::common::AudioPort> getAttachedMicrophonePorts() const { in getAttachedMicrophonePorts()
63 std::vector<aidl::android::media::audio::common::AudioPort> getExternalDevicePorts() const;
64 std::vector<aidl::android::media::audio::common::AudioPort> getInputMixPorts(
66 std::vector<aidl::android::media::audio::common::AudioPort> getOutputMixPorts(
68 std::vector<aidl::android::media::audio::common::AudioPort> getMixPorts( in getMixPorts()
73 std::vector<aidl::android::media::audio::common::AudioPort> getNonBlockingMixPorts(
76 std::vector<aidl::android::media::audio::common::AudioPort> getOffloadMixPorts(
79 std::vector<aidl::android::media::audio::common::AudioPort> getPrimaryMixPorts(
82 std::vector<aidl::android::media::audio::common::AudioPort> getMmapOutMixPorts(
85 std::vector<aidl::android::media::audio::common::AudioPort> getMmapInMixPorts(
88 std::vector<aidl::android::media::audio::common::AudioPort> getRemoteSubmixPorts(
91 std::vector<aidl::android::media::audio::common::AudioPort> getConnectedDevicesPortsForMixPort( in getConnectedDevicesPortsForMixPort()
92 bool isInput, const aidl::android::media::audio::common::AudioPort& mixPort) const { in getConnectedDevicesPortsForMixPort()
96 std::vector<aidl::android::media::audio::common::AudioPort> getConnectedDevicesPortsForMixPort(
98 const aidl::android::media::audio::common::AudioPortConfig& mixPortConfig) const;
99 std::vector<aidl::android::media::audio::common::AudioPort>
101 const aidl::android::media::audio::common::AudioPort& mixPort) const;
102 std::vector<aidl::android::media::audio::common::AudioPort>
104 const aidl::android::media::audio::common::AudioPort& mixPort) const;
105 std::optional<aidl::android::media::audio::common::AudioPort>
108 std::vector<aidl::android::media::audio::common::AudioPort> getRoutableDevicePortsForMixPort(
109 const aidl::android::media::audio::common::AudioPort& port,
111 std::vector<aidl::android::media::audio::common::AudioPort> getRoutableMixPortsForDevicePort(
112 const aidl::android::media::audio::common::AudioPort& port,
119 std::vector<aidl::android::media::audio::common::AudioPortConfig>
123 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForMixPorts() in getPortConfigsForMixPorts()
132 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForMixPorts( in getPortConfigsForMixPorts()
137 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForMixPorts( in getPortConfigsForMixPorts()
138 bool isInput, const aidl::android::media::audio::common::AudioPort& port) const { in getPortConfigsForMixPorts()
141 std::optional<aidl::android::media::audio::common::AudioPortConfig> getSingleConfigForMixPort( in getSingleConfigForMixPort()
150 std::optional<aidl::android::media::audio::common::AudioPortConfig> getSingleConfigForMixPort( in getSingleConfigForMixPort()
151 bool isInput, const aidl::android::media::audio::common::AudioPort& port) const { in getSingleConfigForMixPort()
159 std::vector<aidl::android::media::audio::common::AudioPortConfig> getPortConfigsForDevicePort( in getPortConfigsForDevicePort()
160 const aidl::android::media::audio::common::AudioPort& port) const { in getPortConfigsForDevicePort()
163 aidl::android::media::audio::common::AudioPortConfig getSingleConfigForDevicePort( in getSingleConfigForDevicePort()
164 const aidl::android::media::audio::common::AudioPort& port) const { in getSingleConfigForDevicePort()
169 std::optional<aidl::android::media::audio::common::AudioPort> getPort(int32_t portId);
173 const aidl::android::media::audio::common::AudioPort& port);
176 const aidl::android::media::audio::common::AudioPort& port);
183 std::vector<aidl::android::media::audio::common::AudioPort> findMixPorts(
185 const std::function<bool(const aidl::android::media::audio::common::AudioPort&)>& pred)
188 std::vector<aidl::android::media::audio::common::AudioPortConfig> generateAudioMixPortConfigs(
189 const std::vector<aidl::android::media::audio::common::AudioPort>& ports, bool isInput,
196 std::vector<aidl::android::media::audio::common::AudioPortConfig>
198 const std::vector<aidl::android::media::audio::common::AudioPort>& ports,
202 std::vector<aidl::android::media::audio::common::AudioPort> mPorts;
203 std::vector<aidl::android::media::audio::common::AudioPortConfig> mInitialConfigs;