• Home
  • History
  • Annotate
  • only in /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
History log of /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ee68fd889c2dfcd895b8e73fc39d7b97826dc3d8 23-Jun-2016 Jason Monk <jmonk@google.com> QS: Don't use ComponentName to identify tiles

Evidently some apps redirect/obscure tiles in a way that makes
creating a ComponentName from the TileService useless. Instead
generate a token which will be a much more stable way of identifying
tiles henceforth.

Change-Id: Id68550bcdcdc3e3987f09380f258610e7a5aca85
Fixes: 29121793
xternal/TileLifecycleManagerTests.java
a3453b8bd9af44566c6a31fd0156cc76e6028f6d 17-Jun-2016 Jason Monk <jmonk@google.com> QS API: Fix mService and mTile being null once and for all

Change-Id: Idd82e4c2f6cfc2b30432e15e23963c1d7a959e43
Fixes: 29121793
xternal/TileLifecycleManagerTests.java
xternal/TileServicesTests.java
aa336f89265b8936d23e43189904de6ea9575538 08-Apr-2016 Jason Monk <jmonk@google.com> Merge "Allow mode of TileService to be changed" into nyc-dev
97d2272be0bf3e77474e7ff9984217dfe247f4d0 07-Apr-2016 Jason Monk <jmonk@google.com> Allow mode of TileService to be changed

Since the mode of a tile service was set in onTileAdded, it couldn't
be controlled by developers if they updated their tile. To handle
the mode has been moved to a boolean meta-data flag to indicate
a tile should be an active tile.

Bug: 28043969
Change-Id: I6403d34f8cb70809edc07769389d5a1f835c1ab3
xternal/TileServiceManagerTests.java
f30b5ca1b1c565e1f55a5dda1f457fe9a006e63a 06-Apr-2016 Jason Monk <jmonk@google.com> Make QS tile lifecycle tests less flaky (hopefully)

Change-Id: I387c774267c076cf244d2870b051ad6d586d3564
xternal/TileLifecycleManagerTests.java
0c6e099482182007d74a2ae013ca79ad473e1fc7 29-Mar-2016 Jason Monk <jmonk@google.com> Fix tests and tag them for continuous testage

Change-Id: I25d7d34ff8c12308755be6567aae1db009b59a4d
ouchAnimatorTests.java
xternal/TileLifecycleManagerTests.java
xternal/TileServiceManagerTests.java
xternal/TileServicesTests.java
46dbfb475fe0d1644f27f78e35735ba32c92225b 25-Feb-2016 Jason Monk <jmonk@google.com> Handle density changes in QS

Bug: 26845796
Change-Id: Icc783c9d706382e553df49f699aaf44aac943d18
xternal/TileServicesTests.java
f6a3cf929102fd74757affdbd09053144e29a3c7 29-Feb-2016 Jason Monk <jmonk@google.com> Add tests for TouchAnimator

Also fix existing tests

Bug: 27392084
Change-Id: I70299512e8fa3e0cb86c868b47df7703e04d6084
ouchAnimatorTests.java
xternal/TileServicesTests.java
34a5cef6298cc44fc0614c4747c4b17137cff441 29-Jan-2016 Jason Monk <jmonk@google.com> Let SysUI watch TileService's dialog lifecycle

That way it can better handle tokens and service binding.

Change-Id: I9b882181ecbe52a65e731a2c45f1d296315884b4
xternal/TileServiceManagerTests.java
9429513cc3ea6e58e330865bd621b57cb3477551 12-Jan-2016 Jason Monk <jmonk@google.com> Round out the QS API

- Add startActivityAndCollapse, to make collapsing the shade easy
- Add isSecure()
- Add isLocked()
- Add unlockandRun(Runnable)
- Add unavailable, active, and inactive states

The states are added to allow consistent UI across OEM devices, by
allowing UI tweaking and tinting to match system tiles with custom
ones.

The combination of isSecure() and isLocked() and unlockAndRun(Runnable)
allows all combinations of launching show when lockend and triggering
an unlock when needed for sensitive tiles.

Change-Id: Iade98ad9f2c22aa174e62090d8ccd44c86f3bb3c
xternal/TileLifecycleManagerTests.java
66c89c15a0baabf001e69498dbc09903f72cc63d 06-Jan-2016 Jason Monk <jmonk@google.com> Add API for System QS tiles to set status icons

Allow system apps that have a Quick Settings tile to show a
status bar icon. If the quick settings tile is removed, the
status bar icon will no longer be shown.

Change-Id: I875b962bbdf4ff863012de688a3dd29a8d7e11ab
xternal/TileServicesTests.java
fe8f6826ce3c2beeb1fce54c67978ce69f849407 21-Dec-2015 Jason Monk <jmonk@google.com> More QS Tile modes in the API

Allow tiles to request when they are bound instead of doing it
automatically for them when in the listening state. Only one
of these modes is allowed for a given tile, meaning it can either
push updates when it thinks they matter, or it can be told when
to update.

Change-Id: I165b39dddb836df90d253aeb5ebea48e62ea0dae
xternal/TileLifecycleManagerTests.java
xternal/TileServiceManagerTests.java
d5a204f16e7c71ffdbc6c8307a4134dcc1efd60d 21-Dec-2015 Jason Monk <jmonk@google.com> Better service management for QS 3rd party tiles

Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.

Also better handling of too many services at a time. Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.

Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb
xternal/TileLifecycleManagerTests.java
xternal/TileServiceManagerTests.java
xternal/TileServicesTests.java