Commit Graph

4852 Commits

Author SHA1 Message Date
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
Jack Yu
316939d210 Moved MVNO matching logic out of old data stack
Moved MVNO matching logic out of old data stack. There
is no logic change here.

Bug: 171809764
Test: Manual
Change-Id: Ia7fc8042fe81a884bbab60c7a9bb6423f0401d65
2022-03-21 09:38:14 -07:00
Rambo Wang
28b2ee8ec0 Optimize TM#getCarrierServicePackageName[ForLogicalSlot]
Instead of querying package manager every time which is
quite expensive, the new implementation will improve
the performance by query the cache in CarrierPrivilegesTracker.

Bug: 217442920
Test: atest CarrierPrivilegesTrackerTest
Change-Id: I29df8599bdfc84cab330fa7056a228997a4bac0f
2022-03-15 16:51:14 -07:00
Jack Yu
c2382270b9 Completely detach old data stack
Not create DcTracker and TransportManager instances
when new data stack is enabled.

Test: atest FrameworksTelephonyTests and manually tested on
Pixel 4 and Pixel 6.
Bug: 222323544

Change-Id: Ice595f329e2f4e531dc577cd3db7c863ba15d6d6
2022-03-11 20:44:05 -08:00
Sukanya Rajkhowa
b6e9b03b83 VoWifi notification for emergency calls
- Add new intent to send VOWIFI_ENABLED status

Bug: 179122732
Test: Manually verified by simulating
Change-Id: Iaf52a642a0435a070b8280b098e7929cddde55f6
2022-03-05 00:07:30 +00:00
Muralidhar Reddy
d1cc4ed8ac [MEP] Resolve port index in case apps are calling switchToSubscription(without portIndex) API for disable operation.
Subscription enable/disable is done through a single EuiccManager.switchToSubscription API. If the passing subId is invalid which means to disable the currently enabled profile on eUICC. With MEP, there can be more than one active subscription so apps should explicitly calling new API switchToSubscripti.on(with portIndex) to specify disable which profile from eUICC.

Bug: 218393363
Test: atest FrameworksTelephonyTests
Change-Id: I7af60c9447acbb86597d9ad14b249c0fa9a76f26
2022-02-16 06:00:03 +00:00
Treehugger Robot
108ec178ee Merge "Create EVENT_TRAFFIC_DESCRIPTORS_UPDATED" am: 35ac7e34ce am: d47e88e58c am: c15388da45 am: 39173ceda9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1917117

Change-Id: I1b0fe0c9642064a22485774bd523bbe47953dda8
2022-01-27 03:06:12 +00:00
Treehugger Robot
35ac7e34ce Merge "Create EVENT_TRAFFIC_DESCRIPTORS_UPDATED" 2022-01-27 01:49:59 +00:00
Hunter Knepshield
2526568630 APIs for SIM call manager voice status
This CL creates two new PhoneAccount capabilities for the SIM call
manager (and potentially telephony itself for PSTN PhoneAccounts) to
advertise that they support voice calling, potentially independent of
voice service state. With this information, telecom will feed updated
back into telephony for plumbing through the standard ServiceState-based
APIs.

Bug: 205737545
Test: atest android.telecom.cts.PhoneAccountOperationsTest
  (an additional CTS test for the TelephonyManager API will be added as
  a follow-up)
Change-Id: If7a5b03a7aa630823ac238ef27721e5e6cc596e6
2022-01-24 13:18:12 -08:00
Sandeep Jawalkar
c0168a8677 Merge "Adding compareIgnoreTrailingFs helper method to compare IccId's" 2022-01-24 09:29:26 +00:00
sandeepjs
9560590d89 Adding compareIgnoreTrailingFs helper method to compare IccId's
Test: build, manual
Bug: 213434330
Change-Id: I20c37c4178c269b71864220852ba067ff70191ba
2022-01-24 06:48:06 +00:00
Hakjun Choi
e120a5c163 Merge "Add public API to ProvisioningManager for IMS/RCS provisioning by updatable provisioning app" 2022-01-22 06:50:31 +00:00
Hakjun Choi
a9008580f4 Add public API to ProvisioningManager for IMS/RCS provisioning by
updatable provisioning app

Bug: 197992603
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required
Change-Id: I4fc0759111d15cec01a49a78cda5065bfb7e6c65
2022-01-20 05:46:33 +00:00
Bernardo Rufino
1a5cb387d6 Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex""
This reverts commit 331be9a643.

Reintroducing ag/16366278 since it seems unrelated to b/214053959 (more details on b/214053959#comment55).

Original commit message:

Migrate unsafe parcel APIs in framework-minus-apex

Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()

This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).

