Lines Matching refs:virtual

55     virtual status_t loadFromHalConfigWithFallback(
63 virtual status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") = 0;
70 virtual status_t initCheck() = 0;
78 virtual void setObserver(AudioPolicyManagerObserver *observer) = 0;
87 virtual status_t setPhoneState(audio_mode_t mode) = 0;
94 virtual audio_mode_t getPhoneState() const = 0;
105 virtual status_t setForceUse(audio_policy_force_use_t usage,
115 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) const = 0;
125 virtual status_t setDeviceConnectionState(const android::sp<android::DeviceDescriptor> devDesc,
136 virtual product_strategy_t getProductStrategyForAttributes(
160 virtual DeviceVector getOutputDevicesForAttributes(
183 virtual DeviceVector getOutputDevicesForStream(audio_stream_type_t stream,
193 virtual sp<DeviceDescriptor> getInputDeviceForAttributes(
206 virtual audio_stream_type_t getStreamTypeForAttributes(
215 virtual audio_attributes_t getAttributesForStreamType(audio_stream_type_t stream) const = 0;
223 virtual StreamTypeVector getStreamTypesForProductStrategy(product_strategy_t ps) const = 0;
236 virtual AttributesVector getAllAttributesForProductStrategy(product_strategy_t ps) const = 0;
243 virtual StrategyVector getOrderedProductStrategies() const = 0;
253 virtual void updateDeviceSelectionCache() = 0;
263 virtual status_t listAudioProductStrategies(AudioProductStrategyVector &strategies) const = 0;
271 virtual IVolumeCurves *getVolumeCurvesForAttributes(const audio_attributes_t &attr) const = 0;
278 virtual IVolumeCurves *getVolumeCurvesForStreamType(audio_stream_type_t stream) const = 0;
285 virtual IVolumeCurves *getVolumeCurvesForVolumeGroup(volume_group_t group) const = 0;
291 virtual VolumeGroupVector getVolumeGroups() const = 0;
302 virtual volume_group_t getVolumeGroupForAttributes(
314 virtual volume_group_t getVolumeGroupForStreamType(
324 virtual status_t listAudioVolumeGroups(AudioVolumeGroupVector &groups) const = 0;
338 virtual status_t setDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role,
350 virtual status_t removeDevicesRoleForStrategy(product_strategy_t strategy, device_role_t role,
361 virtual status_t clearDevicesRoleForStrategy(product_strategy_t strategy,
375 virtual status_t getDevicesForRoleAndStrategy(product_strategy_t strategy, device_role_t role,
391 virtual status_t setDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role,
406 virtual status_t addDevicesRoleForCapturePreset(audio_source_t audioSource, device_role_t role,
419 virtual status_t removeDevicesRoleForCapturePreset(audio_source_t audioSource,
430 virtual status_t clearDevicesRoleForCapturePreset(audio_source_t audioSource,
444 virtual status_t getDevicesForRoleAndCapturePreset(audio_source_t audioSource,
452 virtual DeviceVector getActiveMediaDevices(const DeviceVector& availableDevices) const = 0;
462 virtual void initializeDeviceSelectionCache() = 0;
464 virtual void dump(String8 *dst) const = 0;
467 virtual ~EngineInterface() {} in ~EngineInterface()