Commit Graph

4782 Commits

Author SHA1 Message Date
Sandeep Jawalkar
1319ca53f4 Merge "Adding getSimApplicationState & getSimSlotMapping" 2021-11-25 06:48:12 +00:00
sandeepjs
1fb2b00c3a Adding getSimApplicationState & getSimSlotMapping
Adding getSimApplicationState & getSimSlotMapping API in TelphonyManager
Test: atest TelephonyManagerTest#getSimSlotMappingTestReadPermission
Test: atest TelephonyManagerTest#getSimCardStateTest
Test: atest TelephonyManagerTest#getSimSlotMappingTest
Bug: 206718882

Change-Id: I40ec6c8083d9e8718a300b119ceb089648b8dea4
2021-11-23 09:54:34 +00:00
Jordan Liu
6f98f06a96 Merge "Add portIndex for switch subscription API" 2021-11-17 21:32:52 +00:00
Meng Wang
5caf17cea6 Merge "Add getPhoneNumber/setPhoneNumber API" 2021-11-17 00:36:15 +00:00
Jordan Liu
95c4643204 Add portIndex for switch subscription API
Bug: 205504646
Test: manual (builds, will not be functional until LPA implementation)
Change-Id: Ic289538f5df17c03b2f8da7f4966c583d4557586
2021-11-16 14:03:38 -08:00
Meng Wang
0594b4f490 Add getPhoneNumber/setPhoneNumber API
Bug: 193539271
Test: make
Change-Id: Iac651f2ca4269f20a2c7e87c7b6edf1d6c992867
2021-11-16 11:16:10 -08:00
Sandeep Jawalkar
89d29b89d1 Merge "[MEP] eSIM API refactor to support MEP" 2021-11-16 16:46:03 +00:00
Hunsuk Choi
511be9a373 Merge "Update ITelephony#registerImsStateCallback" 2021-11-15 23:00:40 +00:00
sandeepjs
177c4a4d02 [MEP] eSIM API refactor to support MEP
Newly added UiccPortInfo and UiccSlotMapping classes and introduced
UiccPortInfo as a port list in UiccCardInfo and UiccSlotInfo,
Deprecated some constructors and updated callers.
Test: build
Bug: 159354974
Change-Id: I71e4e1ef649b7301d126dde23d53783761de940f
2021-11-12 10:11:22 +00:00
Sooraj Sasindran
cf437b8a3d Merge changes from topic "VoNR_Toggle" am: 54ee695778 am: c5566f30c0 am: 9812f7f933 am: 7ae5c85292 am: 1ac4095177
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1881109

Change-Id: I243b2a3eeb29d7184485e83ef5000c213c9e9a77
2021-11-09 21:02:31 +00:00
Gary Jian
fe3f6bbf04 Correct the request number
RIL_REQUEST_IS_VONR_ENABLED

Bug: 203162440
Test: make
Change-Id: I9ecdc1811e9e680cd966ab91e7e2906a71e1c6ea
2021-11-09 15:05:37 +00:00
Sooraj Sasindran
e6abedb3ad VoNR toggle
Allow user to enable or disable voice over NR.

Bug: 190668235
Test: verified using settings UI
Change-Id: I655dc93c0b213e1b85b29b9a168f99072ca82186
Merged-In: I655dc93c0b213e1b85b29b9a168f99072ca82186
2021-11-09 15:05:05 +00:00
Rambo Wang
5d281472fa Merge "Clear up ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED logic" am: aac94b26a7 am: f8f8a40658 am: fa8156441d am: 206fc30a50 am: 7dadceffa4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1569861

Change-Id: Iad9ed1ee3ec3b71e549d32959540bd0b31028842
2021-11-05 21:16:40 +00:00
Hunsuk Choi
10e2db6c01 Update ITelephony#registerImsStateCallback
Add a parameter, String callingPackage, to send the pakage name of the client.
With this, we can see what apps have listeners for which features.

Bug: 178016400
Test: atest
Change-Id: I3ac14cc3bcb28f5f966a1b3c215727784527e475
2021-11-05 06:50:12 +00:00
Rambo Wang
206fc30a50 Merge "Clear up ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED logic" am: aac94b26a7 am: f8f8a40658 am: fa8156441d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1569861

