/frameworks/base/core/java/android/print/ |
IPrintJobStateChangeListener.aidl | 19 import android.print.PrintJobId; 27 void onPrintJobStateChanged(in PrintJobId printJobId);
|
IPrintSpooler.aidl | 27 import android.print.PrintJobId; 41 void getPrintJobInfo(in PrintJobId printJobId, IPrintSpoolerCallbacks callback, 44 void setPrintJobState(in PrintJobId printJobId, int status, String stateReason, 50 * @param printJobId The print job to update 53 void setProgress(in PrintJobId printJobId, in float progress); 58 * @param printJobId The print job to update 61 void setStatus(in PrintJobId printJobId, in CharSequence status) [all...] |
PrintJob.java | 49 public @Nullable PrintJobId getId() { 203 PrintJobId printJobId = mCachedInfo.getId(); 205 if (printJobId == null) { 208 return printJobId.hashCode();
|
IPrintManager.aidl | 24 import android.print.PrintJobId; 41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); 44 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); 45 void restartPrintJob(in PrintJobId printJobId, int appId, int userId);
|
PrintManager.java | 219 * @param printJobId The print job id. 221 public void onPrintJobStateChanged(PrintJobId printJobId); 266 PrintJobId printJobId = (PrintJobId) args.arg2; 267 listener.onPrintJobStateChanged(printJobId); 308 PrintJobInfo getPrintJobInfo(PrintJobId printJobId) { 310 return mService.getPrintJobInfo(printJobId, mAppId, mUserId) [all...] |
/frameworks/base/core/java/android/printservice/ |
IPrintServiceClient.aidl | 24 import android.print.PrintJobId; 34 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId); 35 boolean setPrintJobState(in PrintJobId printJobId, int state, String error); 36 boolean setPrintJobTag(in PrintJobId printJobId, String tag); 37 oneway void writePrintJobData(in ParcelFileDescriptor fd, in PrintJobId printJobId); 42 * @param printJobId The print job to updat [all...] |
PrintDocument.java | 24 import android.print.PrintJobId; 41 private final PrintJobId mPrintJobId; 47 PrintDocument(PrintJobId printJobId, IPrintServiceClient printServiceClient, 49 mPrintJobId = printJobId;
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
MyDialogActivity.java | 5 import android.print.PrintJobId; 27 PrintJobId printJobId = getIntent().getParcelableExtra( 33 createActionTypeOnPrintJobPendingUi(printJobId); 35 createActionTypeOnReqeustCancelPrintJobUi(printJobId); 39 private void createActionTypeOnPrintJobPendingUi(final PrintJobId printJobId) { 49 MyPrintService.peekInstance().handleQueuedPrintJob(printJobId); 53 MyPrintService.peekInstance().handleQueuedPrintJobDelayed(printJobId); 57 MyPrintService.peekInstance().handleFailPrintJob(printJobId); [all...] |
MyPrintService.java | 36 import android.print.PrintJobId; 82 private final Map<PrintJobId, PrintJob> mProcessedPrintJobs = 83 new ArrayMap<PrintJobId, PrintJob>(); 143 void handleRequestCancelPrintJob(PrintJobId printJobId) { 144 PrintJob printJob = mProcessedPrintJobs.get(printJobId); 148 mProcessedPrintJobs.remove(printJobId); 156 void handleFailPrintJobDelayed(PrintJobId printJobId) { 158 MyHandler.MSG_HANDLE_FAIL_PRINT_JOB, printJobId); [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
NotificationController.java | 39 import android.print.PrintJobId; 74 private final ArraySet<PrintJobId> mNotifications; 103 ArraySet<PrintJobId> removedPrintJobs = new ArraySet<>(mNotifications); 117 PrintJobId printJobId = printJob.getId(); 119 removedPrintJobs.remove(printJobId); 120 mNotifications.add(printJobId); 128 PrintJobId removedPrintJob = removedPrintJobs.valueAt(i); 309 private PendingIntent createContentIntent(PrintJobId printJobId) { [all...] |
PrintSpoolerService.java | 43 import android.print.PrintJobId; 319 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { 324 if (printJob.getId().equals(printJobId) 352 ArrayMap<PrintJobId, File> fileForJobMap = null; 360 fileForJobMap = new ArrayMap<PrintJobId, File>(); 365 PrintJobId printJobId = PrintJobId.unflattenFromString( 367 fileForJobMap.put(printJobId, file) [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
RemotePrintSpooler.java | 38 import android.print.PrintJobId; 200 public final void writePrintJobData(ParcelFileDescriptor fd, PrintJobId printJobId) { 207 getRemoteInstanceLazy().writePrintJobData(fd, printJobId); 226 public final PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { 234 printJobId, appId); 251 public final boolean setPrintJobState(PrintJobId printJobId, int state, String error) { 259 printJobId, state, error) [all...] |
RemotePrintService.java | 38 import android.print.PrintJobId; 734 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId) { 739 return service.mSpooler.getPrintJobInfo(printJobId, 749 public boolean setPrintJobState(PrintJobId printJobId, int state, String error) { 754 return service.mSpooler.setPrintJobState(printJobId, state, error); 763 public boolean setPrintJobTag(PrintJobId printJobId, String tag) { 768 return service.mSpooler.setPrintJobTag(printJobId, tag) [all...] |
UserState.java | 52 import android.print.PrintJobId; 208 printJob.setId(new PrintJobId()); 263 ArrayMap<PrintJobId, PrintJobInfo> result = 264 new ArrayMap<PrintJobId, PrintJobInfo>(); 295 public PrintJobInfo getPrintJobInfo(@NonNull PrintJobId printJobId, int appId) { 296 PrintJobInfo printJob = mPrintJobForAppCache.getPrintJob(printJobId, appId); 298 printJob = mSpooler.getPrintJobInfo(printJobId, appId); 331 public void cancelPrintJob(@NonNull PrintJobId printJobId, int appId) [all...] |
PrintManagerService.java | 48 import android.print.PrintJobId; 167 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { 168 if (printJobId == null) { 185 return userState.getPrintJobInfo(printJobId, resolvedAppId); 213 public void cancelPrintJob(PrintJobId printJobId, int appId, int userId) { 214 if (printJobId == null) { 231 userState.cancelPrintJob(printJobId, resolvedAppId); 238 public void restartPrintJob(PrintJobId printJobId, int appId, int userId) [all...] |
/packages/apps/Settings/src/com/android/settings/print/ |
PrintJobSettingsFragment.java | 22 import android.print.PrintJobId; 57 public void onPrintJobStateChanged(PrintJobId printJobId) { 67 private PrintJobId mPrintJobId; 163 String printJobId = getArguments().getString(EXTRA_PRINT_JOB_ID); 164 if (printJobId == null) { 167 mPrintJobId = PrintJobId.unflattenFromString(printJobId);
|
PrintSettingsFragment.java | 32 import android.print.PrintJobId; 429 public void onPrintJobStateChanged(PrintJobId printJobId) { 539 public void onPrintJobStateChanged(PrintJobId printJobId) {
|