/frameworks/base/core/java/android/printservice/ |
IPrintService.aidl | 19 import android.print.PrinterId; 34 void startPrinterDiscovery(in List<PrinterId> priorityList); 36 void validatePrinters(in List<PrinterId> printerIds); 37 void startPrinterStateTracking(in PrinterId printerId); 38 void stopPrinterStateTracking(in PrinterId printerId);
|
PrinterDiscoverySession.java | 22 import android.print.PrinterId; 67 * printer you will receive a call to {@link #onStartPrinterStateTracking(PrinterId)} 73 * PrinterId)}. 88 private final ArrayMap<PrinterId, PrinterInfo> mPrinters = 89 new ArrayMap<PrinterId, PrinterInfo>(); 91 private final List<PrinterId> mTrackedPrinters = 92 new ArrayList<PrinterId>(); 94 private ArrayMap<PrinterId, PrinterInfo> mLastSentPrinters; 199 mLastSentPrinters = new ArrayMap<PrinterId, PrinterInfo>(mPrinters); 228 public final void removePrinters(List<PrinterId> printerIds) [all...] |
PrintService.java | 30 import android.print.PrinterId; 322 public final PrinterId generatePrinterId(String localId) { 324 return new PrinterId(new ComponentName(getPackageName(), 347 public void startPrinterDiscovery(List<PrinterId> priorityList) { 358 public void validatePrinters(List<PrinterId> printerIds) { 364 public void startPrinterStateTracking(PrinterId printerId) { 366 printerId).sendToTarget(); 370 public void stopPrinterStateTracking(PrinterId printerId) { [all...] |
/frameworks/base/services/java/com/android/server/print/ |
RemotePrintService.java | 36 import android.print.PrinterId; 90 private List<PrinterId> mDiscoveryPriorityList; 92 private List<PrinterId> mTrackedPrinterList; 96 public void onPrintersRemoved(List<PrinterId> printerIds); 127 PrinterId printerId = mTrackedPrinterList.get(i); 128 if (printerId.getServiceName().equals(mComponentName)) { 129 handleStopPrinterStateTracking(printerId); 316 public void startPrinterDiscovery(List<PrinterId> priorityList) { 321 private void handleStartPrinterDiscovery(final List<PrinterId> priorityList) [all...] |
UserState.java | 48 import android.print.PrinterId; 367 List<PrinterId> printerIds) { 400 public void validatePrinters(List<PrinterId> printerIds) { 416 public void startPrinterStateTracking(PrinterId printerId) { 428 mPrinterDiscoverySession.startPrinterStateTrackingLocked(printerId); 432 public void stopPrinterStateTracking(PrinterId printerId) { 444 mPrinterDiscoverySession.stopPrinterStateTrackingLocked(printerId); 511 public void onPrintersRemoved(List<PrinterId> printerIds) [all...] |
PrintManagerService.java | 45 import android.print.PrinterId; 246 List<PrinterId> priorityList, int userId) { 276 public void validatePrinters(List<PrinterId> printerIds, int userId) { 291 public void startPrinterStateTracking(PrinterId printerId, int userId) { 299 userState.startPrinterStateTracking(printerId); 306 public void stopPrinterStateTracking(PrinterId printerId, int userId) { 314 userState.stopPrinterStateTracking(printerId);
|
/frameworks/base/core/java/android/print/ |
IPrintManager.aidl | 24 import android.print.PrinterId; 52 in List<PrinterId> priorityList, int userId); 54 void validatePrinters(in List<PrinterId> printerIds, int userId); 55 void startPrinterStateTracking(in PrinterId printerId, int userId); 56 void stopPrinterStateTracking(in PrinterId printerId, int userId);
|
PrinterDiscoverySession.java | 44 private final LinkedHashMap<PrinterId, PrinterInfo> mPrinters = 45 new LinkedHashMap<PrinterId, PrinterInfo>(); 75 public final void startPrinterDisovery(List<PrinterId> priorityList) { 105 public final void startPrinterStateTracking(PrinterId printerId) { 111 mPrintManager.startPrinterStateTracking(printerId, mUserId); 117 public final void stopPrinterStateTracking(PrinterId printerId) { 123 mPrintManager.stopPrinterStateTracking(printerId, mUserId); 129 public final void validatePrinters(List<PrinterId> printerIds) [all...] |
PrinterInfo.java | 42 private PrinterId mId; 87 public PrinterId getId() { 225 * @param printerId The printer id. Cannot be null. 231 public Builder(PrinterId printerId, String name, int status) { 232 if (printerId == null) { 233 throw new IllegalArgumentException("printerId cannot be null."); 242 mPrototype.mId = printerId;
|
PrintJobInfo.java | 132 private PrinterId mPrinterId; 263 public PrinterId getPrinterId() { 270 * @param printerId The target printer id. 274 public void setPrinterId(PrinterId printerId) { 275 mPrinterId = printerId;
|
PrinterCapabilitiesInfo.java | 380 * @param printerId The printer id. Cannot be <code>null</code>. 384 public Builder(PrinterId printerId) { 385 if (printerId == null) { 386 throw new IllegalArgumentException("printerId cannot be null.");
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ |
FusedPrintersProvider.java | 27 import android.print.PrinterId; 80 private PrinterId mTrackedPrinter; 93 private void computeAndDeliverResult(ArrayMap<PrinterId, PrinterInfo> discoveredPrinters, 94 ArrayMap<PrinterId, PrinterInfo> favoritePrinters) { 191 List<PrinterId> printerIds = new ArrayList<PrinterId>(favoriteCount); 211 ArrayMap<PrinterId, PrinterInfo> printersMap = 212 new ArrayMap<PrinterId, PrinterInfo>(); 219 ArrayMap<PrinterId, PrinterInfo> favoritePrintersMap = 220 new ArrayMap<PrinterId, PrinterInfo>() [all...] |
SelectPrinterFragment.java | 43 import android.print.PrinterId; 97 public void onPrinterSelected(PrinterId printerId); 231 PrinterId printerId = (PrinterId) item.getIntent().getParcelableExtra( 235 ((OnPrinterSelectedListener) activity).onPrinterSelected(printerId); 243 PrinterId printerId = (PrinterId) item.getIntent().getParcelableExtra [all...] |
PrintJobConfigActivity.java | 59 import android.print.PrinterId; 789 PrinterId printerId = (PrinterId) data.getParcelableExtra( 791 if (printerId != null) { 792 mEditor.ensurePrinterSelected(printerId); [all...] |
PrintSpoolerService.java | 40 import android.print.PrinterId; 261 PrinterId printerId = printJob.getPrinterId(); 263 || (printerId != null 264 && componentName.equals(printerId.getServiceName()))); 502 PrinterId printerId = printJob.getPrinterId(); 503 if (printerId != null) { 504 ComponentName service = printerId.getServiceName(); 704 private static final String TAG_PRINTER_ID = "printerId"; [all...] |
/packages/experimental/PrintService2/src/foo/bar/printservice2/ |
MyPrintService.java | 14 import android.print.PrinterId; 137 PrinterId printerId = generatePrinterId("1"); 138 PrinterInfo printer = new PrinterInfo.Builder(printerId, "Printer 1") 173 PrinterId printerId = generatePrinterId("2"); 174 PrinterInfo printer = new PrinterInfo.Builder(printerId, "Printer 2")
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
MyPrintService.java | 33 import android.print.PrinterId; 360 public void onStartPrinterDiscovery(List<PrinterId> priorityList) { 378 public void onStartPrinterStateTracking(PrinterId printerId) { 380 PrinterInfo printer = findPrinterInfo(printerId); 383 new PrinterCapabilitiesInfo.Builder(printerId) 407 public void onValidatePrinters(List<PrinterId> printerIds) { 412 public void onStopPrinterStateTracking(PrinterId printerId) { 433 private PrinterInfo findPrinterInfo(PrinterId printerId) [all...] |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |