History log of /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2e3012624b703a653fed44d4dc1b8904406c0d99 16-Jun-2016 Philip P. Moltmann <moltmann@google.com> Add event tracking to print UI.

Bug: 29391676
Change-Id: Iec09ac7296e50329e87268bcb70f5e60d566961c
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
310ddc313fc1a1251c4ebd09868d5b4c7d0a3cf7 27-May-2016 Ian Rogers <irogers@google.com> Fix NaN test.

Found by Error Prone.
Bug: 27723540

Change-Id: Ia4fc511a634e76508384c83dc74d6d01ab1bc839
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
9cb79d193bdbf9d8635d5dfc8b6b04c87facbaab 22-Apr-2016 Philip P. Moltmann <moltmann@google.com> Merge "Send update notifications when the status of a print job updates and make sure to only access mPrintServicesChangeListenerRecords when locked." into nyc-dev
am: bfce110c63

* commit 'bfce110c63541f514c865fc221047b8101932d58':
Send update notifications when the status of a print job updates and make sure to only access mPrintServicesChangeListenerRecords when locked.

Change-Id: I6d87b7de3325d330b7b03f838ea8ec9475ff85be
4bd8fac48ed28494ca24e456e20b3058f78e8fe9 22-Apr-2016 Philip P. Moltmann <moltmann@google.com> Send update notifications when the status of a print job updates and
make sure to only access mPrintServicesChangeListenerRecords when
locked.

Bug: 28315242
Change-Id: Ie41ee695e6b1b0394e55538b9d9edaee0610f1e0
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
7ea07312f5cec98cf39b676afbc7589f17e94e21 21-Apr-2016 Tobias Thierer <tobiast@google.com> Merge "Integer.valueOf() -> Integer.parseInt() to avoid allocation." am: c027ae49f0
am: a2ad95a1e3

* commit 'a2ad95a1e3933190004d9fb414ea2d54540bf4f2':
Integer.valueOf() -> Integer.parseInt() to avoid allocation.

Change-Id: I72b7a6d5a36eb10ccf321e8ecb0f24ab6834324a
9bbbf2b15f331e8c72ee1054dc0ef6a613921fe1 21-Apr-2016 Tobias Thierer <tobiast@google.com> Integer.valueOf() -> Integer.parseInt() to avoid allocation.

Bug: 28289401
Change-Id: If767f891644a06ba587f9bb55dccea4089a8c66d
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
ebf397625ea5ee41af531da251d8d0cb89c26beb 25-Mar-2016 Philip P. Moltmann <moltmann@google.com> Merge "Change hasCustomPrintIcon and setStatus as requested by API council." into nyc-dev
d74d1e549168ba521e8009961b76e8718be37aa1 18-Mar-2016 Philip P. Moltmann <moltmann@google.com> Change hasCustomPrintIcon and setStatus as requested by API council.

Bonus: null advanced keys produced a exception deep in the print
spooler. Hence prevent null keys on the surface from now on.

Bug: 27716355
Change-Id: I3c064956f4e670cd7091437ade06605aa8d797b0
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
13460a6cba25b99c405d00bb40939958df332f3f 18-Mar-2016 Joe Onorato <joeo@google.com> Turn off verbose logs and remove log that is covered by verbose logs.

Bug: 27744135
Change-Id: I436cfd325f87b3b9205d50e92e2a70a50dd33344
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
8141bdfa56f13c3946bed12ba7801e492ec25c11 22-Dec-2015 Philip P. Moltmann <moltmann@google.com> Store which print services are disabled instead of which are enabled

This make services that appreared while the print manager was not active
by default enabled.

In the case we upgrade from pre-N we convert the enabled-list into a
disabled-list.

Bug: 26249649
Change-Id: Iae783a8dd19f1a9d75d675710ea4348fdfbd34f3
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
c43639c3067dda5df189fb3cbf14f256c17e677d 18-Dec-2015 Philip P. Moltmann <moltmann@google.com> Clean up print subsystem

