Home
last modified time | relevance | path

Searched refs:BackendConstants (Results 1 – 7 of 7) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DJobStatus.java23 import com.android.bips.jni.BackendConstants;
37 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__DOOR_OPEN, in sBlockReasonsMap.put()
39 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__JAMMED, R.string.printer_jammed); in sBlockReasonsMap.put()
40 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__OUT_OF_PAPER, in sBlockReasonsMap.put()
42 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__SERVICE_REQUEST, in sBlockReasonsMap.put()
44 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__OUT_OF_INK, in sBlockReasonsMap.put()
46 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__OUT_OF_TONER, in sBlockReasonsMap.put()
48 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__LOW_ON_INK, in sBlockReasonsMap.put()
50 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__REALLY_LOW_ON_INK, in sBlockReasonsMap.put()
52 sBlockReasonsMap.put(BackendConstants.BLOCKED_REASON__LOW_ON_TONER, in sBlockReasonsMap.put()
[all …]
DBackend.java32 import com.android.bips.jni.BackendConstants;
71 System.loadLibrary(BackendConstants.WPRINT_LIBRARY_PREFIX); in Backend()
77 BackendConstants.WPRINT_APPLICATION_ID.toLowerCase(Locale.US)); in Backend()
132 String jobResult = BackendConstants.JOB_DONE_ERROR; in print()
134 jobResult = BackendConstants.JOB_DONE_CANCELLED; in print()
136 jobResult = BackendConstants.JOB_DONE_CORRUPT; in print()
141 .setJobState(BackendConstants.JOB_STATE_DONE) in print()
DStartJobTask.java32 import com.android.bips.jni.BackendConstants;
256 return BackendConstants.PRINT_DOCUMENT_CATEGORY__PHOTO; in getDocumentCategory()
260 return BackendConstants.PRINT_DOCUMENT_CATEGORY__DOCUMENT; in getDocumentCategory()
DGetCapabilitiesTask.java24 import com.android.bips.jni.BackendConstants;
126 return status == BackendConstants.STATUS_OK ? printerCaps : null; in doInBackground()
/packages/services/BuiltInPrintService/src/com/android/bips/
DLocalPrintJob.java32 import com.android.bips.jni.BackendConstants;
283 case BackendConstants.JOB_STATE_DONE: in handleJobStatus()
285 case BackendConstants.JOB_DONE_OK: in handleJobStatus()
288 case BackendConstants.JOB_DONE_CANCELLED: in handleJobStatus()
292 case BackendConstants.JOB_DONE_CORRUPT: in handleJobStatus()
306 case BackendConstants.JOB_STATE_BLOCKED: in handleJobStatus()
316 case BackendConstants.JOB_STATE_RUNNING: in handleJobStatus()
/packages/services/BuiltInPrintService/src/com/android/bips/jni/
DBackendConstants.java22 public class BackendConstants { class
DLocalPrinterCapabilities.java98 BackendConstants.RESOLUTION_300_DPI, in buildCapabilities()