Home
last modified time | relevance | path

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

/packages/services/BuiltInPrintService/jni/ipphelper/
Dippstatus_capabilities.c119 caps->http = ipp_cups_connect(connect_info, caps->printer_caps.printerUri, in _init()
120 sizeof(caps->printer_caps.printerUri)); in _init()
121 getResourceFromURI(caps->printer_caps.printerUri, caps->printer_caps.httpResource, 1024); in _init()
158 caps->printer_caps.printerUri); in _get_capabilities()
169 caps->printer_caps.printerUri); in _get_capabilities()
173 caps->printer_caps.printerUri, ipp_status, ippErrorString(ipp_status)); in _get_capabilities()
Dipphelper.c1111 if (uris[i].valid && strncmp(capabilities->printerUri, "ipps://", 7) != 0) { in parse_printerUris()
1113 strlcpy(capabilities->printerUri, uris[i].uri, sizeof(capabilities->printerUri)); in parse_printerUris()
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java96 public void addManualPrinter(Uri printerUri, PrinterAddCallback callback) { in addManualPrinter() argument
97 if (DEBUG) Log.d(TAG, "addManualPrinter " + printerUri); in addManualPrinter()
99 int givenPort = printerUri.getPort(); in addManualPrinter()
100 String givenPath = printerUri.getPath(); in addManualPrinter()
101 String hostname = printerUri.getHost(); in addManualPrinter()
102 String givenScheme = printerUri.getScheme(); in addManualPrinter()
DSavedDiscovery.java62 Uri printerUri = printer.getUri(); in addSavedPrinter() local
63 DiscoveredPrinter old = find(printerUri); in addSavedPrinter()
79 private DiscoveredPrinter find(Uri printerUri) { in find() argument
81 if (printer.getUri().equals(printerUri)) { in find()
DMultiDiscovery.java67 private DiscoveredPrinter merged(Uri printerUri) { in merged() argument
71 DiscoveredPrinter discovered = discovery.getPrinter(printerUri); in merged()
DDiscovery.java160 void printerLost(Uri printerUri) { in printerLost() argument
161 DiscoveredPrinter printer = mPrinters.remove(printerUri); in printerLost()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddManualPrinterDialog.java138 Uri printerUri; in addPrinter() local
140 printerUri = Uri.parse(uriString); in addPrinter()
143 printerUri = Uri.parse("://" + uriString); in addPrinter()
145 mDiscovery.addManualPrinter(printerUri, this); in addPrinter()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DCapabilitiesCache.java187 public LocalPrinterCapabilities remove(Uri printerUri) { in remove() argument
188 return mCache.remove(printerUri); in remove()
/packages/services/BuiltInPrintService/jni/include/
Dprinter_capabilities_types.h77 char printerUri[MAX_URI_LENGTH + 1]; member
/packages/services/BuiltInPrintService/jni/lib/
DwprintJNI.c647 wprintPrinterCaps->printerUri); in _convertPrinterCaps_to_Java()