Commit Graph

471451 Commits

Author SHA1 Message Date
Nate Jiang
ca5ea6ca40 Merge "Set metered bit for passpoint networkSuggesiton" into rvc-dev 2020-03-19 17:16:09 +00:00
TreeHugger Robot
d0573ac515 Merge "package-manager: Add an observer to package manager on package change." into rvc-dev 2020-03-19 17:07:00 +00:00
TreeHugger Robot
eeb1217310 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-19 16:59:59 +00:00
TreeHugger Robot
34c48183f0 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-19 16:44:27 +00:00
Nikita Ioffe
82d21c4b89 Merge "RFC: don't turn screen on after userspace reboot" into rvc-dev 2020-03-19 16:42:19 +00:00
Steve Elliott
a7aededa7d Merge "Populate conversation notifs from shortcut info" into rvc-dev 2020-03-19 15:18:33 +00:00
Mark Chien
746033739a Merge "Hide startTethering with type function to module-lib only" into rvc-dev 2020-03-19 14:55:09 +00:00
Mark Chien
fc526fb6ba Merge "Replace type with TetheringRequest in startTethering usage" into rvc-dev 2020-03-19 14:54:41 +00:00
Remi NGUYEN VAN
23b888f92c Merge "Add a test API for testing NetworkStack.getService" into rvc-dev 2020-03-19 14:53:35 +00:00
Anna Trostanetski
5165c12a4a Merge "Introduce listUIChanges API for developer UI" into rvc-dev 2020-03-19 14:52:18 +00:00
Neil Fuller
21ce7ddbc3 Merge "Raise tz standards for uninitialized devices" into rvc-dev 2020-03-19 14:43:05 +00:00
TreeHugger Robot
6b70283f4e Merge "Controls UI - Persist subtitles" into rvc-dev 2020-03-19 14:35:54 +00:00
Julia Reynolds
3a79134233 Merge "Mute new assistant stream in total silence mode" into rvc-dev 2020-03-19 14:35:04 +00:00
Lorenzo Colitti
0c36573a57 Merge "Make Ethernet interfaces more testable." into rvc-dev 2020-03-19 14:31:57 +00:00
TreeHugger Robot
0e56c85768 Merge "Renamed DisplayInfo to TelephonyDisplayInfo" into rvc-dev 2020-03-19 14:29:24 +00:00
TreeHugger Robot
22f1801dc7 Merge "Move NetworkCallback to last parameter for new exposed requestNetwork" into rvc-dev 2020-03-19 13:40:51 +00:00
markchien
ff3b10030f Replace type with TetheringRequest in startTethering usage
startTethering with type is deprecated way and may not be exposed in
TetheringManager. The usage should be replaced by startTethering with
TetheringRequest.

Bug: 151918384
Test: m, atest
Change-Id: I9c26db3639857a8909be1888046fc942b8a51182
2020-03-19 13:09:47 +00:00
markchien
11ee813537 Hide startTethering with type function to module-lib only
Bug: 151918384
Test: m
Change-Id: Icef8b363aae97dd020d618bcb397f661aa6c4750
2020-03-19 21:04:04 +08:00
TreeHugger Robot
bfdf19c46d Merge "Call setAdapter from handleLayoutChanged." into rvc-dev 2020-03-19 12:59:42 +00:00
Lorenzo Colitti
6fba2a8b7e Make Ethernet interfaces more testable.
This CL adds a setIncludeTestInterfaces method to EthernetManager
that, when called, causes the Ethernet service to recognize and
manage test interfaces created by TestNetworkManager.

Bug: 150644681
Test: Tested by EthernetTetheringTest in same topic
Change-Id: I86eef7a93267f800dbfc8eafd307effa76a344ca
Merged-In: I86eef7a93267f800dbfc8eafd307effa76a344ca
(cherry picked from commit 3410fb0aa9)
2020-03-19 12:30:39 +00:00
TreeHugger Robot
a895040b48 Merge "WindowInsetsAnimationController: Add additional assertions for new APIs" into rvc-dev 2020-03-19 12:15:41 +00:00
arangelov
2731fa71fe Call setAdapter from handleLayoutChanged.
Test: manual
Fixes: 150918223
Fixes: 150922090
Fixes: 151329221
Fixes: 151077241
Change-Id: I723634840cfdc40eb307f2ce4e170178692f12f3
2020-03-19 12:10:13 +00:00
atrost
be8e9b2fc7 Introduce listUIChanges API for developer UI
Filter out changes that are: logging only, older then enabled after P,
newer then enabled after Q.
Added missing @Test that broke builds.

