Commit Graph

309172 Commits

Author SHA1 Message Date
Jason Monk
8fbdf116d0 Merge "SystemUI: Add NFC tile"
am: 943a52862e

Change-Id: Icf68f41a0b930da0b846a9b71da1121ef4987d56
2017-01-18 14:19:48 +00:00
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
Jason Monk
943a52862e Merge "SystemUI: Add NFC tile" 2017-01-18 14:07:53 +00:00
Robin Lee
f793d87b80 Don't set a task description for work lock overlay
Just use the one in the previous activity on the task stack, it's less
code and also has the benefit that if anything new happens in that
activity, all of the observers will be notified about the new
description straight away.

Bug: 29244275
Test: adb shell service call trust 6 i32 10 i32 1 && adb shell am start -a com.android.systemui.recents.TOGGLE_RECENTS
Change-Id: I56d3b627ccda82cd2a2e520de0e170e4fa4acc77
2017-01-18 13:43:08 +00:00
Tamas Berghammer
3db5d42f90 Merge "Update package names to work with the proto3 compiler" into nyc-mr1-dev-plus-aosp 2017-01-18 12:58:01 +00:00
Jorim Jaggi
329a583aae Follow-up for I01e81b9cd11886da734da671c68d5732aa51009f
Test: Open app, press recents, make sure thumbnail is up-to-date
Bug: 31339431
Change-Id: I933ad05dbc46b7b71572b09d698524a9699c0fbf
2017-01-18 13:41:09 +01:00
TreeHugger Robot
2ec59897cf Merge changes I01e81b9c,I532c2d74
* changes:
  Add a listener when task snapshots change
  When app dies, destroy snapshot
2017-01-18 12:17:45 +00:00
Anas Karbila
f7648f4483 SystemUI: Add NFC tile
This patch adds a tile for QuickSettings
which controls the setting of NFC.

The drawable is from material.io.

Test: Enable and disable NFC using tile

Change-Id: I7dfaf3a4dca0c01d24be397e43ab131eb9885f62
Signed-off-by: Anas Karbila <anaskarbila@aospa.co>
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2017-01-18 12:12:03 +00:00
Kenny Guy
f98ed6863a Fix issue with saving admins before finishing loading.
Saving device policy managers settings to clear out
password stats was happening before initializing mAdminList
so could wipe active admins.

Test: manual - flash with N2G05C add google account with dmagent flash wth this fix, check dmagent is still an active admin, reboot check admin is still active.
Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services

Bug: 34277435
Change-Id: I13660b47f30e9aba001eb13f2e457c3b3f36da3e
(cherry picked from commit adbda7474c)
2017-01-18 12:01:55 +00:00
Jorim Jaggi
70176432f5 Add null-check when adding starting window
Test: Boot device
Change-Id: I5ecc09b047f6cc9246bddd419fa22051c8933562
Fixes: 34343761
2017-01-18 12:53:04 +01:00
Paul Duffin
112e7e007c Merge "Add legacy-android-test target containing android.test classes" am: c20518139a am: 78af448c30 am: 2ac0e2a186
am: 93a897b3db

Change-Id: Id481b8b89ef6b180ba0099f214a5681e41851af3
2017-01-18 11:45:21 +00:00
Przemyslaw Szczepaniak
d71203f1a0 Track libcore java.util.logging update to ojdk8u60
Test: CtsLibcoreTestCases
Bug: 28666126
Change-Id: I3d8a7046e339a4a327e04574a4479fe2a1291d4c
2017-01-18 11:40:22 +00:00
Paul Duffin
93a897b3db Merge "Add legacy-android-test target containing android.test classes" am: c20518139a am: 78af448c30
am: 2ac0e2a186

Change-Id: I965734e5064fccf08ae676047078632e7a95f3c7
2017-01-18 11:39:39 +00:00
Paul Duffin
2ac0e2a186 Merge "Add legacy-android-test target containing android.test classes" am: c20518139a
am: 78af448c30

Change-Id: I272502ca8504683f5feb4abf345a2665e99da057
2017-01-18 11:34:39 +00:00
Paul Duffin
78af448c30 Merge "Add legacy-android-test target containing android.test classes"
am: c20518139a

