Commit Graph

440079 Commits

Author SHA1 Message Date
Treehugger Robot
1e036749ba Merge "Import translations. DO NOT MERGE" 2020-02-01 03:26:35 +00:00
Treehugger Robot
0a9cf80e44 Merge "Import translations. DO NOT MERGE" 2020-02-01 03:19:51 +00:00
Treehugger Robot
a812182b2c Merge "Import translations. DO NOT MERGE" 2020-02-01 03:18:21 +00:00
Treehugger Robot
6be5877928 Merge "Import translations. DO NOT MERGE" 2020-02-01 03:17:46 +00:00
Treehugger Robot
5d2584f6d7 Merge "Import translations. DO NOT MERGE" 2020-02-01 03:17:40 +00:00
Bill Yi
2027c2d216 Import translations. DO NOT MERGE
Change-Id: Ief40b9f0c299dde4427b9fa1694b23e50c393d70
Auto-generated-cl: translation import
2020-01-31 18:25:48 -08:00
Bill Yi
6547264d34 Import translations. DO NOT MERGE
Change-Id: Icd19c6ddb6a759242cd69d47cdab7d5f5d5f6e7b
Auto-generated-cl: translation import
2020-01-31 18:09:15 -08:00
Bill Yi
5760037a7a Import translations. DO NOT MERGE
Change-Id: I12d3ac8d1e9d24bc513b65e866a17ad9a7f7f9c8
Auto-generated-cl: translation import
2020-01-31 17:52:38 -08:00
Calin Juravle
b1b1204a7a Merge "Pass down more profile saver options to the runtime" 2020-02-01 00:46:24 +00:00
Muhammad Qureshi
7ba0af34c8 Merge "Add FrameworkStatsLog" 2020-01-31 22:47:52 +00:00
Muhammad Qureshi
ee9956b386 Merge "Add some network protos to atoms.proto" 2020-01-31 22:47:27 +00:00
Mingming Cai
62eb925376 Merge "Comments for getNetworkRegistrationInfo with multiple domains" 2020-01-31 20:49:24 +00:00
Shuo Qian
5aa9de8cf1 Merge "Create the ID for each gating key. Modify the names and descriptions per Compat team requirement." 2020-01-31 20:08:33 +00:00
Muhammad Qureshi
1de1df4c60 Add FrameworkStatsLog
Add a genrule for FrameworkStatsLog and it to frameworks.jar

As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by *StatsLog.java
that is autogenerated for each module.
This CL adds autogenerated FrameworkStatsLog.

Follow up CLs will replace usages of StatsLog.write calls with
FrameworkStatsLog.write.

Bug: 145952197
Test: m
Merged-In: I6ba6a67e019a3b5cffd936dad7ce9db6c8c51632
Change-Id: I6ba6a67e019a3b5cffd936dad7ce9db6c8c51632
(cherry-pick from internal branch with minor conflicts)
2020-01-31 19:35:00 +00:00
Shi Lu
ec5c5b57ef Merge "API Review: ServiceState.isSearching documentation" 2020-01-31 18:30:59 +00:00
Bill Yi
7cbac65dcb Import translations. DO NOT MERGE
Change-Id: Iff1787a1123b6ee966bb7bde9ee3353297105b2f
Auto-generated-cl: translation import
2020-01-31 08:00:37 -08:00
Bill Yi
66d4772f94 Import translations. DO NOT MERGE
Change-Id: Idb1e6c2d8f834654288ea8107c83c16f59c53b65
Auto-generated-cl: translation import
2020-01-31 07:43:58 -08:00
Muhammad Qureshi
a0f5e015f5 Add some network protos to atoms.proto
Bug: 145952197
Test: None

Change-Id: Ic1fbfbfae7b21b1ec6d4fe645db97ef1069098eb
Merged-In: I600606d55fe632d7ef3c475bb3d11cedf999420d
2020-01-31 07:14:38 -08:00
Remi NGUYEN VAN
ae03bdf7c1 Merge "Tethering: build tethering as unbundled APP" 2020-01-31 07:40:30 +00:00
Remi NGUYEN VAN
385c17e1c9 Merge "Tethering: Fix hidden API selectBestRoute" 2020-01-31 07:40:16 +00:00
Anton Hansson
92aac5c66a Merge "Rename module lib stubs to 'android'" 2020-01-31 07:39:46 +00:00
Qingxi Li
497afcff0c Merge "Remove try-catch from LocationPermissionChecker" 2020-01-31 03:35:08 +00:00
Calin Juravle
1038dcdf2c Pass down more profile saver options to the runtime
Add the delay to save the resolved classes as a system property and pass
it down to the runtime

