26147 Commits

Author SHA1 Message Date
Anton Hansson
be64b53449 Merge "Whitelist new lint errors" 2019-12-10 22:51:55 +00:00
Rahul Sabnis
5e298ac413 Refactor BluetoothPbap APIs used by Settings
Bug: 145943634
Test: Manual
Change-Id: I23b2b20f97968696f9f00fee55094db6e551835f
2019-12-10 14:04:18 -08:00
David Su
0c472adb0d Expose CloseGuard as a public API
Wrap dalvik.system.CloseGuard and expose it as a
public API from android.util.

Bug: 145831809
Test: atest CloseGuardTest
Change-Id: Ia44c84a69a5fb693fb8bb1a075c18a60253cedfc
2019-12-10 13:46:24 -08:00
Chen Xu
20e05a4660 Merge "expose datafail cause used in telephony-sdk annotation class" 2019-12-10 21:39:35 +00:00
Jayachandran Chinnakkannu
b181ba61e2 Merge "Remove usage of IccCardConstants hidden APIs" 2019-12-10 21:31:17 +00:00
Yan Yan
48384c744f Merge "IKE API: Add getters for SessionParams, ConfigRequests" 2019-12-10 20:52:15 +00:00
Anton Hansson
12b972168f Whitelist new lint errors
These typedefs were incorrectly made public since the linter
wasn't catching the errors.

Bug: 145982314
Test: m
Change-Id: Id89b15ba34df01584d3d5afe9d4112fad9613dbc
Merged-In: Id89b15ba34df01584d3d5afe9d4112fad9613dbc
(cherry picked from commit 3e8f84f82f09c20b01a254d75c7d16f163c91d4e)
2019-12-10 20:42:02 +00:00
Shuo Qian
8763091019 Merge "Integrate Signal Threshold for 5G" 2019-12-10 18:03:32 +00:00
Anton Hansson
370add0c6a Merge "Expose SdkExtension in the system SDK" 2019-12-10 17:43:38 +00:00
Charles Munger
49d17aa440 Deprecate incorrect year constant
Bug: 144042891
Test: No behavior changes
Change-Id: I5c92f371a49bac3adc4d0174505998b15537a0aa
2019-12-10 08:24:17 -08:00
Charles Munger
ea4916dac7 Merge "Deprecate AlteredCharSequence" 2019-12-10 16:20:40 +00:00
Ravi Paluri
0fe5541d28 IMS-VT: Add config to control holding a video call
Add <allow_holding_video_call> config that controls
whether video call can be put on hold. The config holds true
if carrier supporting holding video calls else holds false.

Test: Manual
Bug: 67031055
Change-Id: I2829ae21355e1728ad1520bd4a952703ea832a7f
2019-12-10 16:55:11 +05:30
Chen Xu
3c963e27b4 expose datafail cause used in telephony-sdk annotation class
1. expose one hidden dataFailCause used in telephony-sdk annotation
class
2. remove unused hidden dataFailCause referened in telephny-sdk
annotation

Bug: 140908357
Test: Build
Change-Id: Ia7ca9a2a354937946ba57017f4bd03fe880aeb6d
2019-12-09 21:18:59 -08:00
Rahul Sabnis
4fee78ed6d Resolve BluetoothHearingAid API usages by Settings
Bug: 143244535
Test: Manual
Change-Id: Ide243e05166f03d465a50a7f2bdb82dbfd6815d0
2019-12-09 16:26:04 -08:00
Shuo Qian
c1f935e3c0 Integrate Signal Threshold for 5G
1) Introduce default values for 5G Signal thresholds
2) Introduce parameter to control in 5G NR Signal Strength Level
3) Introduce SignalThresholdInfo to support Framework and HAL

Test: Treehugger
Bug: 135717625
Change-Id: I8a716e9fe445349a56bb33b6b8f581febb21552b
Merged-In: I8a716e9fe445349a56bb33b6b8f581febb21552b
(cherry picked from commit 7d7b2f1a44f89bb5ae3e525d2afd1a7f52c46729)
2019-12-09 15:24:39 -08:00
Chong Zhang
560f980bb0 Merge "Add memfd_create to android.system.Os" 2019-12-09 22:06:08 +00:00
Anton Hansson
b52bd1cbbe Expose SdkExtension in the system SDK
Also tweak the javadoc a little bit.

