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

/packages/services/BuiltInPrintService/jni/include/
H A 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);
H A Dlib_wprint.h246 status_t (*start_job)(wJob_t job_handle, const ifc_wprint_t *wprint_ifc,
252 status_t (*print_blank_page)(wJob_t job_handle,
299 status_t wprintEndJob(wJob_t job_handle);
310 status_t wprintPage(wJob_t job_handle, int page_number, const char *filename, bool last_page,
317 status_t wprintCancelJob(wJob_t job_handle);
/packages/services/BuiltInPrintService/jni/plugins/
H A 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); \
96 wJob_t job_handle; member in struct:__anon175
[all...]
H A Dlib_pclm.c90 static wJob_t _start_job(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size, argument
100 if (job_info->job_handle != _WJOBH_NONE) {
104 job_info->job_handle = _WJOBH_NONE;
116 job_info->job_handle = job_handle;
177 return job_info->job_handle;
H A Dlib_pwg.c146 static wJob_t _start_job(wJob_t job_handle, pcl_job_info_t *job_info, media_size_t media_size, argument
154 if (job_info->job_handle != _WJOBH_NONE) {
159 job_info->job_handle = _WJOBH_NONE;
169 job_info->job_handle = job_handle;
237 return job_info->job_handle;
H A Dplugin_pcl.c72 wJob_t job_handle; member in struct:__anon182
119 priv->pcl_ifc->start_job(priv->job_handle, &priv->job_info,
216 static int _start_job(wJob_t job_handle, const ifc_wprint_t *wprint_ifc_p, argument
232 priv->job_handle = job_handle;
235 priv->job_info.job_handle = _WJOBH_NONE;
502 static int _print_blank_page(wJob_t job_handle, wprint_job_params_t *job_params) { argument
H A Dplugin_pdf.c53 static int _start_job(wJob_t job_handle, const ifc_wprint_t *wprint_ifc_p, argument
/packages/services/BuiltInPrintService/jni/lib/
H A Dlib_wprint.c132 wJob_t job_handle; member in struct:__anon151
218 * Return a _job_queue_t item by its job_handle or NULL if not found.
220 static _job_queue_t *_get_job_desc(wJob_t job_handle) { argument
222 if (job_handle == WPRINT_BAD_JOB_HANDLE) {
225 index = _DECODE_HANDLE(job_handle);
226 if ((index < _MAX_SPOOLED_JOBS) && (_job_queue[index].job_handle == job_handle) &&
238 static void _stream_dbg_end_job(wJob_t job_handle) { argument
239 _job_queue_t *jq = _get_job_desc(job_handle);
246 static void _stream_dbg_start_job(wJob_t job_handle, cons argument
257 _stream_dbg_job_data(wJob_t job_handle, const unsigned char *buff, unsigned long nbytes) argument
273 _stream_dbg_end_page(wJob_t job_handle) argument
281 _stream_dbg_page_data(wJob_t job_handle, const unsigned char *buff, unsigned long nbytes) argument
300 _stream_dbg_start_page(wJob_t job_handle, int page_number, int width, int height) argument
418 wJob_t job_handle = WPRINT_BAD_JOB_HANDLE; local
452 _recycle_handle(wJob_t job_handle) argument
696 wJob_t job_handle; local
1730 wJob_t job_handle = WPRINT_BAD_JOB_HANDLE; local
1882 wprintEndJob(wJob_t job_handle) argument
1924 wprintPage(wJob_t job_handle, int page_num, const char *filename, bool last_page, bool pdf_page, unsigned int top_margin, unsigned int left_margin, unsigned int right_margin, unsigned int bottom_margin) argument
1990 wprintCancelJob(wJob_t job_handle) argument
[all...]
H A DwprintJNI.c340 static jint _print_pdf_pages(wJob_t job_handle, printer_capabilities_t *printer_cap, argument
355 result = wprintPage(job_handle, *(pages_ary + page_index++), pathname, false, true,
368 result = wprintPage(job_handle, *(pages_ary + page_index--), pathname, false, true,
930 static void _wprint_callback_fn(wJob_t job_handle, void *param) { argument
1096 (jint) job_handle);
1098 (jint) job_handle, callbackParams);
1232 wJob_t job_handle = ERROR; local
1322 job_handle = (wJob_t) result;
1341 result = _print_pdf_pages(job_handle, &caps, params.duplex, (char *) pageStr,
1344 result = wprintPage(job_handle, pageInde
1370 Java_com_android_bips_ipp_Backend_nativeEndJob( JNIEnv *env, jobject obj, jint job_handle) argument
1379 Java_com_android_bips_ipp_Backend_nativeCancelJob( JNIEnv *env, jobject obj, jint job_handle) argument
[all...]

Completed in 162 milliseconds