302141 Commits

Author SHA1 Message Date
Greg Daniel
98c78dad19 Update hwui_unit_tests to support running with Vulkan backend.
Added Macros for RENDERTHREAD_TESTS which run these tests using specific backends.
RENDERTHREAD_TESTS - Runs OpenGL, SkiaGL, and SkiaVulkan
RENDERTHREAD_SKIA_TESTS - Runs SkiaGL and SkiaVulkan
RENDERTHREAD_OPENGL_TESTS - Runs OpenGL

Test: manual running of hwui_unit_tests

Change-Id: Ia7420ee7a38803a15e2d58394d14b38cae8208d3
2017-01-18 09:12:31 -05:00
Greg Daniel
45ec62ba72 Add support for dummy draws for Vulkan webview and texture views.
Test: manual testing
Change-Id: Iaec8c3a34367673c281665ff6c6e97d1ce532265
2017-01-10 15:54:14 -05:00
Greg Daniel
8cd3edfa15 Break Layer class into Gl and Vulkan subclasses
Test: manual testing
Change-Id: Ibd2beed39de3ac6da7448e96496253cfe427dfbb
2017-01-10 15:05:07 -05:00
John Reck
d14cafc272 Merge "Remove unused variable." 2017-01-10 18:36:30 +00:00
TreeHugger Robot
558097a03b Merge "Cleanup test method names." 2017-01-10 18:35:44 +00:00
Chris Craik
6f225cae06 Merge "Revert "Revert "Fast-path for ViewGroup#invalidateChild, invalidate tests""" 2017-01-10 18:15:57 +00:00
Mark Renouf
fb5b147781 Merge "Update javadoc for startActivityForResult(Intent, int, Bundle)" 2017-01-10 17:53:11 +00:00
Justin Klaassen
d07305a2bf Merge "Add AlarmClock#SHOW_TIMERS" 2017-01-10 17:43:09 +00:00
TreeHugger Robot
7d63b2a9dd Merge "Additional unit tests for isProvisioningAllowed" 2017-01-10 17:32:57 +00:00
Jeremy Joslin
06d1fd7077 Cleanup test method names.
Renamed some test methods to reflect the proper permission.

Test: runtest frameworks-services -c com.android.server.NetworkScoreServiceTest
Bug: 1764042
Change-Id: I5551ddcb411432c6aeb14c03d9a284aa68f1bd1b
2017-01-10 09:07:09 -08:00
Geoffrey Pitsch
9f7fd6c734 Merge "API improvements for creating NotificationChannels" 2017-01-10 16:20:13 +00:00
Sean Stout
1ba3ac9281 Add AlarmClock#SHOW_TIMERS
Test: run cts -m CtsContentTestCases
Bug: 31228110
Change-Id: Ia291a890b83996d6edf7b75afa52e44557a9117b
2017-01-10 16:16:29 +00:00
Nicolas Prevot
c3bd7b78d8 Additional unit tests for isProvisioningAllowed
Test it with disallow add / remove managed profile user restrictions.

BUG:32629873
Test: adb shell am instrument -e class
com.android.server.devicepolicy.DevicePolicyManagerTest -w com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: Ic6b01c2b0ed9081204801a6c5719b0fd25eafbba
2017-01-10 16:08:47 +00:00
Bryce Lee
955da4804e Merge "Amend logic for sending power hint on activity start." 2017-01-10 15:24:24 +00:00
Philipp Weiß
0a57fbd93c Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev am: a7c6324340
am: 418f072a0e

Change-Id: I0c765230dbcc82b05a488ad2f5e66cf20ef90551
2017-01-10 14:14:32 +00:00
phweiss
b125b88387 Re-Add VPN-"Settings" button to QSFooter dialog am: d361b181e5
am: a524313118

Change-Id: Ifde3ad732f22e220f04d9e64de455070e42cb440
2017-01-10 14:13:18 +00:00
phweiss
2fa6c35647 Dismiss network logging notification when disabling logging am: 971236480c
am: 0a5882980b

Change-Id: I37be8068c3c77b6ca45b1f4f831fcc7562630458
2017-01-10 14:12:06 +00:00
Philipp Weiß
418f072a0e Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev
am: a7c6324340

