Commit Graph

4881 Commits

Author SHA1 Message Date
Aishwarya Mallampati
6f6db36bfa Merge "Replace callers of SmsApplication with user-aware methods." 2022-11-28 18:50:40 +00:00
Jack Yu
11195cd5d6 Merge "Add getSubscriptionId API" 2022-11-21 01:49:00 +00:00
Jack Yu
07fc4b4862 Removed unused method
Bug: 239607619
Test: atest FrameworksTelephonyTests
Change-Id: I70a26d424eca093921572ce610ea495f603b01c6
2022-11-20 13:55:35 -08:00
Jack Yu
2483981951 Add getSubscriptionId API
The old getSubId or getSubscriptionIds return multiple sub ids
per slot index, which is not possible in today's implementation
because the slot index here refers to the logical slot index,
which is also known as phone id, or the logical modem index. In
today's telephony, one logical phone can only have one
subscription at one time, so does the modem.

Bug: 239607619
Test: Manual
Change-Id: I67cb2bade2c9496a50cccd81fa8f6edc57ede967
2022-11-20 12:22:27 -08:00
Thomas Nguyen
19722ba9ed Merge "Fix for GSM-8bit encoding error" 2022-11-18 16:08:24 +00:00
TreeHugger Robot
43b2c08eb4 Merge "Renamed methods for clatification" 2022-11-18 10:57:43 +00:00
Jack Yu
983f9f9925 Renamed methods for clatification
Test: build
Bug: 239607619
Change-Id: Idf33e6db48e7ccba72b5e389039f68011949938a
2022-11-18 00:48:19 -08:00
Thomas Nguyen
76302e12e7 Fix for GSM-8bit encoding error
Bug: 253538769
Test: atest android.telephony.cts.VisualVoicemailServiceTest

Change-Id: I63dca4369c7b4285abb99bfffffe8fd9edbf9443
2022-11-17 17:29:36 -08:00
Hunsuk Choi
c42338fb13 Add RIL_REQUEST_SET_N1_MODE_ENABLED and_REQUEST_IS_N1_MODE_ENABLED
Bug: 255450196
Test: build
Change-Id: I2d1c942486a8cf63e2e9b0e6e98fdc5e40a9e74e
2022-11-17 11:36:57 +00:00
Hunsuk Choi
3db73687e9 Add RIL_REQUEST_UPDATE_IMS_CALL_STATUS
Bug: 255450284
Test: build
Change-Id: I4729ca1ae280cf73656b89271d76498acb18cc2a
2022-11-17 11:28:18 +00:00
Aishwarya Mallampati
0e16f328f5 Replace callers of SmsApplication with user-aware
methods.

Bug: 250617029
Test: Sending and receiving SMS/MMS,
      atest com.android.internal.telephony.tests.SmsApplicationTest
Change-Id: Idb6671d35bed6a35804b5553f75d461b54273612
2022-11-16 22:56:18 +00:00
Yomna Nasser
029789cea3 Merge "Revert "Revert "Add constants for setNullCipherAndIntegrityEnabled""" 2022-11-16 17:43:48 +00:00
Hunsuk Choi
03ad7a2ca5 Merge "Change the parameter type of WwanSelectorCallback#onDomainSelected()" 2022-11-16 10:42:50 +00:00
Yomna Nasser
9a5bb54d77 Revert "Revert "Add constants for setNullCipherAndIntegrityEnabled""
This reverts commit af7b5cb5b4.
A fix was applied in frameworks/opt/Telephony.

Bug: b/237529943
Test: m
Change-Id: I75a02ec4b00ff0088404e37a3de01e02251ddba3
2022-11-16 00:08:13 +00:00
Binyi Wu
87a3a44d52 Merge "Revert "Add constants for setNullCipherAndIntegrityEnabled"" 2022-11-15 03:27:30 +00:00
Binyi Wu
af7b5cb5b4 Revert "Add constants for setNullCipherAndIntegrityEnabled"
Revert "Add RIL interface for setNullCipherAndIntegrityEnabled"

