Commit Graph

26325 Commits

Author SHA1 Message Date
Treehugger Robot
feaed68912 Merge "Add UCE Call Composer + enriched calling tags" 2020-01-17 19:10:12 +00:00
Treehugger Robot
2120eced38 Merge "Track addition of Flow.* to the public API." 2020-01-17 18:06:23 +00:00
Rambo Wang
bd5a33f03b Merge "Annotate StringNetworkSpecifier @Deprecated and @removed" 2020-01-17 17:26:33 +00:00
Treehugger Robot
00d0c52470 Merge "Track addition of new java.util APIs." 2020-01-17 16:41:48 +00:00
Tobias Thierer
09b69c8568 Track addition of Flow.* to the public API.
Bug: 129875045
Test: Treehugger
Change-Id: I259713e4068acc14860a570b92e85d5446e6ee22
2020-01-17 16:25:21 +00:00
Nikita Iashchenko
d092e7cb86 Merge "Update API surface for ICU 66.0.1" 2020-01-17 10:10:09 +00:00
Rambo Wang
e35bc815b6 Annotate StringNetworkSpecifier @Deprecated and @removed
Bug: 147441267
Test: make offline-sdk-docs
Change-Id: I101021b9e32b55e0845934c04e05f6f06a642617
2020-01-16 21:45:09 -08:00
Brad Ebinger
40cae1c0c9 Merge "Expose ImsFeature#getFeatureState as @SystemApi" 2020-01-17 03:34:05 +00:00
Shi Lu
3ae8d12fe6 Merge "Exposing NetworkRegistrationInfo for PS service" 2020-01-17 00:08:05 +00:00
Hall Liu
87cf4b146e Merge "Add call barring constants to ImsUtImplBase" 2020-01-16 23:35:40 +00:00
Sarah Chin
15720f61d9 Merge "Expose TelephonyManager constants as SystemApi" 2020-01-16 22:17:32 +00:00
Sarah Chin
9681a661ae Merge "Expose MMS constants" 2020-01-16 22:17:13 +00:00
Mingming Cai
aa5b09f6ad Merge "Add mTimeStamp to SignalStrength" 2020-01-16 21:56:51 +00:00
Nathan Harold
e9f4fe3c02 Merge "Make SignalStrength constructor system APIs" 2020-01-16 21:03:51 +00:00
Sarah Chin
58c5b00293 Expose MMS constants
Unhide CarrierConfigManager#KEY_MMS_CLOSE_CONNECTION_BOOL
Move constants from SmsManager to MmsService

Test: m MmsServiceRoboTests && atest MmsServiceRoboTests
Bug: 147447171
Change-Id: I68f33b862f0607aa45d767e40c1bf24625dfd093
2020-01-16 20:27:41 +00:00
Mingming Cai
f1a62940c7 Add mTimeStamp to SignalStrength
Add mTimestamp since boot in nanoseconds to SignalStrength.
Add a public API getTimestampNanos() in Signal Strength.
Add a public API getTimestampNanos() in CellInfo.
Deprecate public API getTimeStamp() in CellInfo.

Bug: 147157937
Test: atest  SignalStrengthTest (unit and CTS)
Change-Id: I478284a983bb3b5e33b7e0e50362a3aeddbc8545
2020-01-16 11:06:33 -08:00
Sooraj Sasindran
f48c0fd4bf Make SignalStrength constructor system APIs
Make SignalStrength constructor system APIs so that
it can be accessed by TelephonyRegistry

Bug: 140908357
Test: make
Merged-In: I80693b0f1b1f9de1a8c93ce8a23a816346afb634
Change-Id: I80693b0f1b1f9de1a8c93ce8a23a816346afb634
(cherry picked from commit 89e4e0c1e9)
2020-01-16 11:02:27 -08:00
shilu
6cd90e2c78 Exposing NetworkRegistrationInfo for PS service
This patch exposes WWAN and WLAN registration status
information so that callers can understand:
-Roaming status
-Searching status
-Available services, such as emergency and voice calling

Bug: 123099466
Fixes: 21208250
Test: make && make offline-sdk-docs
Change-Id: I1421b638f1835962de8e4ba18bdf75615d37ebe5
2020-01-16 10:30:44 -08:00
Hall Liu
eb7a2ad408 Add call barring constants to ImsUtImplBase
Add call barring constants to ImsUtImplBase in order to expose them in
the system API surface.

Fixes: 147733594
Bug: 146834818
Test: build
Change-Id: Ieb701625b1ecf858d67648f5bb4c87f3e87c1f73
2020-01-16 10:25:59 -08:00
Sarah Chin
f63f4dac76 Expose TelephonyManager constants as SystemApi
CARD_POWER_DOWN, CARD_POWER_UP, CARD_POWER_UP_PASS_THROUGH