Test: atest com.android.server.compat.PlatformCompatTest
Bug: 151299145
Change-Id: Ic4c12ceec3f4018a1f206b8498e8216466ecf960
2020-03-19 12:06:52 +00:00
Mark Chien
b2842cf476 Merge "TetheringManager API clean up" into rvc-dev 2020-03-19 12:04:05 +00:00
TreeHugger Robot
688a5f21ad Merge "Remove mount hack" into rvc-dev 2020-03-19 11:46:27 +00:00
Neil Fuller
6a26d52b18 Raise tz standards for uninitialized devices
Removes the lowering of standards applied for tz detection on
uninitialized devices. Before this change, the device would accept any
telephony tz suggestion, which could include lower-quality answers; i.e.
those where the zone was chosen based on a country's default zone, even
when there are multiple different zones to choose from.

Unfortunately, the stock device setup wizard assumes any time zone
change made while it is running is a high quality answer and so it then
doesn't ask the user to confirm the choice. Without an API it has no way
of telling whether the time zone chosen was a high or low quality
answer. This should eventually be resolved with improved system APIs.

Bug: 143721631
Test: atest services/tests/servicestests/src/com/android/server/timezonedetector
Merged-In: I1dbd1046f0e641e609ecc8809cf86b7ddb6111b3
Change-Id: I1dbd1046f0e641e609ecc8809cf86b7ddb6111b3
(cherry picked from commit ea6b34da8d)
2020-03-19 11:45:40 +00:00
TreeHugger Robot
bf75258a7e Merge "Fix failing WebViewUpdateServiceTest." into rvc-dev 2020-03-19 11:26:54 +00:00
Neil Fuller
278c70832b Merge "Add command line support for testing tz detection" into rvc-dev 2020-03-19 11:17:15 +00:00
JW Wang
9593207bd0 Merge "Override phenotype flags during tests" into rvc-dev 2020-03-19 11:16:51 +00:00
Lorenzo Colitti
16a888889b Merge "Document the arguments to SocketUtils.makePacketSocketAddress." into rvc-dev 2020-03-19 11:12:32 +00:00
markchien
97c029e87d Move NetworkCallback to last parameter for new exposed requestNetwork
Bug: 151243698
Test: atest TetheringTests
Change-Id: I87ef1d451eefa6998b9793c4eacabae978376d24
2020-03-19 19:10:23 +08:00
Paul Hu
b1b08a0d45 Merge "Kill ConnectivityManager.CONNECTIVITY_ACTION_SUPL" into rvc-dev 2020-03-19 10:17:29 +00:00
Mark Chien
17c6d8f4fb Merge "Support static address configuration" into rvc-dev 2020-03-19 10:03:56 +00:00
Bill Yi
c5ed31188a Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I4f85e0923c4575ec1c2e1ee02eb3b4f87c81e1cb
2020-03-19 02:24:50 -07:00
markchien
62a625df98 TetheringManager API clean up
Per API review:
- @IntDef defined on the type integer parameter
- have getters on each parameter that is set in the
  TetheringRequest.Builder
- new added API should not be deprecated
Below APIs is moved from system-current to module-lib-current that only
plafrom code(e.g. ConnectivityManager and Settings) can use them.
TetheringRequest.
onTetherableInterfaceRegexpsChanged, TetheringInterfaceRegexps:
Only platform code can use them because interfaces by regular
expressions are a mechanism which is planning to be deprecated.

Also rename some constants for easier to understand.

Bug: 149858697
Bug: 151243337
Test: m doc-comment-check-docs
      atest TetheringTests
