Commit Graph

10533 Commits

Author SHA1 Message Date
Taesu Lee
d2ed15ebfe Expose getSmsCapacityOnIcc()
Unhide getSmsCapacityOnIcc() and it requires READ_PHONE_STATE instead.

Bug: 154878196
Test: Manual

Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: I86ba39d5073227ff55251fabc614fd3b9347285e
(cherry picked from commit f5da96c49e9a28f24387c3e79355702f66736c38)
2020-10-05 22:39:43 -07:00
Brad Ebinger
c34d3564f3 Merge changes from topics "ims_manager_eff", "redo_ims_poll"
* changes:
  Remove "one shot" type of FeatureCallback
  Clean up IMS based interfaces to use a push model instead of poll
2020-10-05 17:34:12 +00:00
Brad Ebinger
bb53df9d81 Remove "one shot" type of FeatureCallback
Instead of having a special case for ImsManager#getInstance,
implement it properly.

Test: atest CtsTelephonyTestCases
Change-Id: I2e986fb2a1086043a25b11c71c005481cea74196
2020-10-01 13:41:08 -07:00
Jack Yu
2383d0748c Merge "Added getEquivalentHomePlmns API" am: 6c541722ff am: ee052afb4f am: ed1d2560ff am: 73d3765e84 am: 6466dd02d9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1441700

Change-Id: I8e3e77b32eadd59a9bdfec14e160bcd497ef9e0c
2020-10-01 20:21:43 +00:00
Jack Yu
6466dd02d9 Merge "Added getEquivalentHomePlmns API" am: 6c541722ff am: ee052afb4f am: ed1d2560ff am: 73d3765e84
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1441700

Change-Id: Ief8a0aa10e5b587692711c2974375dc9b68d72b8
2020-10-01 20:08:40 +00:00
Jack Yu
6c541722ff Merge "Added getEquivalentHomePlmns API" 2020-10-01 18:29:31 +00:00
Hall Liu
7413862e9c Merge "Move some of the call-forwarding related constants" 2020-09-30 22:42:27 +00:00
Brad Ebinger
bcbad4f650 Merge "Revert "Clean up IMS based interfaces to use a push model instea..."" am: 8827badd30 am: 9a8e4bf6f1 am: a6bc5361b7 am: 9123ff8c6e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1443078

Change-Id: Ia9d94fda9dc85ad0f07cd251dbdd1632b8946a4d
2020-09-30 22:33:22 +00:00
Radhika Agrawal
47d17c3598 Merge "Fix un-dismissable incoming call for auto-rejected calls" into rvc-qpr-dev am: 0c52a7600f am: c2dd3604c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12721135

Change-Id: I04a9fc16338dd676a7adb71a3d1471d815af2c75
2020-09-30 22:04:15 +00:00
Radhika Agrawal
c2dd3604c9 Merge "Fix un-dismissable incoming call for auto-rejected calls" into rvc-qpr-dev am: 0c52a7600f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12721135

Change-Id: I5c4e739f8d5edde57f815ed2aa98f8868d2c8572
2020-09-30 21:54:43 +00:00
Brad Ebinger
8827badd30 Merge "Revert "Clean up IMS based interfaces to use a push model instea..."" 2020-09-30 21:00:35 +00:00
Brad Ebinger
5b4389d5e5 Merge "Revert "Clean up IMS based interfaces to use a push model instea..."" 2020-09-30 20:08:18 +00:00
Jack Yu
34a50e35f5 Added getEquivalentHomePlmns API
Added a new API to retrieve EF_EHPLMN from the SIM.

Fix: 155843989
Test: CtsTelephonyTestCases

Change-Id: I2797dc466e12f9aa64b830b93446ee1d0532c760
2020-09-30 12:16:19 -07:00
Hall Liu
303060c932 Move some of the call-forwarding related constants
Move the call forwarding result constants into
CallForwardingInfoCallback and rename them to RESULT_*

Fixes: 169153246
Test: atest TelephonyManagerTest
Change-Id: I14b4d527807e92fe977b8304f8dd95e7cd93e819
2020-09-30 11:22:46 -07:00
Brad Ebinger
748eb4b581 Clean up IMS based interfaces to use a push model instead of poll
[RESUBMISSION AFTER REVERT aosp/1443078]