Change-Id: Ib948561ba54963d88e35f79df4a73f4c9b1719a4
2021-11-05 05:53:48 +00:00
Hunsuk Choi
b36819b1f1 Add ImsStateCallback
registerImsStateCallback and unregisterImsStateCallback are
added to ImsMmTelManager, ImsRcsManager, and SipDelegateManager.
Those are used to receive updates about the connection state
of the underlying ImsService.

Bug: 178016400
Test: atest FrameworksTelephonyTests:ImsStateCallbackTest
Change-Id: If547ce637725d4f98942b0b554187a0ba91f60de
2021-11-04 18:37:23 +00:00
Rambo Wang
14cc15dc37 Clear up ALWAYS_REPORTED_SIGNAL_STRENGTH_CHANGED logic
The feature is now replaced with TM#setSignalStrengthUpdateRequest
introduced in S release. The logic for the obsoleted feature is
cleared up.

The request to report system signal strength while idle is
still protected by permission to use internally.

Bug: 177924721
Test: atest TelephonyRegistryTest SignalStrengthUpdateRequestTest
Change-Id: Idad4ca59720fac50b5ec0fe50e2b6ac8e9dbb801
2021-11-03 11:39:17 -07:00
Jordan Liu
556251df8c Merge "Do not strip trailing F's of test ICCID" am: 78a8259df5 am: 60a553a4e6 am: 1701e21425 am: 347582a227 am: 7ee17eb840
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1852927

Change-Id: I1183bb8187eba4295cc43f9286ca5d4399d2be9d
2021-10-19 00:53:33 +00:00
Jordan Liu
347582a227 Merge "Do not strip trailing F's of test ICCID" am: 78a8259df5 am: 60a553a4e6 am: 1701e21425
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1852927

Change-Id: I720920f0df0df7c55386a172409ffe3d0f4f40e3
2021-10-19 00:23:47 +00:00
Jordan Liu
e1dd6a01de Do not strip trailing F's of test ICCID
Some OEMs use test SIMs which have ICCID=FFFFFFF... In this case we
don't strip trailing F's.

Bug: 199254579
Test: manual
Change-Id: I69b40fa75e59163e8c30be77cc38e908d6dd8cd4
2021-10-18 11:51:31 -07:00
Sarah Chin
ae220e938b Merge "Update constructors for IRadioData classes" into stage-aosp-master am: 958f299826 am: 209163b6f0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15961170

Change-Id: I22655476d01e86dea4b4fa95f25606dae70d890e
2021-10-06 17:09:19 +00:00
Sarah Chin
80b8c7f128 Update constructors for IRadioData classes
Test: atest FrameworksTelephonyTests
Bug: 198331673
Change-Id: I8480df1164548dde491c6ae6251bbc2725c3eadf
Merged-In: I8480df1164548dde491c6ae6251bbc2725c3eadf
2021-10-06 10:14:30 +00:00
Sarah Chin
3101c0be77 Update constructors for IRadioData classes
Test: atest FrameworksTelephonyTests
Bug: 198331673
Change-Id: I8480df1164548dde491c6ae6251bbc2725c3eadf
2021-10-05 14:01:14 -07:00
SongFerng Wang
310d93011c Merge "VoNR toggle" into sc-qpr1-dev am: f36dd3cc76 am: 16049eeb91 am: 20ca4489d4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15645594

Change-Id: Id84987f0ab9a1fbe852574737c1bb69cadd3a4fe
2021-09-08 21:17:49 +00:00
SongFerng Wang
16049eeb91 Merge "VoNR toggle" into sc-qpr1-dev am: f36dd3cc76
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15645594

Change-Id: I3c4db256316ae816eb4ec3b71647135bdff4ccc7
2021-09-08 03:51:39 +00:00
Sooraj Sasindran
5dbec20ded VoNR toggle
Allow user to enable or disable voice over NR.

