Home
last modified time | relevance | path

Searched refs:status_t (Results 1 – 25 of 1354) sorted by relevance

12345678910>>...55

/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h47 virtual status_t init();
48 virtual status_t setAudioSource(audio_source_t as);
49 virtual status_t setVideoSource(video_source vs);
50 virtual status_t setOutputFormat(output_format of);
51 virtual status_t setAudioEncoder(audio_encoder ae);
52 virtual status_t setVideoEncoder(video_encoder ve);
53 virtual status_t setVideoSize(int width, int height);
54 virtual status_t setVideoFrameRate(int frames_per_second);
55 …virtual status_t setCamera(const sp<hardware::ICamera>& camera, const sp<ICameraRecordingProxy>& p…
56 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
[all …]
DMediaRecorderClient.h64 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
66 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
67 virtual status_t setVideoSource(int vs);
68 virtual status_t setAudioSource(int as);
69 virtual status_t setOutputFormat(int of);
70 virtual status_t setVideoEncoder(int ve);
71 virtual status_t setAudioEncoder(int ae);
72 virtual status_t setOutputFile(int fd);
73 virtual status_t setNextOutputFile(int fd);
74 virtual status_t setVideoSize(int width, int height);
[all …]
/frameworks/native/libs/binder/include/binder/
DParcel.h66 status_t setDataSize(size_t size);
68 status_t setDataCapacity(size_t size);
70 status_t setData(const uint8_t* buffer, size_t len);
72 status_t appendFrom(const Parcel *parcel,
84 status_t writeInterfaceToken(const String16& interface);
105 status_t errorCheck() const;
106 void setError(status_t err);
108 status_t write(const void* data, size_t len);
110 status_t writeUnpadded(const void* data, size_t len);
111 status_t writeInt32(int32_t val);
[all …]
/frameworks/av/media/libaudiohal/
DStreamHalLocal.h31 virtual status_t getSampleRate(uint32_t *rate);
34 virtual status_t getBufferSize(size_t *size);
37 virtual status_t getChannelMask(audio_channel_mask_t *mask);
40 virtual status_t getFormat(audio_format_t *format);
43 virtual status_t getAudioProperties(
47 virtual status_t setParameters(const String8& kvPairs);
50 virtual status_t getParameters(const String8& keys, String8 *values);
53 virtual status_t addEffect(sp<EffectHalInterface> effect);
54 virtual status_t removeEffect(sp<EffectHalInterface> effect);
57 virtual status_t standby();
[all …]
DStreamHalHidl.h51 virtual status_t getSampleRate(uint32_t *rate);
54 virtual status_t getBufferSize(size_t *size);
57 virtual status_t getChannelMask(audio_channel_mask_t *mask);
60 virtual status_t getFormat(audio_format_t *format);
63 virtual status_t getAudioProperties(
67 virtual status_t setParameters(const String8& kvPairs);
70 virtual status_t getParameters(const String8& keys, String8 *values);
73 virtual status_t addEffect(sp<EffectHalInterface> effect);
74 virtual status_t removeEffect(sp<EffectHalInterface> effect);
77 virtual status_t standby();
[all …]
/frameworks/av/include/media/
Dmediaplayer.h218 status_t setDataSource(
223 status_t setDataSource(int fd, int64_t offset, int64_t length);
224 status_t setDataSource(const sp<IDataSource> &source);
225 status_t setVideoSurfaceTexture(
227 status_t setListener(const sp<MediaPlayerListener>& listener);
228 status_t getDefaultBufferingSettings(BufferingSettings* buffering /* nonnull */);
229 status_t getBufferingSettings(BufferingSettings* buffering /* nonnull */);
230 status_t setBufferingSettings(const BufferingSettings& buffering);
231 status_t prepare();
232 status_t prepareAsync();
[all …]
DIMediaPlayer.h54 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 getDefaultBufferingSettings(
66 virtual status_t setBufferingSettings(const BufferingSettings& buffering) = 0;
67 virtual status_t prepareAsync() = 0;
68 virtual status_t start() = 0;
69 virtual status_t stop() = 0;
[all …]
DIMediaRecorder.h39 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
41 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
42 virtual status_t setVideoSource(int vs) = 0;
43 virtual status_t setAudioSource(int as) = 0;
44 virtual status_t setOutputFormat(int of) = 0;
45 virtual status_t setVideoEncoder(int ve) = 0;
46 virtual status_t setAudioEncoder(int ae) = 0;
47 virtual status_t setOutputFile(int fd) = 0;
48 virtual status_t setNextOutputFile(int fd) = 0;
49 virtual status_t setVideoSize(int width, int height) = 0;
[all …]
DMediaRecorderBase.h36 virtual status_t init() = 0;
37 virtual status_t setAudioSource(audio_source_t as) = 0;
38 virtual status_t setVideoSource(video_source vs) = 0;
39 virtual status_t setOutputFormat(output_format of) = 0;
40 virtual status_t setAudioEncoder(audio_encoder ae) = 0;
41 virtual status_t setVideoEncoder(video_encoder ve) = 0;
42 virtual status_t setVideoSize(int width, int height) = 0;
43 virtual status_t setVideoFrameRate(int frames_per_second) = 0;
44 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
46 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
[all …]
DAudioSystem.h34 typedef void (*audio_error_callback)(status_t err);
55 static status_t muteMicrophone(bool state);
56 static status_t isMicrophoneMuted(bool *state);
59 static status_t setMasterVolume(float value);
60 static status_t getMasterVolume(float* volume);
63 static status_t setMasterMute(bool mute);
64 static status_t getMasterMute(bool* mute);
67 static status_t setStreamVolume(audio_stream_type_t stream, float value,
69 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
73 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
[all …]
Dmediarecorder.h41 typedef void (*media_completion_f)(status_t status, void *cookie);
223 status_t initCheck();
224 status_t setCamera(const sp<hardware::ICamera>& camera,
226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
227 status_t setVideoSource(int vs);
228 status_t setAudioSource(int as);
229 status_t setOutputFormat(int of);
230 status_t setVideoEncoder(int ve);
231 status_t setAudioEncoder(int ae);
232 status_t setOutputFile(int fd);
[all …]
DMediaPlayerInterface.h104 virtual status_t getPosition(uint32_t *position) const = 0;
105 virtual status_t getTimestamp(AudioTimestamp &ts) const = 0;
107 virtual status_t getFramesWritten(uint32_t *frameswritten) const = 0;
115 virtual status_t open(
126 virtual status_t start() = 0;
145 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate) = 0;
146 virtual status_t getPlaybackRate(AudioPlaybackRate* rate /* nonnull */) = 0;
149 virtual status_t setParameters(const String8& /* keyValuePairs */) { return NO_ERROR; } in setParameters()
160 virtual status_t initCheck() = 0;
163 virtual status_t setUID(uid_t /* uid */) { in setUID()
[all …]
/frameworks/av/media/libmedia/include/media/
Dmediaplayer.h218 status_t setDataSource(
223 status_t setDataSource(int fd, int64_t offset, int64_t length);
224 status_t setDataSource(const sp<IDataSource> &source);
225 status_t setVideoSurfaceTexture(
227 status_t setListener(const sp<MediaPlayerListener>& listener);
228 status_t getDefaultBufferingSettings(BufferingSettings* buffering /* nonnull */);
229 status_t getBufferingSettings(BufferingSettings* buffering /* nonnull */);
230 status_t setBufferingSettings(const BufferingSettings& buffering);
231 status_t prepare();
232 status_t prepareAsync();
[all …]
DIMediaPlayer.h54 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 getDefaultBufferingSettings(
66 virtual status_t setBufferingSettings(const BufferingSettings& buffering) = 0;
67 virtual status_t prepareAsync() = 0;
68 virtual status_t start() = 0;
69 virtual status_t stop() = 0;
[all …]
DMediaRecorderBase.h36 virtual status_t init() = 0;
37 virtual status_t setAudioSource(audio_source_t as) = 0;
38 virtual status_t setVideoSource(video_source vs) = 0;
39 virtual status_t setOutputFormat(output_format of) = 0;
40 virtual status_t setAudioEncoder(audio_encoder ae) = 0;
41 virtual status_t setVideoEncoder(video_encoder ve) = 0;
42 virtual status_t setVideoSize(int width, int height) = 0;
43 virtual status_t setVideoFrameRate(int frames_per_second) = 0;
44 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
46 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
[all …]
DIMediaRecorder.h39 virtual status_t setCamera(const sp<hardware::ICamera>& camera,
41 virtual status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface) = 0;
42 virtual status_t setVideoSource(int vs) = 0;
43 virtual status_t setAudioSource(int as) = 0;
44 virtual status_t setOutputFormat(int of) = 0;
45 virtual status_t setVideoEncoder(int ve) = 0;
46 virtual status_t setAudioEncoder(int ae) = 0;
47 virtual status_t setOutputFile(int fd) = 0;
48 virtual status_t setNextOutputFile(int fd) = 0;
49 virtual status_t setVideoSize(int width, int height) = 0;
[all …]
Dmediarecorder.h41 typedef void (*media_completion_f)(status_t status, void *cookie);
223 status_t initCheck();
224 status_t setCamera(const sp<hardware::ICamera>& camera,
226 status_t setPreviewSurface(const sp<IGraphicBufferProducer>& surface);
227 status_t setVideoSource(int vs);
228 status_t setAudioSource(int as);
229 status_t setOutputFormat(int of);
230 status_t setVideoEncoder(int ve);
231 status_t setAudioEncoder(int ae);
232 status_t setOutputFile(int fd);
[all …]
/frameworks/av/media/libaudiohal/include/media/audiohal/
DStreamHalInterface.h32 virtual status_t getSampleRate(uint32_t *rate) = 0;
35 virtual status_t getBufferSize(size_t *size) = 0;
38 virtual status_t getChannelMask(audio_channel_mask_t *mask) = 0;
41 virtual status_t getFormat(audio_format_t *format) = 0;
44 virtual status_t getAudioProperties(
48 virtual status_t setParameters(const String8& kvPairs) = 0;
51 virtual status_t getParameters(const String8& keys, String8 *values) = 0;
54 virtual status_t getFrameSize(size_t *size) = 0;
57 virtual status_t addEffect(sp<EffectHalInterface> effect) = 0;
58 virtual status_t removeEffect(sp<EffectHalInterface> effect) = 0;
[all …]
DDeviceHalInterface.h34 virtual status_t getSupportedDevices(uint32_t *devices) = 0;
37 virtual status_t initCheck() = 0;
40 virtual status_t setVoiceVolume(float volume) = 0;
43 virtual status_t setMasterVolume(float volume) = 0;
46 virtual status_t getMasterVolume(float *volume) = 0;
49 virtual status_t setMode(audio_mode_t mode) = 0;
52 virtual status_t setMicMute(bool state) = 0;
53 virtual status_t getMicMute(bool *state) = 0;
54 virtual status_t setMasterMute(bool state) = 0;
55 virtual status_t getMasterMute(bool *state) = 0;
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDriver.h30 virtual status_t initCheck();
32 virtual status_t setUID(uid_t uid);
34 virtual status_t setDataSource(
39 virtual status_t setDataSource(int fd, int64_t offset, int64_t length);
41 virtual status_t setDataSource(const sp<IStreamSource> &source);
43 virtual status_t setDataSource(const sp<DataSource>& dataSource);
45 virtual status_t setVideoSurfaceTexture(
48 virtual status_t getDefaultBufferingSettings(
50 virtual status_t setBufferingSettings(const BufferingSettings& buffering) override;
52 virtual status_t prepare();
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCamera2Client.h57 virtual status_t connect(const sp<hardware::ICameraClient>& client);
58 virtual status_t lock();
59 virtual status_t unlock();
60 virtual status_t setPreviewTarget(
63 virtual status_t setPreviewCallbackTarget(
66 virtual status_t startPreview();
69 virtual status_t setVideoBufferMode(int32_t videoBufferMode);
70 virtual status_t startRecording();
77 virtual status_t autoFocus();
78 virtual status_t cancelAutoFocus();
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h34 typedef void (*audio_error_callback)(status_t err);
55 static status_t muteMicrophone(bool state);
56 static status_t isMicrophoneMuted(bool *state);
59 static status_t setMasterVolume(float value);
60 static status_t getMasterVolume(float* volume);
63 static status_t setMasterMute(bool mute);
64 static status_t getMasterMute(bool* mute);
67 static status_t setStreamVolume(audio_stream_type_t stream, float value,
69 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
73 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
[all …]
/frameworks/native/libs/gui/
DSurfaceControl.cpp100 status_t SurfaceControl::setLayerStack(uint32_t layerStack) { in setLayerStack()
101 status_t err = validate(); in setLayerStack()
106 status_t SurfaceControl::setLayer(int32_t layer) { in setLayer()
107 status_t err = validate(); in setLayer()
112 status_t SurfaceControl::setRelativeLayer(const sp<IBinder>& relativeTo, int32_t layer) { in setRelativeLayer()
113 status_t err = validate(); in setRelativeLayer()
118 status_t SurfaceControl::setPosition(float x, float y) { in setPosition()
119 status_t err = validate(); in setPosition()
123 status_t SurfaceControl::setGeometryAppliesWithResize() { in setGeometryAppliesWithResize()
124 status_t err = validate(); in setGeometryAppliesWithResize()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h64 status_t queryCapabilities(
69 virtual status_t setSurface(const sp<Surface> &surface);
96 static status_t getOMXChannelMapping(size_t numChannels, OMX_AUDIO_CHANNELTYPE map[]);
208 status_t waitForFence(int fd, const char *dbg);
256 status_t mInputEOSResult;
308 status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode);
309 status_t allocateBuffersOnPort(OMX_U32 portIndex);
310 status_t freeBuffersOnPort(OMX_U32 portIndex);
311 status_t freeBuffer(OMX_U32 portIndex, size_t i);
313 status_t handleSetSurface(const sp<Surface> &surface);
[all …]
/frameworks/av/media/libmediaplayerservice/include/
DMediaPlayerInterface.h104 virtual status_t getPosition(uint32_t *position) const = 0;
105 virtual status_t getTimestamp(AudioTimestamp &ts) const = 0;
107 virtual status_t getFramesWritten(uint32_t *frameswritten) const = 0;
115 virtual status_t open(
126 virtual status_t start() = 0;
145 virtual status_t setPlaybackRate(const AudioPlaybackRate& rate) = 0;
146 virtual status_t getPlaybackRate(AudioPlaybackRate* rate /* nonnull */) = 0;
149 virtual status_t setParameters(const String8& /* keyValuePairs */) { return NO_ERROR; } in setParameters()
160 virtual status_t initCheck() = 0;
163 virtual status_t setUID(uid_t /* uid */) { in setUID()
[all …]

12345678910>>...55