Commit Graph

25744 Commits

Author SHA1 Message Date
Brad Ebinger
879097ecf2 Reorder getFeatureState parameters to convention
Bug: 143653269
Test: atest CtsTelephonyTestCases FrameworksTelephonyTests
Merged-In: Ifd2739cd8e26c34e3e771a43661e0763929e7a6c
Change-Id: Ifd2739cd8e26c34e3e771a43661e0763929e7a6c
2019-11-14 16:01:11 -08:00
Shuo Qian
af35741307 Merge "Add CarrierConfigManager APIs to support 5G Signal Strength Threshold" 2019-11-14 19:01:45 +00:00
Peter Wang
451c6a80e5 Merge "[API Review] Renamed public API eraseSubscriptionsWithOptions" 2019-11-14 18:59:11 +00:00
Jayachandran Chinnakkannu
80496e96e4 Merge "Expose SubscriptionManager.getActiveDataSubscriptionId() as public API" 2019-11-14 18:37:23 +00:00
Shuo Qian
1f2fcf177e Add CarrierConfigManager APIs to support 5G Signal Strength Threshold
Test: Build
Bug: 135717625
Change-Id: I27b1c093be925aafaaa2302a368dd0c217a072d7
Merged-In: I27b1c093be925aafaaa2302a368dd0c217a072d7
(cherry picked from commit 8c1e873aa4)
2019-11-14 04:44:13 +00:00
Peter Wang
7e16b391b6 [API Review] Renamed public API eraseSubscriptionsWithOptions
to without "withOptions", aidl definitions for EuiccController,
EuiccService are kept unchanged

Bug: 139474431
Bug: 143986109
Test: Build
Change-Id: Ic11bae7a24c99995b76dd4c5ef764f8a87deed52
Merged-In: Ic11bae7a24c99995b76dd4c5ef764f8a87deed52
2019-11-14 03:35:25 +00:00
Brad Ebinger
ee2b0b6017 Move the ImsService tests to CTS, requiring @TestApi
Bug: 143822481
Test: atest CtsTelephonyTestCases
Merged-In: Idbdec7790b036aef968d91533cbdb8f096d7717b
Change-Id: Idbdec7790b036aef968d91533cbdb8f096d7717b
2019-11-13 15:35:11 -08:00
Chen Xu
1abff4f0db Merge "cellbroadcast provider refactor" 2019-11-13 18:19:05 +00:00
James Mattis
81200971e1 Merge "Support for hotspot client visibility." 2019-11-13 16:37:27 +00:00
Chen Xu
dd0c1c3687 cellbroadcast provider refactor
1. expose proper APIs to query framework cellbroadcast provider
2. export framework cellbroadcast provider
3. new URI with proper permission check

Bug: 135956699
Test: Build & Manual
Change-Id: Id9ef1876b27bcae6b297be4cc24809239c202f6a
(cherry picked from commit a32c7fc398)
Merged-in: Id9ef1876b27bcae6b297be4cc24809239c202f6a
2019-11-13 08:32:41 -08:00
Meng Wang
4ff5ec3f98 Expose TelephonyManager#getDeviceSoftwareVersion(int) as system API.
Bug: 142228257
Test: make
Change-Id: I1cddd570d5c1203ca749be0ac78093df9e97ee3b
Merged-In: I1cddd570d5c1203ca749be0ac78093df9e97ee3b
2019-11-12 13:47:27 -08:00
James Mattis
201a319860 Support for hotspot client visibility.
Adding support for visibility into clients that connect to an active hotspot.

Bug: 137309578
Test: atest FrameworksNetTests:com.android.server.connectivity.TetheringTest
atest FrameworksWifiApiTests:android.net.wifi.WifiManagerTest
atest FrameworksWifiApiTests:android.net.wifi.WifiClientTest
Tested manually on Pixel 3.

Change-Id: I1caeb10bc50202873e760a76b346bccd941e2574
Merged-In: I1caeb10bc50202873e760a76b346bccd941e2574
2019-11-11 22:10:35 -08:00
Tyler Gunn
5be8504888 Merge "More telephony updates for mainline." 2019-11-12 03:24:01 +00:00
Treehugger Robot
0c0591473b Merge "Change getSubIdForPhoneAccountHandle to getSubscriptionId" 2019-11-11 22:35:45 +00:00
SongFerng Wang
3887ca1f22 Merge "[mainline] Expose getTetherApnRequired API as system API" 2019-11-11 22:06:49 +00:00
Jayachandran C
9ecb50e4fd Expose SubscriptionManager.getActiveDataSubscriptionId() as public API
Bug: 134702460
Bug: 111498835
Test: make
Change-Id: I7875438876af890cdbe8943458a45b816c6f2887
2019-11-08 15:46:27 -08:00
Tyler Gunn
5567d7408c More telephony updates for mainline.
Add new TelecomManager#getDefaultDialerPackage which is multiuse aware;
this is used when showing the voicemail notification.
Remove some @hide methods from Conference; push these inline.
Move ConferenceParticipantConnection into frameworks/opt/net/ims since
it is just an IMS implementation detail.