Bug: 137191822
Bug: 143937447
Test: treehugger
Change-Id: Iae1b025685344c2ffe4ed1089850b447c82a6b83
Merged-In: Iae1b025685344c2ffe4ed1089850b447c82a6b83
2019-12-09 17:21:24 +00:00
Rahul Sabnis
625e1c3ef4 Resolve BluetoothA2dp hidden APIs to resolve dependencies
Bug: 143240341
Test: Manual
Change-Id: Ib55e0fb106fa7b91ef4d3559da12ea2c048f1ae5
2019-12-06 16:58:05 -08:00
Jordan Liu
9fd7c05eb9 Merge "Expose some SystemApis and edit framework-cellbroadcast-shared-srcs" 2019-12-07 00:06:23 +00:00
Jayachandran C
316302c001 Remove usage of IccCardConstants hidden APIs
Expose the string IccCardConstants as system APIs
Use TelephonyManger.SIM_STATE_XXX for remaining

Bug: 145767148
Test: Build
Change-Id: I5711d783be8c8414b8f9d7baa80cb4224bd771aa
2019-12-06 16:06:12 -08:00
sqian
22f5749ccc Make getPackagesWithPriviligesForAllActiveSubscriptions system API
Test: build
Bug: 145550382
Change-Id: Ia7efb9e4b22b24f3c87c7cd631548c7254b28926
Merged-In: Ia7efb9e4b22b24f3c87c7cd631548c7254b28926
(cherry picked from commit 6f27c5769d8c5b5c76d143f590a8c4d1c5d8ccee)
2019-12-06 12:07:57 -08:00
Jordan Liu
bf68dc85a4 Expose some SystemApis and edit framework-cellbroadcast-shared-srcs
The APIs are used in the CellBroadcastService, and the
framework-cellbroadcast-shared-srcs library is also linked there.

Bug: 135956699
Test: manual
Change-Id: I5e71ea1ee1a858c0520c241dc7365733441e0f50
Merged-In: I5e71ea1ee1a858c0520c241dc7365733441e0f50
2019-12-06 11:19:48 -08:00
Treehugger Robot
8efafa49db Merge "Unhide NETLINK_NETFILTER constant" 2019-12-06 16:53:29 +00:00
Aaron Huang
8aed6e69f0 Merge "Add TrafficStats methods to public APIs" 2019-12-06 10:59:11 +00:00
Aaron Huang
29667d2942 Add TrafficStats methods to public APIs
Add methods to public APIs for mainline support.

Bug: 139268426
Bug: 135998869
Test: atest FrameworksNetTests
      ./frameworks/opt/net/wifi/tests/wifitests/runtests.sh
      atest android.net.cts
      atest android.net.wifi.cts

Change-Id: I21a9c0dbdc79b1f1041fc9e23c6a4e1e97ecde92
2019-12-06 16:19:40 +08:00
markchien
55ef89df23 Unhide NETLINK_NETFILTER constant
Tethering use NETLINK_NETFILTER to update NAT conntrack entry for
tethering offload. Netlink netfilter socket is protected by SELinux
that only system_server, netd and networkStack(tethering) may use it.

Bug: 144814535
Test: build

Change-Id: I40eedc89d72cf0a1fcdf670b453ef034b2e7b13c
2019-12-06 02:25:59 +00:00
Benedict Wong
cff9096b29 IKE API: Add getters for SessionParams, ConfigRequests
This change adds getters for all setters exposed by the builder per API
guidelines. New interfaces were added to expose configuration
information stored by internal only classes.

Bug: 143983419
Test: API, platform builds without errors
Test: Frameworks(Net|Ike)Tests passing
Change-Id: I1cb87439a36b6be8658dd39dcd279918a04076c0
2019-12-05 18:04:49 -08:00
Treehugger Robot
f6ea5afa58 Merge "Make BluetoothUuid constants and some functions System Apis" 2019-12-06 01:23:39 +00:00
Treehugger Robot
b3de542cf7 Merge "Refactor BluetoothHeadset APIs used by Settings" 2019-12-06 00:11:52 +00:00
Tyler Gunn
4efe689e4c Merge "Add Verstat fields to Telecom call/connection classes." 2019-12-05 23:58:45 +00:00
Chong Zhang
be811e517d Add memfd_create to android.system.Os
bug: 145607042
bug: 145355521
Change-Id: Iee92a946d38fd2cbc7a30534638ea467cb5a601a
2019-12-05 14:46:46 -08:00
Sarah Chin
226499214c Merge changes from topics "ngran", "update_ngran"
* changes:
  Update NGRAN bands
  Updated AccessNetworkConstants and RadioAccessSpecifier
