306326 Commits

Author SHA1 Message Date
Jaewan Kim
5bdb4e0583 Add oneway keyword for the IOnMediaKeyListener
Test: Tested manually
Change-Id: I35406ff6688b7529873e246226a9617244b4f391
2017-02-06 22:07:24 +09:00
TreeHugger Robot
85a05cd9b5 Merge "Refactoring of auto fill - lifecycle, auth, improvements" 2017-02-06 05:47:45 +00:00
TreeHugger Robot
ad00d0248c Merge "Introduces VrManager as a system service." 2017-02-06 04:05:01 +00:00
Svet Ganov
0f4928f1f7 Refactoring of auto fill - lifecycle, auth, improvements
1. Move management of the remote fill service in a dedicated
   class that abstracts away the async and ephemeral nature
   of the binding.

2. Update auth to move fingerprint out of the platform and
   allow response and dataset auth.

3. Cleaned up the fill and save callback classes.

4. The UI is now shared among all sessions and cleaned up.

5. Reshuffled the remote callbacks to have cleaner separation.

6. Cleaned up and tightened the reponse and dataset classes.

7. Added API to support communicationn with intent based auth.

Test: CTS + manually

bug:31001899

Change-Id: Idc924a01d1aea82807e0397ff7293d2b8470d4d6
2017-02-06 04:02:35 +00:00
Svetoslav Ganov
21c8595d76 Merge "Revert "Improve AnchoredWindow with smart positioning logic."" 2017-02-06 04:01:59 +00:00
Svetoslav Ganov
c71593e3de Merge "Revert "Pass token to AutoFillUI."" 2017-02-06 04:01:13 +00:00
Svetoslav Ganov
7b25218f5a Revert "Improve AnchoredWindow with smart positioning logic."
This reverts commit eb3c9344399831542edc59b7c43c84a0496d7a12.

Change-Id: I6af63525bf72dc9d0dd5a215421fb513e7e635be
2017-02-06 04:00:34 +00:00
Svetoslav Ganov
21e67a1272 Revert "Pass token to AutoFillUI."
This reverts commit 8f60ea6360dace22e98eb9dfeead8118170fa401.

Change-Id: I16e78ab87d2f570462b24c0d61a5c7e161184c70
2017-02-06 03:59:53 +00:00
Zak Cohen
56345f4bfe Introduces VrManager as a system service.
Provides access to persistent VR mode as used by VR viewer when a device
is believed to be inside a viewer.

Bug: 34736524
Test: Built, run using build of vr services that enables mode.
Change-Id: I6ff392f09adb8e4bd522dacbd064777bba836282
2017-02-05 17:33:44 -08:00
Hyundo Moon
210d6176df Merge "Fix NullPointerException in System UI caused by remote volume change" 2017-02-06 01:32:31 +00:00
Jason Long
53780b6877 Merge changes I0e808083,Iade6179f,If0d0a283
* changes:
  Hide DatasetPicker if all items are filtered.
  Improve AnchoredWindow with smart positioning logic.
  Pass token to AutoFillUI.
2017-02-05 18:32:25 +00:00
TreeHugger Robot
f90087168b Merge "Make activities that are in VR mode ignore ui mode config changes." 2017-02-04 21:41:04 +00:00
Jean-Michel Trivi
c424828b4f Merge "Debug flag off on audio service PlaybackActivityMonitor" 2017-02-04 19:10:11 +00:00
Jean-Michel Trivi
13d9ed6481 Debug flag off on audio service PlaybackActivityMonitor
Test: check no logs from PlaybackActivityMonitor when playing audio
Bug 34974646
Change-Id: I6f67abc5a5e80cf61dc3ca4d0dc29f6fe902c4a7
2017-02-04 19:06:48 +00:00
Pierre Lecesne
0355dccc85 Merge "Only compress files that were already compressed in the original APK." 2017-02-04 03:54:43 +00:00
TreeHugger Robot
466149d78c Merge "Fix start delay for ValueAnimator" 2017-02-04 03:47:37 +00:00
Adam Lesinski
558a63056e Merge "AAPT2: Support CtsContentTestCases build" 2017-02-04 03:44:25 +00:00
TreeHugger Robot
a07efe52d5 Merge "Shift responsibility of DB cleanup to TvProvider" 2017-02-04 03:14:13 +00:00
Doris Liu
3b466875bc Fix start delay for ValueAnimator
This CL ensures that doAnimationFrame() is called the frame
after start() is called, so that AnimatorSet can pulse frames
 into single animators as soon as they are start()'ed.