Bug: 190668235
Test: verified using settings UI
Change-Id: I655dc93c0b213e1b85b29b9a168f99072ca82186
2021-09-03 16:15:29 +00:00
Jooyung Han
b790f0d1e1 Merge "telephony: suppress warnings in AIDL" am: 89242df0c9 am: 05820c8ff6 am: f2e4340476 am: 8f1cfa2ae8 am: f4c2717d34
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1796511

Change-Id: I3c5c4ddd87e39578bf2c506308bf35b1f9c03f98
2021-08-27 10:22:18 +00:00
Jooyung Han
05820c8ff6 Merge "telephony: suppress warnings in AIDL" am: 89242df0c9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1796511

Change-Id: Id02daf502a31ee333ea368621f072efc07104323
2021-08-25 05:03:06 +00:00
Jooyung Han
133879b683 telephony: suppress warnings in AIDL
Warnings from using untyped List/Map. For now these List/Map can't be
migrated to typed ones because AIDL List/Map doesn't support Integer as
key/value types.

Bug: 192615532
Test: m
Change-Id: If55364b4ad4dc5660871f7eef051e12ec0399a70
2021-08-17 14:36:04 +09:00
SongFerngWang
0c13fd19ec Add getPhoneCapability function in TelephonyManager
- Add a resource for Device's Nr information.
- Expose below as systemApi
  - getDeviceNrCapabilityBitmask()
  - getMaxActiveInternetData()
  - getMaxActivePacketSwitchedVoiceCalls()
Bug: 175711587
Test: atest TelephonyManager#testGetPhoneCapability
atest PhoneCapabilityTest
atest PhoneConfigurationManagerTest
atest CellularNetworkValidatorTest
atest PhoneSwitcherTest
atest TelephonyRegistryTest
atest PhoneCapabilityTest

Change-Id: Ide25344787c15b3a57a9e6621766ad02a906f12e
Merged-In: Ide25344787c15b3a57a9e6621766ad02a906f12e
2021-07-20 23:59:19 +08:00
Calvin Pan
2c2c9541d1 Merge "Add TelephonyShellCommand to get EAB capability" into sc-dev am: ffc60f6f53 am: 473ae33ed2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15173031

Change-Id: I5bb94cb12ab2a8a5cc6fb01d1a48c86ba4ba9b50
2021-07-02 17:48:05 +00:00
Calvin Pan
252fdc0e38 Add TelephonyShellCommand to get EAB capability
Bug: 192370112
Test: atest
Change-Id: I1bccebd44f3f820b36f199804246d148cf58cfeb
2021-07-01 12:26:48 +00:00
Xin Li
48e70ad8bc DO NOT MERGE - Merge ab/7272582
Bug: 190855093
Merged-In: I81c036a8484d14683db9450b55bd379c7a728d73
Change-Id: I71fe9744d88740a8d95235ddb4c8ab91881473ce
2021-06-14 22:01:46 -07:00
Treehugger Robot
6feb8da529 Merge "Add API for SHELL command to set the capabilities request timeout." am: 49ec135724 am: 301caad026 am: 6727c2cbc5 am: 71e79106e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1719881

Change-Id: I2f3a5859f0967b818f5882613bcc35a2b548c660
2021-05-27 23:05:15 +00:00
Treehugger Robot
6727c2cbc5 Merge "Add API for SHELL command to set the capabilities request timeout." am: 49ec135724 am: 301caad026
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1719881

Change-Id: I2564fcf3667c58cd4b40f0ed7c29999ccd3f2507
2021-05-27 22:15:19 +00:00
James.cf Lin
932bf1a357 Add API for SHELL command to set the capabilities request timeout.
Bug: 188440601
Test: atest ImsServiceTest RcsUceAdapterTest
Merged-In: I4df957c97430758c6c84a06601070c3c3e3934e1
Change-Id: I4df957c97430758c6c84a06601070c3c3e3934e1
2021-05-27 22:09:52 +08:00
James.cf Lin
d0d7f63b20 Add API for SHELL command to set the capabilities request timeout.
Bug: 188440601
Test: atest ImsServiceTest RcsUceAdapterTest
Change-Id: I4df957c97430758c6c84a06601070c3c3e3934e1
2021-05-25 01:29:38 +08:00
Sarah Chin
039a8f3a73 Merge "Optimize SIM phonebook feature with new APIs" into sc-dev am: 81d05fcd38 am: fee0397a46
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14521565