Change-Id: Idd041f0fbeca411ea23e49786a50dd7feb77ef45
2020-03-19 16:32:37 +08:00
TreeHugger Robot
4d39f7bbe9 Merge "Log important events in WallpaperBackupAgent" into rvc-dev 2020-03-19 08:20:02 +00:00
Lee Chou
7427d1ef16 Merge "Add action for logging confirm esim deletion feature" into rvc-dev 2020-03-19 07:44:19 +00:00
Automerger Merge Worker
d40f64b42f Kill ConnectivityManager.CONNECTIVITY_ACTION_SUPL
CONNECTIVITY_ACTION_SUPL is marked as a "temporary hack" and has
never been public. Remove this intent definition since no one is
receiving this intent and should use network callback to know the
connection change.

Bug: 109636544
Test: atest FrameworksNetTests
Change-Id: Ie9e5127742beba04f1c191e894e8a29fe1e704bb
Merged-In: Ie9e5127742beba04f1c191e894e8a29fe1e704bb
(cherry picked from aosp/1224697)
2020-03-19 06:53:04 +00:00
Bill Yi
0b5e178257 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ib7c712588867408f40e764555a2e7e4eef435caf
2020-03-18 23:48:50 -07:00
Junyu Lai
841583ae51 Merge changes I7eaca623,Ic94da540,If330e853,Ie2d229be,Ic6b2f10f into rvc-dev
* changes:
  [SM08] Add NetworkTemplate unit test for fetching mobile data usage
  [SM07] Make combine subtype configurable from Settings
  [SM05] Enable record mobile network stats by collapsed rat type
  [SM04] Support fetching data with NetworkTemplate with subType
  [SM02] Support record mobile network stats by collapsed rat type
2020-03-19 06:29:38 +00:00
Goven Liu
97d385c6a6 Merge "[Wi-Fi] Fix "work profile apps" icon color wrong issue" into rvc-dev 2020-03-19 06:25:39 +00:00
Yurii Zubrytskyi
9cce14eb0e Merge "[incremental native lib] skip writing to zero byte files" into rvc-dev 2020-03-19 06:23:23 +00:00
Yurii Zubrytskyi
793f73812d Merge "Incremental apps removal on data loader failures." into rvc-dev 2020-03-19 06:20:37 +00:00
Christine Tsai
f1eafd6917 Merge "Fix puller for SystemUptime" into rvc-dev 2020-03-19 06:02:10 +00:00
Paul Hu
d116aacdad Merge "[TNU1.1]Add tethering notification strings" into rvc-dev 2020-03-19 05:56:00 +00:00
Lorenzo Colitti
cac623e094 Document the arguments to SocketUtils.makePacketSocketAddress.
Test: m
Fix: 149015112
Change-Id: I4e0fb6fc66ef488cfa8a57a2c2536c2a625a4512
(cherry picked from commit 24593b0061)
2020-03-19 05:44:20 +00:00
Remi NGUYEN VAN
aa59d13672 Merge "Remove privapp grants for CaptivePortalLogin" into rvc-dev 2020-03-19 05:43:54 +00:00
PETER LIANG
17225fde07 Merge "Add strings for accessibility button chooser." into rvc-dev 2020-03-19 05:18:07 +00:00
Automerger Merge Worker
37a22754c8 Support static address configuration
Application can specify static ipv4 server and client address to setup
tethering and this is one shot configuration. Tethering service would
not save the configuration and the configuration would be reset when
tethering stop or start failure.

When startTethering callback fired, it just mean tethering is requested
successful. Therefore, callers may call startTethering again if
startTethering successful but do not receive following tethering active
notification for a while. Tethering service never actually does anything
synchronously when startTethering is called:
  -startProvisioningIfNeeded just posts a message to the handler thread.
  -enableTetheringInternal doesn't do anything synchronously, it just
  asks the downstreams to get their interfaces ready and waits for
  callbacks.
If tethering is already enabled with a different request,
tethering would be disabled and re-enabled.

Bug: 141256482
Test: -build, flash, boot
      -atest TetheringTests
      -atest CtsTetheringTest

Change-Id: I2b2dd965a673e6f1626738d41b5d443f0f9fbd0e
Merged-In: I0399917e7cefa1547d617e688225544c4fc1a231
(cherry picked from commit 5d6723e24e)
2020-03-19 12:39:46 +08:00
Rick Yiu
cb03c9e932 Merge "Revert "[Telephony Mainline] To mark @hide for mainline module r..."" into rvc-dev 2020-03-19 04:23:32 +00:00