294971 Commits

Author SHA1 Message Date
Derek Sollenberger
7e044fef62 Enable SkiaPipelines to interoperate with existing GlesDriver configs.
Test: hwui unit tests
Change-Id: Icd94d0e21130d86fb5514801f999d0018a69e151
2016-11-07 10:59:20 -05:00
TreeHugger Robot
3d36fac235 Merge "Add SkiaProfileRenderer to draw visual debugging info" 2016-11-04 12:53:40 +00:00
TreeHugger Robot
4fb9c2d6f8 Merge "Added CMAS/ETWS duplicate expiration support" 2016-11-04 10:50:43 +00:00
TreeHugger Robot
cb291f38f8 Merge "Add shell command to move activity stacks between displays" 2016-11-04 09:00:10 +00:00
Jack Yu
c045652026 Added CMAS/ETWS duplicate expiration support
Now message duplication detection will only look back messages
for 24 hours by default for all countries, except 1 hour in
Japan.

Test: runtest -x packages/apps/CellBroadcastReceiver/tests/unit

bug: 31171149
Change-Id: I6765c9cebdb3bd9ab6d065f10acbd66047a34d8c
2016-11-04 00:50:17 -07:00
TreeHugger Robot
2c442e962e Merge "Stop using return within finally" 2016-11-04 02:42:11 +00:00
Matt Sarett
cf2c05c652 Add SkiaProfileRenderer to draw visual debugging info
This adds support for debug.hwui.profile and
debug.hwui.show_dirty_regions to the Skia pipelines.

There still may be some follow up work for profiling
with visual bars.  The speed at which the renderer
is able to draw the rects in the graph is having a
noticeable effect on the actual data in the graphs.

Test: Verified that the features work as expected.

BUG:32370375

Change-Id: I24430da2bab3eb54f6a771f9c984f8ae0008a5a7
2016-11-03 21:42:58 -04:00
TreeHugger Robot
8be6cc89ef Merge "Trust: Add missing cleanup upon removing user" 2016-11-04 00:38:15 +00:00
Andrii Kulian
839def9b54 Add shell command to move activity stacks between displays
Also rename "stack movetask" command to be consistent with other
shell commands.

Test: New CTS tests coming soon.
Change-Id: I3d7e04e0ae8ea76c27c3e4c1e286d5cd4539870c
2016-11-03 17:26:35 -07:00
Dianne Hackborn
a59ddd7961 Merge "Switch settings command to use "cmd" call on service." 2016-11-04 00:15:26 +00:00
TreeHugger Robot
10398dfb1d Merge "Order non-app window containers." 2016-11-03 23:54:20 +00:00
TreeHugger Robot
a5aa9ebed0 Merge "Doze: Fix broken non-AoD" 2016-11-03 23:42:18 +00:00
Andre Eisenbach
da9d0ecb83 Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" am: 0bebfe76fc am: 2fe13541ad am: 51d7a455aa
am: 045226008c

Change-Id: Iacd5ae71b6338bcb461ae69cc09e5158fea502dc
2016-11-03 23:38:59 +00:00
Andre Eisenbach
045226008c Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" am: 0bebfe76fc am: 2fe13541ad
am: 51d7a455aa

Change-Id: Ia5b8bcbb6f42ef939abe71b74327d845e4a11768
2016-11-03 23:32:10 +00:00
Andre Eisenbach
51d7a455aa Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" am: 0bebfe76fc
am: 2fe13541ad

Change-Id: Iba20aef49c4d34875d8521cba82e6ffc26051ac3
2016-11-03 23:25:37 +00:00
Andre Eisenbach
2fe13541ad Merge "BT: Don't switch devices when one of the connected BT headsets disconnects"
am: 0bebfe76fc

Change-Id: Ibd4c4f9defec469bb14a282c53d64932123d4905
2016-11-03 23:22:07 +00:00
Andre Eisenbach
0bebfe76fc Merge "BT: Don't switch devices when one of the connected BT headsets disconnects" 2016-11-03 23:13:18 +00:00
Phil Weaver
a46f009bbf Merge "Add tests for MagnificationController." 2016-11-03 23:11:55 +00:00
TreeHugger Robot
c2a2b94393 Merge "Get rid of Keyguard visibility modifiers on WindowState" 2016-11-03 23:08:26 +00:00
Jean-Michel Trivi
ecbf80b62d Merge "MediaRecorder: Fix some audio source descriptions" 2016-11-03 22:34:15 +00:00
TreeHugger Robot
eea591b08e Merge "Fix RenderNodeDrawable to draw nonzero Z nodes when needed" 2016-11-03 22:30:11 +00:00
Phil Weaver
b2dc39c09e Merge "Make calls from apps to a11y oneway." 2016-11-03 22:23:27 +00:00
Adrian Roos
ae025828bb Trust: Add missing cleanup upon removing user
Change-Id: I4a1d9d38344aea54d1f0ae6d6834a45b2e73cb1c
Fixes: 31995569
2016-11-03 14:46:21 -07:00
Ray Essick
7601049275 Stop using return within finally
Refactor code to avoid a return statement inside a finally block. Such
constructs interfere with exception propagation in non-obvious ways
and are therefore considered bad practice.