Test: lunch && make && make doc-comment-check-docs --> no compile errors
Bug: 147611125
Change-Id: I2329e99ab7fc12ca71e057e2d5c639c43d4a6dd5
2020-01-16 16:10:58 +00:00
Treehugger Robot
858151066a Merge "Make PreciseDataConnectionState constructor System API" 2020-01-16 12:38:38 +00:00
Brad Ebinger
27330071ec Expose ImsFeature#getFeatureState as @SystemApi
Bug: 147726372
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: I35af8028e3d7139a41bdf29475631ae4794a2655
2020-01-15 21:38:04 -08:00
Zongheng Wang
7a837f162f Merge "Create a new API to decode Sms PDU" 2020-01-16 02:54:40 +00:00
Shuo Qian
35c3b460a6 Make PreciseDataConnectionState constructor System API
TelephonyRegistry is using the deprecated constructor of
 PreciseDataConnectionState; it should use the other constructor of
PreciseDataConnectionState, which is not deprecated; Also need to make
that constructor System API for Mainline.

Test: make update-api (no functional change in this CL).
Test: atest FrameworksTelephonyTests

Bug: 146793835
Merged-In: I83f98aa8b818f654d497867cd16e8afa987114fc
Change-Id: I83f98aa8b818f654d497867cd16e8afa987114fc
2020-01-15 18:32:40 -08:00
Hall Liu
719211525f Merge "Add additional APIs in Call for Bluetooth" 2020-01-15 22:58:56 +00:00
Sarah Chin
f1de6ef70b Merge "Remove @hide for CarrierConfigManager constants" 2020-01-15 21:40:35 +00:00
Hall Liu
ef98bf8300 Add additional APIs in Call for Bluetooth
Add additional APIs in android.telecom.Call for consumption by Bluetooth
as they move to using an InCallService.

Also refactor ParcelableCall to use a builder pattern

Fixes: 147445725
Fixes: 147445603
Test: atest CallDetailsTest ConferenceTest
Change-Id: I12241b4ceadaa840f6e577bcfa8521375aedcb6a
2020-01-15 11:17:18 -08:00
Hall Liu
38fa60b511 Merge "Expose ServiceState#getDataNetworkType as SystemApi" 2020-01-15 19:09:19 +00:00
Shuo Qian
725c54065d Merge "Cleanup ITelephony in TelephonyPermissions with new System API. This method is used by Telephony Module for permission checking." 2020-01-15 18:51:54 +00:00
Neil Fuller
48564ac144 Merge "System API proxies for the telephony module" 2020-01-15 18:04:31 +00:00
David Su
427cb398e2 Merge changes from topic "networkscoremanager-cachefilter"
* changes:
  SettingsLib: Rename CACHE_FILTER_* to SCORE_FILTER_*
  NetworkScoreManager: Expose SCORE_FILTER_* consts
2020-01-15 17:55:35 +00:00
Rambo Wang
7fd95f64df Merge "Replace StringNetworkSpecifier & subId with TelephonyNetworkSpecifer" 2020-01-15 17:45:58 +00:00
Neil Fuller
e9dafe541e Merge "Expose time / time zone system apis for telephony" 2020-01-15 16:19:16 +00:00
Treehugger Robot
dda5e92547 Merge "Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi" 2020-01-15 11:42:11 +00:00
Neil Fuller
f7346ecb1f System API proxies for the telephony module
Introduce classes that exist to give the telephony module something
stable to call for in-process utilities: libcore cannot directly expose
System APIs today and the package names are internal. The APIs are the
subset of internal libcore.timezone APIs used by telephony code
currently.

Bug: 139091367
Test: See associated frameworks/opt/telephony commit
Merged-In: I6109aef77171346ecb103c190526b7b9b81012b2
Change-Id: I6109aef77171346ecb103c190526b7b9b81012b2
(cherry picked from commit 944aeffa85)
2020-01-15 09:48:36 +00:00
paulhu
5ae1d2c043 Expose ConnectivityManager#TYPE_WIFI_P2P as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests

Change-Id: I77cb45e6b2aaf4ab2c457cb59ccf77b1b8c01fa9
2020-01-15 15:38:23 +08:00
Mark Chien
cd2ffc26dc Merge "Unhide NetworkRequest API which use legacy type" 2020-01-15 06:49:33 +00:00
Treehugger Robot
d63ebcf807 Merge "DevicePolicyManager: annotate SystemApi" 2020-01-15 06:37:55 +00:00
Zongheng Wang
f12ed60eca Create a new API to decode Sms PDU
Created createFromNativeSmsSubmitPdu() to avoid usage of hidden API createFromEfRecord().

