Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 10 of 10) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
Dplugin_pdf.c71 const char *pathname) { in _print_page() argument
85 if (pathname && strlen(pathname)) { in _print_page()
91 fd = open(pathname, O_RDONLY); in _print_page()
106 LOGI("dumped %d bytes of %s to printer", nbytes, pathname); in _print_page()
113 remove(pathname); in _print_page()
Dplugin_pcl.c277 const char *pathname) { in _print_page() argument
307 if (pathname == NULL) { in _print_page()
312 } else if (strlen(pathname)) { in _print_page()
316 imgfile = fopen(pathname, "r"); in _print_page()
318 LOGD("_print_page(): fopen succeeded on %s", pathname); in _print_page()
321 wprint_image_init(image_info, pathname, job_params->page_num); in _print_page()
455 job_params->page_num, pathname, in _print_page()
482 LOGE("_print_page(): could not open %s", pathname); in _print_page()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DFailureWatcher.java42 final String pathname = getInstrumentation().getTargetContext(). in failed()
45 ", screenshot will be saved to " + pathname + in failed()
57 mDevice.takeScreenshot(new File(pathname)); in failed()
/packages/services/BuiltInPrintService/jni/lib/
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()
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()
172 *page_count = pdf_render_ifc->openDocument(pdf_render_ifc, pathname); in _get_pdf_page_count()
175 LOGI("pdf page count for %s: %d", pathname, *page_count); in _get_pdf_page_count()
344 duplex_t duplex, char *pathname, int num_index, int *pages_ary) { in _print_pdf_pages() argument
358 result = wprintPage(job_handle, *(pages_ary + page_index++), pathname, false, true, in _print_pdf_pages()
369 LOGD("_print_pdf_pages(), PRINTING PDF: %s, page: %d", pathname, in _print_pdf_pages()
371 result = wprintPage(job_handle, *(pages_ary + page_index--), pathname, false, true, in _print_pdf_pages()
Dlib_wprint.c141 char *pathname; member
444 _job_queue[index].pathname = ptr; in _get_handle()
1168 jq->pathname); in _job_thread()
1834 const char *mime_type, const char *pathname, wprint_status_cb_t cb_fn, in wprintStartJob() argument
1854 if (OK == stat(pathname, &stat_buf)) { in wprintStartJob()
1904 strncpy(jq->pathname, pathname, MAX_PATHNAME_LENGTH); in wprintStartJob()
2075 snprintf(page.filename, MAX_PATHNAME_LENGTH, "%s/%s", jq->pathname, filename); in wprintPage()
/packages/services/BuiltInPrintService/jni/include/
Dlib_wprint.h266 const char *pathname);
308 const char *mime_type, const char *pathname, wprint_status_cb_t cb_fn,
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java1254 public boolean accept(java.io.File pathname) { in getNumCpuCores() argument
1256 if (java.util.regex.Pattern.matches("cpu[0-9]+", pathname.getName())) { in getNumCpuCores()
/packages/inputmethods/LatinIME/dictionaries/
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz
Den_wordlist.combined.gz