Searched defs:printers (Results 1 - 7 of 7) sorted by relevance
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrinterRegistry.java | 51 public void onPrintersChanged(List<PrinterInfo> printers); argument 132 public void onLoadFinished(Loader<List<PrinterInfo>> loader, List<PrinterInfo> printers) { 134 mPrinters.addAll(printers); 139 mHandler.obtainMessage(MyHandler.MSG_PRINTERS_CHANGED, printers).sendToTarget(); 169 List<PrinterInfo> printers = (List<PrinterInfo>) message.obj; 172 mOnPrintersChangeListener.onPrintersChanged(printers);
|
H A D | FusedPrintersProvider.java | 76 * This class is responsible for loading printers by doing discovery 77 * and merging the discovered printers with the previously used ones. 120 /** Location used when the printers were updated the last time */ 150 * @param dest The list the printers should be added to 165 * Compute the printers, order them appropriately and deliver the printers to the clients. We 166 * prefer printers that have been previously used (favorites) and printers that have been used 167 * previously close to the current location (near printers). 169 * @param discoveredPrinters All printers currentl 335 updatePrinters(List<PrinterInfo> printers, List<Pair<PrinterInfo, Location>> favoritePrinters, Location location) argument 617 updateHistoricalPrintersIfNeeded(List<PrinterInfo> printers) argument 721 sortFavoritePrinters( List<Pair<PrinterInfo, Location>> printers) argument 766 public final List<Pair<PrinterInfo, Location>> printers; field in class:FusedPrintersProvider.PersistenceManager.PrinterRecord 795 onPostExecute(List<Pair<PrinterInfo, Location>> printers) argument 999 doInBackground( @uppressWarnings�) List<Pair<PrinterInfo, Location>>.... printers) argument 1005 doWritePrinterHistory(List<Pair<PrinterInfo, Location>> printers) argument [all...] |
H A D | PrintActivity.java | 231 /** Observer for changes to the printers */ 301 // and the printer registry loaded the historical printers 2273 // Else replace the last one (two items are not printers). 2443 public void onPrintersChanged(List<PrinterInfo> printers) { argument 2444 // We rearrange the printers if the user selects a printer 2448 // Check if historical printers are loaded as this adapter is open 2450 // when the adapter is created because the historical printers may 2454 // No old printers - do not bother keeping their position. 2456 addPrinters(mPrinterHolders, printers); 2461 // Add the new printers t 2541 addPrinters(List<PrinterHolder> list, Collection<PrinterInfo> printers) argument [all...] |
/frameworks/base/core/java/android/print/ |
H A D | PrinterDiscoverySession.java | 79 Log.w(LOG_TAG, "Ignoring start printers discovery - session destroyed"); 94 Log.w(LOG_TAG, "Ignoring stop printers discovery - session destroyed"); 133 Log.w(LOG_TAG, "Ignoring validate printers - session destroyed"); 139 Log.e(LOG_TAG, "Error validating printers", re); 152 Log.w(LOG_TAG, "Ignoring get printers - session destroyed"); 203 // No old printers - do not bother keeping their position. 214 // Add the printers to a map. 223 // Update printers we already have. 231 // Add the new printers, i.e. what is left. 278 List<PrinterInfo> printers 300 onPrintersAdded(ParceledListSlice printers) argument [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | PrinterDiscoverySession.java | 36 * for adding discovered printers, removing previously added printers that 37 * disappeared, and updating already added printers. 43 * to stop printer discovery. When the system is no longer interested in printers 49 * Discovered printers are added by invoking {@link 50 * PrinterDiscoverySession#addPrinters(List)}. Added printers that disappeared are 52 * printers whose properties or capabilities changed are updated through a call to 53 * {@link PrinterDiscoverySession#addPrinters(List)}. The printers added in this 54 * session can be acquired via {@link #getPrinters()} where the returned printers 55 * will be an up-to-date snapshot of the printers tha 166 addPrinters(@onNull List<PrinterInfo> printers) argument [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintService.java | 100 public void onPrintersAdded(List<PrinterInfo> printers); argument 137 // Stop tracking printers. 375 // Stop tracking printers. 408 Slog.e(LOG_TAG, "Error requesting printers validation.", re); 605 // If the service died and printers were tracked, start tracking. 832 public void onPrintersAdded(ParceledListSlice printers) { argument 835 List<PrinterInfo> addedPrinters = (List<PrinterInfo>) printers.getList();
|
H A D | UserState.java | 701 public void onPrintersAdded(List<PrinterInfo> printers) { argument 712 mPrinterDiscoverySession.onPrintersAddedLocked(printers); 1265 // Bring the added observer up to speed with the printers. 1267 List<PrinterInfo> printers = new ArrayList<PrinterInfo>(mPrinters.values()); 1270 args.arg2 = printers; 1348 // Gather the printers per service and request a validation. 1464 public void onPrintersAddedLocked(List<PrinterInfo> printers) { argument 1469 Log.w(LOG_TAG, "Not adding printers - session destroyed"); 1473 final int addedPrinterCount = printers.size(); 1475 PrinterInfo printer = printers 1730 handlePrintersAdded(IPrinterDiscoveryObserver observer, List<PrinterInfo> printers) argument [all...] |
Completed in 168 milliseconds