Bug: 141576016
Test: Manual smoke test.
Test: Run unit tests.
Test: Run CTS tests.
Change-Id: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9
Merged-In: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9
2019-11-08 21:27:32 +00:00
Shuo Qian
557393c7eb Change getSubIdForPhoneAccountHandle to getSubscriptionId
Test: Build
Bug: 144097052
Change-Id: I1e31bd469855b800e825b58130c7034222ccfb83
(cherry picked from commit 8ebad8def6a25e0275e704a6a6fc764f9cac061a)
2019-11-08 18:38:23 +00:00
Treehugger Robot
f363f3549e Merge "Add new SystemApi methods for mainline" 2019-11-08 15:46:53 +00:00
SongFerngWang
fc453e1768 [mainline] Expose getTetherApnRequired API as system API
1. getTetherApnRequired API rename to isTetherApnRequired.
2. Expose isTetherApnRequired API as system API.

Bug: 142365448
Test: Build pass.
      atest TetheringConfigurationTest (PASS)

Change-Id: Iafb2e4fbddb0251e23673742d990ad098a8ae375
Merged-In: Iafb2e4fbddb0251e23673742d990ad098a8ae375
2019-11-08 19:28:33 +08:00
Hall Liu
d2f962a6db Add new SystemApi methods for mainline
Add new SystemApi methods for Telecom to call in lieu of the old @hide
methods. Also moved CallerInfo and CallerInfoAsyncQuery to Telecom
because there are no more users in Telephony.

Bug: 141576016
Test: CTS
Change-Id: I458ba6bcfc03db72c0419b0cab2f0d0adfa971d4
Merged-In: I458ba6bcfc03db72c0419b0cab2f0d0adfa971d4
2019-11-07 17:22:28 -08:00
Brad Ebinger
5a844a16a3 Merge changes from topic "cp_smsmessage"
* changes:
  Add Verstat support for incoming call number verification.
  Add new result codes
2019-11-08 00:14:37 +00:00
Treehugger Robot
c26568d8a7 Merge "Deprecate AsyncTask" 2019-11-07 18:35:05 +00:00
Treehugger Robot
8ab35ca19d Merge "Refactor BluetoothAdapter APIs used by Settings" 2019-11-07 18:18:37 +00:00
Charles Munger
0a96c3b965 Deprecate AsyncTask
Change-Id: Ie142c281c48bda35f5c8fb01ec8a001e0229fd2e
BUG=144042891
2019-11-06 21:11:37 +00:00
Tyler Gunn
c2257b6d6f Add Verstat support for incoming call number verification.
Update ImsCallProfile to indicate the verstat for incoming calls.

Test: Run new GTS tests.
Bug: 135929421
Merged-In: I712a42836382e8929e40b887fd01c450a4096bab
Change-Id: I712a42836382e8929e40b887fd01c450a4096bab
2019-11-06 19:19:31 +00:00
Tom Taylor
4471d28a9f Add new result codes
Test: manually tested sending and receiving sms

Bug: 135755360

Merged-In: I711e86eb5a31902ba5b2e1b6df444b009aef2727
Change-Id: I711e86eb5a31902ba5b2e1b6df444b009aef2727
2019-11-06 10:33:33 -08:00
Brad Ebinger
bfc11892e1 Merge "Fix new registration APIs as per API council guidelines" 2019-11-06 18:28:44 +00:00
Jordan Liu
30adc04701 Add CDMA SCP message handling to CellBroadcast module
SCP messages are used to turn on/off categories of emergency handling.

Bug: 135956699
Test: manual
Change-Id: I4729cb98dec46560aefee570af58ff4a737cacf3
Merged-In: I4729cb98dec46560aefee570af58ff4a737cacf3
2019-11-05 16:56:40 -08:00
Jing Ji
54edb41f94 Merge "Add MAP_ANONYMOUS to OsConstants" 2019-11-05 23:54:28 +00:00
Brad Ebinger
7370458ca9 Fix new registration APIs as per API council guidelines
Bug: 143653269
Bug: 143653007
Test: atest FrameworksTelephonyTests GtsTelephonyTestCases
Merged-In: I634cbf2b9cd91bfa53729ccc4bfc92e9c4808976
Change-Id: I634cbf2b9cd91bfa53729ccc4bfc92e9c4808976
2019-11-05 23:44:05 +00:00
Amit Mahajan
4ae457ad9d Merge "Create @SystemApi CarrierMessagingServiceWrapper." 2019-11-04 22:54:58 +00:00
Rahul Sabnis
644d3dd923 Refactor BluetoothAdapter APIs used by Settings
Bug: 143238544
Test: Manual
Change-Id: Ia831d2b4b628b746493602857bcb54b585f13e12
2019-11-04 21:55:54 +00:00
Treehugger Robot
8e34d95a22 Merge changes from topic "tethering-systemapi"
* changes:
  Clarify JavaDoc for SoftAP APIs
  Promote @hide APIs to @SystemApi for tethering