- Stop using deprecated APIs
- Fix all public and some internal javadoc
- Add @Decorations to public APIs
- Some minor cleanup, e.g. don't use variables with overlapping names in same scope
- remove unnecessary properties from manifest (they are set by the build
system)

Change-Id: I0ce8849a516414763fe9de76c3a18ce17d896816
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
bb9f686b40743df2642b7d3b7778dbf7284ae665 01-Dec-2015 Philip P. Moltmann <moltmann@google.com> Allow a print service to specify per printer icons, description and
info-activities

The icon is loaded from the discovery session only when it is displayed
to avoid having to store too many icons in memory.

Also the icons are not maintained in the historical printers. Only if
the printers are available nice icons are shown. A historical printer is
updated with the appropriate properties (including icon) once it becomes
available.

Bug: 24135005
Change-Id: Iec389bab514b024634be8fb5fc8928371cba8740
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
a958fc336b277cf2838ccd50ef3d3484644b100a 03-Dec-2015 Philip P. Moltmann <moltmann@google.com> Unset is -1 not Nan

Change-Id: I6e7fac4b9f1c3dc6cc88c786db856ddecf3f8538
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
b3078c235e7674fd61be75fb469105ba6174aba5 24-Nov-2015 Philip P. Moltmann <moltmann@google.com> Allow print service to specify progress of print and status

The status has always been there in error cases, it is now also visible
in non-error cases.

If the progress is not set, no progress bar is shown.

Bug: 24135025
Change-Id: Iea23f45d236365433c6f6739597833d236ed6d19
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
853a6f564abaf8acbd88c6704008c5d150d00471 03-Nov-2015 Philip P. Moltmann <moltmann@google.com> Add a alert that allows the user to approve a print service when
we print using it the first time.

This warning used to be shown when the print settings app was used
to enable a service.

If two warning as shown for the same print service we automcatially
dismiss all dialogs once one dialog is confirmed. Please note that
we are not confirming the printjob as it is unexpeced to have a
single click to confirm multiple print jobs.

Change-Id: I8bb0a49bac2063c1c55e2f24bd34df2c44e2df89
Bug: 24135353
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
dcc34fd8a3f718e5e5cfaccb87eeffd64ac80f63 30-Jul-2015 Chris Wren <cwren@android.com> Instrument printing service for metrics collection.

Bug: 22837316
Change-Id: I8bf62940f5eb495d8d7a10df958d9bc8ad76662a
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
9e9e2e73c6ec7bece20268196dc89ad0c8bafad4 08-May-2015 Wojciech Staszkiewicz <staszkiewicz@google.com> Pass charset to XmlPullParser.setInput instead of null

Passing null to XmlPullParser.setInput forces it to do additional
work, which can be easily avoided if we know the charset beforehand.

bug: b/20849543

Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
948c9a6393e0995a4d988d5d164998aa0e12b25d 03-Feb-2015 Svetoslav <svetoslavganov@google.com> Add duplex mode support.

This change adds support for duplex printing. The print UI now has a duplex
option which allows the user to choose one of the supported duplex options
by the currently selected printer. The chosen duplex mode is propaged to the
print service that manages this printer.

Change-Id: I807ba9da2723531535c0e1e33f2f4e1b503a54b0
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
4237c92d850b7fb0fa0be15df94e4d1689e353fc 24-Oct-2014 Svet Ganov <svetoslavganov@google.com> Crash in print spooler if printing app killed from recents.

If the printing app with the print UI on top is killed from recents we get
a crash because: 1) the remote print document was not transitioned to a
failed state if the printing app dies (this is an unrecoverable failure);
2) the print preview controller was destroyed asyncronosly during which it
also asynchronously disconnects from the rendering service which however
happens after the system has already cleaned up all connections of the print
UI activity as it is being destoryed.

bug:18109386

Change-Id: If6200b14a8aa90622228bbb659e9c4962226f561
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java
a798c0a984f29f7180883a61839f68d2cbf0c6ce 15-May-2014 Svetoslav <svetoslavganov@google.com> Refactor printing

Change-Id: I19850154ef2798afff511e4490a268ce38e8cbae
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/PrintSpoolerService.java