Test: build and check profile saver activity
Bug: 141487932
Change-Id: I17278505e29295d3ecfe1e1e782da11f5356ebfd
2020-01-30 18:52:19 -08:00
Josh Gao
62d4abfd06 Merge "Enable fdtrack in system_server." 2020-01-31 02:13:00 +00:00
sqian
7801d982bd Create the ID for each gating key.
Modify the names and descriptions per Compat team requirement.

Test: Treehugger
Bug: 148534348
Bug: 148535736
Bug: 147600208
Change-Id: Id9d0366714aa4ecb240d2b9e726d35a474879325
Merged-In: Id9d0366714aa4ecb240d2b9e726d35a474879325
(cherry picked from commit b32797b202
2020-01-30 17:59:02 -08:00
Shuo Qian
a3243e8e6e Merge "Add LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH into Shell permission" 2020-01-31 01:44:48 +00:00
Mingming Cai
a42253be8c Comments for getNetworkRegistrationInfo with multiple domains
Bug: 147917681
Test: make
Change-Id: Icba1814ceba1ef87c1c2710fe5fef65e00a1cec1
2020-01-30 17:25:28 -08:00
Qingxi Li
0b61b3d716 Remove try-catch from LocationPermissionChecker
Since LocationPermissionChecker#checkLocationPermission will be
used in ConnectivityService and the try-catch style will end up
in unwinding the stack. This CL remove the try-catch block from
this check function.

Bug: 148460709
Test: atest LocationPermissionCheckerTest
Change-Id: Ia97b3d8b1a96aca10fd87876969c290818e7e758
Merged-In: Ia97b3d8b1a96aca10fd87876969c290818e7e758
2020-01-31 01:06:17 +00:00
Meng Wang
2b1b1bb22d Merge "Fix import of Rlog - generated by formatting tool" 2020-01-31 00:59:09 +00:00
Rambo Wang
bf003b77a2 Merge "Add Nullability Annotations and verification to CellIdentity" 2020-01-31 00:40:30 +00:00
Rambo Wang
c6c0ca613b Add Nullability Annotations and verification to CellIdentity
Bug: 148177166
Test: atest FrameworksTelephonyTests
Change-Id: Ie98db2ce393a76644a4773045eafc28ce6f4a4cb
Merged-In: Ie98db2ce393a76644a4773045eafc28ce6f4a4cb
(cherry picked from commit 33f62a071c)
2020-01-31 00:10:29 +00:00
Treehugger Robot
3c57a25b4f Merge "Add BLUETOOTH_PRIVILEGED permission to SystemApi BluetoothHidDevice#setConnectionPolicy" 2020-01-30 23:58:09 +00:00
David Su
23d84d343b Merge changes Iaa6f0d65,I68a16b64
* changes:
  Networking: Rename removeDoubleQuotes to sanitizeSsid
  Wifi: Rename removeDoubleQuotes to sanitizeSsid
2020-01-30 22:42:16 +00:00
Andrei-Valentin Onea
41e1423539 Merge "Revert "Add permissions for using PlatformCompat methods"" 2020-01-30 22:37:03 +00:00
sqian
dfdee636e3 Add LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH into Shell permission
> Is the minimally scoped permission that needs to be added?
This is a minimal permission for always listening to signal strength.

> What options did you explore that did not need this permission?
CTS is required by API council; Telephony CTS is using shell to have
system permission. I don't see other options.

Integrate the callback of LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH

Test: CTS; https://paste.googleplex.com/5811446241820672
Bug: 147322848
Change-Id: Id5afd261a7f00c25e3af3558f30fb92aad42f060
2020-01-30 14:14:43 -08:00
Rahul Sabnis
f93a469cec Add BLUETOOTH_PRIVILEGED permission to SystemApi
BluetoothHidDevice#setConnectionPolicy

Bug: 148597061
Test: Manual
Change-Id: I03875cb71483d3d6e18795324a7fbea6681fb9b0
2020-01-30 13:49:35 -08:00
Andrei-Valentin Onea
e222d5a870 Revert "Add permissions for using PlatformCompat methods"
Revert "Make platform_compat discoverable everywhere"

Revert "Add new permissions to test"

Revert submission 1210143-platformcompat-permissions

Reason for revert: http://b/142942524
Reverted Changes:
I3601b12d5: Add new permissions to test
I65d425aac: Make platform_compat discoverable everywhere
I1c8cbb656: Add permissions for using PlatformCompat methods

Change-Id: Idbb616f918fac40b063c3b4f95f73e12a94d6016
2020-01-30 21:38:35 +00:00
Meng Wang
e3387ef9c4 Fix import of Rlog - generated by formatting tool
Test: make
Merged-In: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716
Change-Id: Ibe36c6d0fe8bfb6277d7b9034af8dbf45ce2f716
2020-01-30 12:38:32 -08:00
Treehugger Robot
0b242c8d77 Merge "Purge unused native memory before Zygote fork events" 2020-01-30 17:13:11 +00:00
Treehugger Robot
3e6f701980 Merge "Use py3 features in merge_csv.py." 2020-01-30 15:18:58 +00:00
Anton Hansson
9c4bbe95b1 Rename module lib stubs to 'android'
android.jar is the historical name of the framework stubs, so stick
with that.

Test: m
Change-Id: I1ef40b0e426c51d697f1efdabdc87096555e26e8
Merged-In: I1ef40b0e426c51d697f1efdabdc87096555e26e8
(cherry picked from commit 81b3e1e1680847f44782eb053dfbd7d7022cef58)
2020-01-30 14:04:15 +00:00
Neil Fuller
8e0e0e8535 Merge "Tidy up libcore.timezone APIs" 2020-01-30 11:25:35 +00:00
Remi NGUYEN VAN
85e73e6099 Merge "Add tests to services/tests/net test mapping" 2020-01-30 06:20:39 +00:00
Muhammad Qureshi
d8a5039db0 Merge "Generate compile-time Q-compatible StatsLog" 2020-01-30 06:01:03 +00:00
Treehugger Robot
5fcfe7cc4f Merge changes I8b8df509,I856f01f0
* changes:
  NetworkAgent: Fix doc build fail by invalid tag
  Make most of NetworkAgent @SystemApi.
2020-01-30 04:35:46 +00:00
markchien
a2c5920378 NetworkAgent: Fix doc build fail by invalid tag
Bug: 138306002
Bug: 139268426
Test: make doc-comment-check-docs

Change-Id: I8b8df5096b90ad10545087ab09f68ecae637aa35
Merged-In: I8b8df5096b90ad10545087ab09f68ecae637aa35
2020-01-30 03:37:45 +00:00
markchien
2ee36f7055 Tethering: build tethering as unbundled APP
Bug: 143195885
Test: -build, flash, boot
      -atest TetheringTests

Merged-In: I09117228c193137f6359fdcfced38352b8a38f57
Change-Id: I09117228c193137f6359fdcfced38352b8a38f57
(clean cherry-pick)
2020-01-30 11:50:01 +09:00
markchien
21372af495 Tethering: Fix hidden API selectBestRoute
Bug: 143925787
Test: -build, flash, boot
      -ON/OFF hotspot
      -atest TetheringTests

Merged-In: I824a05fac8b606123667d20ab9b1f7de905e4088
Change-Id: I824a05fac8b606123667d20ab9b1f7de905e4088
(clean cherry-pick)
2020-01-30 11:49:44 +09:00
Shuo Qian
64c1e4ddef Merge "Support Call Forwarding and Call Waiting APIs for voice call." 2020-01-30 00:59:31 +00:00
sqian
06c4c75100 Make most of NetworkAgent @SystemApi.
Bug: 138306002
Bug: 139268426
Test: atest FrameworksNetTests FrameworksWifiTests FrameworksTelephonyTests
Test: atest android.net.cts.ConnectivityManagerTest
Change-Id: I856f01f02c35c2f6a886d8b98039e5dfbc48148b
Merged-In: I856f01f02c35c2f6a886d8b98039e5dfbc48148b
(cherry picked from commit 631f33a68f)
2020-01-29 16:45:03 -08:00