Revert submission 20283075-setNullCipherAndIntegrityEnabled

Reason for revert:
DroidMonitor: Potential culprit for Bug b/259163733 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted Changes:
Idad17af0a:Add setNullCipherAndIntegrityEnabled CTS to IRadio...
Ia72f7bdd6:Add constants for setNullCipherAndIntegrityEnabled...
I5ea99cb06:Add setNullCipherAndIntegrityEnabled to IRadioNetw...
I53403d9f7:Add RIL interface for setNullCipherAndIntegrityEna...

Change-Id: Iae73cc40c4be22599bfdec61d48d9318c4fba2a8
2022-11-15 02:19:00 +00:00
Yomna Nasser
c7d4a9fb81 Merge "Add constants for setNullCipherAndIntegrityEnabled" 2022-11-15 01:36:03 +00:00
jimsun
a4c9bc8003 Create module-specific Hal versions
Bug: 243072871
Test: cts test
Change-Id: Ib4bd4e42677b6d506a509a0097b86dd4a9acb012
2022-11-15 00:09:45 +08:00
Hunsuk Choi
f0cbf6772b Change the parameter type of WwanSelectorCallback#onDomainSelected()
From @RadioAccessNetworkType to @NetworkRegistrationInfo.Doamin

Bug: 258297042
Bug: 243344927
Bug: 258302615
Test: build
Change-Id: Ib347312f810beb9c87b4409c1e3990c647b2de47
2022-11-10 02:54:18 +00:00
Yomna Nasser
05ab460ef9 Add constants for setNullCipherAndIntegrityEnabled
Bug: b/237529943
Test: m
Change-Id: Ia72f7bdd64f659fb0b1aecaf06cc0d044b6d6f7b
2022-11-05 03:06:31 +00:00
Hunsuk Choi
6a37f543ae Add APIs for the domain selection service
Bug: 243344927
Test: atest
Change-Id: I3ec9be06b1646df884c2915ac199f5845c1d49d0
2022-11-02 09:00:31 +00:00
Hunsuk Choi
f4d3d69e02 Merge "Add RIL requests and unsol for IRadioIms hal" 2022-10-31 14:34:43 +00:00
Aishwarya Mallampati
9bea015021 Change get/setUserHandle to get/setSubscriptionUserHandle.
Bug: 255592760
Test: Sanity, atest android.telephony.cts.SubscriptionManagerTest, atest
com.android.internal.telephony.SubscritpionControllerTest

Change-Id: I6df0579cd33e2b2efcd8477270160b46c10d0a3a
2022-10-26 18:28:50 +00:00
Hunsuk Choi
b2c8f0173e Add RIL requests and unsol for IRadioIms hal
Bug: 216387835
Test: build & flash
Change-Id: I7a8afdef592881146699472051b9b6cdfde1b457
Merged-In: I7a8afdef592881146699472051b9b6cdfde1b457
2022-10-21 02:44:46 +00:00
Aishwarya Mallampati
4f83895959 Add setUserHandle and getUserHandle apis.
Bug: 247166170
Test: Basic testing, unittests
Change-Id: I4b9ab5f56a3ddac25ab8c335a84d86b5ba0fe932
2022-10-20 22:55:44 +00:00
Jack Yu
40dfa97392 Removed unused methods
Removed getAllSubscriptionInfoCount(), getDefaultSmsPhoneId(), and
getDefaultDataPhoneId().

Bug: 239607619
Test: Manual
Change-Id: I1e4110e4bb7dbbc05d51f75d67f451a8ce3bf229
2022-10-03 13:53:49 -07:00
Hunsuk Choi
b765796dc8 Add RIL requests for Emergency Call domain selection HAL API changes.
Add the following:
- RIL_REQUEST_SET_EMERGENCY_MODE
- RIL_REQUEST_TRIGGER_EMERGENCY_NETWORK_SCAN
- RIL_REQUEST_CANCEL_EMERGENCY_NETWORK_SCAN
- RIL_REQUEST_EXIT_EMERGENCY_MODE

