Commit Graph

8673 Commits

Author SHA1 Message Date
Rambo Wang
f99c248155 Merge "Add Nullability Annotations and verification to CellIdentity" 2020-01-30 17:37:07 +00:00
Tom Taylor
8ed7418efc Merge "Add optional messageId methods for sending/receiving mms's" 2020-01-30 17:20:08 +00:00
Rambo Wang
33f62a071c Add Nullability Annotations and verification to CellIdentity
Bug: 148177166
Test: atest FrameworksTelephonyTests
Change-Id: Ie98db2ce393a76644a4773045eafc28ce6f4a4cb
2020-01-29 17:02:55 -08:00
Malcolm Chen
862ece814d Remove usages of @hide methods in telephony code.
Replace them with public alternatives.

Bug: 140908357
Test: build
Change-Id: Ib40da3702c64c36613555d61451442eeaf1f2f35
2020-01-29 16:01:14 -08:00
TreeHugger Robot
a190c897e9 Merge "Added area info support in cell broadcast service" 2020-01-29 19:29:53 +00:00
Xiangyu/Malcolm Chen
6a8699ea90 Merge "Remove unused APIs and variables in SubMgr." 2020-01-29 19:23:46 +00:00
Nathan Harold
f394f37854 Merge "Return the RPLMN from NetworkRegistrationInfo" 2020-01-29 17:59:06 +00:00
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
Jack Yu
641db9a36a Added data coding scheme and location check time support
AT&T requires showing data coding scheme, location check
time, whether shown to the user or not in the test menu.
Expanded database to support this.

Bug: 144152683
Test: Manully sending fake messages and verified database
Change-Id: Ib5b78802e7548da9f92492aae4c94ed3488b5e3d
2020-01-28 16:46:30 -08:00
Nathan Harold
2b14af22da Return the RPLMN from NetworkRegistrationInfo
Add an API to get the RPLMN in network registration info.

This PLMN-ID is the one chosen from the PLMN IDs broadcast
by the cell for registration purposes.

Bug: 135921133
Test: make update-api && make offline-sdk-docs && make
      && atest FrameworksTelephonyTests
Change-Id: I82f9150e185d9809572d246b57ea42f14ad64f15
2020-01-28 14:58:52 -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
Tom Taylor
03079ec3e1 Add optional messageId methods for sending/receiving mms's
Bug: 148235962

Test: manually tested the new MMS apis using the Messages app
Change-Id: I578a9875ba9b0d73c03a61c5878c396d76f8aa52
2020-01-28 11:01:50 -08: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
7c7b736fda Remove unused APIs and variables in SubMgr.
NetworkPolicy API are directed else where. Remove the unused APIs and
variables.

Bug: 140908357
Test: build
Change-Id: Ifa58d126f0ea2c36b32c2aef74e503ee9b3ffb04
2020-01-27 15:21:29 -08: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