Test: new cts test in  same topic branch

Change-Id: I4f9522ce9e1a54ca3bcad6c696e6b248c945ff90
2017-02-03 18:07:18 -08:00
Dmitry Dementyev
18d4421797 Merge "Fix AccountsDb update." 2017-02-04 01:51:32 +00:00
Dmitry Dementyev
6fe34fcbae Fix AccountsDb update.
Test: manual tests.
Change-Id: I32881f0b77e79e218020dfa7ef921ddeb95de1b7
2017-02-03 17:46:58 -08:00
Andy Hung
763aeb5b94 Merge "AudioTrack: Enable deep buffer under certain conditions" 2017-02-04 01:43:13 +00:00
TreeHugger Robot
cc137da39d Merge "Rename isCallerSystemUid()." 2017-02-04 01:34:10 +00:00
TreeHugger Robot
f6f095a9c1 Merge "Removed android.R.attr#onTopLauncher" 2017-02-04 01:31:53 +00:00
TreeHugger Robot
92f77f0f8b Merge "SystemUI: Add LightBarController dump" 2017-02-04 01:29:36 +00:00
TreeHugger Robot
de9c63b8ae Merge "Update Account Discovery API." 2017-02-04 01:18:21 +00:00
Dianne Hackborn
ad0d7b45e1 Merge "Implement issue #30977956: Enable Instrumentation tests for multi-process apps" 2017-02-04 01:10:24 +00:00
Adrian Roos
48a18ad206 Merge "StatusBar: Catch OOM caused by third-party icons" 2017-02-04 01:00:40 +00:00
TreeHugger Robot
f280f6ae97 Merge "TIF: use @StringDef annotations in TvContract" 2017-02-04 01:00:06 +00:00
Dianne Hackborn
340417356d Implement issue #30977956: Enable Instrumentation tests for multi-process apps
New android:targetProcess attribute on <instrumentation> allows you to
specify the processes the instrumentation will run in.

This reworks how instrumentation is run in the activity manager to better
formalize its state and semantics, allowing us to keep track of it across
multiple processes.  This also clearly defines what happens when multiple
instrumentations are running at the same time, which is useful for writing
CTS tests that test the instrumentation APIs themselves.

Adds a couple new APIs to Instrumentation that helps with the new
situation where instrumentation can run concurrently in multiple processes.

Test: new CTS tests added (textXxxProcessInstrumentation in
ActivityManagerTest.java in cts/tests/app/src)

Change-Id: I2811e6c75bc98d4856045b2f0a45fb24af5d366f
2017-02-03 16:07:54 -08:00
Adrian Roos
1bf6077afe SystemUI: Add LightBarController dump
Test: adb shell dumpsys activity service com.android.systemui
Bug: 34198865
Change-Id: I7b109449b3d5e392a55740a8237bd43c509089a7
2017-02-03 15:47:43 -08:00
Jeremy Joslin
7b6bcb6005 Merge "Cache NetworkScorerAppData in the ScoringServiceConnection." 2017-02-03 23:47:27 +00:00
Wale Ogunwale
069bbd3828 Removed android.R.attr#onTopLauncher
The product that the feature was intended for never launched, so
removing the complexity from the code base.