- RIL_UNSOL_EMERGENCY_NETWORK_SCAN_RESULT

Test: Build
Bug: 243344927
Change-Id: I62b8f26460858d1b608075466c4ad26114c69b8a
2022-09-29 10:50:34 +00:00
Sarah Chin
b64c84f42e Merge "Add 5G booster slice APIs" 2022-09-23 14:52:58 +00:00
Sarah Chin
dca0e87e8c Add 5G booster slice APIs
Create APIs for 5G booster slice feature.

Test: TelephonyManager CTS tests
Bug: 244369054
Change-Id: Ib044bfd5c3a06f96123f95d5d4ef8f90f2917369
2022-09-22 00:10:39 -07:00
Jack Yu
f60d4ddf8a Removed old data stack
Completely removed the old telephony data.

Fix: 201830726
Test: Manual
Change-Id: I8e92c8f795c4ecfd71a3a642956fbb60711fb56e
2022-09-14 20:31:58 -07:00
Aishwarya Mallampati
89bace0ba9 Merge "setCellInfoListRate on specific sub" 2022-09-08 17:29:03 +00:00
Aishwarya Mallampati
be0df52749 setCellInfoListRate on specific sub
Bug: 242144387
test: CtsTelephonyTestCases, Sanity Check
Change-Id: Iaa64c4a560ffe7bd99bfdb86d0b3caa145a07d25
2022-09-08 16:03:03 +00:00
Thomas Nguyen
20a240d08e Merge "Add new APIs for owner groups to vote on radio power state" 2022-08-16 17:52:25 +00:00
Jack Yu
bbf95d4b8e Revert "Removed old data stack"
Revert "Removed old data stack"

Revert "Removed old data stack"

Revert submission 19477826-remove_old_data

Reason for revert: Pixel 4a needs it
Reverted Changes:
I4f58626b0:Removed old data stack
I798b17a59:Removed old data stack
I523b924c2:Removed old data stack

Change-Id: Icd03bc713359e49cba659b54a1454bb0d56efa97
2022-08-15 19:53:50 +00:00
Thomas Nguyen
437bd386c7 Add new APIs for owner groups to vote on radio power state
Bug: 228777724
Design doc: go/voting-radio-power-state
Test: Run the following tests
 - atest android.telephony.cts.TelephonyManagerTest
 - atest com.android.internal.telephony.ServiceStateTrackerTest
 - atest com.android.internal.telephony.data.DataNetworkControllerTest
 - atest com.android.internal.telephony.dataconnection.DcTrackerTest
 - atest com.android.internal.telephony.GsmCdmaPhoneTest
Change-Id: I4d49de3e056be62897a7472acc1c68c2a9932c27

Change-Id: I15750f49573d4213970b6b5228d5180c775f8536
2022-08-15 17:41:38 +00:00
Jack Yu
af681a4297 Removed old data stack
Fix: 201830726
Test: Manual
Change-Id: I523b924c24f538e38f523ed77ed2b49594a110ae
2022-08-01 11:12:05 -07:00
Aishwarya Mallampati
4867ae7f0f Merge "Delete unused intents." 2022-07-20 15:50:55 +00:00
arunvoddu
9cb5462a51 Fetches sim service table from the EF_SST elementary file of the sim
Bug: 217794026
Test: Atest verification completed
Change-Id: I7341a5f3e6c585ce9e042d26a08a614e0d6292a0
2022-07-11 04:35:45 +00:00
arunvoddu
c50be40eeb Interface for PSI-SMSC value from UICC
Bug: 229066443
Test: Done with manual and atest verification
Change-Id: I1bbcb4513396920f1254563ebe70635319fbee8c
2022-06-23 09:15:03 +00:00
Amit Mahajan
c91b5107d8 Delete unused intents.
ACTION_SUBINFO_RECORD_UPDATED and ACTION_SUBINFO_CONTENT_CHANGE

