Commit Graph

8662 Commits

Author SHA1 Message Date
Jack Yu
afaa71d418 Added area info support in cell broadcast service
Added a broadcast for area info changed event, and
also a get method in cell broadcast service to
retrieve the area info.

Test: Cell broadcast sanity tests
Bug: 141318859

Change-Id: I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037
2020-01-28 21:05:25 -08:00
TreeHugger Robot
0bca6e5df7 Merge "Remoe usage of CollectionUtils as it's not exposed to mainline modules." 2020-01-28 19:16:34 +00:00
Jayachandran Chinnakkannu
f96fed1d2b Merge "Fix the bug where the order of arguments were incorrect" 2020-01-28 17:14:34 +00:00
TreeHugger Robot
c112861f0a Merge "Move Skip464XlatStatus enum to Telephony/Annotation.java." 2020-01-28 05:58:10 +00:00
Malcolm Chen
55e9590016 Remoe usage of CollectionUtils as it's not exposed to mainline modules.
Bug: 140908357
Test: build
Change-Id: I5f56747be8bc4702e58b7fe27c21f7959bdd76de
2020-01-28 04:29:45 +00:00
Meng Wang
489e391d8f TelephonyManager: do not acceess hidden API
... PhoneStateListener.mSubId; move the logic to
TelephonyRegistryManager.

Bug: 140908357
Test: make
Change-Id: I2594cdfe178b02aeab9f88dc16586418eca985ff
2020-01-27 18:10:24 -08:00
Jayachandran C
40436ea648 Fix the bug where the order of arguments were incorrect
Bug: 148230359
Test: Verified on Verizon by setting CDMA only
Change-Id: I975bc3413f41d598046f54c4af97f14d21f5b1d5
2020-01-28 02:00:19 +00:00
Malcolm Chen
14cc219ecd Move Skip464XlatStatus enum to Telephony/Annotation.java.
Skip464XlatStatus enum is only used in mainline modules.

Bug: 140908357
Test: build
Change-Id: Ifa3b55ec7091151241d1bd9264669867f898f380
2020-01-28 00:30:55 +00:00
TreeHugger Robot
8ef52dc311 Merge "Remove Parcelable's annotations usages in Telephony as they are not exposed." 2020-01-27 23:33:41 +00:00
Malcolm Chen
30d556a483 Remove Parcelable's annotations usages in Telephony as they are not exposed.
Bug: 140908357
Test: build
Change-Id: I9f63ccd2058bcf3adf639b5c71b5b40484e3f692
2020-01-27 14:09:06 -08:00
Shuo Qian
2709706a3f Merge "Support Call Forwarding and Call Waiting APIs for voice call." 2020-01-27 20:56:30 +00:00
Anton Hansson
f98d5d65e7 Merge "Hide telephony @IntDefs" 2020-01-27 20:06:31 +00:00
Automerger Merge Worker
7a44aaf14a Merge "Add support for rejecting Telecom call with a specified reason." am: 2c12c74b33 am: d7d382e0ed am: 2505d60319
Change-Id: I3429875d187cf424917d152d13fef2a4a9c3befa
2020-01-27 18:42:14 +00:00
Tyler Gunn
d7d382e0ed Merge "Add support for rejecting Telecom call with a specified reason."
am: 2c12c74b33

Change-Id: I1888062f509fce8f07a055c5d90e4caf43a3f2f5
2020-01-27 10:11:43 -08:00
Tyler Gunn
2c12c74b33 Merge "Add support for rejecting Telecom call with a specified reason." 2020-01-27 17:27:30 +00:00
Brad Ebinger
854d2ff9a5 Merge "Make remaining UCE related APIs @SystemApi" 2020-01-27 16:47:44 +00:00
Anton Hansson
f667e99d47 Hide telephony @IntDefs
Typedefs aren't meant to be exposed in the stubs.

Bug: 145982314
Test: m
Change-Id: I2a556472ec8c965ce108feec3cc7a16a92826e81
2020-01-27 13:21:30 +00:00
TreeHugger Robot
ac4abe2ce5 Merge "Delete unused RcsMessage code for now." 2020-01-25 01:46:00 +00:00
Automerger Merge Worker
da0c68d000 Merge "Modify the default thresholds in 5G Signal Strength" am: d9328f6c40 am: 372da0e93d am: 3eec0d8559
Change-Id: Icd01843c8ca0ca41741f929981c46899b4bc6ce8
2020-01-25 00:28:50 +00:00
Amit Mahajan
a45fad224b Merge "Move EXTRA_SERVICE_STATE from Intent to ServiceState." 2020-01-25 00:19:42 +00:00
calvinpan
c64805d392 Merge "Redesign the setPreferredNetworkType"
am: 53b272d680

