/frameworks/base/core/java/android/print/ |
D | PrintJob.java | 37 private @NonNull PrintJobInfo mCachedInfo; 39 PrintJob(@NonNull PrintJobInfo info, @NonNull PrintManager printManager) { in PrintJob() 63 public @NonNull PrintJobInfo getInfo() { in getInfo() 67 PrintJobInfo info = mPrintManager.getPrintJobInfo(mCachedInfo.getId()); in getInfo() 85 if (state == PrintJobInfo.STATE_QUEUED in cancel() 86 || state == PrintJobInfo.STATE_STARTED in cancel() 87 || state == PrintJobInfo.STATE_BLOCKED in cancel() 88 || state == PrintJobInfo.STATE_FAILED) { in cancel() 115 return getInfo().getState() == PrintJobInfo.STATE_QUEUED; in isQueued() 128 return getInfo().getState() == PrintJobInfo.STATE_STARTED; in isStarted() [all …]
|
D | PrintJobInfo.java | 46 public final class PrintJobInfo implements Parcelable { class 207 public PrintJobInfo() { in PrintJobInfo() method in PrintJobInfo 212 public PrintJobInfo(PrintJobInfo other) { in PrintJobInfo() method in PrintJobInfo 233 private PrintJobInfo(@NonNull Parcel parcel) { in PrintJobInfo() method in PrintJobInfo 783 private final PrintJobInfo mPrototype; 791 public Builder(@Nullable PrintJobInfo prototype) { in Builder() 793 ? new PrintJobInfo(prototype) in Builder() 794 : new PrintJobInfo(); in Builder() 879 public @NonNull PrintJobInfo build() { in build() 884 public static final @android.annotation.NonNull Parcelable.Creator<PrintJobInfo> CREATOR = [all …]
|
D | IPrintSpoolerClient.aidl | 20 import android.print.PrintJobInfo; 29 void onPrintJobQueued(in PrintJobInfo printJob); in onPrintJobQueued() 32 void onPrintJobStateChanged(in PrintJobInfo printJob); in onPrintJobStateChanged()
|
D | IPrintSpoolerCallbacks.aidl | 20 import android.print.PrintJobInfo; 32 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence); in onGetPrintJobInfosResult() 36 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence); in onGetPrintJobInfoResult()
|
D | IPrintManager.aidl | 29 import android.print.PrintJobInfo; 40 List<PrintJobInfo> getPrintJobInfos(int appId, int userId); in getPrintJobInfos() 41 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); in getPrintJobInfo()
|
D | IPrintSpooler.aidl | 28 import android.print.PrintJobInfo; 43 void createPrintJob(in PrintJobInfo printJob); in createPrintJob()
|
D | PrintJobInfo.aidl | 19 parcelable PrintJobInfo;
|
D | PrintManager.java | 301 PrintJobInfo getPrintJobInfo(PrintJobId printJobId) { in getPrintJobInfo() 378 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId); in getPrintJob() 422 List<PrintJobInfo> printJobInfos = mService.getPrintJobInfos(mAppId, mUserId); in getPrintJobs() 532 PrintJobInfo printJob = result.getParcelable(EXTRA_PRINT_JOB); in print()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintJob.java | 27 import android.print.PrintJobInfo; 49 private PrintJobInfo mCachedInfo; 54 PrintJob(@NonNull Context context, @NonNull PrintJobInfo jobInfo, in PrintJob() 85 public @NonNull PrintJobInfo getInfo() { in getInfo() 90 PrintJobInfo info = null; in getInfo() 125 return getInfo().getState() == PrintJobInfo.STATE_QUEUED; in isQueued() 141 return getInfo().getState() == PrintJobInfo.STATE_STARTED; in isStarted() 157 return getInfo().getState() == PrintJobInfo.STATE_BLOCKED; in isBlocked() 171 return getInfo().getState() == PrintJobInfo.STATE_COMPLETED; in isCompleted() 185 return getInfo().getState() == PrintJobInfo.STATE_FAILED; in isFailed() [all …]
|
D | IPrintService.aidl | 20 import android.print.PrintJobInfo; 30 void requestCancelPrintJob(in PrintJobInfo printJobInfo); in requestCancelPrintJob() 31 void onPrintJobQueued(in PrintJobInfo printJobInfo); in onPrintJobQueued()
|
D | PrintService.java | 32 import android.print.PrintJobInfo; 350 List<PrintJobInfo> printJobInfos = mClient.getPrintJobInfos(); in getActivePrintJobs() 441 public void requestCancelPrintJob(PrintJobInfo printJobInfo) { in onBind() 447 public void onPrintJobQueued(PrintJobInfo printJobInfo) { in onBind() 574 PrintJobInfo printJobInfo = (PrintJobInfo) message.obj; 583 PrintJobInfo printJobInfo = (PrintJobInfo) message.obj;
|
D | IPrintServiceClient.aidl | 21 import android.print.PrintJobInfo; 33 List<PrintJobInfo> getPrintJobInfos(); in getPrintJobInfos() 34 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId); in getPrintJobInfo()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 39 import android.print.PrintJobInfo; 91 public void onUpdateNotifications(List<PrintJobInfo> printJobs) { in onUpdateNotifications() 92 List<PrintJobInfo> notifyPrintJobs = new ArrayList<>(); in onUpdateNotifications() 96 PrintJobInfo printJob = printJobs.get(i); in onUpdateNotifications() 110 private void updateNotifications(List<PrintJobInfo> printJobs) { in updateNotifications() 117 PrintJobInfo printJob = printJobs.get(i); in updateNotifications() 136 private void createSimpleNotification(PrintJobInfo printJob) { in createSimpleNotification() 138 case PrintJobInfo.STATE_FAILED: { in createSimpleNotification() 142 case PrintJobInfo.STATE_BLOCKED: { in createSimpleNotification() 167 private Action createCancelAction(PrintJobInfo printJob) { in createCancelAction() [all …]
|
D | PrintSpoolerService.java | 52 import android.print.PrintJobInfo; 117 private final List<PrintJobInfo> mPrintJobs = new ArrayList<>(); 237 private void sendOnPrintJobQueued(PrintJobInfo printJob) { in sendOnPrintJobQueued() 256 private void onPrintJobStateChanged(PrintJobInfo printJob) { in onPrintJobStateChanged() 287 private void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() 309 public List<PrintJobInfo> getPrintJobInfos(ComponentName componentName, in getPrintJobInfos() 311 List<PrintJobInfo> foundPrintJobs = null; in getPrintJobInfos() 315 PrintJobInfo printJob = mPrintJobs.get(i); in getPrintJobInfos() 323 || (state == PrintJobInfo.STATE_ANY) in getPrintJobInfos() 324 || (state == PrintJobInfo.STATE_ANY_VISIBLE_TO_CLIENTS in getPrintJobInfos() [all …]
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | UserState.java | 58 import android.print.PrintJobInfo; 187 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() 199 mSpooler.setPrintJobState(printJob.getId(), PrintJobInfo.STATE_FAILED, in onPrintJobQueued() 224 final PrintJobInfo printJob = new PrintJobInfo(); in print() 229 printJob.setState(PrintJobInfo.STATE_CREATED); in print() 263 public List<PrintJobInfo> getPrintJobInfos(int appId) { in getPrintJobInfos() 264 List<PrintJobInfo> cachedPrintJobs = mPrintJobForAppCache.getPrintJobs(appId); in getPrintJobInfos() 271 ArrayMap<PrintJobId, PrintJobInfo> result = in getPrintJobInfos() 272 new ArrayMap<PrintJobId, PrintJobInfo>(); in getPrintJobInfos() 277 PrintJobInfo cachedPrintJob = cachedPrintJobs.get(i); in getPrintJobInfos() [all …]
|
D | RemotePrintSpooler.java | 39 import android.print.PrintJobInfo; 121 public void onPrintJobQueued(PrintJobInfo printJob); in onPrintJobQueued() 123 public void onPrintJobStateChanged(PrintJobInfo printJob); in onPrintJobStateChanged() 162 public final List<PrintJobInfo> getPrintJobInfos(ComponentName componentName, int state, in getPrintJobInfos() 186 public final void createPrintJob(PrintJobInfo printJob) { in createPrintJob() 231 public final PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId) { in getPrintJobInfo() 585 private void onPrintJobStateChanged(PrintJobInfo printJob) { in onPrintJobStateChanged() 720 extends TimedRemoteCaller<List<PrintJobInfo>> { 727 public void onGetPrintJobInfosResult(List<PrintJobInfo> printJobs, int sequence) { in GetPrintJobInfosCaller() 733 public List<PrintJobInfo> getPrintJobInfos(IPrintSpooler target, in getPrintJobInfos() [all …]
|
D | RemotePrintService.java | 41 import android.print.PrintJobInfo; 210 public void onRequestCancelPrintJob(PrintJobInfo printJob) { in onRequestCancelPrintJob() 215 private void handleRequestCancelPrintJob(final PrintJobInfo printJob) { in handleRequestCancelPrintJob() 236 public void onPrintJobQueued(PrintJobInfo printJob) { in onPrintJobQueued() 241 private void handleOnPrintJobQueued(final PrintJobInfo printJob) { in handleOnPrintJobQueued() 686 public List<PrintJobInfo> getPrintJobInfos() { in getPrintJobInfos() 692 PrintJobInfo.STATE_ANY_SCHEDULED, PrintManager.APP_ID_ANY); in getPrintJobInfos() 701 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId) { in getPrintJobInfo()
|
D | PrintManagerService.java | 54 import android.print.PrintJobInfo; 195 public List<PrintJobInfo> getPrintJobInfos(int appId, int userId) { in getPrintJobInfos() 216 public PrintJobInfo getPrintJobInfo(PrintJobId printJobId, int appId, int userId) { in getPrintJobInfo()
|
/frameworks/base/core/tests/coretests/src/android/print/ |
D | IPrintManagerParametersTest.java | 268 List<PrintJobInfo> infos = mIPrintManager.getPrintJobInfos(mAppId, mUserId); 271 for (PrintJobInfo info : infos) { 273 assertEquals(PrintJobInfo.STATE_CREATED, info.getState());
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | PrintActivity.java | 56 import android.print.PrintJobInfo; 197 private PrintJobInfo mPrintJob; 316 PrintJobInfo.STATE_CANCELED, null); in onCreate() 408 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_CANCELED, null); in onPause() 421 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_COMPLETED, in onPause() 424 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_QUEUED, in onPause() 430 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_FAILED, in onPause() 435 spooler.setPrintJobState(mPrintJob.getId(), PrintJobInfo.STATE_CANCELED, null); in onPause() 821 PrintJobInfo.Builder printJobBuilder = new PrintJobInfo.Builder(mPrintJob); in startAdvancedPrintOptionsActivity() 851 PrintJobInfo printJobInfo = data.getParcelableExtra(PrintService.EXTRA_PRINT_JOB_INFO); in onAdvancedPrintOptionsActivityResult() [all …]
|
/frameworks/base/core/java/com/android/internal/print/ |
D | DumpUtils.java | 27 import android.print.PrintJobInfo; 284 @NonNull PrintJobInfo printJobInfo) { in writePrintJobInfo()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 54631 …PrintManager$Stub$Proxy;->getPrintJobInfo(Landroid/print/PrintJobId;II)Landroid/print/PrintJobInfo; 54683 …oid/print/IPrintManager;->getPrintJobInfo(Landroid/print/PrintJobId;II)Landroid/print/PrintJobInfo; 54710 Landroid/print/IPrintSpooler$Stub$Proxy;->createPrintJob(Landroid/print/PrintJobInfo;)V 54747 Landroid/print/IPrintSpooler;->createPrintJob(Landroid/print/PrintJobInfo;)V 54769 …d/print/IPrintSpoolerCallbacks$Stub$Proxy;->onGetPrintJobInfoResult(Landroid/print/PrintJobInfo;I)V 54788 Landroid/print/IPrintSpoolerCallbacks;->onGetPrintJobInfoResult(Landroid/print/PrintJobInfo;I)V 54797 Landroid/print/IPrintSpoolerClient$Stub$Proxy;->onPrintJobQueued(Landroid/print/PrintJobInfo;)V 54798 Landroid/print/IPrintSpoolerClient$Stub$Proxy;->onPrintJobStateChanged(Landroid/print/PrintJobInfo;… 54808 Landroid/print/IPrintSpoolerClient;->onPrintJobQueued(Landroid/print/PrintJobInfo;)V 54809 Landroid/print/IPrintSpoolerClient;->onPrintJobStateChanged(Landroid/print/PrintJobInfo;)V [all …]
|
/frameworks/base/api/ |
D | test-current.txt | 2495 public final class PrintJobInfo implements android.os.Parcelable {
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 23032 method public android.print.PrintJobInfo getInfo(); 23048 public final class PrintJobInfo implements android.os.Parcelable { 23059 field public static final android.os.Parcelable.Creator<android.print.PrintJobInfo> CREATOR; 23069 public static final class PrintJobInfo.Builder { 23070 ctor public PrintJobInfo.Builder(android.print.PrintJobInfo); 23071 method public android.print.PrintJobInfo build(); 23165 method public android.print.PrintJobInfo getInfo();
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 36578 method @NonNull public android.print.PrintJobInfo getInfo(); 36594 public final class PrintJobInfo implements android.os.Parcelable { 36608 …field @NonNull public static final android.os.Parcelable.Creator<android.print.PrintJobInfo> CREAT… 36618 public static final class PrintJobInfo.Builder { 36619 ctor public PrintJobInfo.Builder(@Nullable android.print.PrintJobInfo); 36620 method @NonNull public android.print.PrintJobInfo build(); 36723 method @MainThread @NonNull public android.print.PrintJobInfo getInfo();
|