Instead of requiring that listeners poll for an ImsFeature binder
when they go down, modify interfaces to notify listeners when a
new instance of a Binder is available.

Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests
Test: manual E2E tests of IMS functionality (call, SMS, settings...)
Change-Id: I0bb48f82ecf7a1283be8fd441a787dff587d6d61
2020-09-30 10:51:07 -07:00
Brad Ebinger
bdd15379d2 Revert "Clean up IMS based interfaces to use a push model instea..."
Revert "Move IMS to a listener type model instead of a poll model"

Revert "Push Binder updates when ImsFeatures change"

Revert submission 1425374-ims_poll

Reason for revert: b/169729036, ANR in phone process
Reverted Changes:
I1d6dd2dfd:Move to a push model of querying ImsFeature Binder...
Ie3982c245:Move IMS to a listener type model instead of a pol...
I8b9ded0f4:Push Binder updates when ImsFeatures change
Ia9f7ae3db:Clean up IMS based interfaces to use a push model ...

Merged-In: I7ef3c07021a79e809d2c8b30ed2422372eae962d
Change-Id: I7ef3c07021a79e809d2c8b30ed2422372eae962d
2020-09-30 17:31:59 +00:00
Brad Ebinger
91f87bfbea Revert "Clean up IMS based interfaces to use a push model instea..."
Revert "Move IMS to a listener type model instead of a poll model"

Revert "Push Binder updates when ImsFeatures change"

Revert submission 1425374-ims_poll

Reason for revert: b/169729036, ANR in phone process
Reverted Changes:
I1d6dd2dfd:Move to a push model of querying ImsFeature Binder...
Ie3982c245:Move IMS to a listener type model instead of a pol...
I8b9ded0f4:Push Binder updates when ImsFeatures change
Ia9f7ae3db:Clean up IMS based interfaces to use a push model ...

Change-Id: I7ef3c07021a79e809d2c8b30ed2422372eae962d
2020-09-30 10:29:30 -07:00
Jack Yu
79593b16c8 Added the missing constant to intdef
Fix: 169660451
Test: Manual
Change-Id: I705b56e158dd66cb8084b1efa5f1e7f2195295a2
2020-09-29 21:53:21 -07:00
Nathan Harold
3022e62c20 Merge "Deprecate CellLocation Classes" am: 27b3384102 am: b92bb8e643 am: 5d8e5249d6 am: febf87fde1 am: 32f7c492fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1429088

Change-Id: Iae323ada9dde37a7b23b390b3b55aca6b9d2980a
2020-09-30 01:17:09 +00:00
Nathan Harold
32f7c492fc Merge "Deprecate CellLocation Classes" am: 27b3384102 am: b92bb8e643 am: 5d8e5249d6 am: febf87fde1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1429088

Change-Id: Ib97a5d6c10c47d7213c0a9a17ebcb0144079fdb5
2020-09-30 01:05:12 +00:00
Nathan Harold
27b3384102 Merge "Deprecate CellLocation Classes" 2020-09-29 23:23:59 +00:00
Brad Ebinger
97fcb8f667 Merge "Clean up IMS based interfaces to use a push model instead of poll" am: aea9e7c143 am: a4f7362b23 am: d23e9a07b4 am: 7d08fa0c21 am: 3a0dd0df13
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425374

Change-Id: Ia34d17b175f44c6d8549658b88475855e2c20545
2020-09-29 20:22:03 +00:00
Brad Ebinger
3a0dd0df13 Merge "Clean up IMS based interfaces to use a push model instead of poll" am: aea9e7c143 am: a4f7362b23 am: d23e9a07b4 am: 7d08fa0c21
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1425374

