Home
last modified time | relevance | path

Searched refs:virtual (Results 1 – 25 of 1573) sorted by relevance

12345678910>>...63

/frameworks/av/services/audioflinger/
DIAfTrack.h56 class IAfTrackBase : public virtual RefBase {
89 virtual status_t initCheck() const = 0;
90 virtual status_t start(
93 virtual void stop() = 0;
94 virtual sp<IMemory> getCblk() const = 0;
95 virtual audio_track_cblk_t* cblk() const = 0;
96 virtual audio_session_t sessionId() const = 0;
97 virtual uid_t uid() const = 0;
98 virtual pid_t creatorPid() const = 0;
99 virtual uint32_t sampleRate() const = 0;
[all …]
DIAfEffect.h48 virtual audio_io_handle_t io() const = 0;
49 virtual bool isOutput() const = 0;
50 virtual bool isOffload() const = 0;
51 virtual bool isOffloadOrDirect() const = 0;
52 virtual bool isOffloadOrMmap() const = 0;
53 virtual bool isSpatializer() const = 0;
54 virtual uint32_t sampleRate() const = 0;
55 virtual audio_channel_mask_t inChannelMask(int id) const = 0;
56 virtual uint32_t inChannelCount(int id) const = 0;
57 virtual audio_channel_mask_t outChannelMask() const = 0;
[all …]
DIAfThread.h68 class IAfThreadCallback : public virtual RefBase {
70 virtual audio_utils::mutex& mutex() const
72 virtual bool isNonOffloadableGlobalEffectEnabled_l() const
74 virtual audio_unique_id_t nextUniqueId(audio_unique_id_use_t use) = 0;
75 virtual bool btNrecIsOff() const = 0;
76 virtual float masterVolume_l() const
78 virtual bool masterMute_l() const
80 virtual float getMasterBalance_l() const
82 virtual bool streamMute_l(audio_stream_type_t stream) const
84 virtual audio_mode_t getMode() const = 0;
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h100 virtual ~AudioPolicyInterface() {} in ~AudioPolicyInterface()
107 virtual void onNewAudioModulesAvailable() = 0;
110 virtual status_t setDeviceConnectionState(audio_policy_dev_state_t state,
114 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
117 virtual status_t handleDeviceConfigChange(audio_devices_t device,
122 virtual void setPhoneState(audio_mode_t state) = 0;
124 virtual void setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) = 0;
126 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
128 virtual void setSystemProperty(const char* property, const char* value) = 0;
130 virtual status_t initCheck() = 0;
[all …]
/frameworks/av/include/media/
DMediaPlayerInterface.h75 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) = 0;
76 virtual ~Listener() {} in ~Listener()
95 virtual ~AudioSink() {} in ~AudioSink()
96 virtual bool ready() const = 0; // audio output is open and ready
97 virtual ssize_t bufferSize() const = 0;
98 virtual ssize_t frameCount() const = 0;
99 virtual ssize_t channelCount() const = 0;
100 virtual ssize_t frameSize() const = 0;
101 virtual uint32_t latency() const = 0;
102 virtual float msecsPerFrame() const = 0;
[all …]
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h75 virtual void notify(int msg, int ext1, int ext2, const Parcel *obj) = 0;
76 virtual ~Listener() {} in ~Listener()
95 virtual ~AudioSink() {} in ~AudioSink()
96 virtual bool ready() const = 0; // audio output is open and ready
97 virtual ssize_t bufferSize() const = 0;
98 virtual ssize_t frameCount() const = 0;
99 virtual ssize_t channelCount() const = 0;
100 virtual ssize_t frameSize() const = 0;
101 virtual uint32_t latency() const = 0;
102 virtual float msecsPerFrame() const = 0;
[all …]
/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h32 class StreamHalInterface : public virtual RefBase
36 virtual status_t getBufferSize(size_t *size) = 0;
42 virtual status_t getAudioProperties(audio_config_base_t *configBase) = 0;
58 virtual status_t setParameters(const String8& kvPairs) = 0;
61 virtual status_t getParameters(const String8& keys, String8 *values) = 0;
64 virtual status_t getFrameSize(size_t *size) = 0;
67 virtual status_t addEffect(sp<EffectHalInterface> effect) = 0;
68 virtual status_t removeEffect(sp<EffectHalInterface> effect) = 0;
71 virtual status_t standby() = 0;
73 virtual status_t dump(int fd, const Vector<String16>& args = {}) = 0;
[all …]
DDeviceHalInterface.h41 class DeviceHalInterface : public virtual RefBase
44 virtual status_t getAudioPorts(std::vector<media::audio::common::AudioPort> *ports) = 0;
46 virtual status_t getAudioRoutes(std::vector<media::AudioRoute> *routes) = 0;
48 virtual status_t getSupportedModes(std::vector<media::audio::common::AudioMode> *modes) = 0;
51 virtual status_t getSupportedDevices(uint32_t *devices) = 0;
54 virtual status_t initCheck() = 0;
57 virtual status_t setVoiceVolume(float volume) = 0;
60 virtual status_t setMasterVolume(float volume) = 0;
63 virtual status_t getMasterVolume(float *volume) = 0;
66 virtual status_t setMode(audio_mode_t mode) = 0;
[all …]
/frameworks/av/media/libmedia/include/media/
DMediaRecorderBase.h38 virtual ~MediaRecorderBase() {} in ~MediaRecorderBase()
40 virtual status_t init() = 0;
41 virtual status_t setAudioSource(audio_source_t as) = 0;
42 virtual status_t setPrivacySensitive(bool privacySensitive) = 0 ;
43 virtual status_t isPrivacySensitive(bool *privacySensitive) const = 0;
44 virtual status_t setVideoSource(video_source vs) = 0;
45 virtual status_t setOutputFormat(output_format of) = 0;
46 virtual status_t setAudioEncoder(audio_encoder ae) = 0;
47 virtual status_t setVideoEncoder(video_encoder ve) = 0;
48 virtual status_t setVideoSize(int width, int height) = 0;
[all …]
DIMediaRecorder.h42 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
44 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
45 virtual status_t setVideoSource(int vs) = 0;
46 virtual status_t setAudioSource(int as) = 0;
47 virtual status_t setPrivacySensitive(bool privacySensitive) = 0;
48 virtual status_t isPrivacySensitive(bool *privacySensitive) const = 0;
49 virtual status_t setOutputFormat(int of) = 0;
50 virtual status_t setVideoEncoder(int ve) = 0;
51 virtual status_t setAudioEncoder(int ae) = 0;
52 virtual status_t setOutputFile(int fd) = 0;
[all …]
DIMediaPlayer.h52 virtual void disconnect() = 0;
54 virtual status_t setDataSource(
59 virtual status_t setDataSource(int fd, int64_t offset, int64_t length) = 0;
60 virtual status_t setDataSource(const sp<IStreamSource>& source) = 0;
61 virtual status_t setDataSource(const sp<IDataSource>& source) = 0;
62 virtual status_t setDataSource(const String8& rtpParams) = 0;
63 virtual status_t setVideoSurfaceTexture(
65 virtual status_t getBufferingSettings(
67 virtual status_t setBufferingSettings(const BufferingSettings& buffering) = 0;
68 virtual status_t prepareAsync() = 0;
[all …]
/frameworks/compile/mclinker/include/mcld/Target/
DTargetLDBackend.h58 virtual ~TargetLDBackend();
61 virtual void initTargetSegments(IRBuilder& pBuilder) {} in initTargetSegments()
62 virtual void initTargetSections(Module& pModule, ObjectBuilder& pBuilder) {} in initTargetSections()
63 virtual void initTargetSymbols(IRBuilder& pBuilder, Module& pModule) {} in initTargetSymbols()
64 virtual void initTargetRelocation(IRBuilder& pBuilder) {} in initTargetRelocation()
65 virtual bool initStandardSymbols(IRBuilder& pBuilder, Module& pModule) = 0;
67 virtual bool initRelocator() = 0;
69 virtual Relocator* getRelocator() = 0;
70 virtual const Relocator* getRelocator() const = 0;
73 virtual ArchiveReader* createArchiveReader(Module&) = 0;
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h162 virtual ~Output();
167 virtual bool isValid() const = 0;
170 virtual std::optional<DisplayId> getDisplayId() const = 0;
173 virtual void setCompositionEnabled(bool) = 0;
176 virtual void setLayerCachingEnabled(bool) = 0;
179 virtual void setLayerCachingTexturePoolEnabled(bool) = 0;
182 virtual void setProjection(ui::Rotation orientation, const Rect& layerStackSpaceRect,
185 virtual void setNextBrightness(float brightness) = 0;
187 virtual void setDisplaySize(const ui::Size&) = 0;
192 virtual ui::Transform::RotationFlags getTransformHint() const = 0;
[all …]
/frameworks/av/services/camera/libcameraservice/utils/
DExifUtils.h63 virtual ~ExifUtils();
69 virtual bool initialize(const unsigned char *app1Segment, size_t app1SegmentSize) = 0;
70 virtual bool initializeEmpty() = 0;
73 virtual bool setFromMetadata(const CameraMetadata& metadata,
79 virtual bool setAperture(float aperture) = 0;
83 virtual bool setColorSpace(uint16_t color_space) = 0;
88 virtual bool setDateTime(const struct tm& t) = 0;
93 virtual bool setDigitalZoomRatio(uint32_t crop_width, uint32_t crop_height,
98 virtual bool setExposureBias(int32_t ev,
103 virtual bool setExposureMode(uint8_t exposure_mode) = 0;
[all …]
/frameworks/base/libs/hwui/hwui/
DCanvas.h77 virtual ~Canvas(){}; in ~Canvas()
119 virtual void setBitmap(const SkBitmap& bitmap) = 0;
121 virtual bool isOpaque() = 0;
122 virtual int width() = 0;
123 virtual int height() = 0;
129 virtual void resetRecording(int width, int height,
131 virtual void finishRecording(uirenderer::RenderNode* destination) = 0;
132 virtual void enableZ(bool enableZ) = 0;
136 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left,
143 virtual void drawCircle(uirenderer::CanvasPropertyPrimitive* x,
[all …]
/frameworks/av/media/libmediaplayerservice/
DMediaRecorderClient.h41 virtual ~AudioDeviceUpdatedNotifier();
42 virtual void onAudioDeviceUpdate(
50 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
52 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
53 virtual status_t setVideoSource(int vs);
54 virtual status_t setAudioSource(int as);
57 virtual status_t setOutputFormat(int of);
58 virtual status_t setVideoEncoder(int ve);
59 virtual status_t setAudioEncoder(int ae);
60 virtual status_t setOutputFile(int fd);
[all …]
/frameworks/native/libs/ui/include/ui/
DGralloc.h35 virtual ~GrallocMapper();
37 virtual bool isLoaded() const = 0;
39 virtual std::string dumpBuffer(buffer_handle_t /*bufferHandle*/, bool /*less*/) const { in dumpBuffer()
47 virtual status_t importBuffer(const native_handle_t* rawHandle,
50 virtual void freeBuffer(buffer_handle_t bufferHandle) const = 0;
52 virtual status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width,
57 virtual void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds,
62 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds,
68 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds,
73 virtual int unlock(buffer_handle_t bufferHandle) const = 0;
[all …]
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h55 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(
[all …]
/frameworks/av/drm/common/include/
DIDrmManagerService.h85 virtual int addUniqueId(bool isNative) = 0;
87 virtual void removeUniqueId(int uniqueId) = 0;
89 virtual void addClient(int uniqueId) = 0;
91 virtual void removeClient(int uniqueId) = 0;
93 virtual status_t setDrmServiceListener(
96 virtual DrmConstraints* getConstraints(
99 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0;
101 virtual bool canHandle(int uniqueId, const String8& path, const String8& mimeType) = 0;
103 virtual DrmInfoStatus* processDrmInfo(int uniqueId, const DrmInfo* drmInfo) = 0;
105 virtual DrmInfo* acquireDrmInfo(int uniqueId, const DrmInfoRequest* drmInforequest) = 0;
[all …]
/frameworks/base/libs/hwui/
DSkiaCanvas.h54 virtual ~SkiaCanvas();
56 virtual void resetRecording(int width, int height, in resetRecording()
61 virtual void finishRecording(uirenderer::RenderNode*) override { in finishRecording()
64 virtual void enableZ(bool enableZ) override { in enableZ()
68 virtual void punchHole(const SkRRect& rect, float alpha) override;
70 virtual void setBitmap(const SkBitmap& bitmap) override;
72 virtual bool isOpaque() override;
73 virtual int width() override;
74 virtual int height() override;
76 virtual int getSaveCount() const override;
[all …]
/frameworks/av/camera/include/camera/android/hardware/
DICamera.h53 virtual binder::Status disconnect() = 0;
56 virtual status_t connect(const sp<ICameraClient>& client) = 0;
59 virtual status_t lock() = 0;
62 virtual status_t unlock() = 0;
65 virtual status_t setPreviewTarget(
71 virtual void setPreviewCallbackFlag(int flag) = 0;
76 virtual status_t setPreviewCallbackTarget(
80 virtual status_t startPreview() = 0;
83 virtual void stopPreview() = 0;
86 virtual bool previewEnabled() = 0;
[all …]
/frameworks/base/services/incremental/
DServiceWrappers.h51 virtual ~VoldServiceWrapper() = default;
52 virtual binder::Status mountIncFs(
56 virtual binder::Status unmountIncFs(const std::string& dir) const = 0;
57 virtual binder::Status bindMount(const std::string& sourceDir,
59 virtual binder::Status setIncFsMountOptions(
66 virtual ~DataLoaderManagerWrapper() = default;
67 virtual binder::Status bindToDataLoader(
70 virtual binder::Status getDataLoader(MountId mountId,
72 virtual binder::Status unbindFromDataLoader(MountId mountId) const = 0;
94 virtual ~IncFsWrapper() = default;
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamInterface.h179 class Camera3StreamInterface : public virtual RefBase {
189 virtual int getId() const = 0;
194 virtual int getStreamSetId() const = 0;
199 virtual bool isMultiResolution() const = 0;
204 virtual int getHalStreamGroupId() const = 0;
209 virtual uint32_t getWidth() const = 0;
210 virtual uint32_t getHeight() const = 0;
211 virtual int getFormat() const = 0;
212 virtual int64_t getDynamicRangeProfile() const = 0;
213 virtual android_dataspace getDataSpace() const = 0;
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h82 virtual ~CodecCryptoInfo() {} in ~CodecCryptoInfo()
106 virtual ~CodecCallback() = default;
115 virtual void onEos(status_t err) = 0;
119 virtual void onStartCompleted() = 0;
123 virtual void onStopCompleted() = 0;
127 virtual void onReleaseCompleted() = 0;
131 virtual void onFlushCompleted() = 0;
138 virtual void onError(status_t err, enum ActionCode actionCode) = 0;
145 virtual void onComponentAllocated(const char *componentName) = 0;
152 virtual void onComponentConfigured(
[all …]
/frameworks/native/services/inputflinger/dispatcher/include/
DInputDispatcherInterface.h38 virtual ~InputDispatcherInterface() {} in ~InputDispatcherInterface()
42 virtual void dump(std::string& dump) const = 0;
45 virtual void monitor() = 0;
53 virtual bool waitForIdle() const = 0;
60 virtual status_t start() = 0;
63 virtual status_t stop() = 0;
78 virtual android::os::InputEventInjectionResult injectInputEvent(
88 virtual std::unique_ptr<VerifiedInputEvent> verifyInputEvent(const InputEvent& event) = 0;
94 virtual void setFocusedApplication(
102 virtual void setFocusedDisplay(ui::LogicalDisplayId displayId) = 0;
[all …]

12345678910>>...63