Change-Id: I9dec551a3aeb71edd52d33d1e92bb385bca7cf19
2020-01-24 16:12:48 -08:00
Amit Mahajan
db6aa1a4f7 Delete unused RcsMessage code for now.
This feature is incomplete and will be worked on later. For now
since it uses hidden APIs its better to delete it.

Test: basic sanity
Bug: 140908357
Change-Id: I4a11d5440dca1b98275bfd2b18f3ef5dae65e95a
2020-01-24 16:08:02 -08:00
Shuo Qian
372da0e93d Merge "Modify the default thresholds in 5G Signal Strength"
am: d9328f6c40

Change-Id: I04969073593d2b1d8a4b16380208b3e8a03a3257
2020-01-24 16:06:08 -08:00
Shuo Qian
ce96e26c27 Support Call Forwarding and Call Waiting APIs for voice call.
Allows system apps to get/set call forwarding configuration including
 reason, status, number and timeout.

Allows system apps to get/set the status for call waiting function;
Call waiting function enables the waiting for the incoming call when
 it reaches the user who is busy to make another call and allows users
 to decide whether to switch to the incoming call.

Test: Cts; Treehugger; https://paste.googleplex.com/5810435984982016
Bug: 147920077
Change-Id: Iadeea607749c67209df8cb1313f8b134df0a5c4a
2020-01-24 23:56:17 +00:00
Treehugger Robot
53b272d680 Merge "Redesign the setPreferredNetworkType" 2020-01-24 22:27:50 +00:00
Shuo Qian
d9328f6c40 Merge "Modify the default thresholds in 5G Signal Strength" 2020-01-24 22:14:40 +00:00
TreeHugger Robot
607b7ab283 Merge "Move euicc related file to telephony." 2020-01-24 22:08:50 +00:00
calvinpan
d77e0bde77 Redesign the setPreferredNetworkType
Some APPs(like OMA DM) might enable or disable 5G settings, so redesign
the setPreferredNetworkType behavior.

1. Create allowed_network_type in telephonyprovider
2. Create get/set allowed network type API
3. When APPs call setPreferredNetworkType() that will AND with allowed
network type.

Bug: 136730709
Test: By Manual
1. setAllowedNetwork to disable 5G
2. setPreferredNetworkTypeBitmask to set NR_LTE_GSM_WCDMA
3. framework set LTE_GSM_WCDMA to modem
Merged-In: Ia257e6ddaa33c32bc09340a59c9daf71ce1fa8cf
Change-Id: Ia257e6ddaa33c32bc09340a59c9daf71ce1fa8cf
2020-01-24 13:23:27 -08:00
Automerger Merge Worker
f9ad8bd357 Merge "Support API to toggle IMS on and off." am: bae97dc91e am: f24dfaf17f am: f50402e897
Change-Id: I0a786d0ce08ca2fc1eb06aa9d424df5ae1d99cfd
2020-01-24 19:06:33 +00:00
Grace Jia
f24dfaf17f Merge "Support API to toggle IMS on and off."
am: bae97dc91e

Change-Id: Id7a1a75472b13d5fbfa520dbdefc29e9c3a9b90e
2020-01-24 10:45:36 -08:00
Peter Wang
caabef3f2c Merge "[Telephony Mainline] Expose APIs in SubscriptionManager"
am: c0e02ab436

Change-Id: I8599664e033e579f18acf30203fa3ff9207122a2
2020-01-24 10:37:27 -08:00
Grace Jia
bae97dc91e Merge "Support API to toggle IMS on and off." 2020-01-24 18:36:40 +00:00
Treehugger Robot
c0e02ab436 Merge "[Telephony Mainline] Expose APIs in SubscriptionManager" 2020-01-24 18:31:32 +00:00
Brad Ebinger
6ce757d4e2 Make remaining UCE related APIs @SystemApi
Bug: 111305845
Bug: 147613952
Test: atest CtsTelephonyTestCases
Change-Id: I8fed782e7bef10d6d136fce02e6f1b59d225272b
2020-01-24 09:05:49 -08:00
Automerger Merge Worker
1868d182a5 Merge "Remove annotations from MmTelFeature.MmTelCapabilities.toString" am: 95bf445317 am: dca9bf5212 am: a241f1be2d
Change-Id: If3c23dd4953e53a21d6055a887091effe098528c
2020-01-24 08:40:17 +00:00
Automerger Merge Worker
dca9bf5212 Merge "Remove annotations from MmTelFeature.MmTelCapabilities.toString" am: 95bf445317
Change-Id: I47bf4f135a82f0a73eefd3db55739a235e4157d2
2020-01-24 08:19:48 +00:00
Treehugger Robot
95bf445317 Merge "Remove annotations from MmTelFeature.MmTelCapabilities.toString" 2020-01-24 08:11:32 +00:00
Amit Mahajan
bb61b17cd9 Move EXTRA_SERVICE_STATE from Intent to ServiceState.
This extra is not exposed and is not used by anyone as such.
Leaving it there for internal use/unsupported app usage.