Change-Id: I0c591f26a7fe4ebbb89a7fb6ad6b5bb846756c99
2017-01-18 11:30:04 +00:00
Paul Duffin
c20518139a Merge "Add legacy-android-test target containing android.test classes" 2017-01-18 11:19:58 +00:00
Pavel Grafov
eaed75d923 Merge "Make ENSURE_VERIFY_APPS global even when set by PO." 2017-01-18 11:15:28 +00:00
Lorenzo Colitti
311c5d4854 Merge changes from topic 'net-update-mr2-dev-plus-aosp' into nyc-mr2-dev-plus-aosp
am: 5db17efcf6

Change-Id: Iba75e1bdc9ebf526be228bd9efa4e3bf86271eed
2017-01-18 10:51:20 +00:00
Hugo Benichi
0aef77c7f6 DO NOT MERGE: Add IP conn metrics to dumpsys and bug reports
am: 7a61361724  -s ours

Change-Id: I6aab263cf5efb7d5a9e1e68dc97c57099c7a9cf8
2017-01-18 10:51:11 +00:00
Lorenzo Colitti
1bce615a62 DO NOT MERGE: Add missing dependency.
am: d9409d3b60  -s ours

Change-Id: Id8bb3a632968f12ffd7bf5988f81cf85953ae08f
2017-01-18 10:50:13 +00:00
Tony Mak
a24817775c DO NOT MERGE: Show notification for always-on app VPN
am: b31b83377b  -s ours

Change-Id: I8af0a0746154d5774b0fb841616b57ce65a36707
2017-01-18 10:49:08 +00:00
Stephen Chen
1439b5bcdb DO NOT MERGE: Implement metered tracking for NetworkStats summary queries.
am: c926b7399a  -s ours

Change-Id: I970aed286a5bcc69d2ee69ea23b53af36dc2bbea
2017-01-18 10:48:16 +00:00
Hugo Benichi
deb8944fc4 DO NOT MERGE: ConnectivityServiceTest: fix testAvoidBadWifiSettings
am: bccd8ad00a  -s ours

Change-Id: Ifdac8feb994342d18a0795a676da558445867b1f
2017-01-18 10:47:07 +00:00
Hugo Benichi
1fd377c424 DO NOT MERGE: Fix ConnectivityServiceTest testRequestBenchmark
am: de7002ef0d  -s ours

Change-Id: Iccb849a88e017c3189b2c374a98c44dc58085861
2017-01-18 10:46:07 +00:00
Jeff Sharkey
1883686435 DO NOT MERGE: Switch over to new "time.android.com" NTP pool.
am: 389b853bc8  -s ours

Change-Id: Iaffba4104fa3f64747cc7b57bdedf8979a08578e
2017-01-18 10:45:17 +00:00
Stephen Chen
453df0e74d DO NOT MERGE: Define API for metering network stats buckets.
am: 1fee3a64b7  -s ours

Change-Id: I03a015bbc76c762d48688b1c66562bbd599d4265
2017-01-18 10:44:12 +00:00
Felipe Leme
bafa107105 DO NOT MERGE: Refactored NetworkStatsServiceTest to use Mockito instead of EasyMock.
am: d445c55538  -s ours

Change-Id: I4c92c8bfe7cd19839a86a63e5afb3b3868a63825
2017-01-18 10:43:14 +00:00
Felipe Leme
4734756f0b DO NOT MERGE: Use @Ignore to explicitly disable a @Test method.
am: c97d8b7464  -s ours

Change-Id: I6e6fea2d375c40e53fee1877abeb06a9e6d2e218
2017-01-18 10:42:03 +00:00
Felipe Leme
10304d10a1 DO NOT MERGE: Fixed NetworkStatsServiceTest and converted it to JUnit4.
am: fe46a2f868  -s ours

Change-Id: I72964aed5f8f27120300948d57e4083bb81f06ec
2017-01-18 10:41:08 +00:00
Hugo Benichi
f3fd7198ed DO NOT MERGE: ConnectivityThread: use lazy holder idiom
am: 0f1f54d4d1  -s ours

Change-Id: I8af8bbe0b13b73d4c394c182d299a57c7d8b5736
2017-01-18 10:40:14 +00:00
Hugo Benichi
dcb16f2ff0 DO NOT MERGE: ConnectivityManager: use ConnectivityThread looper
am: e804d3773c  -s ours

