Commit Graph

542466 Commits

Author SHA1 Message Date
Frank Li
64993a71b1 Merge "Adding Network Tethering Metrics/atoms" into rvc-dev am: 53795ae7ae am: daa335dd66 am: eb6022ffa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11877918

Change-Id: I550f7409eb5cdf664036425fcee0546604402551
2020-06-18 05:23:39 +00:00
TreeHugger Robot
3f9050ae08 Merge "Repopulate cache with sibling visibility on remove" into rvc-dev am: 606981a876 am: fbb4eb3640 am: 5918c5e3ca
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898413

Change-Id: Ieddf4d3d6820dbb0b53105e571365eefc9088c0e
2020-06-18 05:23:30 +00:00
Ady Abraham
2a57fdcd37 Merge "WM: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 278f00319f am: 66bab75ea1 am: e212052243
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11852824

Change-Id: Ib9c33e702bac83eb46620074cd28a9f1129fb3e3
2020-06-18 05:23:14 +00:00
TreeHugger Robot
c4f26d63af [automerger skipped] Merge "[BOT.12] Add unit test for disabling BpfCoordinator by config" into rvc-dev am: 3358560be8 -s ours
am skip reason: Change-Id Iedb936b7592b6be773d1b84a2498bfc5a440a198 with SHA-1 f3853106db is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11883504

Change-Id: I79ca8d7c5679f170b251d4f376bc9908b002ca9c
2020-06-18 05:23:02 +00:00
TreeHugger Robot
3358560be8 Merge "[BOT.12] Add unit test for disabling BpfCoordinator by config" into rvc-dev 2020-06-18 05:21:44 +00:00
Winson Chung
66215994e8 Ensure movement bounds for shift account for current bounds
Bug: 159250094
Test: Resize pip near the shelf offset area and change the shelf offset
Change-Id: I5ef13b1518a79b9f46a15ae448bd674ac1cb4d3c
2020-06-17 22:19:52 -07:00
TreeHugger Robot
5610be2479 [automerger skipped] Merge changes I48a8de47,I95ea3050,I5a98c4cd into rvc-dev am: ec5a703838 -s ours
am skip reason: Change-Id Id413b7f2f7edb2e5c3e02d5677fe536ed52fbbcb with SHA-1 f8722adfd6 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11892958

Change-Id: Ia8d500395dfd5fefac69025452bae071182e27e3
2020-06-18 05:17:47 +00:00
Kevin Chyn
35eb8a152b Revert "Do not start biometric auth if encrypted or lockdown"
Bug: 159260556
Bug: 79776455

This reverts commit fec0165eb3.

Reason for revert: b/159260556

Change-Id: I9f1883291591322704ee15847f4d0a285a44f8d1
2020-06-17 22:16:27 -07:00
TreeHugger Robot
ec5a703838 Merge changes I48a8de47,I95ea3050,I5a98c4cd into rvc-dev
* changes:
  [BOT.11] BpfCoordinator could be disabled by device config
  [BOT.8] Dump BPF offload information in dumpsys
  [BOT.10] Add unit test for data limit and rule change in BpfCoordinator
2020-06-18 05:16:07 +00:00
Kevin Chyn
508c327d77 Revert "Add SafetyNet logging for b/79776455"
Bug: 159260556
Bug: 79776455

This reverts commit 6a9945a3c8.

Reason for revert: b/159260556

Change-Id: Ib2d293c82eebdbff172a89290a6bd6bba2b3ee15
2020-06-17 22:15:05 -07:00
Frank Li
eb6022ffa1 Merge "Adding Network Tethering Metrics/atoms" into rvc-dev am: 53795ae7ae am: daa335dd66
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11877918

Change-Id: I410ab776bf6f9d84ab1fd48674689e9065177586
2020-06-18 05:12:01 +00:00
TreeHugger Robot
5918c5e3ca Merge "Repopulate cache with sibling visibility on remove" into rvc-dev am: 606981a876 am: fbb4eb3640
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898413

Change-Id: I3911040803ecaaeda7b0aaf515e5a70d83297fc1
2020-06-18 05:11:48 +00:00
Ady Abraham
e212052243 Merge "WM: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 278f00319f am: 66bab75ea1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11852824

Change-Id: I19c91a7b9d2229f1fd95d58182cd1060d75cf060
2020-06-18 05:11:37 +00:00
Frank Li
daa335dd66 Merge "Adding Network Tethering Metrics/atoms" into rvc-dev am: 53795ae7ae
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11877918

Change-Id: If7cf9571ae7554ed3e757446fdbc8341bd8b2007
2020-06-18 05:04:23 +00:00
Frank Li
53795ae7ae Merge "Adding Network Tethering Metrics/atoms" into rvc-dev 2020-06-18 05:00:42 +00:00
TreeHugger Robot
fbb4eb3640 Merge "Repopulate cache with sibling visibility on remove" into rvc-dev am: 606981a876
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898413

Change-Id: I32107e0d3867c97ca5659189e171680121fd8602
2020-06-18 04:59:26 +00:00
Patrick Baumann
8132b22315 Remove incorrect optimization in visibility cache
During review when introducing the visibility cache, a suggested
optimization when iterating over users turned out to prevent populating
of the cache for certain multi-user cases.