Change-Id: I59da40b85a9587d0da471021219a47695f01e6f0
2020-09-29 20:00:18 +00:00
Brad Ebinger
aea9e7c143 Merge "Clean up IMS based interfaces to use a push model instead of poll" 2020-09-29 17:56:22 +00:00
Gwen Lin
5861d4e61f Merge "Add KEY_CARRIER_USSD_METHOD_INT to specify methods for USSD requests" 2020-09-29 05:05:27 +00:00
TreeHugger Robot
01191ec626 Merge "Update NETWORK_TYPE_NR docs" 2020-09-29 02:31:31 +00:00
gwenlin
e7145b4eba Add KEY_CARRIER_USSD_METHOD_INT to specify methods for USSD requests
Bug: 161347204
CTS-Coverage-Bug: 169625413
Test: ussd tests, atest

Change-Id: I6a6bfd5e2945ea6aed897896bdbeee244dc0dcc3
2020-09-29 02:28:13 +00:00
Sarah Chin
7916cb0d07 Update NR TAC limit to 3 bytes
TAC was updated to 3 bytes, so the limit is now 0xffffff instead of the
previous 0xffff. Update to meet 3GPP requirements in 24.501 9.11.3.8.

Test: build
Bug: 144433329
Change-Id: Ie007c29671da709f23684ff27d30ef1c377aadc6
Merged-In: Ie007c29671da709f23684ff27d30ef1c377aadc6
2020-09-28 16:00:38 -07:00
Brad Ebinger
19bdbabb80 Clean up IMS based interfaces to use a push model instead of poll
Instead of requiring that listeners poll for an ImsFeature binder
when they go down, modify interfaces to notify listeners when a
new instance of a Binder is available.

Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests
Test: manual E2E tests of IMS functionality (call, SMS, settings...)

Change-Id: Ia9f7ae3db193b1c4b3f6693a45cdcf9a4aaefe1d
2020-09-28 14:34:40 -07:00
Brad Ebinger
f1f2e0405e Fix un-dismissable incoming call for auto-rejected calls
When the device receives an incoming call indication and quickly
receives another call terminated indication (such as the auto
reject case), there is the possiblity that the call terminated indication
happens while onIncomingCall is still being processed. This is due to the
fact that binder oneway calls are only guaranteed to be on the same binder
thread for the same IBinder node. Since these callbacks are happening on
two separate nodes potentially, there are running in two binder threads
at the same time, causing race conditions.

Instead, the onIncomingCall binder call should not be oneway (as it is
required to complete before other indications should occur) and only
return control back to the ImsService thread once the
MmTelFeature#notifyIncomingCall call completes.

Bug: 160213239
Test: incoming call, auto-rejected incoming call on MSIM
Change-Id: I054e6b00656fc04f48f7f378076e29322daf59ad
2020-09-28 21:06:59 +00:00
Sarah Chin
f29902285a Merge "Add config to use lower of IPv4/IPv6 MTU values" 2020-09-26 00:59:45 +00:00
Sarah Chin
c02910f164 Merge "Add ncid to CellLocation in CellIdentityNr" 2020-09-25 22:23:59 +00:00
Sarah Chin
79241088c7 Add config to use lower of IPv4/IPv6 MTU values
Test: atest DataConnectionTest
Bug: 162285224
Change-Id: Ic0afdfabec3a13a4a1d3fd34e7e02d4df3a06ea5
Merged-In: Ic0afdfabec3a13a4a1d3fd34e7e02d4df3a06ea5
2020-09-25 15:00:03 -07:00
TreeHugger Robot
b9e67709b2 Merge "Add config to use lower of IPv4/IPv6 MTU values" into rvc-qpr-dev am: 85f5802bec am: e90e799830
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12539769

Change-Id: I541af562a596e36332b8476ae6f4232968f55f88
2020-09-25 21:55:06 +00:00
TreeHugger Robot
e90e799830 Merge "Add config to use lower of IPv4/IPv6 MTU values" into rvc-qpr-dev am: 85f5802bec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12539769

Change-Id: I82b478f4aef060c7664c6d58e6abb9d6a97a0fea
2020-09-25 21:17:16 +00:00
TreeHugger Robot
85f5802bec Merge "Add config to use lower of IPv4/IPv6 MTU values" into rvc-qpr-dev 2020-09-25 21:01:01 +00:00
Sarah Chin
09996dc77a Add ncid to CellLocation in CellIdentityNr
Update GsmCellLocation documentation for NR case. Since the NR cell ID
is 36 bits and can't fit into the 32-bit field in GsmCellLocation,
return -1 for the CID.