Bug: 32586420
Test: manual code walk
2016-11-03 14:45:56 -07:00
Stephen Chen
ab8220f340 Merge "Document Subtype additions for ACTION_WIFI_CONNECT, ACTION_WIFI_OFF." 2016-11-03 21:09:49 +00:00
Satish Kodishala
2980980a75 BT: Don't switch devices when one of the connected BT headsets disconnects
Usecase:
1. Enable multi-hf.
2. Connect to HS1.
3. Connect to HS2.
4. Make a call on AG. Here call audio is present on HS2.
5. Now disconnect HS1 from AG.

Failure:
When HS1 is disconnected, call audio is routed to handset/speaker.

Root cause:
When hs1 disconnection intent is received, SCO path is cleared
and audio is routed to handset/speaker.

Fix:
Check if the device being disconnected is same as the device
call audio is present before clearing SCO path.

Change-Id: If83325679b70b5893e44e8d844000ee028d0246c
2016-11-03 20:57:56 +00:00
Wale Ogunwale
3a93169454 Order non-app window containers.
- Add non-app window tokens to the display child container based on
their base layer so the highest based layer is z-ordered on-top.
- Separated DisplayContent.mNonAppWindowContainers into
mAboveAppWindowContainer and mBelowAppWindowContainer where the former
contains non-app windows that should be z-ordered on-top of all app
windows and the later contains non-app windows that should be
z-ordered below app windows.
- Change wallpaper base layer to 1 so that it is always below all other
window types.
- Add Ime related windows/tokens to DisplayContent.mImeWindowContainers
so that we can track them together
- Use alternative binder token when adding window TYPE_INPUT_METHOD_DIALOG
so that it can properly be associated as an IME token in WM vs. with
system_server or sys-ui token.

Test: Existing tests pass.
Bug: 30060889
Change-Id: Ib53e09af12545868c3741d83aaccb7311c872b41
2016-11-03 20:56:57 +00:00
Etan Cohen
8402d511c9 Merge "Update service test runner to allow test args" am: 56b92e8191 am: dde9ea21e4 am: 10840d1897
am: be8e13de60

Change-Id: I48302e70e01fb290634f66bd679268fea0ede22d
2016-11-03 20:45:31 +00:00
Etan Cohen
be8e13de60 Merge "Update service test runner to allow test args" am: 56b92e8191 am: dde9ea21e4
am: 10840d1897

Change-Id: I200c88f0d6d00bef77fe00a59f8e99b3b91f7aa2
2016-11-03 20:39:26 +00:00
Greg Plesur
c33f83c13c Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev am: 343dbac2e0 am: c447d9ef6a
am: 0cbe2e1a5c

Change-Id: I98803fd185b5d523e5aec610d29c112ee78a6254
2016-11-03 20:37:33 +00:00
Greg Plesur
794e66cfd2 New Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a am: a71a0b8da1
am: e44736a819

Change-Id: I36f1980ede5ea483c4750386a7b5905254ce33f8
2016-11-03 20:36:27 +00:00
Etan Cohen
10840d1897 Merge "Update service test runner to allow test args" am: 56b92e8191
am: dde9ea21e4

Change-Id: I59d572e233720ecf0ddc6cbb5893323b563a3241
2016-11-03 20:32:54 +00:00
Greg Plesur
0cbe2e1a5c Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev am: 343dbac2e0
am: c447d9ef6a

Change-Id: I17a831ab2c537c00452f250d151ec3f63b2d6277
2016-11-03 20:30:59 +00:00
Greg Plesur
e44736a819 New Wear devices need to update their DISABLE_LOCKSCREEN_KEY. am: eb2e45369a
am: a71a0b8da1

Change-Id: I9a19eea21e008a9253ea7abbd854b21f4696548c
2016-11-03 20:29:55 +00:00
Etan Cohen
dde9ea21e4 Merge "Update service test runner to allow test args"
am: 56b92e8191