Change-Id: I7a32493f0eb3b2c4e9f4bcad9c7e0cfac06947e7
2021-05-20 00:21:13 +00:00
Tyler Gunn
770b0f59a1 Merge "Add telephony shell command to force D2D communications enabled." into sc-dev am: 817e62fb6f am: 3702903288
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14414138

Change-Id: I2b418f37cc134e20c7f84ac6b055c860edc2fe23
2021-05-19 23:23:58 +00:00
Mengjun Leng
25eb471790 Optimize SIM phonebook feature with new APIs
1. Declare the constant events for loading and updating SIM contacts.
2. Introduce radio HAL capability to control the SIM phonebook feature.

Bug: 23044962
Change-Id: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
Merged-In: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
2021-05-18 21:28:58 +00:00
Mengjun Leng
bbcef295df Optimize SIM phonebook feature with new APIs
1. Declare the constant events for loading and updating SIM contacts.
2. Introduce radio HAL capability to control the SIM phonebook feature.

Bug: 23044962
Change-Id: Ice0cc1cddc832b5ae0f272348503e28842fccbb6
2021-05-18 11:13:56 -07:00
Tyler Gunn
817e62fb6f Merge "Add telephony shell command to force D2D communications enabled." into sc-dev 2021-05-17 20:34:48 +00:00
Chen Xu
405b15de70 consistent permission check for getSubIdForPhoneAccount
make sure getSubIfForPhoneAccount, getSubIdForPhoneAccountHandle
and getSubscriptionId has consistent permission check

Bug: 183409662
Test: Manual test
Change-Id: I2521883599479f4350c87b9bd8b09db97f88c9b0
2021-05-17 09:40:24 -07:00
James Lin
6bf12e128b Merge "Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status." am: 011be0d15a am: b776230e12 am: 50c3a90cb3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689574

Change-Id: If268eafc96cf72b9e241290952fc2d005001ea8e
2021-05-09 16:34:36 +00:00
James Lin
50c3a90cb3 Merge "Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status." am: 011be0d15a am: b776230e12
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1689574

Change-Id: Idf731b0b9ee15a4bb85677cc368b6271ba873bf4
2021-05-09 15:41:09 +00:00
James.cf Lin
cf451204eb Add carrier config for the SIP 486 request forbidden and add API for SHELL command to remove the UCE requests cannot be sent the network status.
Bug: 186131340
Test: atest ImsServiceTest RcsUceAdapterTest
Change-Id: Id3a97fc975764754d6b610478c17a501f65aa229
2021-05-08 07:33:03 +08:00
Grace Jia
71de23564d Merge "Add support for selected contacts device to device sharing." am: 83bc8699a1 am: a9a60d31bc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1694227

Change-Id: I88e4170b568b7c7fe1610800d6b6181d171a3abc
2021-05-03 22:30:55 +00:00
Tyler Gunn
e6bf310006 Add telephony shell command to force D2D communications enabled.
This command is used for CTS testing to force override D2D on.

Test: Added CTS test leveraging the new command.
Test: Manual test to verify command operation.
Bug: 183239479
Change-Id: I093ee1503182a78baa7527097731974fc9499f62
2021-05-03 14:45:26 -07:00
Grace Jia
e2099469d2 Add support for selected contacts device to device sharing.
Bug: 163085177
Test: CTS tests
Change-Id: I4f6da463a29ba9cf067d36941a9b4e584012c817
Merged-In: I4f6da463a29ba9cf067d36941a9b4e584012c817
2021-05-03 12:19:27 -07:00
Jack Yu
259fa8266a Merge changes from topics "unthrottle_apm", "unthrottle_on_tac_changes" am: e4df5d375d am: efa5a0e556
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1692851

Change-Id: I55bcfc699e0891426421b56397a6a48f517b6e9f
2021-05-01 09:33:15 +00:00