Searched refs:printers (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/android/print/ |
H A D | IPrinterDiscoveryObserver.aidl | 24 * Interface for observing discovered printers by a discovery session. 29 void onPrintersAdded(in ParceledListSlice printers);
|
H A D | PrinterDiscoverySession.java | 77 Log.w(LOG_TAG, "Ignoring start printers dsicovery - session destroyed"); 92 Log.w(LOG_TAG, "Ignoring stop printers discovery - session destroyed"); 131 Log.w(LOG_TAG, "Ignoring validate printers - session destroyed"); 137 Log.e(LOG_TAG, "Error validating printers", re); 150 Log.w(LOG_TAG, "Ignoring get printers - session destroyed"); 201 // No old printers - do not bother keeping their position. 212 // Add the printers to a map. 221 // Update printers we already have. 229 // Add the new printers, i.e. what is left. 276 List<PrinterInfo> printers 298 onPrintersAdded(ParceledListSlice printers) argument [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
H A D | FusedPrintersProvider.java | 57 * This class is responsible for loading printers by doing discovery 58 * and merging the discovered printers with the previously used ones. 92 List<PrinterInfo> printers = new ArrayList<PrinterInfo>(); 94 // Add the updated favorite printers. 101 printers.add(updatedPrinter); 103 printers.add(favoritePrinter); 107 // Add other updated printers. 114 printers.add(updatedPrinter); 118 // Add the new printers, i.e. what is left. 119 printers 195 updatePrinters(List<PrinterInfo> printers) argument 330 computeFavoritePrinters(List<PrinterInfo> printers) argument 387 onPostExecute(List<PrinterInfo> printers) argument 567 doInBackground(List<PrinterInfo>.... printers) argument 572 doWritePrinterHistory(List<PrinterInfo> printers) argument [all...] |
H A D | SelectPrinterFragment.java | 213 // Find the services with valid add printers activities. 218 // No add printers activity declared - done. 229 // The add printers activity is valid - add it. 405 List<PrinterInfo> printers = (List<PrinterInfo>) results.values; 406 mFilteredPrinters.addAll(printers); 514 List<PrinterInfo> printers) { 517 mPrinters.addAll(printers); 519 mFilteredPrinters.addAll(printers); 513 onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) argument
|
H A D | PrintJobConfigActivity.java | 1222 // printers are loaded we want to select the user's favorite one 1244 // Some items are not printers 2222 // Else replace the last one (two items are not printers). 2372 List<PrinterInfo> printers) { 2383 // We rearrange the printers if the user selects a printer 2387 // No old printers - do not bother keeping their position. 2389 mPrinters.addAll(printers); 2395 // Add the new printers to a map. 2398 final int printerCount = printers.size(); 2400 PrinterInfo printer = printers 2371 onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) argument [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | IPrintServiceClient.aidl | 38 void onPrintersAdded(in ParceledListSlice printers);
|
H A D | PrinterDiscoverySession.java | 34 * for adding discovered printers, removing previously added printers that 35 * disappeared, and updating already added printers. 41 * to stop printer discovery. When the system is no longer interested in printers 47 * Discovered printers are added by invoking {@link 48 * PrinterDiscoverySession#addPrinters(List)}. Added printers that disappeared are 50 * printers whose properties or capabilities changed are updated through a call to 51 * {@link PrinterDiscoverySession#addPrinters(List)}. The printers added in this 52 * session can be acquired via {@link #getPrinters()} where the returned printers 53 * will be an up-to-date snapshot of the printers tha 164 addPrinters(List<PrinterInfo> printers) argument [all...] |
/frameworks/base/services/java/com/android/server/print/ |
H A D | UserState.java | 487 public void onPrintersAdded(List<PrinterInfo> printers) { argument 498 mPrinterDiscoverySession.onPrintersAddedLocked(printers); 932 // Bring the added observer up to speed with the printers. 934 List<PrinterInfo> printers = new ArrayList<PrinterInfo>(mPrinters.values()); 937 args.arg2 = printers; 1015 // Gather the printers per service and request a validation. 1128 public void onPrintersAddedLocked(List<PrinterInfo> printers) { argument 1133 Log.w(LOG_TAG, "Not adding printers - session destroyed"); 1137 final int addedPrinterCount = printers.size(); 1139 PrinterInfo printer = printers 1363 handlePrintersAdded(IPrinterDiscoveryObserver observer, List<PrinterInfo> printers) argument [all...] |
H A D | RemotePrintService.java | 95 public void onPrintersAdded(List<PrinterInfo> printers); argument 123 // Stop tracking printers. 398 Slog.e(LOG_TAG, "Error requesting printers validation.", re); 565 // If the service died and printers were tracked, start tracking. 751 public void onPrintersAdded(ParceledListSlice printers) { argument 754 List<PrinterInfo> addedPrinters = (List<PrinterInfo>) printers.getList();
|
Completed in 744 milliseconds