Bug: 140562205
Test: Compile
Change-Id: Ia6dda310a29b6969c26f85f98d2264b476fbf3f0
2020-01-15 14:00:44 +08:00
Treehugger Robot
4c85840bd0 Merge "Expose SocketKeepalive#SUCCESS as SystemApi" 2020-01-15 05:01:04 +00:00
Zongheng Wang
d48914249d Merge "Created an API to get encoded message of SubmitPuds" 2020-01-15 03:05:14 +00:00
sqian
1e28948aaa Cleanup ITelephony in TelephonyPermissions with new System API.
This method is used by Telephony Module for permission checking.

Test: manual; cts; unit tests in other CLs
Bug: 145688189
Change-Id: Ie706e05e6a69e570331c1fe08a8df9677e0d9c8a
Merged-In: Ie706e05e6a69e570331c1fe08a8df9677e0d9c8a
Merged-In: If3adcd17916be2e81497061120d1f350bfb8026d
(cherry picked from commit 145294168f)
2020-01-15 02:53:32 +00:00
paulhu
521cd8c85d Expose SocketKeepalive#SUCCESS as SystemApi
Support wifi mainline module usage.

Bug: 135998869
Test: Build and make system-api-stubs-docs-update-current-api
      atest FrameworksNetTests
Change-Id: I94171b2dc4f26442df918547bf8bc40953f63f2e
Merged-In: I94171b2dc4f26442df918547bf8bc40953f63f2e
2020-01-15 02:45:43 +00:00
Allen Su
b498fbf860 Merge "[RCS] Implement notifyRcsAutoConfigurationReceived()" 2020-01-15 02:42:27 +00:00
Tobias Thierer
f82e644964 Track addition of new java.util APIs.
A libcore CL in this CL topic adds some new APIs. This CL adds the
corresponding entries to api/current.txt.

Test: Treehugger
Bug: 147483640

Change-Id: I8d04b110a3d2c57c9038d7d6fc43dd204697bb72
2020-01-15 00:26:48 +00:00
Sarah Chin
a42e241438 Remove @hide for CarrierConfigManager constants
Remove @hide for CarrierConfigManager constants used outside of
Telephony mainline

referencing packages:
cts/tests
frameworks/base/packages/CarrierDefaultApp
frameworks/base/packages/SystemUI
frameworks/base/packages/Tethering
frameworks/base/services
frameworks/base/telecomm
frameworks/opt/wifi
packages/apps/Dialer
packages/apps/Settings
packages/providers/BlockedNumberProvider
packages/services/Car
packages/services/Telecomm
prebuilts/sdk

Test: build
Bug: 147447171
Change-Id: Ib3d8d904a80f11247012b01aceb92eaee2c84d5b
Merged-In: Ib3d8d904a80f11247012b01aceb92eaee2c84d5b
2020-01-14 15:56:39 -08:00
Jack Yu
8027ca9b97 Merge changes from topic "remove_dev_mode"
* changes:
  Do not migrate use full volume shared preference
  support data migration from OEM legacy app to mainline
2020-01-14 22:59:31 +00:00
Jack Yu
c3133cbc57 Do not migrate use full volume shared preference
Use full volume has been renamed to override DnD and
the toggle is now only available for certain countries. We
intended not to provide the ability to migrate this shared
preference as it might cause issue for users who already
changed the preference. After mainline migration, override
DnD should be always reset to default value of that country.

Test: Manual
Bug: 147426188

Merged-In: I5746fe32674131b474e784bd5dd62ecff76386d5
Change-Id: I5746fe32674131b474e784bd5dd62ecff76386d5
(cherry picked from commit bcbe46816c)
2020-01-14 22:59:05 +00:00
Chen Xu
32f525c975 support data migration from OEM legacy app to mainline
Defined systemAPI for interaction with legacy cellbroadcast app

Bug: 135956699
Test: Tested with cell broadcast receiver test app and confirmed data can be migrated.
Merged-In: I6e583672a3673fd226e14d33d7a7648f4fd03efb
Change-Id: I6e583672a3673fd226e14d33d7a7648f4fd03efb
(cherry picked from commit ad2f91fc6d)
2020-01-14 22:54:58 +00:00
Hall Liu
5884933ee6 Expose ServiceState#getDataNetworkType as SystemApi
Test: atest android.telephony.cts.ServiceStateTest#testGetDataNetworkType
Bug: 146834818
Change-Id: If3f7b227da1bd2d3a107375dbd8b4218435dc1dc
2020-01-14 14:28:57 -08:00