A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.

Bug: 195622897
Change-Id: I272432e6e082a973f7a50492ec35d79c2b577c93
Test: TH passes
2022-01-19 11:13:18 +00:00
Jonggeon Kim
45ed6b9c92 Merge "ImsService Subscription Notifications" 2022-01-18 06:20:43 +00:00
Jonggeon Kim
235d7a46ca ImsService Subscription Notifications
Provide a new API in ImsService that creates a new version of each ImsFeature and dependencies when a new subId is loaded.
The ImsService handles ImsFeature setup and teardown procedures to happen on a per-subscription basis instead of on a per-slot basis.
Provide the compatibility behavior for older devices that are not upgrading to using the new API.

Bug: 197991451
Test: atest FrameworksTelephonyTests:ImsServiceTest, atest CtsTelephonyTestCases:ImsServiceTest

Change-Id: I231da2f4479d4a4fb272edbf27e49f46833a082a
2022-01-14 21:18:58 +00:00
Sooraj Sasindran
47dfd08b45 Merge "Add ril constant for slicing config change" am: daa74af0eb am: a646471f5e am: 00c7c02c46 am: a490c7ebf1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1945429

Change-Id: I70b4d40d04f1962835ca37e6b97e231fa0c4f3f8
2022-01-14 04:27:54 +00:00
Sooraj Sasindran
2dd968d7ef Add ril constant for slicing config change
Add ril constant for slicing config change

Test: build
Bug: 194332512
Change-Id: I5e81a3ba9118537e3dba1c45a2db253ff5bbdc8b
2022-01-13 17:00:34 +00:00
Ashwini Oruganti
776b439703 Merge "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-12 23:07:08 +00:00
Bernardo Rufino
331be9a643 Revert "Migrate unsafe parcel APIs in framework-minus-apex"
This reverts commit 90bb3709dc.

Reason for revert: b/214053959

Change-Id: Ic271bab1d3eaf677a5989dda9deb944ee2ad6850
2022-01-12 17:44:44 +00:00
Grace Jia
d9bdab733f Merge "Add new API for new feature of display name." am: e43f70afc7 am: bacd6a4a11 am: 93e2d21187 am: aa6e8fff87
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1807961

Change-Id: I28ae3bf23808bca60b474969f4a0b90e9747e682
2022-01-06 20:23:29 +00:00
Grace Jia
e43f70afc7 Merge "Add new API for new feature of display name." 2022-01-06 18:59:37 +00:00
Chen Xu
855f028893 Merge "Make switchToSubscription use PendingIntent" 2022-01-06 06:18:11 +00:00
Meng Wang
692533e342 Merge "Add getPhoneNumber/setPhoneNumber API" 2022-01-05 23:04:27 +00:00
Sarah Chin
569fbec7ef Merge "Add Constants for UsageSetting" 2022-01-05 20:06:20 +00:00
sandeepjs
6afa68e472 [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
Merged-In: I71e4e1ef649b7301d126dde23d53783761de940f
2022-01-03 12:12:52 +00:00
Jordan Liu
805e7d12b7 Make switchToSubscription use PendingIntent
Bug: 205504646
Test: manual
Change-Id: Ieec385ee6b054d2c6392c4a45eb501eb876cdd0a
2021-12-30 19:22:22 -08:00
Nathan Harold
cb861c0f76 Add Constants for UsageSetting
Bug: 210023167
Test: compilation
Merged-In: Ief078770b44719e105828bb61d3768ad24e277dd
Change-Id: Ief078770b44719e105828bb61d3768ad24e277dd
(cherry picked from commit 793736cced)
2021-12-29 09:42:12 -08:00
Muralidhar Reddy
eb2712bb2f [MEP] Do not pass portIndex to disableProfile, derive portIndex from the passing iccid. Partially revert T API change ag/15808958, disableProfile remains unchanged for Android T
Bug: 211955076
Test: manual, atest FrameworksTelephonyTests
Change-Id: I5803251e6ecaac1d8a19c7d6870fb4f8382048b1
2021-12-28 11:06:22 +00:00
Meng Wang
04dd910a49 Add getPhoneNumber/setPhoneNumber API
Bug: 193539271
Test: make
Change-Id: Iac651f2ca4269f20a2c7e87c7b6edf1d6c992867
Merged-In: Iac651f2ca4269f20a2c7e87c7b6edf1d6c992867
(cherry picked from commit 0594b4f490)
2021-12-21 22:23:33 +00:00