Home
last modified time | relevance | path

Searched refs:job_handle (Results 1 – 9 of 9) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dlib_wprint.c132 wJob_t job_handle; member
225 static _job_queue_t *_get_job_desc(wJob_t job_handle) { in _get_job_desc() argument
227 if (job_handle == WPRINT_BAD_JOB_HANDLE) { in _get_job_desc()
230 index = _DECODE_HANDLE(job_handle); in _get_job_desc()
231 if ((index < _MAX_SPOOLED_JOBS) && (_job_queue[index].job_handle == job_handle) && in _get_job_desc()
243 static void _stream_dbg_end_job(wJob_t job_handle) { in _stream_dbg_end_job() argument
244 _job_queue_t *jq = _get_job_desc(job_handle); in _stream_dbg_end_job()
251 static void _stream_dbg_start_job(wJob_t job_handle, const char *ext) { in _stream_dbg_start_job() argument
252 _stream_dbg_end_job(job_handle); in _stream_dbg_start_job()
253 _job_queue_t *jq = _get_job_desc(job_handle); in _stream_dbg_start_job()
[all …]
DwprintJNI.c343 static jint _print_pdf_pages(wJob_t job_handle, printer_capabilities_t *printer_cap, in _print_pdf_pages() argument
358 result = wprintPage(job_handle, *(pages_ary + page_index++), pathname, false, true, in _print_pdf_pages()
371 result = wprintPage(job_handle, *(pages_ary + page_index--), pathname, false, true, in _print_pdf_pages()
940 static void _wprint_callback_fn(wJob_t job_handle, void *param) { in _wprint_callback_fn() argument
1110 (jint) job_handle); in _wprint_callback_fn()
1130 (jint) job_handle, callbackParams); in _wprint_callback_fn()
1284 wJob_t job_handle = ERROR; in Java_com_android_bips_ipp_Backend_nativeStartJob() local
1376 job_handle = (wJob_t) result; in Java_com_android_bips_ipp_Backend_nativeStartJob()
1395 result = _print_pdf_pages(job_handle, &caps, params.duplex, (char *) pageStr, in Java_com_android_bips_ipp_Backend_nativeStartJob()
1398 result = wprintPage(job_handle, pageIndex, (char *) pageStr, false, false, in Java_com_android_bips_ipp_Backend_nativeStartJob()
[all …]
/packages/services/BuiltInPrintService/jni/plugins/
Dlib_pcl.h36 JOB_INFO->wprint_ifc->get_debug_stream_ifc(JOB_INFO->job_handle); \
38 debug_ifc->debug_start_job(JOB_INFO->job_handle, EXT); \
45 JOB_INFO->wprint_ifc->get_debug_stream_ifc(JOB_INFO->job_handle); \
47 debug_ifc->debug_start_page(JOB_INFO->job_handle, JOB_INFO->page_number + 1, WIDTH, \
55 JOB_INFO->wprint_ifc->get_debug_stream_ifc(JOB_INFO->job_handle); \
57 debug_ifc->debug_page_data(JOB_INFO->job_handle, BUFF, LEN); \
64 JOB_INFO->wprint_ifc->get_debug_stream_ifc(JOB_INFO->job_handle); \
66 debug_ifc->debug_end_page(JOB_INFO->job_handle); \
73 JOB_INFO->wprint_ifc->get_debug_stream_ifc(JOB_INFO->job_handle); \
75 debug_ifc->debug_end_job(JOB_INFO->job_handle); \
[all …]
Dlib_pclm.c90 static wJob_t _start_job(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size, in _start_job() argument
100 if (job_info->job_handle != _WJOBH_NONE) { in _start_job()
104 job_info->job_handle = _WJOBH_NONE; in _start_job()
116 job_info->job_handle = job_handle; in _start_job()
177 return job_info->job_handle; in _start_job()
Dplugin_pcl.c72 wJob_t job_handle; member
119 priv->pcl_ifc->start_job(priv->job_handle, &priv->job_info, in _send_thread()
216 static int _start_job(wJob_t job_handle, const ifc_wprint_t *wprint_ifc_p, in _start_job() argument
232 priv->job_handle = job_handle; in _start_job()
235 priv->job_info.job_handle = _WJOBH_NONE; in _start_job()
502 static int _print_blank_page(wJob_t job_handle, wprint_job_params_t *job_params) { in _print_blank_page() argument
Dlib_pwg.c142 static wJob_t _start_job(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size, in _start_job() argument
150 if (job_info->job_handle != _WJOBH_NONE) { in _start_job()
155 job_info->job_handle = _WJOBH_NONE; in _start_job()
165 job_info->job_handle = job_handle; in _start_job()
236 return job_info->job_handle; in _start_job()
Dplugin_pdf.c53 static int _start_job(wJob_t job_handle, const ifc_wprint_t *wprint_ifc_p, in _start_job() argument
/packages/services/BuiltInPrintService/jni/include/
Difc_wprint.h33 void (*debug_start_job)(wJob_t job_handle, const char *ext);
35 void (*debug_job_data)(wJob_t job_handle, const unsigned char *buff, unsigned long nbytes);
37 void (*debug_end_job)(wJob_t job_handle);
39 void (*debug_start_page)(wJob_t job_handle, int page_number, int width, int height);
41 void (*debug_page_data)(wJob_t job_handle, const unsigned char *buff, unsigned long nbytes);
43 void (*debug_end_page)(wJob_t job_handle);
Dlib_wprint.h262 status_t (*start_job)(wJob_t job_handle, const ifc_wprint_t *wprint_ifc,
268 status_t (*print_blank_page)(wJob_t job_handle,
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);