2019-11-04 21:42:38 +00:00
Brad Ebinger
87f76cc002 Merge "Add new API for call line identification query responses" 2019-11-04 21:07:29 +00:00
Amit Mahajan
02e56cc0ba Create @SystemApi CarrierMessagingServiceWrapper.
This is primarily a wrapper over ICarrierMessagingService
that to create a stable API to communicate with CarrierMessagingService.

Test: basic messaging sanity
Bug: 143609473
Merged-in: I67fda8bab3902b358c483f992633dbdfe3a8cda2
Change-Id: I67fda8bab3902b358c483f992633dbdfe3a8cda2
(cherry picked from commit 92642659e8)
2019-11-04 12:44:01 -08:00
Jordan Liu
234ede4445 Merge "Pass bearerData and serviceCategory to CB module for CDMA" 2019-11-04 20:14:15 +00:00
Jordan Liu
08a94a2236 Merge "Expose Context.sendOrderedBroadcast with appop" 2019-11-04 19:59:28 +00:00
Adrian Roos
6c089ac042 Merge "API Lint: update baseline for new checks" 2019-11-04 19:43:20 +00:00
Jack Yu
4d854986f3 Merge "Added slot index version of getNetworkCountryIso" 2019-11-04 19:02:04 +00:00
Brad Ebinger
a3e3c595ff Add new API for call line identification query responses
The old API was not well documented and took a Bundle although
all parameters are exposed in ImsSsInfo. Creates a new API
that uses ImsSsInfo. Also add @Deprecated SystemApi definition
for older implementations that still use the old method.

Bug: 122098288
Test: atest FrameworksTelephonyTests
Merged-In: I37c2e643296d82312c9d4ba6e196118260009233
Change-Id: I37c2e643296d82312c9d4ba6e196118260009233
2019-11-04 18:41:13 +00:00
Chen Xu
7a79194fcb Merge "new TelephonyRegistryManager" 2019-11-04 18:21:51 +00:00
Amit Mahajan
987d1d04d7 Merge "Make APIs in the base CellInfo class public." 2019-11-04 18:21:36 +00:00
Adrian Roos
60b98071ed API Lint: update baseline for new checks
Test: make checkapi
Change-Id: Ie55af30767936c1cc1c1543a0b5838a732b82c59
2019-11-04 17:56:17 +01:00
Adrian Roos
d1715e8cee Revert "Revert "API Lint: Enable for TestApi""
This reverts commit 718428355f.

Fixes: 139833475
Test: make droid
Change-Id: I61316a8f314dccb7718bf8ab159e167d554d2525
Merged-In: I61316a8f314dccb7718bf8ab159e167d554d2525
2019-11-04 16:33:39 +01:00
Treehugger Robot
0f5b246260 Merge "Regenerate API signatures to add missing nullability annotations" 2019-11-03 21:27:36 +00:00
David Su
562f07e9ed Promote @hide APIs to @SystemApi for tethering
Bug: 142372871
Test: compiles
Change-Id: I91f143cdc23c6dce8921931a591298ee0c1a1c00
Merged-In: I91f143cdc23c6dce8921931a591298ee0c1a1c00
2019-11-01 20:25:57 -07:00
Amit Mahajan
3f75a84507 Merge "Added new constructor to AudioGroup." 2019-11-01 23:58:34 +00:00
Jordan Liu
a32e6fcb03 Expose Context.sendOrderedBroadcast with appop
Bug: 143100231
Test: atest ContextTest#testSendOrderedBroadcastWithAppOp
      atest ContextTest#testSendOrderedBroadcastWithAppOp_NotGranted

Change-Id: Ia75d0db11f337769eaf3cf5436e09a7d38b0564c
Merged-In: Ia75d0db11f337769eaf3cf5436e09a7d38b0564c
2019-11-01 16:25:15 -07:00
Amit Mahajan
7ab5b4928f Merge "Make isDataEnabledForApn() a system api." 2019-11-01 23:11:37 +00:00