Change-Id: I12d27fd45f1182719df8c538e734419b640977e8
2017-01-18 10:38:59 +00:00
Hugo Benichi
bcd62c91d6 DO NOT MERGE: ConnectivityManager: a simpler CallbackHandler
am: 791ee32a62  -s ours

Change-Id: Ie2413170190809b0a95749f6788fb54b0a9bafd7
2017-01-18 10:37:50 +00:00
Philip P. Moltmann
78b9511368 DO NOT MERGE: Indicate the NsdServiceInfo attributes are only filled in for a resolved service.
am: 81deef84fb  -s ours

Change-Id: I7d66e82b940bd88c7e5da0d4a4f2008f14d98a2e
2017-01-18 10:37:37 +00:00
Jeremy Klein
aee34454ea DO NOT MERGE: Add a null check for the OnStartTetheringCallback.
am: 27089aadfb  -s ours

Change-Id: I62e8648a232f8c9ec1fe97270b654078a59e3cb9
2017-01-18 10:37:31 +00:00
Etan Cohen
c1971d180d DO NOT MERGE: [CS] Remove timeout event after first available
am: 4fde167490  -s ours

Change-Id: I84244312fb5314ac1d177571ff1a3fdd070480ef
2017-01-18 10:37:25 +00:00
Hugo Benichi
81982cc4e9 DO NOT MERGE: ApfTest: tag tests with @SmallTest or @MediumTest
am: 1e04e9ee49  -s ours

Change-Id: I4eeba34dcdb0d0ffc414e2fe01596408b87624ed
2017-01-18 10:37:18 +00:00
Lorenzo Colitti
cde2775016 DO NOT MERGE: Unbreak TetherInterfaceStateMachineTest.
am: 144223318c  -s ours

Change-Id: Ie27a544873f3336ef3078798482857a538cc1c89
2017-01-18 10:37:12 +00:00
Lorenzo Colitti
7e658df891 DO NOT MERGE: Move the connectivity tests to frameworks/base/tests/net.
am: 2fbc934cd9  -s ours

Change-Id: I255b736255c6f165f1600fe064e86bbd33bfe810
2017-01-18 10:37:05 +00:00
Lorenzo Colitti
1145fa8c21 DO NOT MERGE: De-guava BroadcastInterceptingContext and move it to testutils.
am: 073e5e94ad  -s ours

Change-Id: If776d54cd1138a9266268f43833f6c329cd6285d
2017-01-18 10:37:00 +00:00
Lorenzo Colitti
fd50d90c9d DO NOT MERGE: Move FakeSettingsProvider to a common location.
am: 9997f1489a  -s ours

Change-Id: I896ce2cf8abf50e5189f609a4f810296817695c9
2017-01-18 10:36:56 +00:00
Hugo Benichi
60be0b3755 DO NOT MERGE: ConnectivityServiceTest: mark flaky test as such
am: 86e2765777  -s ours

Change-Id: Ifd485f77ada20a0773e791816e811fdf22442a92
2017-01-18 10:36:52 +00:00
Hugo Benichi
65c2f141ff DO NOT MERGE: Add fuzzing tests to ApfFilter RA processing
am: 17586f7f1f  -s ours

Change-Id: I9fda7a9806c45a7e0f322af937a7b25bbdb8b571
2017-01-18 10:36:48 +00:00
Erik Kline
f9031bfcd4 DO NOT MERGE: Support timeouts for requestNetwork() invocations.
am: e9e251fcfb  -s ours

Change-Id: Ife31e9372728e888ccf175f0a38577e17c3fc468
2017-01-18 10:36:44 +00:00
Pierre Imai
065bac596e DO NOT MERGE: Silence the obnoxious MTU 0 error message that occur when no MTU is specified for a given network.
am: db5814ed3d  -s ours

