Commit Graph

301953 Commits

Author SHA1 Message Date
Adrian Roos
0f7cc4dc2c Merge "Move UiMode broadcasts to foreground" 2016-10-25 22:48:40 +00:00
Leonard Mosescu
f3409ceee5 Adding "attach-agent" to ActivityManagerShellCommand
This new command is used to attach runtime agents to a running application:

attach-agent <PROCESS> <FILE>
   Attach an agent to the specified <PROCESS>,
   which may be either a process name or a PID.

Test: m test-art-host, manual testing:
    . invalid syntax, missing arguments
    . invalid syntax, extra arguments
    . invalid numeric PID
    . invalid process name
    . valid process, not debuggable
    . valid process, missing agent
    . valid process, valid agent

Bug: 31682382

Change-Id: Ife88dbf23991dde7945d9208e54cd014bb7ecdc6
2016-10-25 22:42:39 +00:00
Dianne Hackborn
fe51103711 Merge "Tweak ActivityManager.getPackageImportance()" 2016-10-25 22:41:00 +00:00
Adrian Roos
c8083b56cf Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev am: db1fd054d2 -s ours am: 299b57410d -s ours am: 0d280c5a52 -s ours
am: 65bee562c0  -s ours

Change-Id: I58d0facdffd4b7da61d564bab4f5f2c2a214401d
2016-10-25 22:25:06 +00:00
Adrian Roos
cc425c1015 Ambient: If user turned off ambient, keep it off after split am: 21984eeaf7 -s ours am: 4e2bad2a02 -s ours am: cd9c84aff5 -s ours
am: f3ea02119b  -s ours

Change-Id: If359f6999825093e1f406709596500a68bdabd92
2016-10-25 22:23:57 +00:00
Adrian Roos
65bee562c0 Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev am: db1fd054d2 -s ours am: 299b57410d -s ours
am: 0d280c5a52  -s ours

Change-Id: I6198082bc0dce2cccb7818e08e027e1df493ae1b
2016-10-25 22:17:05 +00:00
Adrian Roos
f3ea02119b Ambient: If user turned off ambient, keep it off after split am: 21984eeaf7 -s ours am: 4e2bad2a02 -s ours
am: cd9c84aff5  -s ours

Change-Id: I7d4316b8cccf4a2cc5106778d2e20ab5d80a8577
2016-10-25 22:15:56 +00:00
Adrian Roos
0d280c5a52 Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev am: db1fd054d2 -s ours
am: 299b57410d  -s ours

Change-Id: Id3b951d73e784b6bb7300d62df7df7957448f185
2016-10-25 22:11:37 +00:00
Adrian Roos
cd9c84aff5 Ambient: If user turned off ambient, keep it off after split am: 21984eeaf7 -s ours
am: 4e2bad2a02  -s ours

Change-Id: I578cbe489e705b77689860eb0cea7d79ab6cc4c8
2016-10-25 22:10:46 +00:00
Jakub Pawlowski
bd7c33967c Merge "Add helper method to convert Bluetooth UUID to bytes" am: 8a0a58b218 am: f169ecb76f am: f68a0c6dec
am: 94aaa0a705

Change-Id: I6cbff5dba97d53763861b60c015cf6ff349eaa23
2016-10-25 22:02:54 +00:00
Adrian Roos
299b57410d Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev
am: db1fd054d2  -s ours

Change-Id: I9f3d116efa02bfca1df96414110722afe143a6dc
2016-10-25 22:02:49 +00:00
Adrian Roos
4e2bad2a02 Ambient: If user turned off ambient, keep it off after split
am: 21984eeaf7  -s ours

Change-Id: Ia9508033be03059a382abfaaa2adfc3e415df81b
2016-10-25 22:02:44 +00:00
TreeHugger Robot
f2ec2c1e42 Merge "Apply display override config for secondary displays" 2016-10-25 22:00:57 +00:00
Jakub Pawlowski
94aaa0a705 Merge "Add helper method to convert Bluetooth UUID to bytes" am: 8a0a58b218 am: f169ecb76f
am: f68a0c6dec

Change-Id: I7d73817cbb42f52f89112416cf7e090f08bec4df
2016-10-25 21:58:48 +00:00
Adrian Roos
db1fd054d2 Merge "Ambient: If user turned off ambient, keep it off after split" into nyc-mr1-dev 2016-10-25 21:55:52 +00:00
Jakub Pawlowski
f68a0c6dec Merge "Add helper method to convert Bluetooth UUID to bytes" am: 8a0a58b218
am: f169ecb76f

Change-Id: I035eb25c9a320b1760221bc5928919a148801488
2016-10-25 21:54:44 +00:00
Jakub Pawlowski
f169ecb76f Merge "Add helper method to convert Bluetooth UUID to bytes"
am: 8a0a58b218

