HomeSort by relevance Sort by last modified time
    Searched refs:printJob (Results 1 - 24 of 24) sorted by null

  /cts/tests/tests/print/src/android/print/cts/services/
StubbablePrintService.java 19 import android.printservice.PrintJob;
36 public void onRequestCancelPrintJob(PrintJob printJob) {
39 callbacks.onRequestCancelPrintJob(printJob);
44 public void onPrintJobQueued(PrintJob printJob) {
47 callbacks.onPrintJobQueued(printJob);
PrintServiceCallbacks.java 19 import android.printservice.PrintJob;
36 public abstract void onRequestCancelPrintJob(PrintJob printJob);
38 public abstract void onPrintJobQueued(PrintJob printJob);
  /frameworks/base/core/java/android/print/
IPrintSpoolerClient.aidl 29 void onPrintJobQueued(in PrintJobInfo printJob);
32 void onPrintJobStateChanged(in PrintJobInfo printJob);
IPrintSpoolerCallbacks.aidl 30 void onGetPrintJobInfosResult(in List<PrintJobInfo> printJob, int sequence);
34 void onGetPrintJobInfoResult(in PrintJobInfo printJob, int sequence);
IPrintSpooler.aidl 41 void createPrintJob(in PrintJobInfo printJob);
PrintManager.java 101 * @see PrintJob
294 * @see PrintJob
297 public PrintJob getPrintJob(PrintJobId printJobId) {
303 PrintJobInfo printJob = mService.getPrintJobInfo(printJobId, mAppId, mUserId);
304 if (printJob != null) {
305 return new PrintJob(printJob, this);
317 * @see PrintJob
319 public List<PrintJob> getPrintJobs() {
330 List<PrintJob> printJobs = new ArrayList<PrintJob>(printJobCount)
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
NotificationController.java 74 PrintJobInfo printJob = printJobs.get(i);
75 if (shouldNotifyForState(printJob.getState())) {
76 notifyPrintJobs.add(printJob);
93 private void createSimpleNotification(PrintJobInfo printJob) {
94 switch (printJob.getState()) {
96 createFailedNotification(printJob);
100 if (!printJob.isCancelling()) {
101 createBlockedNotification(printJob);
103 createCancellingNotification(printJob);
108 if (!printJob.isCancelling())
    [all...]
PrintSpoolerService.java 144 PrintJobInfo printJob = mPrintJobs.get(i);
145 pw.append(prefix).append(tab).append(printJob.toString());
163 private void sendOnPrintJobQueued(PrintJobInfo printJob) {
165 HandlerCallerCallback.MSG_ON_PRINT_JOB_QUEUED, printJob);
205 PrintJobInfo printJob = (PrintJobInfo) message.obj;
208 mClient.onPrintJobQueued(printJob);
243 PrintJobInfo printJob = (PrintJobInfo) message.obj;
245 mClient.onPrintJobStateChanged(printJob);
261 PrintJobInfo printJob = mPrintJobs.get(i);
262 PrinterId printerId = printJob.getPrinterId()
    [all...]
  /packages/experimental/PrintService/src/foo/bar/printservice/
MyPrintService.java 35 import android.printservice.PrintJob;
75 private final Map<PrintJobId, PrintJob> mProcessedPrintJobs =
76 new ArrayMap<PrintJobId, PrintJob>();
111 protected void onRequestCancelPrintJob(final PrintJob printJob) {
113 mProcessedPrintJobs.put(printJob.getId(), printJob);
116 intent.putExtra(INTENT_EXTRA_PRINT_JOB_ID, printJob.getId());
122 public void onPrintJobQueued(final PrintJob printJob) {
    [all...]
  /packages/apps/Settings/src/com/android/settings/print/
PrintJobSettingsFragment.java 24 import android.print.PrintJob;
69 private PrintJob mPrintJob;
115 PrintJob printJob = getPrintJob();
116 if (printJob == null) {
120 if (!printJob.getInfo().isCancelling()) {
126 if (printJob.isFailed()) {
160 private PrintJob getPrintJob() {
168 PrintJob printJob = getPrintJob()
    [all...]
PrintSettingsFragment.java 40 import android.print.PrintJob;
379 PrintJobInfo printJob = printJobs.get(i);
386 preference.setKey(printJob.getId().flattenToString());
388 switch (printJob.getState()) {
391 if (!printJob.isCancelling()) {
394 printJob.getLabel()));
398 printJob.getLabel()));
405 printJob.getLabel()));
409 if (!printJob.isCancelling()) {
412 printJob.getLabel()))
    [all...]
  /packages/experimental/PrintService2/src/foo/bar/printservice2/
MyPrintService.java 16 import android.printservice.PrintJob;
65 public void onPrintJobQueued(final PrintJob printJob) {
67 PrintJobInfo info = printJob.getInfo();
76 new FileInputStream(printJob.getData()));
118 if (printJob.isQueued()) {
119 printJob.start();
122 PrintJobInfo info = printJob.getInfo();
128 if (printJob.isStarted()) {
129 printJob.complete()
    [all...]
  /frameworks/base/services/print/java/com/android/server/print/
RemotePrintSpooler.java 91 public void onPrintJobQueued(PrintJobInfo printJob);
93 public void onPrintJobStateChanged(PrintJobInfo printJob);
133 public final void createPrintJob(PrintJobInfo printJob) {
140 getRemoteInstanceLazy().createPrintJob(printJob);
345 private void onPrintJobStateChanged(PrintJobInfo printJob) {
346 mCallbacks.onPrintJobStateChanged(printJob);
492 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) {
493 onRemoteMethodResult(printJob, sequence);
556 public void onGetPrintJobInfoResult(PrintJobInfo printJob, int sequence) {
585 public void onPrintJobQueued(PrintJobInfo printJob) {
    [all...]
UserState.java 135 public void onPrintJobQueued(PrintJobInfo printJob) {
139 ComponentName printServiceName = printJob.getPrinterId().getServiceName();
143 service.onPrintJobQueued(printJob);
147 mSpooler.setPrintJobState(printJob.getId(), PrintJobInfo.STATE_FAILED,
172 final PrintJobInfo printJob = new PrintJobInfo();
173 printJob.setId(new PrintJobId());
174 printJob.setAppId(appId);
175 printJob.setLabel(printJobName);
176 printJob.setAttributes(attributes);
177 printJob.setState(PrintJobInfo.STATE_CREATED)
    [all...]
RemotePrintService.java 188 public void onRequestCancelPrintJob(PrintJobInfo printJob) {
190 printJob).sendToTarget();
193 private void handleRequestCancelPrintJob(final PrintJobInfo printJob) {
200 handleRequestCancelPrintJob(printJob);
208 mPrintService.requestCancelPrintJob(printJob);
215 public void onPrintJobQueued(PrintJobInfo printJob) {
217 printJob).sendToTarget();
220 private void handleOnPrintJobQueued(final PrintJobInfo printJob) {
228 handleOnPrintJobQueued(printJob);
236 mPrintService.onPrintJobQueued(printJob);
    [all...]
  /cts/tests/tests/print/src/android/print/cts/
PageRangeAdjustmentTest.java 42 import android.printservice.PrintJob;
80 PrintJob printJob = (PrintJob) invocation.getArguments()[0];
81 PageRange[] pages = printJob.getInfo().getPages();
83 printJob.complete();
164 any(PrintJob.class));
183 PrintJob printJob = (PrintJob) invocation.getArguments()[0]
    [all...]
PrinterDiscoverySessionLifecycleTest.java 39 import android.printservice.PrintJob;
82 PrintJob printJob = (PrintJob) invocation.getArguments()[0];
84 printJob.complete();
179 PrintJob printJob = (PrintJob) invocation.getArguments()[0];
181 printJob.complete();
PrintDocumentAdapterContractTest.java 44 import android.printservice.PrintJob;
    [all...]
  /frameworks/base/core/java/android/printservice/
PrintService.java 62 * #onPrintJobQueued(PrintJob)}. The print service may handle the print job immediately
69 * while processing it. Initially, a print job is queued, i.e. {@link PrintJob#isQueued()
70 * PrintJob.isQueued()} returns true, which means that the document to be printed is
72 * the printed document by calling {@link PrintJob#getDocument() PrintJob.getDocument()}
75 * state to started by calling {@link PrintJob#start()} after which
76 * {@link PrintJob#isStarted() PrintJob.isStarted()} would return true. Upon successful
78 * PrintJob#complete() PrintJob.complete()} after which {@link PrintJob#isCompleted(
    [all...]
  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
PrintActivity.java     [all...]
  /external/chromium_org/third_party/android_platform/webview/
frameworks.jar 
  /prebuilts/tools/linux-x86/swt/
swt.jar 
  /prebuilts/tools/linux-x86_64/swt/
swt.jar 
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 

Completed in 612 milliseconds