Searched refs:docCategory (Results 1 – 3 of 3) sorted by relevance
/packages/services/BuiltInPrintService/jni/lib/ |
D | wprintJNI.c | 797 jstring docCategory = (jstring) (*env)->GetObjectField(env, javaJobParams, in _convertJobParams_to_C() local 799 if (docCategory != NULL) { in _convertJobParams_to_C() 800 const char *category = (*env)->GetStringUTFChars(env, docCategory, NULL); in _convertJobParams_to_C() 802 strncpy(wprintJobParams->docCategory, category, in _convertJobParams_to_C() 803 sizeof(wprintJobParams->docCategory) - 1); in _convertJobParams_to_C() 804 (*env)->ReleaseStringUTFChars(env, docCategory, category); in _convertJobParams_to_C()
|
D | lib_wprint.c | 1620 if (job_params && (strcasecmp(job_params->docCategory, "photo") == 0) && in _get_print_format() 1657 .strip_height = STRIPE_HEIGHT, .docCategory = {0}, in wprintGetDefaultJobParams() 1724 if (strcasecmp(job_params->docCategory, "photo") == 0 && int_array_contains( in wprintGetFinalJobParams() 1907 size_t useragent_len = strlen(USERAGENT_PREFIX) + strlen(jq->job_params.docCategory) + 1; in wprintStartJob() 1910 snprintf(useragent, useragent_len, USERAGENT_PREFIX "%s", jq->job_params.docCategory); in wprintStartJob()
|
/packages/services/BuiltInPrintService/jni/include/ |
D | lib_wprint.h | 189 char docCategory[10]; member
|