This change ensures that we pass over all users in both directions,
making for a complete cache.

Test: atest AppEnumerationTests AppsFilterTest
Fixes: 159193336
Change-Id: Ic9ae27f1e1402b42a60a333c3ae99373f4829101
2020-06-18 04:56:43 +00:00
TreeHugger Robot
606981a876 Merge "Repopulate cache with sibling visibility on remove" into rvc-dev 2020-06-18 04:55:52 +00:00
Ady Abraham
66bab75ea1 Merge "WM: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev am: 278f00319f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11852824

Change-Id: Iae325723452bbb5ac9c941d8e84d95d0c80337b4
2020-06-18 04:51:35 +00:00
Aaron Huang
a521f5b392 Merge "Dynamically enable/disable watch for RAT type changes" am: 26d523e981 am: abc4648d47 am: a451367f7e am: 7dc8148970
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1315574

Change-Id: I61d7242d2c597e680953d2603b0b54962dd749b3
2020-06-18 04:40:20 +00:00
Kyunglyul Hyun
1a0c112cfa Merge "Enable transfer to hearing aid routes." into rvc-dev am: 149dc814a6 am: e473ba7896 am: e08e9d5aa1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11886081

Change-Id: If03d45d93485802254c2c2c508c04989879d37f5
2020-06-18 04:39:05 +00:00
Ady Abraham
278f00319f Merge "WM: Replace eEarlyWakeup flags with explicit eEarlyWakeup start and end flags" into rvc-dev 2020-06-18 04:36:03 +00:00
Aaron Huang
7dc8148970 Merge "Dynamically enable/disable watch for RAT type changes" am: 26d523e981 am: abc4648d47 am: a451367f7e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1315574

Change-Id: I5e607bb44b2e97c01da9f9dcc0e89687bd08130f
2020-06-18 04:23:10 +00:00
Aaron Huang
a451367f7e Merge "Dynamically enable/disable watch for RAT type changes" am: 26d523e981 am: abc4648d47
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1315574

Change-Id: I5a96774ad2104a6b03c9abab2b105b97195edea8
2020-06-18 04:22:21 +00:00
Kyunglyul Hyun
e08e9d5aa1 Merge "Enable transfer to hearing aid routes." into rvc-dev am: 149dc814a6 am: e473ba7896
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11886081

Change-Id: I1ad1b08c6e5aea23928be5726d88ef2791b41163
2020-06-18 04:22:08 +00:00
Aaron Huang
abc4648d47 Merge "Dynamically enable/disable watch for RAT type changes" am: 26d523e981
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1315574

Change-Id: Id5c4ad325779322bbf4881816235904a6d454583
2020-06-18 04:09:37 +00:00
Luke Huang
4e4f6a89c3 Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282 am: dae5d3f223 am: d996337c91
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939

Change-Id: Ib9375a24b742cfb3e40be5c5d540c5c0ceb0be9f
2020-06-18 04:09:31 +00:00
Kyunglyul Hyun
e473ba7896 Merge "Enable transfer to hearing aid routes." into rvc-dev am: 149dc814a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11886081

Change-Id: Iac9ac25459c7b93cd87e0d8e89de1f136e3dd0de
2020-06-18 04:09:12 +00:00
Kyunglyul Hyun
149dc814a6 Merge "Enable transfer to hearing aid routes." into rvc-dev 2020-06-18 03:53:38 +00:00
Aaron Huang
26d523e981 Merge "Dynamically enable/disable watch for RAT type changes" 2020-06-18 03:51:51 +00:00
Luke Huang
d996337c91 Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282 am: dae5d3f223
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939

Change-Id: Ieeaab8035f6055b93a03abe7451f3ba496bd2285
2020-06-18 03:49:34 +00:00
markchien
8e493dcf33 Add owneship of tethering module
Bug: 158961959
Test: build/make/tools/checkowners.py packages/NetworkStack/OWNERS
Test: ./build/make/tools/checkowners.py \
frameworks/base/packages/Tethering/OWNERS

Change-Id: I13b291e5db6a8a8c9f2bfa477acabaea250aa48c
2020-06-18 11:34:29 +08:00
Patrick Baumann
947d63d115 Early exit when target app ID < FIRST_APP_UID
This change ensures that we also grant visibility to the framework and
other settings that are outside of the APPLICATION_UID space.

Fixes: 159152185
Test: atest com.android.server.pm.UserManagerTest#testAddManagedProfile_withDisallowedPackages
Change-Id: I00c8390dfa748f90c538a57243b472610886be7b
2020-06-17 20:24:39 -07:00
Luke Huang
dae5d3f223 Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev am: 7144459282
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11881939

Change-Id: I7c285a848ac947e0acf1acc8bc32f3ece3456412
2020-06-18 03:23:46 +00:00
Kyunglyul Hyun
423006cd9c Merge "Refresh mFilteredRoutes when routes are changed" into rvc-dev am: 099818be0e am: 89aa71b0bd am: 75dfec0725
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11882563