Test: basic sanity
Bug: 140908357
Change-Id: I9fe6e904291affb1cd7b705212d47525b61a5679
2020-01-24 06:28:05 +00:00
Amit Mahajan
235289719b Move euicc related file to telephony.
All other files were moved earlier. This is a newly added file
that was added in the old location.

Test: basic sanity
Bug: 140908357
Change-Id: I756b5834ddb1031627168a17dc49ce93b5af8219
2020-01-23 18:14:46 -08:00
Amit Mahajan
7932296ed5 Delete unused reference of a hidden constant.
SimInfo.SIM_PROVISIONING_STATUS is accessed but not used.

Test: basic sanity
Bug: 140908357
Change-Id: Idce09cff62411f38ac4b88437f1cfefce39e7e95
2020-01-23 18:05:51 -08:00
Grace Jia
6bde5e6f7a Support API to toggle IMS on and off.
Bug: 141929672
Test: atest CtsTelephonyTestCases:TelephonyManagerTest
Change-Id: Icac337d99b578d2667657c07ab5bd13fd3e17590
2020-01-24 01:43:41 +00:00
Jiashen Wang
f7fba6089c Merge "Add isEuiccSupportedCountry system API to EuiccManager" 2020-01-24 00:44:35 +00:00
Ying Xu
15a530b09c Merge "[Telephony Mainline] Remove usages of IBinder's for classes that do not belong to Telephony" 2020-01-24 00:31:28 +00:00
sqian
9db66a6ed6 Modify the default thresholds in 5G Signal Strength
Test: Telephony tests
Bug: 147919411
Change-Id: Ia13fede62f0b8c99fa71aeb909453461dfc40d53
2020-01-23 15:42:51 -08:00
Brad Ebinger
782e5ac9d9 Merge "Add IMS_RCS_UCE_ENABLED column to SimInfo database" 2020-01-23 23:26:19 +00:00
Alex Lin
091b2f99e5 Merge "Rename ErrorCode" 2020-01-23 23:11:21 +00:00
Jiashen Wang
2c6545a1c5 Add isEuiccSupportedCountry system API to EuiccManager
Currently LPA passed supported/unsupported countries to Settings by
writing the value into properties which is not ideal. Instead, we need to
provide an API in EuiccManager to determine whether eUICC is supported
in a country.
Bug: 147674689
Test: 1) Manually tested by flashing the change to the device
2) Change LPA to override onGetIsEuiccSupportedCountry
3) Make sure LPA can get the request

Change-Id: Ic94a2d2c771fd1ec2e5899d9e0428bb70cde4249
2020-01-23 13:48:47 -08:00
TreeHugger Robot
c8e17b66f3 Merge "Revert "Allow null TransmitPowerRange ctor argument for ModemActivityInfo"" 2020-01-23 21:47:24 +00:00
Tyler Gunn
facfdee122 Add support for rejecting Telecom call with a specified reason.
Adding a new Call API which supports passing a user-specified call
rejection reason down to the lower layers for reporting to the network.
Part of the VERSTAT spec involves support for this type of signaling, so
it makes sense to also support it here as well.
There are two potential types of reject reason:
declined - user declined the call because they want it to go to voicemail
or don't want to talk to the caller right now.
unwanted - this is a nuisance call and the user never wanted to receive it.

Bug: 135929421
Test: Added new CTS test to validate API pathways.
Test: Ran existing telecom and telephony unit tests.
Test: Modified test dialer app to use the new reject API and verified that
the reject reason signals down to the modem and translates to the correct
reject cause.

Change-Id: I6f25fafa2b2620e2839e5d3a9fb986f1130fa165
2020-01-23 13:10:37 -08:00
Alex Lin
58a5fe3400 Rename ErrorCode
Renamed ErrorCode from ERROR_EUICC_GSMA_INSTALL_ERROR to
ERROR_INSTALL_PROFILE, and updated javadocs
Bug: 143107744
Test: atest EuiccManagerTest

Change-Id: I3c2dcd2ff4d3d037997c6fee6278ffd706671d3f
2020-01-23 13:07:25 -08:00