Change-Id: Ib5f44685228bab61d50dea4c5bd226c4b80c2dd1
2016-11-03 20:26:29 +00:00
Greg Plesur
c447d9ef6a Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev
am: 343dbac2e0

Change-Id: Ia7b6297443c555edc9372e6991784b2a6920d2ba
2016-11-03 20:23:29 +00:00
Greg Plesur
a71a0b8da1 New Wear devices need to update their DISABLE_LOCKSCREEN_KEY.
am: eb2e45369a

Change-Id: I64c1cc38bc38d9d0ee6214a64c6ddfaa57095ce0
2016-11-03 20:23:24 +00:00
Etan Cohen
56b92e8191 Merge "Update service test runner to allow test args" 2016-11-03 20:18:53 +00:00
Greg Plesur
343dbac2e0 Merge "New Wear devices need to update their DISABLE_LOCKSCREEN_KEY." into cw-f-dev 2016-11-03 20:15:21 +00:00
Michael Kwan
46998bc3b2 Merge "Disable multiwindow support for watch devices by default." into cw-f-dev am: 0d3f740316 am: 10f3eda0fd
am: af03cd3c5b

Change-Id: Ifac814e3904d92dc193dcb17ea9c4bc046ad0272
2016-11-03 20:09:24 +00:00
Michael Kwan
e3dbcb7ed7 Disable multiwindow support for watch devices by default. am: 1cb6777e51 am: 620a33b827
am: 4c5d4dd64d

Change-Id: I8bb789fee47c5b14612ac29ea43fd8ae4e4a7ea5
2016-11-03 20:08:25 +00:00
Android Build Merger (Role)
17d807b75d Merge "[NAN-AWARE] Rename NAN to Aware [DO NOT MERGE] am: a61b9fb569 -s ours" 2016-11-03 20:06:16 +00:00
TreeHugger Robot
18da04ed2c Merge "Implement onDrawTextBlob in the SkiaCanvasProxy." 2016-11-03 20:04:18 +00:00
Etan Cohen
b694f5edfb [NAN-AWARE] Rename NAN to Aware [DO NOT MERGE]
am: a61b9fb569  -s ours

Change-Id: I40abb81290d255c0369f4356bd78b46f5479a857
2016-11-03 20:03:59 +00:00
Michael Kwan
af03cd3c5b Merge "Disable multiwindow support for watch devices by default." into cw-f-dev am: 0d3f740316
am: 10f3eda0fd

Change-Id: I5d6ad3b9b5ce63546907f629c289229bf673186d
2016-11-03 20:03:55 +00:00
Michael Kwan
4c5d4dd64d Disable multiwindow support for watch devices by default. am: 1cb6777e51
am: 620a33b827

Change-Id: Id2f6d1e2a12c6644f41ed5f535568130139cd355
2016-11-03 20:02:55 +00:00
Phil Weaver
89e3ffc66c Add tests for MagnificationController.
Also refactoring the class to make it easier to test and
chaning behavior where the current behavior seemed poorly
defined.

Refactoring:
- Combined all handlers into one.
- Simplified animation to use a ValueAnimator.
- Eliminated ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE
  setting. Move rest of settings reading into mockable class.
- Move callbacks from WindowManager into the main class.
- Pulled out my instrumented Handler from the
  MotionEventInjectorTest into its own class so I can reuse
  it.

Behavior changes:
- Always constraining out-of-bounds values rather than
  refusing to change them.
- Constraining offsets on bounds changes. We previously
  left them alone, even if they were out of bounds.
- Keeping track of the animation starting point. We were
  interpolating between the current magnification spec
  and the final one. This change means the magnification
  animates to a different profile.

Test: This CL adds tests. I've also run a11y CTS.

Bugs: 31855954, 30325691

Change-Id: Ie00e29ae88b75d9fe1016f9d107257c9cf6425bb
2016-11-03 13:00:47 -07:00
TreeHugger Robot
40800725d2 Merge "Implement Skia pipelines for OpenGL and Vulkan." 2016-11-03 19:59:46 +00:00
Michael Kwan
10f3eda0fd Merge "Disable multiwindow support for watch devices by default." into cw-f-dev
am: 0d3f740316

Change-Id: I7867b0ff72237c7ce216f570034f6f811e5a6abb
2016-11-03 19:56:24 +00:00
Michael Kwan
620a33b827 Disable multiwindow support for watch devices by default.
am: 1cb6777e51

Change-Id: I9e42480be007387109f9e58efe594dca860e3597
2016-11-03 19:56:20 +00:00