Change-Id: I3fa3801e54b06ea4e51f1e0d3577a309f1b970ab
2017-01-18 10:36:39 +00:00
Lorenzo Colitti
5db17efcf6 Merge changes from topic 'net-update-mr2-dev-plus-aosp' into nyc-mr2-dev-plus-aosp
* changes:
  DO NOT MERGE: Add IP conn metrics to dumpsys and bug reports
  DO NOT MERGE: Add missing dependency.
  DO NOT MERGE: Show notification for always-on app VPN
  DO NOT MERGE: Implement metered tracking for NetworkStats summary queries.
  DO NOT MERGE: ConnectivityServiceTest: fix testAvoidBadWifiSettings
  DO NOT MERGE: Fix ConnectivityServiceTest testRequestBenchmark
  DO NOT MERGE: Switch over to new "time.android.com" NTP pool.
  DO NOT MERGE: Define API for metering network stats buckets.
  DO NOT MERGE: Refactored NetworkStatsServiceTest to use Mockito instead of EasyMock.
  DO NOT MERGE: Use @Ignore to explicitly disable a @Test method.
  DO NOT MERGE: Fixed NetworkStatsServiceTest and converted it to JUnit4.
  DO NOT MERGE: ConnectivityThread: use lazy holder idiom
  DO NOT MERGE: ConnectivityManager: use ConnectivityThread looper
  DO NOT MERGE: ConnectivityManager: a simpler CallbackHandler
  DO NOT MERGE: Indicate the NsdServiceInfo attributes are only filled in for a resolved service.
  DO NOT MERGE: Add a null check for the OnStartTetheringCallback.
  DO NOT MERGE: [CS] Remove timeout event after first available
  DO NOT MERGE: ApfTest: tag tests with @SmallTest or @MediumTest
  DO NOT MERGE: Unbreak TetherInterfaceStateMachineTest.
  DO NOT MERGE: Move the connectivity tests to frameworks/base/tests/net.
  DO NOT MERGE: De-guava BroadcastInterceptingContext and move it to testutils.
  DO NOT MERGE: Move FakeSettingsProvider to a common location.
  DO NOT MERGE: ConnectivityServiceTest: mark flaky test as such
  DO NOT MERGE: Add fuzzing tests to ApfFilter RA processing
  DO NOT MERGE: Support timeouts for requestNetwork() invocations.
  DO NOT MERGE: Silence the obnoxious MTU 0 error message that occur when no MTU is specified for a given network.
2017-01-18 10:29:57 +00:00
Narayan Kamath
c634c5724e Merge "API: Unhide MethodHandles API (java.lang.invoke)." am: 71b1d50531 am: ec667adb56 am: aa90336510
am: fc9c93c2dd

Change-Id: I5db4fe68e1f1e160097503d69312bf2a24a45f2b
2017-01-18 10:09:12 +00:00
Hugo Benichi
7a61361724 DO NOT MERGE: Add IP conn metrics to dumpsys and bug reports
Test: manually created a bug report and inspected content.

(cherry picked from commit 51d14cb607)

(cherry picked from commit 5635c270a1)

Change-Id: I612b4ab9431633758d3a7048966c267d20cdfcbe
2017-01-18 19:08:48 +09:00
Lorenzo Colitti
d9409d3b60 DO NOT MERGE: Add missing dependency.
(cherry picked from commit 744b02069d)

Change-Id: I3030cc7a718e99ab129fc14174b6d917b9b8e7fb
2017-01-18 19:08:46 +09:00
Tony Mak
b31b83377b DO NOT MERGE: Show notification for always-on app VPN
This is the same notification as the one shown during legacy lockdown
mode, sans the 'reset' button.

The notification is only shown during times when VPN has not yet
established or has failed, for example during boot or after a crash.

Bug: 29123115

(cherry picked from commit 1a405fe300)

(cherry picked from commit de7f7d195e)

Change-Id: I42b4b24e25175bb7628b46a79431d2592644803c
2017-01-18 19:08:44 +09:00
Stephen Chen
c926b7399a DO NOT MERGE: Implement metered tracking for NetworkStats summary queries.
Dependent on ag/1550196 where API is defined.

Bug: 31015360
Bug: 26545374
Test: runtest --path
frameworks/base/core/tests/coretests/src/android/net/NetworkStatsTest.java,
other test classes.

(cherry picked from commit 2514787897)

(cherry picked from commit 963e8ddf6d)

Change-Id: I79e401fc4159264a075febba82bd8c295b8e677f
2017-01-18 19:08:41 +09:00