Test: atest
Bug: 132734069
Change-Id: I6e0382ea67750f7106ddc9834b98f1d1cc7e8eb2
2022-05-23 17:53:21 +00:00
TreeHugger Robot
c5a6db5d9c Merge "TP - Message reference for SMS SUBMIT type" 2022-05-19 07:45:32 +00:00
Ramya Manoharan
e88f8481d7 TP - Message reference for SMS SUBMIT type
Addition of the TP - Message reference in pdu for SMS-SUBMIT type
Test: Build
Bug: 228299168

Change-Id: I3a64b79478d16d730c921fbfdd050fc014eec7b5
2022-05-18 18:10:37 +00:00
Amruth Ramachandran
b9ff5ae38e Merge "[MEP] set removable eSIM as default eUICC to pass GCF/PTCRB" into tm-dev am: 3e5894b2e8 am: 81ae67c287
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18281725

Change-Id: If0ffec6fe4a3db29205ef7c420198cfff57ae982
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-14 00:13:18 +00:00
Muralidhar Reddy
c78b316c02 [MEP] set removable eSIM as default eUICC to pass GCF/PTCRB
To support removable esim to pass GCT/PTCRB test in DSDS mode, we should make sure all the download/activation requests are by default route to the removable esim slot. In order to satisfy this use case, we should return removable esim cardId as default.

1. Add switch UI in RadioInfo hidden activity to set removable esim as default eUICC.
2. When switch is checked/unchecked, corresponding flag is set in UiccController and intent is broadcasted to LPA.
3. TelephonyManager#getCardIdForDefaultEuicc API returns removable esim cardId if switch is checked.

Bug: 228640832
Test: Manual verification (Verified intent broadcast is received at LPA and flag is set in the UiccController)
Change-Id: I1c3a77a8c76d53f1d88ac4bbd77c8dbadc8d7a74
2022-05-12 15:45:43 +00:00
ckishan
32eefa6c71 Telephony GBA_U Authentication
Extend getIccAuthentication() API to support GBA-U bootstrapping parameters and NAF key from SIM for both USIM and ISIM

Bug: 229200773
Test: `atest android.telephony.cts.TelephonyManagerTest#testTelephonyManager`
pass on crosshatch
Change-Id: I3c5d92a47b56137aeb850820a0afe812385aa0f8
2022-05-10 10:48:23 +00:00
Aishwarya Mallampati
2e894a2754 Merge "Revert "VoWifi notification for emergency calls"" into tm-dev 2022-04-08 00:46:32 +00:00
Aishwarya Mallampati
d79acc64a7 [automerge] Revert "VoWifi notification for emergency calls" 2p: 501b640ae0
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17618862

Change-Id: If8f89abcbbd7772abcd86c6cdf30cb94169d768f
2022-04-06 16:17:14 +00:00
Aishwarya Mallampati
501b640ae0 Revert "VoWifi notification for emergency calls"
Revert "VoWifi notification for emergency calls"

Revert submission 17034757-VoWifi_Emergency_Notification

Reason for revert: QC updated the patches which needs to be reviewed. The issue is under discussion.
Reverted Changes:
Iaf52a642a:VoWifi notification for emergency calls
I9e2a7ea4e:VoWifi Emergency Call Notification
I494748118:VoWifi notification for emergency calls

Change-Id: Ifb875960d427a38fd5f624bc45f849cf5d743e2f
2022-04-06 16:16:58 +00:00
Sarah Chin
ac94df2bab SetDataEnabled indicate calling package
Test: atest TelephonyManagerTest
Bug: 226149142
Change-Id: I769437e9332f27c0990c37f60ad6d9db284e86cf
2022-03-31 21:15:05 -07:00
Jack Yu
fcd56e60dd Merge "Moved MVNO matching logic out of old data stack" into tm-dev 2022-03-22 00:24:38 +00:00