Change-Id: I829135e559a9c3cf3c942258a16acee62c37c3ac
2016-10-25 21:47:35 +00:00
Matt Sarett
de97307362 Make FrameInfoVisualizer use an IRenderPipeline to draw
Removing the direct uses of the BakedOpRenderer should make
it easier for the SkiaGL pipeline to take advantage of these
debugging features.

Test: Verified that debug.hwui.show_dirty_regions and
debug.hwui.profile still behave as expected.

BUG:32370375

Change-Id: I2818bda4a18ec183c9c39ca080ad34a4dc89b5cd
2016-10-25 17:44:55 -04:00
Adrian Roos
a702094fd1 Ambient: If user turned off ambient, keep it off after split am: cb60c7a87e am: b97cd830e0
am: fad599e875  -s ours

Change-Id: I69632f432c0fa16d62f63351cbad3fe940068925
2016-10-25 21:43:53 +00:00
Victor Chan
c87554c841 Remove media art from car lock screen.
Overriding updateMediaMetaData() in CarStatusBar to ignore updates from
media metadata.

Bug: 31065803
Change-Id: I2078186581f5d66d4d27ebf63451e39a52030a8b
(cherry picked from commit 05e19d01c99bec2b406bbe1e1f0800c1805dcaf4)
2016-10-25 21:40:51 +00:00
Adrian Roos
fad599e875 Ambient: If user turned off ambient, keep it off after split am: cb60c7a87e
am: b97cd830e0

Change-Id: Ie0ea2eca7a74922d712d5f5bdedd005853f7a44d
2016-10-25 21:39:18 +00:00
Victor Chan
7993c6a47b Center navigation icons for car nav bar.
The new HVAC design calls for the temperature buttons to be on the
side of the nav bar, at the same position as the nav icons. Decreasing
the width of the button container to 760dp as per go/aae-ncar-por.

Change-Id: Ic2878be0d42cf37ba09bb3aeec68813ad3d1fb8a
(cherry picked from commit 3431cdac24758e7d29cd0e1878f4b6349d2a7950)
2016-10-25 21:39:09 +00:00
TreeHugger Robot
9582726746 Merge "Ambient: If user turned off ambient, keep it off after split" 2016-10-25 21:38:44 +00:00
Jakub Pawlowski
8a0a58b218 Merge "Add helper method to convert Bluetooth UUID to bytes" 2016-10-25 21:36:38 +00:00
Adrian Roos
b97cd830e0 Ambient: If user turned off ambient, keep it off after split
am: cb60c7a87e

Change-Id: I7da07f53de4748462f06a805921e7dcd28637820
2016-10-25 21:31:17 +00:00
Brad Ebinger
a0dc9765d3 Add support for starting external Sessions
This change adds support for parceling Session Information to be
transmitted over AIDLs and starting an external session in the external
process.

Test: Telecom Unit tests and new SessionManager Tests.
Bug: 26571395
Change-Id: Ie27ed88d4a8c344b34568025ddcf150fdcb38d62
2016-10-25 14:22:40 -07:00
TreeHugger Robot
942fde1415 Merge "Add the ability to postpone transitions." 2016-10-25 21:12:12 +00:00
Ajay Nadathur
7d176bcc48 [SettingsLib] Add missing AccessPoint listener
- AccessPointListener was not set on AccessPoint in one of the code
  paths and as a result, the UI wasn't notified of changes to the
  AccessPoint.

Test: Manually tested and verified that notification changes were
delivered to the UI. Also added unit test.
bug:31945554

Change-Id: I89affada5dead4edc4218f424eec6b7f4a4e26a7
2016-10-25 14:08:11 -07:00
Christopher Wiley
012ab10642 Add script to expedite running passing tests
Developers can run this script from within a shell where they have
source'd build/envsetup.sh and lunched a target.  It builds, installs,
and runs whitelisted test packages.

Bug: None
Test: This script is useful for iterating rapidly on unittests.

Change-Id: I44c32a0f75da1be2c69a8b1a67c0080a68def738
2016-10-25 14:05:29 -07:00
Dongwon Kang
13e0691078 tv.input: Updating tv input hal client with hidl.
Test: end-to-end test with sw hal implementation.
Bug: 32096101
Change-Id: I673b6c8b2cb1f20ae6fce7d201d2a01fca446042
2016-10-25 13:37:12 -07:00
Andreas Huber
35eb7994f8 Adds support for specifying the version of a service to register/lookup.
Bug: 32405011
Test: hidl_test_java
Change-Id: I91a31cafa68d570c67f9a1aa7efb9d3dcb35e591
2016-10-25 13:35:44 -07:00
Andrii Kulian
5406e7ade8 Apply display override config for secondary displays
Now display-specific settings, such as dimensions and orientation,
are stored in display override config. For default display it is
mirroring the global config. Each time when global config is updated,
override of the default display should be updated too and vice versa.

