Home
last modified time | relevance | path

Searched refs:mime_type (Results 1 – 12 of 12) sorted by relevance

/packages/services/BuiltInPrintService/jni/lib/
Dplugin_db.c126 unsigned long long plugin_get_mime_type_bit(const char *mime_type) { in plugin_get_mime_type_bit() argument
128 if (strcmp(MIME_TYPE_PDF, mime_type) == 0) { in plugin_get_mime_type_bit()
130 } else if (strcmp(MIME_TYPE_PCLM, mime_type) == 0) { in plugin_get_mime_type_bit()
132 } else if (strcmp(MIME_TYPE_PWG, mime_type) == 0) { in plugin_get_mime_type_bit()
Dlib_wprint.c140 char *mime_type; member
442 _job_queue[index].mime_type = ptr; in _get_handle()
1057 jq->mime_type, in _job_thread()
1063 jq->mime_type, in _job_thread()
1167 job_result = jq->plugin->print_page(&(jq->job_params), jq->mime_type, in _job_thread()
1293 jq->mime_type, jq->job_params.print_format); in _job_thread()
1624 static char *_get_print_format(const char *mime_type, const wprint_job_params_t *job_params, in _get_print_format() argument
1630 if (((strcmp(mime_type, MIME_TYPE_PDF) == 0) && cap->canPrintPDF)) { in _get_print_format()
1834 const char *mime_type, const char *pathname, wprint_status_cb_t cb_fn, in wprintStartJob() argument
1845 if (mime_type == NULL) { in wprintStartJob()
[all …]
Dplugin_db.h43 unsigned long long plugin_get_mime_type_bit(const char *mime_type);
DwprintJNI.c137 static bool _is_pdf_doc(const char *mime_type, const char *pathname) { in _is_pdf_doc() argument
138 if (mime_type == NULL || pathname == NULL) { in _is_pdf_doc()
142 if (strcmp(mime_type, MIME_TYPE_PDF) == 0) { in _is_pdf_doc()
164 static bool _get_pdf_page_count(const char *mime_type, int *page_count, const char *pathname) { in _get_pdf_page_count() argument
167 if (!_is_pdf_doc(mime_type, pathname)) { in _get_pdf_page_count()
/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image_platform.c24 if ((image_info != NULL) && (image_info->mime_type != NULL)) { in wprint_image_get_decode_ifc()
26 if (strcasecmp(image_info->mime_type, MIME_TYPE_PDF) == 0) { in wprint_image_get_decode_ifc()
Dwprint_image.h71 const char *mime_type; member
175 void wprint_image_setup(wprint_image_info_t *image_info, const char *mime_type,
Dwprint_image.c28 void wprint_image_setup(wprint_image_info_t *image_info, const char *mime_type, in wprint_image_setup() argument
35 image_info->mime_type = mime_type; in wprint_image_setup()
72 LOGI("wprint_image_get_info(): %s dim = %dx%d", image_info->mime_type, in wprint_image_get_info()
76 LOGE("ERROR: get_hdr for %s", image_info->mime_type); in wprint_image_get_info()
80 LOGE("Unsupported image type: %s", image_info->mime_type); in wprint_image_get_info()
Dplugin_pcl.c276 static status_t _print_page(wprint_job_params_t *job_params, const char *mime_type, in _print_page() argument
319 wprint_image_setup(image_info, mime_type, priv->job_info.wprint_ifc, in _print_page()
Dplugin_pdf.c70 static int _print_page(wprint_job_params_t *job_params, const char *mime_type, in _print_page() argument
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h265 status_t (*print_page)(wprint_job_params_t *job_params, const char *mime_type,
308 const char *mime_type, const char *pathname, wprint_status_cb_t cb_fn,
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/
Dincident_minimal.proto73 optional string mime_type = 1; field
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql45 …T 0,photo_uri TEXT,formatted_number TEXT,_data TEXT,has_content INTEGER,mime_type TEXT,source_data… field
124 CREATE UNIQUE INDEX mime_type ON mimetypes (mimetype);