Home
last modified time | relevance | path

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

12345678910>>...50

/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h31 class StreamHalInterface : public virtual RefBase
35 virtual status_t getSampleRate(uint32_t *rate) = 0;
38 virtual status_t getBufferSize(size_t *size) = 0;
41 virtual status_t getChannelMask(audio_channel_mask_t *mask) = 0;
44 virtual status_t getFormat(audio_format_t *format) = 0;
47 virtual status_t getAudioProperties(
51 virtual status_t setParameters(const String8& kvPairs) = 0;
54 virtual status_t getParameters(const String8& keys, String8 *values) = 0;
57 virtual status_t getFrameSize(size_t *size) = 0;
60 virtual status_t addEffect(sp<EffectHalInterface> effect) = 0;
[all …]
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h81 virtual ~AudioPolicyInterface() {} in ~AudioPolicyInterface()
88 virtual void onNewAudioModulesAvailable() = 0;
91 virtual status_t setDeviceConnectionState(audio_devices_t device,
97 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
100 virtual status_t handleDeviceConfigChange(audio_devices_t device,
105 virtual void setPhoneState(audio_mode_t state) = 0;
107 virtual void setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) = 0;
109 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
111 virtual void setSystemProperty(const char* property, const char* value) = 0;
113 virtual status_t initCheck() = 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/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/libaudioclient/include/media/
DIAudioPolicyService.h50 virtual void onNewAudioModulesAvailable() = 0;
51 virtual status_t setDeviceConnectionState(audio_devices_t device,
56 virtual audio_policy_dev_state_t getDeviceConnectionState(audio_devices_t device,
58 virtual status_t handleDeviceConfigChange(audio_devices_t device,
62 virtual status_t setPhoneState(audio_mode_t state, uid_t uid) = 0;
63 virtual status_t setForceUse(audio_policy_force_use_t usage,
65 virtual audio_policy_forced_cfg_t getForceUse(audio_policy_force_use_t usage) = 0;
66 virtual audio_io_handle_t getOutput(audio_stream_type_t stream) = 0;
67 virtual status_t getOutputForAttr(audio_attributes_t *attr,
78 virtual status_t startOutput(audio_port_handle_t portId) = 0;
[all …]
/frameworks/av/media/libaudiohal/impl/
DStreamHalLocal.h28 class StreamHalLocal : public virtual StreamHalInterface
32 virtual status_t getSampleRate(uint32_t *rate);
35 virtual status_t getBufferSize(size_t *size);
38 virtual status_t getChannelMask(audio_channel_mask_t *mask);
41 virtual status_t getFormat(audio_format_t *format);
44 virtual status_t getAudioProperties(
48 virtual status_t setParameters(const String8& kvPairs);
51 virtual status_t getParameters(const String8& keys, String8 *values);
54 virtual status_t addEffect(sp<EffectHalInterface> effect);
55 virtual status_t removeEffect(sp<EffectHalInterface> effect);
[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/av/services/camera/libcameraservice/device3/
DCamera3StreamInterface.h72 class Camera3StreamInterface : public virtual RefBase {
82 virtual int getId() const = 0;
87 virtual int getStreamSetId() const = 0;
92 virtual uint32_t getWidth() const = 0;
93 virtual uint32_t getHeight() const = 0;
94 virtual int getFormat() const = 0;
95 virtual android_dataspace getDataSpace() const = 0;
96 virtual void setFormatOverride(bool formatOverriden) = 0;
97 virtual bool isFormatOverridden() const = 0;
98 virtual int getOriginalFormat() const = 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 setVideoSurfaceTexture(
64 virtual status_t getBufferingSettings(
66 virtual status_t setBufferingSettings(const BufferingSettings& buffering) = 0;
67 virtual status_t prepareAsync() = 0;
68 virtual status_t start() = 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/av/media/libmediaplayerservice/
DMediaRecorderClient.h40 virtual ~AudioDeviceUpdatedNotifier();
41 virtual void onAudioDeviceUpdate(
49 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
51 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
52 virtual status_t setVideoSource(int vs);
53 virtual status_t setAudioSource(int as);
56 virtual status_t setOutputFormat(int of);
57 virtual status_t setVideoEncoder(int ve);
58 virtual status_t setAudioEncoder(int ae);
59 virtual status_t setOutputFile(int fd);
[all …]
DMediaPlayerService.h85 virtual ~AudioOutput();
87 virtual bool ready() const { return mTrack != 0; } in ready()
88 virtual ssize_t bufferSize() const;
89 virtual ssize_t frameCount() const;
90 virtual ssize_t channelCount() const;
91 virtual ssize_t frameSize() const;
92 virtual uint32_t latency() const;
93 virtual float msecsPerFrame() const;
94 virtual status_t getPosition(uint32_t *position) const;
95 virtual status_t getTimestamp(AudioTimestamp &ts) const;
[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/hwui/
DCanvas.h92 virtual ~Canvas(){}; in ~Canvas()
134 virtual void setBitmap(const SkBitmap& bitmap) = 0;
136 virtual bool isOpaque() = 0;
137 virtual int width() = 0;
138 virtual int height() = 0;
144 virtual void resetRecording(int width, int height,
146 virtual uirenderer::DisplayList* finishRecording() = 0;
147 virtual void insertReorderBarrier(bool enableReorder) = 0;
151 virtual void drawRoundRect(uirenderer::CanvasPropertyPrimitive* left,
158 virtual void drawCircle(uirenderer::CanvasPropertyPrimitive* x,
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h71 virtual ~CodecCallback() = default;
80 virtual void onEos(status_t err) = 0;
84 virtual void onStartCompleted() = 0;
88 virtual void onStopCompleted() = 0;
92 virtual void onReleaseCompleted() = 0;
96 virtual void onFlushCompleted() = 0;
103 virtual void onError(status_t err, enum ActionCode actionCode) = 0;
110 virtual void onComponentAllocated(const char *componentName) = 0;
117 virtual void onComponentConfigured(
128 virtual void onInputSurfaceCreated(
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DOutput.h152 virtual ~Output();
157 virtual bool isValid() const = 0;
160 virtual std::optional<DisplayId> getDisplayId() const = 0;
163 virtual void setCompositionEnabled(bool) = 0;
166 virtual void setProjection(const ui::Transform&, uint32_t orientation, const Rect& frame,
170 virtual void setBounds(const ui::Size&) = 0;
174 virtual void setLayerStackFilter(uint32_t layerStackId, bool isInternal) = 0;
177 virtual void setColorProfile(const ColorProfile&) = 0;
180 virtual void dump(std::string&) const = 0;
183 virtual const std::string& getName() const = 0;
[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/av/services/audiopolicy/engine/interface/
DEngineInterface.h49 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,
[all …]
/frameworks/native/libs/ui/include/ui/
DGralloc.h34 virtual ~GrallocMapper();
36 virtual bool isLoaded() const = 0;
38 virtual std::string dumpBuffer(buffer_handle_t /*bufferHandle*/, bool /*less*/) const { in dumpBuffer()
42 virtual status_t createDescriptor(void* bufferDescriptorInfo,
49 virtual status_t importBuffer(const hardware::hidl_handle& rawHandle,
52 virtual void freeBuffer(buffer_handle_t bufferHandle) const = 0;
54 virtual status_t validateBufferSize(buffer_handle_t bufferHandle, uint32_t width,
59 virtual void getTransportSize(buffer_handle_t bufferHandle, uint32_t* outNumFds,
64 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds,
70 virtual status_t lock(buffer_handle_t bufferHandle, uint64_t usage, const Rect& bounds,
[all …]
/frameworks/av/services/audioflinger/
DThreads.h42 virtual ~ThreadBase();
44 virtual status_t readyToRun();
60 virtual ~ConfigEventData() {} in ~ConfigEventData()
62 virtual void dump(char *buffer, size_t size) = 0;
87 virtual ~ConfigEvent() {} in ~ConfigEvent()
111 virtual void dump(char *buffer, size_t size) { in dump()
126 virtual ~IoConfigEvent() {} in ~IoConfigEvent()
134 virtual void dump(char *buffer, size_t size) { in dump()
151 virtual ~PrioConfigEvent() {} in ~PrioConfigEvent()
159 virtual void dump(char *buffer, size_t size) { in dump()
[all …]
/frameworks/base/libs/hwui/
DSkiaCanvas.h49 virtual ~SkiaCanvas();
51 virtual void resetRecording(int width, int height, in resetRecording()
56 virtual uirenderer::DisplayList* finishRecording() override { in finishRecording()
60 virtual void insertReorderBarrier(bool enableReorder) override { in insertReorderBarrier()
64 virtual void setBitmap(const SkBitmap& bitmap) override;
66 virtual bool isOpaque() override;
67 virtual int width() override;
68 virtual int height() override;
70 virtual int getSaveCount() const override;
71 virtual int save(SaveFlags::Flags flags) override;
[all …]
/frameworks/rs/cpu_ref/
Drsd_cpu.h53 virtual void populateScript(Script *) = 0;
54 virtual void invokeFunction(uint32_t slot, const void *params, size_t paramLength) = 0;
55 virtual int invokeRoot() = 0;
57 virtual void invokeForEach(uint32_t slot,
65 virtual void invokeReduce(uint32_t slot,
70 virtual void invokeInit() = 0;
71 virtual void invokeFreeChildren() = 0;
73 virtual void setGlobalVar(uint32_t slot, const void *data, size_t dataLength) = 0;
74 virtual void getGlobalVar(uint32_t slot, void *data, size_t dataLength) = 0;
75 virtual void setGlobalVarWithElemDims(uint32_t slot, const void *data, size_t dataLength,
[all …]
/frameworks/base/libs/storage/include/storage/
DIMountService.h36 virtual void registerListener(const sp<IMountServiceListener>& listener) = 0;
37 virtual void
39 virtual bool isUsbMassStorageConnected() = 0;
40 virtual void setUsbMassStorageEnabled(const bool enable) = 0;
41 virtual bool isUsbMassStorageEnabled() = 0;
42 virtual int32_t mountVolume(const String16& mountPoint) = 0;
43 virtual int32_t unmountVolume(
45 virtual int32_t formatVolume(const String16& mountPoint) = 0;
46 virtual int32_t
48 virtual int32_t getVolumeState(const String16& mountPoint) = 0;
[all …]

12345678910>>...50