Test: atest CellIdentityNrTest
Bug: 166514842
Change-Id: Ib894e83900b590c11221502ad039781cea5b571c
Merged-In: Ib894e83900b590c11221502ad039781cea5b571c
2020-09-25 12:27:20 -07:00
Jack Yu
95ec81189d Merge "Support handover retry" am: 0c47ab0656 am: 5f6c9d224f am: 24fe634048 am: db47938c2d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436232

Change-Id: Ia7f589101bbdfab0f1c460a04b3b56eb2cf723d3
2020-09-25 18:51:33 +00:00
TreeHugger Robot
504b2dd50a Merge "Fix unique identifiers best practices links in device ID API docs" into rvc-qpr-dev 2020-09-25 17:08:01 +00:00
Jack Yu
0c47ab0656 Merge "Support handover retry" 2020-09-25 15:59:29 +00:00
Treehugger Robot
ec0846ea9e Merge "Fix unique identifiers best practices links in device ID API docs" am: 8b6aa74d6b am: 1d8a35f66e am: 33035121fd am: 3c6a3316b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438023

Change-Id: I966b630eb1635094ab12eebe3c34f994579bcbc5
2020-09-25 07:46:39 +00:00
Jack Yu
44d5bbb033 Merge changes from topics "pdcs_builder", "pdcs_cleanup", "refactor_pdcs", "remove_apn_name_types", "transport_type_and_id" am: 24f4fce2df am: 61fa631cdd am: 5a7ce86bc2 am: 2bccbbd121
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438018

Change-Id: I3c669f6a4159b1c699b9164b1672f0fc56204ffc
2020-09-25 07:46:05 +00:00
Jack Yu
faed183a3e Refactored precise data connection state am: 4f2a849e25 am: fe0c690850 am: f35a5d5a29 am: 74c958e231
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436356

Change-Id: Ia5187ba67493581a1c99caebe20edd8c1d9374ad
2020-09-25 07:46:00 +00:00
Jack Yu
6f70ccb3b4 Added transport type and id in precise data connection state am: b5d6274622 am: dfd397ba5f am: 2ba154c8c9 am: 88aa79bce4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436355

Change-Id: I2303ed7326df815eb87a2858ff912a5085e34c03
2020-09-25 07:45:55 +00:00
Jack Yu
e29f23ae39 Removed APN name and types from PreciseDataConnectionState am: 7c4b48f0e5 am: def7634066 am: 544cea25cc am: 79dffe0f87
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436354

Change-Id: I9955f8ae53b71525fb9e6a08b1ec11007b5f671a
2020-09-25 07:45:50 +00:00
Jack Yu
68223b0b17 Added builder for PreciseDataConnectionState am: 47262c052b am: 8ada8a5ccf am: c0f7cf704c am: 4b9c5e820c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436353

Change-Id: Iab5d4145ce5c7762e338f0f02e910046e4ba0fe3
2020-09-25 07:45:45 +00:00
Nathan Harold
672c48d27c Remove Deprecated-At-Birth APIs from PDCS am: bf5158f9a0 am: 0f1829eef2 am: 809f6a5fa4 am: 46a3f55679
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436352

Change-Id: I6fbd28b3501acf63774268c2cbe7020c91ee8b80
2020-09-25 07:45:39 +00:00
Daniel Bright
3d07970957 Merge "Add Handover Failure Mode to Radio Hal" 2020-09-25 05:32:19 +00:00
Treehugger Robot
8b6aa74d6b Merge "Fix unique identifiers best practices links in device ID API docs" 2020-09-25 04:32:42 +00:00
Jack Yu
dcb4d39b18 Support handover retry
The data service now can control whether retry
handover or not.

Fix: 160105644
Test: FrameworksTelephonyTests
Merged-In: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
Change-Id: Ib6fd6a4d7cf242a4c17337607c188a07188df9e5
(cherry picked from commit df75e3082e)
2020-09-24 21:31:38 -07:00