Change-Id: I7d7a6911bef98e4b039fa6c4f29df24889d70fb4
2020-06-18 03:23:24 +00:00
Kyunglyul Hyun
75dfec0725 Merge "Refresh mFilteredRoutes when routes are changed" into rvc-dev am: 099818be0e am: 89aa71b0bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11882563

Change-Id: If5b60ba4f3d5861a525113813cc3e31834aa0d3c
2020-06-18 03:06:01 +00:00
Luke Huang
7144459282 Merge "Disable sockets and DNS if process lacks INTERNET permission." into rvc-dev 2020-06-18 03:03:06 +00:00
Luke Huang
6f214e8ebe Disable sockets and DNS if process lacks INTERNET permission.
This is a Client-only solution.
  - Add to NetdClient a per-process std::atomic_boolean
    similar to netIdForProcess and netIdForResolv.
  - The boolean says whether the process should be
    allowed Internet connectivity.
  - Add an @hide method to NetUtils.java to set the boolean;
    call it from the initialization code of the new
    process just after forking from zygote.
  - Make netdClientSocket and dnsOpenProxy check the
    boolean. If the boolean is false, return EPERM from
    socket calls.

Bug: 150028556
Test: atest NetworkUtilsTest
Test: atest CtsAppSecurityHostTestCases:UseProcessTest
Change-Id: If002280fbad493dfc2db3d9d505c0257d49a9056
Exempt-From-Owner-Approval: OWNERS already approved identical patchset 5
2020-06-18 03:02:06 +00:00
TreeHugger Robot
362fe53b09 Merge "Reduce boot animation completion check interval" into rvc-dev am: 761e5cd6e1 am: 5dd8f657bc am: 3376c56e9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871451

Change-Id: I29bfef295ce883a01a8e4ad8909c00facdd9f690
2020-06-18 02:53:59 +00:00
TreeHugger Robot
ae83db2ead Merge "Clarify doc for users, clarifying profiles" into rvc-dev am: d41aca1009 am: feeb4ab192 am: 3d5b1730ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11889023

Change-Id: I2219bf7a4b7a85f6ee8ea03433979cc63240bc21
2020-06-18 02:53:42 +00:00
Lucas Lin
c9a2afdce3 Merge "Revert "Fix the gold highlight encircles the app badge in the bubble."" into rvc-dev am: ccd2d93cdd am: cb75bd8744 am: b50e81f9b8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898339

Change-Id: I36017f0591ea32bb13465776c1b6824f06f17cea
2020-06-18 02:53:10 +00:00
Kyunglyul Hyun
89aa71b0bd Merge "Refresh mFilteredRoutes when routes are changed" into rvc-dev am: 099818be0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11882563

Change-Id: I2b06d00344f29318e1869b313b4cb3b5419fde77
2020-06-18 02:52:50 +00:00
TreeHugger Robot
3376c56e9e Merge "Reduce boot animation completion check interval" into rvc-dev am: 761e5cd6e1 am: 5dd8f657bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871451

Change-Id: Ib48f69d25fd106206c64bfcec4da4abd927331d8
2020-06-18 02:42:02 +00:00
TreeHugger Robot
3d5b1730ac Merge "Clarify doc for users, clarifying profiles" into rvc-dev am: d41aca1009 am: feeb4ab192
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11889023

Change-Id: I13ab7c1e8d2f9e798d6af423bb44c4800bf0f1d5
2020-06-18 02:41:46 +00:00
Lucas Lin
b50e81f9b8 Merge "Revert "Fix the gold highlight encircles the app badge in the bubble."" into rvc-dev am: ccd2d93cdd am: cb75bd8744
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898339

Change-Id: I956ab155c097fee710ceb545272fb3ad16541217
2020-06-18 02:41:11 +00:00
Kyunglyul Hyun
099818be0e Merge "Refresh mFilteredRoutes when routes are changed" into rvc-dev 2020-06-18 02:39:58 +00:00
lifr
8abf3a7c23 Adding Network Tethering Metrics/atoms
Test: Run statsd_testdrive
Bug: 153942334
Change-Id: Ia0dc1dd45e006348c3856b483972a4ccd6048d05
2020-06-18 10:36:07 +08:00
TreeHugger Robot
5dd8f657bc Merge "Reduce boot animation completion check interval" into rvc-dev am: 761e5cd6e1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11871451

Change-Id: Ib0ea8d1d6a20c232897a36b5e9b8eece9b2ca11d
2020-06-18 02:28:43 +00:00
TreeHugger Robot
feeb4ab192 Merge "Clarify doc for users, clarifying profiles" into rvc-dev am: d41aca1009
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11889023

Change-Id: I748a8b1af01b8e96c8a3e522655e77aa81683e4f
2020-06-18 02:28:08 +00:00
Lucas Lin
cb75bd8744 Merge "Revert "Fix the gold highlight encircles the app badge in the bubble."" into rvc-dev am: ccd2d93cdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11898339

Change-Id: I82790aa17d6d7f0205492122d0b059f938e9f39f
2020-06-18 02:27:23 +00:00