Change-Id: Ia0265e6401a9c3bee533383988755da02e6a251c
2017-01-10 14:03:04 +00:00
phweiss
a524313118 Re-Add VPN-"Settings" button to QSFooter dialog
am: d361b181e5

Change-Id: Iee7dcfbb4a2bcaaddada850918185fc4d9cc47c1
2017-01-10 14:02:57 +00:00
phweiss
0a5882980b Dismiss network logging notification when disabling logging
am: 971236480c

Change-Id: I7f47b6318ef8c4b792115c2721a0d56dc6cdbfd3
2017-01-10 14:01:42 +00:00
Philipp Weiß
a7c6324340 Merge "Re-Add VPN-"Settings" button to QSFooter dialog" into nyc-mr2-dev 2017-01-10 13:54:28 +00:00
Andrew Scull
54402aab14 Merge "Evict CE key on request and when work mode is turned off." 2017-01-10 13:20:49 +00:00
Ben Weiss
b5d57e1048 Merge "Make ArcMotion material spec compliant" 2017-01-10 11:10:33 +00:00
phweiss
d361b181e5 Re-Add VPN-"Settings" button to QSFooter dialog
Button was removed during a redesign of the dialog in the case
of active device owner. However, when no DO is set, the button should
still be there.

Also, when VPN configuration is restricted, do not show the button, and
also do not show the link that is visible in the DO-version of the dialog.

Bug:34156553
Bug:29748723
Test: manual

Change-Id: I177afdc94dc396754fc7703e4316edaa7ce104cd
(cherry picked from commit a99a3f70e2a07e7c85d25fed1881d1a6ef70a93c)
2017-01-10 10:16:35 +00:00
phweiss
971236480c Dismiss network logging notification when disabling logging
Bug:34116213
Bug:29748723
Test: CTSVerifier in a separate CL.

Change-Id: Ie652505ff57665f626712c67837577833f1595d6
(cherry picked from commit 82ed31c1efeb98acba60d79d1fc0a291b1440dc2)
2017-01-10 10:16:12 +00:00
Philipp Weiß
18315230f6 Merge "Dismiss network logging notification when disabling logging" 2017-01-10 10:15:26 +00:00
Philipp Weiß
89a2cf74ba Merge "Re-Add VPN-"Settings" button to QSFooter dialog" 2017-01-10 10:14:37 +00:00
Bill Yi
1b85c7e0d9 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 3faf3467e3 -s ours
am: aa92e65ff8  -s ours

Change-Id: I46d8d8d89b23c3b162708112e706ead5562e6d82
2017-01-10 07:31:47 +00:00
Bill Yi
14b629e1f8 Import translations. DO NOT MERGE am: 5ef189ddeb -s ours
am: ae3786a8b9  -s ours

Change-Id: I510a6275a8ca73be7d49aeb14ee27a295e8a635c
2017-01-10 07:30:39 +00:00
Bill Yi
b544c3647e Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev am: 0ffe43ecd7 -s ours
am: 856bfc2019  -s ours

Change-Id: Id6431aeb418700ed20636fe6f369195d1501efb7
2017-01-10 07:29:29 +00:00
Bill Yi
91dc6c2d79 Import translations. DO NOT MERGE am: 4fcf5b1813 -s ours
am: f685b49b28  -s ours

Change-Id: Ie333b72281a1f4aaf6d186a09f25e34d8a9c42f7
2017-01-10 07:28:30 +00:00
Bill Yi
aa92e65ff8 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 3faf3467e3  -s ours

Change-Id: Ibbdb7922b216c0c3ffeeccd1b2a02a8a8841ac47
2017-01-10 07:21:29 +00:00
Bill Yi
ae3786a8b9 Import translations. DO NOT MERGE
am: 5ef189ddeb  -s ours

Change-Id: I34abef81d61a5b9f566bbb2877271ed7ea72a977
2017-01-10 07:21:23 +00:00
TreeHugger Robot
ee0d06eb8e Merge "Import translations. DO NOT MERGE" 2017-01-10 07:19:43 +00:00
Bill Yi
856bfc2019 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev
am: 0ffe43ecd7  -s ours