2019-12-05 21:37:37 +00:00
Yan Yan
bba4e2721b Merge "Fix and suppress API lint warning" 2019-12-05 19:24:36 +00:00
Zoey Chen
8e708ff380 Merge "[Telephony mainline] Add SystemApi and NonNull annotation" 2019-12-05 07:58:03 +00:00
Treehugger Robot
1d379ac065 Merge "Expose netId to SystemApi" 2019-12-05 02:29:41 +00:00
Allen Su
d154c93041 Merge "Define EXTRA_AUDIO_CODEC_TYPE in Connection" 2019-12-05 01:32:21 +00:00
Rahul Sabnis
5f457c0586 Refactor BluetoothHeadset APIs used by Settings
Bug: 143244793
Test: Manual
Change-Id: I399a1e0f93cb01c44817604edfcaa8fe5061142f
2019-12-04 16:49:21 -08:00
Peter Wang
415143daf5 Merge "[Telephony Mainline] Expose hidden APIs and consts" 2019-12-04 23:39:50 +00:00
Charles Munger
17d1d950ec Merge "Deprecate IntentService" 2019-12-04 22:17:28 +00:00
Sarah Chin
445568fc62 Update NGRAN bands
Test: build
Bug: 143683654
Change-Id: I4b83b244caa9a168d1afbc99a32ae84bc41346d1
Merged-In: I4b83b244caa9a168d1afbc99a32ae84bc41346d1
2019-12-04 13:13:40 -08:00
Xiangyu/Malcolm Chen
454c0659a6 Merge "Add System API to indicate whether physical SIM can be disabled." 2019-12-04 19:26:51 +00:00
Rahul Sabnis
1223087ee3 Make BluetoothUuid constants and some functions System Apis
Bug: 143245929
Test: Manual
Change-Id: I5519a379a2bb5d56fe25745d8bdeaa5cf52d9e92
2019-12-04 11:24:57 -08:00
Jack Yu
258e925cd6 Merge "Added sub id to SmsCbMessage" 2019-12-04 17:34:01 +00:00
allenwtsu
2aca989255 Define EXTRA_AUDIO_CODEC_TYPE in Connection
Bug: 143576354
Test: By manual
Change-Id: Ib8e701632676cfbe9993f1de2b58546f59ba580f
2019-12-04 15:21:19 +08:00
markchien
665a2cc1f0 Expose netId to SystemApi
Tethering will be build as unblundled APP. It can't use @hide
API anymore. Expose netId for tethering because it need to set
proxy dns server with netId.

Bug: 144758139
Test: build
Change-Id: Ifefa791940874617bb479f5c23488d14be87f45e
2019-12-04 14:33:51 +08:00
paulhu
59148b7938 Replace the permission of internal connectivity checks
A number of connectivity checks that protect system-only methods
check for CONNECTIVITY_INTERNAL, but CONNECTIVITY_INTERNAL is a
signature|privileged permission. We should audit the permission
checks, and convert checks that protect code that should not be
called outside the system to a signature permission. So replace
all CONNECTIVITY_INTERNAL to other proper permissions.

Bug: 32963470
Test: atest FrameworksNetTests NetworkPolicyManagerServiceTest
Change-Id: I8f2dd1cd0609056494eaf612d39820e273ae093f
Merged-In: I8f2dd1cd0609056494eaf612d39820e273ae093f
2019-12-04 11:44:45 +08:00
zoey chen
1acbb9c031 [Telephony mainline] Add SystemApi and NonNull annotation
Bug: 143860012
Test: make
Change-Id: I619d6ba04cb28830e3995feb02ffcb592ff65818
Merged-In: I619d6ba04cb28830e3995feb02ffcb592ff65818
2019-12-04 11:40:07 +08:00
evitayan
37a73b521a Fix and suppress API lint warning
This commit renames SessionOptions to SessionParams

Bug: 143983419
Test: API, platform builds without errors
Test: FrameworksIkeTests passing
Change-Id: I5e1c9a1efb87a8c7bb31d66fc16491dcd352912b
2019-12-03 17:54:23 -08:00
Treehugger Robot
254411a902 Merge "Deprecate LoginFilter" 2019-12-04 01:45:49 +00:00
Treehugger Robot
98c91be8ae Merge "Rename priority to connection policy in bluetooth apis" 2019-12-04 01:11:46 +00:00