Home
last modified time | relevance | path

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

12

/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h262 status_t (*start_job)(wJob_t job_handle, const ifc_wprint_t *wprint_ifc,
265 status_t (*print_page)(wprint_job_params_t *job_params, const char *mime_type,
268 status_t (*print_blank_page)(wJob_t job_handle,
271 status_t (*end_job)(wprint_job_params_t *job_params);
288 status_t wprintGetCapabilities(const wprint_connect_info_t *connect_info,
294 status_t wprintGetDefaultJobParams(wprint_job_params_t *job_params);
299 status_t wprintGetFinalJobParams(wprint_job_params_t *job_param,
315 status_t wprintEndJob(wJob_t job_handle);
326 status_t wprintPage(wJob_t job_handle, int page_number, const char *filename, bool last_page,
333 status_t wprintCancelJob(wJob_t job_handle);
[all …]
Difc_print_job.h31 status_t (*init)(const struct ifc_print_job_st *this_p, const char *printer_address, int port,
37 status_t (*validate_job)(const struct ifc_print_job_st *this_p,
43 status_t (*start_job)(const struct ifc_print_job_st *this_p,
56 status_t (*check_status)(const struct ifc_print_job_st *this_p);
61 status_t (*end_job)(const struct ifc_print_job_st *this_p);
Dwprint_msgq.h38 status_t msgQDelete(msg_q_id msgQ);
40 status_t msgQSend(msg_q_id msgQ, const char *buffer, unsigned long nbytes, int timeout,
43 status_t msgQReceive(msg_q_id msgQ, char *buffer, unsigned long max_nbytes, int timeout);
Difc_wprint.h58 status_t (*msgQDelete)(msg_q_id msgQ);
63 status_t (*msgQSend)(msg_q_id msgQ, const char *buffer, unsigned long nbytes, int timeout,
69 status_t (*msgQReceive)(msg_q_id msgQ, char *buffer, unsigned long max_nbytes, int timeout);
Difc_printer_capabilities.h36 status_t (*get_capabilities)(const struct ifc_printer_capabilities_st *this_p,
42 status_t (*get_margins)(const struct ifc_printer_capabilities_st *this_p,
/packages/services/BuiltInPrintService/jni/lib/
Dwprint_msgq.c78 status_t msgQDelete(msg_q_id msgQ) { in msgQDelete()
95 status_t msgQSend(msg_q_id msgQ, const char *buffer, unsigned long nbytes, int timeout, in msgQSend()
99 status_t result = ERROR; in msgQSend()
121 status_t msgQReceive(msg_q_id msgQ, char *buffer, unsigned long max_nbytes, int timeout) { in msgQReceive()
124 status_t result = ERROR; in msgQReceive()
128 result = (status_t) sem_wait(msgq->sem_ptr); in msgQReceive()
131 result = (status_t) sem_trywait(msgq->sem_ptr); in msgQReceive()
Dlib_wprint.c789 status_t job_result; in _job_thread()
1545 status_t wprintGetCapabilities(const wprint_connect_info_t *connect_info, in wprintGetCapabilities()
1548 status_t result = ERROR; in wprintGetCapabilities()
1648 status_t wprintGetDefaultJobParams(wprint_job_params_t *job_params) { in wprintGetDefaultJobParams()
1649 status_t result = ERROR; in wprintGetDefaultJobParams()
1667 status_t wprintGetFinalJobParams(wprint_job_params_t *job_params, in wprintGetFinalJobParams()
1670 status_t result = ERROR; in wprintGetFinalJobParams()
1986 status_t wprintEndJob(wJob_t job_handle) { in wprintEndJob()
1989 status_t result = ERROR; in wprintEndJob()
2028 status_t wprintPage(wJob_t job_handle, int page_num, const char *filename, bool last_page, in wprintPage()
[all …]
Dprinter.c41 status_t job_status;
47 static status_t _init(const ifc_print_job_t *this_p, const char *printer_addr, int port, in _init()
91 status_t retval = OK; in _send_data()
/packages/services/BuiltInPrintService/jni/ipphelper/
Dipp_print.c28 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port,
31 static status_t _validate_job(const ifc_print_job_t *this_p, wprint_job_params_t *job_params);
33 static status_t _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params);
37 static status_t _end_job(const ifc_print_job_t *this_p);
77 static status_t _init(const ifc_print_job_t *this_p, const char *printer_address, int port, in _init()
405 static status_t _validate_job(const ifc_print_job_t *this_p, wprint_job_params_t *job_params) { in _validate_job()
407 status_t result = ERROR; in _validate_job()
473 static status_t _start_job(const ifc_print_job_t *this_p, const wprint_job_params_t *job_params) { in _start_job()
475 status_t result; in _start_job()
554 static status_t _end_job(const ifc_print_job_t *this_p) { in _end_job()
[all …]
Dippstatus_capabilities.c74 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p,
128 static status_t _get_capabilities(const ifc_printer_capabilities_t *this_p, in _get_capabilities()
131 status_t result = ERROR; in _get_capabilities()
Dippstatus_monitor.c49 static status_t _cancel(const ifc_status_monitor_t *this_p, const char *requesting_user);
282 static status_t _cancel(const ifc_status_monitor_t *this_p, const char *requesting_user) { in _cancel()
283 status_t return_value = ERROR; in _cancel()
Dipphelper.c33 static status_t determine_ipp_version(char *, http_t *);
38 static status_t test_and_set_ipp_version(char *, http_t *, int, int);
94 status_t set_ipp_version(ipp_t *op_to_set, char *printer_uri, http_t *http, in set_ipp_version()
118 static status_t determine_ipp_version(char *printer_uri, http_t *http) { in determine_ipp_version()
136 static status_t test_and_set_ipp_version(char *printer_uri, http_t *http, int major, int minor) { in test_and_set_ipp_version()
137 status_t return_value = ERROR; in test_and_set_ipp_version()
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.h144 status_t (*get_hdr)(wprint_image_info_t *image_info);
154 status_t (*cleanup)(wprint_image_info_t *image_info);
159 status_t (*supports_subsampling)(wprint_image_info_t *image_info);
181 status_t wprint_image_get_info(FILE *imgfile, wprint_image_info_t *image_info);
186 status_t wprint_image_set_output_properties(wprint_image_info_t *image_info,
Dlib_pcl.h137 status_t (*end_job)(pcl_job_info_t *job_info);
143 status_t (*start_page)(pcl_job_info_t *job_info,
150 status_t (*end_page)(pcl_job_info_t *job_info,
158 status_t (*print_swath)(pcl_job_info_t *job_info, char *rgb_pixels, int start_row, int num_rows,
Dwprint_mupdf.c41 static status_t _mupdf_get_hdr(wprint_image_info_t *image_info) { in _mupdf_get_hdr()
48 status_t result; in _mupdf_get_hdr()
111 static status_t _mupdf_cleanup(wprint_image_info_t *image_info) { in _mupdf_cleanup()
125 static status_t _mupdf_supports_subsampling(wprint_image_info_t *image_info) { in _mupdf_supports_subsampling()
Dplugin_pcl.c154 static status_t _start_thread(plugin_data_t *param) { in _start_thread()
156 status_t result; in _start_thread()
172 result = (status_t) pthread_create(&(param->send_tid), 0, _send_thread, (void *) param); in _start_thread()
197 static status_t _stop_thread(plugin_data_t *priv) { in _stop_thread()
198 status_t result = ERROR; in _stop_thread()
276 static status_t _print_page(wprint_job_params_t *job_params, const char *mime_type, in _print_page()
280 status_t result; in _print_page()
Dwprint_mupdf.h43 status_t (*renderPageStripe)(pdf_render_ifc_t *self, int page, int width,
49 status_t (*getPageAttributes)(pdf_render_ifc_t *self, int page,
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp113 status_t run();
121 status_t resize(dimen_t rows, dimen_t cols, dimen_t scrollRows);
123 status_t onPushline(dimen_t cols, const VTermScreenCell* cells);
124 status_t onPopline(dimen_t cols, VTermScreenCell* cells);
291 status_t Terminal::run() { in run()
409 status_t Terminal::resize(dimen_t rows, dimen_t cols, dimen_t scrollRows) { in resize()
427 status_t Terminal::onPushline(dimen_t cols, const VTermScreenCell* cells) { in onPushline()
456 status_t Terminal::onPopline(dimen_t cols, VTermScreenCell* cells) { in onPopline()
/packages/services/Car/watchdog/server/tests/
DWatchdogProcessServiceTest.cpp34 MOCK_METHOD(status_t, linkToDeath,
36 MOCK_METHOD(status_t, unlinkToDeath,
78 sp<MockCarWatchdogClient> createMockCarWatchdogClient(status_t linkToDeathResult) { in createMockCarWatchdogClient()
87 sp<MockCarWatchdogMonitor> createMockCarWatchdogMonitor(status_t linkToDeathResult) { in createMockCarWatchdogMonitor()
/packages/services/Car/procfs-inspector/server/
Dprocess.cpp5 status_t procfsinspector::ProcessInfo::writeToParcel(Parcel* parcel) const { in writeToParcel()
11 status_t procfsinspector::ProcessInfo::readFromParcel(const Parcel* parcel) { in readFromParcel()
Dprocess.h35 virtual status_t writeToParcel(Parcel* parcel) const override;
36 virtual status_t readFromParcel(const Parcel* parcel) override;
/packages/services/Car/tools/keventreader/server/
Devent.h34 virtual status_t writeToParcel(Parcel* parcel) const override;
35 virtual status_t readFromParcel(const Parcel* parcel) override;
Devent.cpp30 status_t KeypressEvent::writeToParcel(Parcel* parcel) const { in writeToParcel()
39 status_t KeypressEvent::readFromParcel(const Parcel* parcel) { in readFromParcel()
/packages/services/Car/watchdog/server/src/
DWatchdogBinderMediator.cpp83 status_t status = in init()
93 status_t WatchdogBinderMediator::dump(int fd, const Vector<String16>& args) { in dump()
/packages/services/Car/evs/sampleDriver/
DEvsV4lCamera.cpp491 status_t result = mapper.importBuffer(b.buffer.nativeHandle, in importExternalBuffers()
621 status_t result = alloc.allocate(mVideo.getWidth(), mVideo.getHeight(), in increaseAvailableFrames_Locked()
756 status_t result = in forwardFrame()

12