Change-Id: I06a438a8cf7de8effc3d62912c1bf8761ad08d59
2017-01-10 07:19:28 +00:00
Bill Yi
f685b49b28 Import translations. DO NOT MERGE
am: 4fcf5b1813  -s ours

Change-Id: Ie1da6f2d65250668afc630ccbfa61b7531c2721e
2017-01-10 07:19:24 +00:00
TreeHugger Robot
b316e22a0a Merge "Import translations. DO NOT MERGE" 2017-01-10 07:14:28 +00:00
TreeHugger Robot
e135bced9e Merge "Import translations. DO NOT MERGE" 2017-01-10 07:13:41 +00:00
TreeHugger Robot
3faf3467e3 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-10 07:12:57 +00:00
TreeHugger Robot
0ffe43ecd7 Merge "Import translations. DO NOT MERGE" into nyc-mr2-dev 2017-01-10 07:12:15 +00:00
Jeff Sharkey
8dedad31f7 Wire up storage stats API to installd.
Now that installd has the implementation details we need, we can wire
up the public APIs to use them.

Shuffle APIs around a bit so that StorageStats can be reused for both
UID and UserHandle results, and rename StorageSummary to
ExternalStorageStats.  Provide getTotalBytes() and getFreeBytes() as
first-class methods so we can answer those questions quickly without
paying the cost of measuring external storage details.

Current costs on a typical device with a test account after flushing
dentry caches:

queryStatsForUid() manual: 6922ms
queryStatsForUid() quota: 525ms

queryStatsForUser() manual: 1686ms
queryStatsForUser() quota: 113ms

queryExternalStatsForUser() manual: 42ms
queryExternalStatsForUser() quota: 2ms

For verification purposes, a new "fw.verify_storage" system property
can be set to compute both manual and quota statistics, and log any
discrepancies.

Test: builds, boots
Bug: 27948817, 32206268
Change-Id: I4ea3df3372a7379aa8cf4c20c44120c8f0702c15
2017-01-09 22:30:58 -07:00
Jeff Sharkey
bd439dcef0 Merge "Methods to calculate user and external disk usage." am: 6a9ad14172 am: 7beb2b75a9 am: 669affdb8e
am: 91b91b7f86

Change-Id: I7859db9f53560ad602bb26f37854bdfc02f15d09
2017-01-10 04:52:50 +00:00
Jeff Sharkey
91b91b7f86 Merge "Methods to calculate user and external disk usage." am: 6a9ad14172 am: 7beb2b75a9
am: 669affdb8e

Change-Id: I698dd15a397f16dd2358729362860443f7e81a33
2017-01-10 04:47:47 +00:00
Jeff Sharkey
669affdb8e Merge "Methods to calculate user and external disk usage." am: 6a9ad14172
am: 7beb2b75a9

Change-Id: I236eb3357b597cac26f5234a72551a471919a411
2017-01-10 04:42:52 +00:00
Jeff Sharkey
7beb2b75a9 Merge "Methods to calculate user and external disk usage."
am: 6a9ad14172

Change-Id: Ie4ab045a5425b35ce1bdd245f7c6ab248c796df2
2017-01-10 04:38:15 +00:00
Jeff Sharkey
6a9ad14172 Merge "Methods to calculate user and external disk usage." 2017-01-10 04:30:47 +00:00
Bill Yi
5ef189ddeb Import translations. DO NOT MERGE
Change-Id: I61019454236fb311bf7a428d077ddfd8a670da50
Auto-generated-cl: translation import
2017-01-09 20:17:25 -08:00
Bill Yi
4fcf5b1813 Import translations. DO NOT MERGE
Change-Id: Idb74740bc5560b78a7b3d3cd7f2d92aee4ba411e
Auto-generated-cl: translation import
2017-01-09 20:05:48 -08:00
Yohei Yukawa
8ee008023b Merge "Refresh IMMS#mBoundToMethod when IMS is disconnected" 2017-01-10 03:27:34 +00:00
Bill Yi
918c1fe649 Import translations. DO NOT MERGE
Change-Id: Ic7bd696893c0dd751de4c45097e404824174348c
Auto-generated-cl: translation import
2017-01-09 19:18:41 -08:00