Test: Existing and manual tests still pass.
Change-Id: Ic6c2190092d328820f314a05bed43c875db18170
2016-10-25 13:22:10 -07:00
Derek Sollenberger
98f75d53db Store GrContext on RenderThread for use by Skia-based renderers.
Test: built and booted on device
Change-Id: I4c1060ec72bc67e54e6b2d25b1f2c13aaa513f89
2016-10-25 19:43:00 +00:00
Adrian Roos
21984eeaf7 Ambient: If user turned off ambient, keep it off after split
The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: Id80d62727952f63b363f87c19b5befbde8ab5c31
Merged-In: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Merged-In: I346a53b0dc9cdf578c238113f4f33056ba0f3aea
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
2016-10-25 19:40:34 +00:00
Adrian Roos
69741a2eb8 Ambient: If user turned off ambient, keep it off after split
The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
2016-10-25 12:39:14 -07:00
Adrian Roos
cb60c7a87e Ambient: If user turned off ambient, keep it off after split
The split ambient settings default to on - which is a bad experience
if the user explicitly turned it off before the split.

Change-Id: I346a53b0dc9cdf578c238113f4f33056ba0f3aea
Merged-In: I986d35a1a28e97f4c8d7d3d47ed5658e1836a44f
Fixes: 32332195
Test: Flash angler to NYC, disable ambient, upgrade to NYC-MR1, check if "Lift to check phone" is still off.
2016-10-25 12:37:00 -07:00
TreeHugger Robot
d80812b882 Merge "Optimize Fragment operations so that minimal work is done." 2016-10-25 19:33:27 +00:00
Jakub Pawlowski
f67ee83a22 Add helper method to convert Bluetooth UUID to bytes
Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I7f646d1d357c51b82efc504a0e65d868ad363ddb
2016-10-25 12:30:24 -07:00
Christopher Wiley
fbc27b1e9e Merge "Add unit tests for Tethering.isTetherProvisioningRequired" am: 836ffa6e1c am: c29f2575f2 am: a7bb5ad809
am: 2ae41619ae

Change-Id: Iee7c8575ee22a494e2657e15e1aaae9b05a37045
2016-10-25 18:43:16 +00:00
Christopher Wiley
2ae41619ae Merge "Add unit tests for Tethering.isTetherProvisioningRequired" am: 836ffa6e1c am: c29f2575f2
am: a7bb5ad809

Change-Id: I249e487a26a1fbc8fa748c518fcb332e28598437
2016-10-25 18:38:33 +00:00
Christopher Wiley
a7bb5ad809 Merge "Add unit tests for Tethering.isTetherProvisioningRequired" am: 836ffa6e1c
am: c29f2575f2

Change-Id: Ica704d0a64dde80ae0a9f1cef0250bfbdafcd49a
2016-10-25 18:31:02 +00:00
Christopher Wiley
c29f2575f2 Merge "Add unit tests for Tethering.isTetherProvisioningRequired"
am: 836ffa6e1c

Change-Id: I1dab386e3891c01a2917c32847d2aecdbfa10102
2016-10-25 18:23:02 +00:00
TreeHugger Robot
945e30f0f3 Merge "Fix background animator not resetting" 2016-10-25 18:22:45 +00:00
Treehugger Robot
836ffa6e1c Merge "Add unit tests for Tethering.isTetherProvisioningRequired" 2016-10-25 18:12:42 +00:00
Eric Laurent
4bcb616e71 radio: fix 64 bit process compatibility
Update for fixes in radio.h and radio_metadata.h

Change-Id: I34562bf266ccb4f0667f0735b9d148c5ba2316a6
2016-10-25 11:11:40 -07:00
Matthew Bouyack
6054a30a7f Merge "Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction." into cw-f-dev am: 4f14be3d40 am: 070955608c
am: 46ee88afa8

Change-Id: Ic18392f642e6bff4a91c5a1517341c12fe861ad4
2016-10-25 17:09:42 +00:00
Matthew Bouyack
96e3a222fa Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction. am: 8dd88f649b am: 36d5474ef8
am: dfe7d0bd0e

Change-Id: Ied2c3314b61f24e7c7a8442adcfbf33a383e65ed
2016-10-25 17:08:39 +00:00
Matthew Bouyack
46ee88afa8 Merge "Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction." into cw-f-dev am: 4f14be3d40
am: 070955608c

Change-Id: I994154d6c986cc7afe70617d3c38779a7a9b94ac
2016-10-25 17:02:34 +00:00
Matthew Bouyack
dfe7d0bd0e Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction. am: 8dd88f649b
am: 36d5474ef8

Change-Id: Iaca05f400b080d80a5fb1b9b2882d303a836b638
2016-10-25 17:01:32 +00:00
Matthew Bouyack
070955608c Merge "Avoid redundant setMatrix calls from setMatrixInTransaction This matches the behavior of setPositionInTransaction and setSizeInTransaction." into cw-f-dev
am: 4f14be3d40

Change-Id: I730a5872a29236e75b40ff270e279caf6b6da16f
2016-10-25 16:55:49 +00:00