Lines Matching refs:virtual
49 virtual status_t initCheck() = 0;
57 virtual void setObserver(AudioPolicyManagerObserver *observer) = 0;
66 virtual status_t setPhoneState(audio_mode_t mode) = 0;
73 virtual audio_mode_t getPhoneState() const = 0;
84 virtual status_t setForceUse(audio_policy_force_use_t usage,
94 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
104 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
114 virtual product_strategy_t getProductStrategyForAttributes(
138 virtual DeviceVector getOutputDevicesForAttributes(
161 virtual DeviceVector getOutputDevicesForStream(audio_stream_type_t stream,
171 virtual sp<DeviceDescriptor> getInputDeviceForAttributes(
181 virtual audio_stream_type_t getStreamTypeForAttributes(
190 virtual audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const = 0;
198 virtual StreamTypeVector getStreamTypesForProductStrategy(product_strategy_t ps) const = 0;
211 virtual AttributesVector getAllAttributesForProductStrategy(product_strategy_t ps) const = 0;
218 virtual StrategyVector getOrderedProductStrategies() const = 0;
228 virtual void updateDeviceSelectionCache() = 0;
238 virtual status_t listAudioProductStrategies(AudioProductStrategyVector &strategies) const = 0;
246 virtual IVolumeCurves *getVolumeCurvesForAttributes(const audio_attributes_t &attr) const = 0;
253 virtual IVolumeCurves *getVolumeCurvesForStreamType(audio_stream_type_t stream) const = 0;
260 virtual IVolumeCurves *getVolumeCurvesForVolumeGroup(volume_group_t group) const = 0;
266 virtual VolumeGroupVector getVolumeGroups() const = 0;
275 virtual volume_group_t getVolumeGroupForAttributes(const audio_attributes_t &attr) const = 0;
284 virtual volume_group_t getVolumeGroupForStreamType(audio_stream_type_t stream) const = 0;
293 virtual status_t listAudioVolumeGroups(AudioVolumeGroupVector &groups) const = 0;
303 virtual status_t setPreferredDeviceForStrategy(product_strategy_t strategy,
313 virtual status_t removePreferredDeviceForStrategy(product_strategy_t strategy) = 0;
324 virtual status_t getPreferredDeviceForStrategy(product_strategy_t strategy,
328 virtual void dump(String8 *dst) const = 0;
331 virtual ~EngineInterface() {} in ~EngineInterface()