Test: builds
Change-Id: I75e60ee2da46f6012f03a6077f77bc6b9acecad5
2017-02-03 23:39:46 +00:00
Conrad Chen
977429b7d1 Shift responsibility of DB cleanup to TvProvider
Test: remove function
Bug: 34884862
Change-Id: I65b1925af5efae2efa8c8c24fae23e4e3a469e4e
2017-02-03 15:37:51 -08:00
Jack Yu
fe485569e5 Merge "Renamed voiceNetworkStateChanged and dataNetworkStateChanged" 2017-02-03 23:29:58 +00:00
Jeremy Joslin
35f34eab71 Rename isCallerSystemUid().
The method wasn't actually checking if the caller was
Process.SYSTEM_UID, nor was that it's intent.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Change-Id: I341f2fb1d1dca0a460140992a68831316daa4eb8
2017-02-03 15:24:54 -08:00
Jason Long
e4fcdbc170 Hide DatasetPicker if all items are filtered.
Bug: 34633695
Test: CTS
Change-Id: I0e808083d32db9e280c9ddd028239540bac01cfc
2017-02-03 14:50:15 -08:00
Jason Long
eb3c934439 Improve AnchoredWindow with smart positioning logic.
* Add appToken.
* Add mWindowSizeListenerView for getting the displayable window size
  (screen - system windows - soft input).
* Add mContentView when we have all the necesssary info.
* Change mContentView only if something changes (height, bounds,
  displayBounds).

Bug: 34637800
Test: CTS
Change-Id: Iade6179f6303a6d4777e99fa6c600ba6352ee863
2017-02-03 14:50:05 -08:00
Matthew Ng
b475e009a0 Merge "Revert "Fix window transformation related issue"" 2017-02-03 22:37:30 +00:00
Jason Monk
340fab6da4 Merge "Fix the tests" 2017-02-03 22:30:52 +00:00
Adrian Roos
fb2d0cc090 StatusBar: Catch OOM caused by third-party icons
Bug: 31825355
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconViewTest.java
Change-Id: I3e2a8c3da43a572a026ea0bbe1d39234035a4801
2017-02-03 14:23:50 -08:00
Chris Tate
869011681b Merge "Make job startup timeout similar to base OS service launch timeout" 2017-02-03 22:14:13 +00:00
Chris Craik
62e508d3ee Merge "Add ShadowShaderAnimation benchmark DO NOT MERGE" am: 6678d34133 -s ours am: 6385d23f43 -s ours am: 7a0720e22c
am: 5ab6c2f291  -s ours

Change-Id: Ide896b5db2ba86bd66d5fdb237a1e0dd498e9ff6
2017-02-03 22:11:35 +00:00
Steven Thomas
0049545803 Merge "Disable VR compatibility display" 2017-02-03 22:05:31 +00:00
Chris Craik
5ab6c2f291 Merge "Add ShadowShaderAnimation benchmark DO NOT MERGE" am: 6678d34133 -s ours am: 6385d23f43 -s ours
am: 7a0720e22c

Change-Id: Idc55c41fdbad5ef6a81d753d2acad34b81137586
2017-02-03 22:03:53 +00:00
Paul Lawrence
a15b75d087 Merge "Expand whitelist" am: fe88a5e81d am: f907b0fcc7 am: edc3f365a0
am: 6320e20955

Change-Id: Icc2326064d010596918081487f69a37d0b0988dd
2017-02-03 22:02:35 +00:00
Paul Lawrence
6320e20955 Merge "Expand whitelist" am: fe88a5e81d am: f907b0fcc7
am: edc3f365a0

Change-Id: I51bc6c7b90c2e93942c62c0eb49c13b19581a0d9
2017-02-03 21:58:03 +00:00
Chris Craik
7a0720e22c Merge "Add ShadowShaderAnimation benchmark DO NOT MERGE" am: 6678d34133 -s ours
am: 6385d23f43  -s ours

Change-Id: Ifbd64ab5edd16d84aa252408b1ceafc0a713321c
2017-02-03 21:57:58 +00:00
Tyler Gunn
bc0f3334b4 resolve merge conflicts of d04c51ea372a to nyc-mr2-dev-plus-aosp
am: 5819755163  -s ours

Change-Id: I2cdccaa724f76b3b1aaacd328984284709b5d166
2017-02-03 21:57:09 +00:00
Chris Craik
6385d23f43 Merge "Add ShadowShaderAnimation benchmark DO NOT MERGE"
am: 6678d34133  -s ours

Change-Id: I841f908f57d94ee91c72ef2c6d428cc1f14a5690
2017-02-03 21:53:26 +00:00