b3baaab4af7e1ed8dfc5da1c976cc34d135fb82b |
|
11-May-2018 |
Philip P. Moltmann <moltmann@google.com> |
Allow Print subsystem to work with services provided by instant app Most functionality works, but the PrintActivity cannot directly interact with the instant service. As instant services should only appear in tests this functionality needs to be enabled via shell commands. Fixes: 79484768 Test: cts-tradefed run commandAndExit cts-instant-dev -m CtsPrintTestCases cts-tradefed run commandAndExit cts-dev -m CtsPrintTestCases Change-Id: Ie4663c72b8c0f959b5d172ef28875479d120e386
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
9f35ca996432e960b77eb194975e2086d7c18aff |
|
13-Feb-2018 |
Eugene Susla <eugenesusla@google.com> |
Use PooledLambda in print code This replaces the usage of handler message types with PooledLambda Test: atest CtsPrintTestCases Change-Id: I19b01278b67b5fe18d48a2e0bb8300bbe1413a63
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
371a3b879ba82bbe5a4d914328a20659131d0220 |
|
26-Jan-2018 |
Philip P. Moltmann <moltmann@google.com> |
Dump usb as DualDump This allows to dump the USB state as proto-buf. This in turn allows to automatically process this data. Test: adb shell dumpsys usb incident_report usb No automated test possible as no field is guaranteed to be set Change-Id: Ifdf22bfaf9c78226c420b11c43278013ce69f849
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
9a534c01ecd4a1442856c1b709e23b61f1baf9ba |
|
16-Jan-2018 |
Philip P. Moltmann <moltmann@google.com> |
Only have one way of dumping print manager state Add a class DualDumpOutputStream that maps proto-dump commands onto print writer commands. The effect of this is that there is only one - very proto dump like - way to dump the print manager which is much easier to maintain. The DualDumpOutputStream tries to produce a result similar to the incident-report tool. Test: adb shell dumpsys print Change-Id: I1f0c56651eaa59f0ce90cdb08c71e89a96c48dd4
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
c0a128dc2b3e7af35cb39d5157ca4de9147aa3c8 |
|
19-Jun-2017 |
Philip P. Moltmann <moltmann@google.com> |
Dump print manager as proto Test: incident_report print. Having no entries Change-Id: I3c7d611e44c0d3bf8e00775b1708bd82a334121a
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
126913cb3a4299e117d25ea0f9d55fc3ee10661c |
|
15-Dec-2016 |
Philip P. Moltmann <moltmann@google.com> |
Ignore commands if service connection is destroyed. Test: Print CTS tests (currently affected by b/33449823). Print spooler unit test Fixes: 33106285 Change-Id: I5c771b17992ef627ce5ac3a66a02358c4540893c
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
e8bffdccd178c6118bce3f80c841f90db1051fa5 |
|
11-May-2016 |
Philip P. Moltmann <moltmann@google.com> |
Reconnect to service when it is updated - Remove service from mActiveServices when the binder died. (before update) - Treat the failure to bind as if when the binder dies. (while updating) If the service is removed for mActiveServices, onConfigurationChanged will automatically restart the service. Fixes: 27977706 Change-Id: I643248f56a9f2f4b7dce63cc1489a60739ab4537
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
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/services/print/java/com/android/server/print/RemotePrintService.java
|
76d7e3ee70c4299b22b1a03505d2b4f108716c75 |
|
15-Jan-2016 |
Philip P. Moltmann <moltmann@google.com> |
Check parameters for callers of IPrintManager - Propagate nullness and non-null-ness up and down from the interfaces. - Add non-CTS print tests for IPrintManager binder. Change-Id: I0c310d9cea8aefba5ce386931521ffaf19712bbb
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
cdf2b400349ca22fedfeb5a2deb8a043791b22ef |
|
14-Jan-2016 |
Philip P. Moltmann <moltmann@google.com> |
Enforce non-nullness in PrinterId and exploit it. Change-Id: Ifdf3b2329548a665d609dd66b738baab5c765b54
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.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/services/print/java/com/android/server/print/RemotePrintService.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/services/print/java/com/android/server/print/RemotePrintService.java
|
d69e4c1460017062e7c36be55801cb434ad19d97 |
|
24-Apr-2015 |
Dianne Hackborn <hackbod@google.com> |
Update use of procstate for services. Now that we have a separate foreground service proc state (above a sleeping top app), update various system services to put their bindings into this state when appropriate. There are two new bind flags for this -- one that just always makes it a foreground service, another that only does it when the device is awake (useful for things like the wallpaper). And with all of that, tweak network policy manager to only include apps that are at least foreground service state when in power save and device idle modes. This will allow us to further reduce the set of apps that have network access (in particular not giving access to the current top app when the screen is off), hopefully leading to even better battery life. Change-Id: I91d85a5c5ed64e856149e9a5d94a634a7925ec7f
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
a798c0a984f29f7180883a61839f68d2cbf0c6ce |
|
15-May-2014 |
Svetoslav <svetoslavganov@google.com> |
Refactor printing Change-Id: I19850154ef2798afff511e4490a268ce38e8cbae
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/print/java/com/android/server/print/RemotePrintService.java
|