aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/android
AgeCommit message (Collapse)Author
2024-02-14Wrap PLMN change with carrier configLing Ma
Wrap PLMN change with nr_timers_reset_on_plmn_change_bool. Also use numeric value as PLMN. Bug: 316425342 Test: voice call + data browsing Change-Id: I0ad16ca0e59a7fdf2a77bd728654092060b6a2cb
2024-02-14Add secondary timer for advance bandLing Ma
Add a workaround carrier config nr_advanced_band_secondary_timer for previous advance band state, that overrides the existing secondary timer config. Bug: 316425811 Test: voice call + data browsing Change-Id: I794f9a92526593e6ce3e2d20413f9fc67c0a37c1
2024-02-14Add SCBM control to EmergencyStateTrackerHwangoo Park
After successfully sending an emergency SMS in the 5G SA TC of a carrier that supports emergency callback mode, the TC failed due to the process of the modem changing the current network(LTE) to NR due to exitEmergencyMode. So, in this case, instead of calling exitEmergencyMode, EmergencyStateTracker need to set the emergency mode (MODE_EMERGENCY_CALLBACK) to the modem so that the modem can maintain the current network(LTE). This change applies the SCBM related logic to EmergencyStateTracker. SCBM will be separately managed from ECBM, and when both ECBM and SCBM are terminated, EmergencyStateTracker calls exitEmergencyMode on the modem. The followings are added when emergency callback mode supports: - Enter SCBM when emergency SMS is successfully sent. - Set MODE_EMERGENCY_CALLBACK on the modem when SCBM enters. - Exit SCBM when its timer is expired and send exitEmergencyMode to modem. - While in SCBM, if emergency call is started, then exit SCBM. - Whlie in SCBM, if emergency SMS is successfully sent or emergency SMS is received, then re-initiate SCBM timer. - While in SCBM, if sending emergency SMS is failed, then keep the SCBM timer. Bug: 314849793 Bug: 300026427 Test: atest SmsDispatchersControllerTest, EmergencyStateTrackerTest Test: manual (While in ECBM, SCBM entered and after both are expired, exit emergency mode) Test: manual (While in SCBM, emergency call started and exit SCBM, ECBM entered) Test: manual (Enter SCBM and exit emergency mode when it's expired) Test: equipment test (SMS: 5G SA E911 2.2/2.5, Call: 5G SA E911 2.1) Change-Id: I715a983dc26299d02afd60eb6d0fbcbfbae3d53e
2024-02-14isSubscriptionAssociatedWithUser ImplementationAdam Bookatz
Implements a public API in which a caller can determine whether the given subscription is associated with their own user. Bug: 325045841 Test: atest SubscriptionManagerTest -c Change-Id: Ib09527a497a7108dca3777c4ee310f8a551baf22
2024-02-14Merge "Block onWwanSelected until setEmergencyMode completes" into mainHunsuk Choi
2024-02-13Added edited status to APN settingJack Yu
Expose APN edited status from the database to ApnSetting class. Also suppress APN related anomaly reports if the APN is edited by the user. Fix: 289212683 Test: Manually tested user input APN on T-Mobile Test: Basic telephony functionality tests Change-Id: Ibcc9f9c8db2af522f7926d31b0e86bc2c7b19bc6
2024-02-13Merge "Enable DPCs to download subscriptions via EuiccManager APIs" into mainAnthony Alridge
2024-02-13Block onWwanSelected until setEmergencyMode completesHunsuk Choi
Bug: 324543257 Test: atest EmergencyStateTrackerTest Change-Id: I0a208c7a7e2c3491dfb21a6bf3776d5e5eb9d5bb
2024-02-13Merge "Store the Satellite Entitlement Status and the Satellite Entitlement ↵Hyosun Kim
plmn list in db and added restrict reason for entitlement per carrier according to this value" into main
2024-02-13Merge "Add new api for satellite entitlement status and satellite ↵Hyosun Kim
entitlement plmns" into main
2024-02-13Store the Satellite Entitlement Status and the Satellite Entitlement plmn ↵Hyosun Kim
list in db and added restrict reason for entitlement per carrier according to this value If this carrier supports entitlement and the cache value or the Entitlement status value read from the db is disabled, add a restrict reason before the entitlement query. If this carrier supports entitlement and the cache value or the Entitlement plmn list value read from the db is not empty, used it before the entitlement query. Store the entitlement status and entitlement plmn list in the db after the query is completed. Bug : 321876569 Test: atest SatelliteControllerTest Test : manual test 1. If the entitlement status read from cache or db is disabled, verify adding a restriction reason before the entitlement query. 2. If the entitlement plmn list read from cache or db is not empty, verify for use it as plmn list before the entitlement query. 3. After the query is completed, verify storing the entitlement status and entitlement plmn list in the db. Change-Id: If873463f560da3c188fa9e00b002d77edde0303d
2024-02-13Merge "Reset timer upon plmn changed" into mainLing Ma
2024-02-13Reset timer upon plmn changedLing Ma
Bug: 316425342 Test: basic voice call + data browsing Change-Id: Ieb53aa122befc9857061db98ffba1de9b5eaf271
2024-02-13Merge "Remove not necessary @FlaggedApi annotation" into mainJoonhun Shin
2024-02-13Merge "Separate timer for availability and performance" into mainLing Ma
2024-02-12Merge "send Telecom ImsProfile Business Composer updates" into mainThomas Stuart
2024-02-12Separate timer for availability and performanceLing Ma
Add res config: auto_data_switch_performance_stability_time_threshold_millis as stability check when switch due to RAT/signal strength. Use alarm manager to schedule timer longer than 1 minute. Also, minor improvement on switching to default data if it has the same score as the current, to honor user's preference. Test: adb shell am broadcast -a com.android.internal.telephony.TestServiceState --ei phone_id 1 --ei data_rat 3 Test: inspect log to confirm Test: internet browsing + voice call Fix: 308456021 Change-Id: I061740bf0264ae622bc8774c3d52ae5331b21225
2024-02-12Merge "Ensure identifier disclosure windows survive modem restarts" into mainGil Cukierman
2024-02-12Merge "Honor retry timer from setup data call response for emergency ↵Jack Yu
request" into main
2024-02-12Enable DPCs to download subscriptions via EuiccManager APIsAnthony Alridge
Ensures that DPCs can download subscription on company-owned devices. Also tags the subscription as being "admin-owned", to disambiguate between dpc downloaded subscriptions and user downloaded subscriptions. This is used to determine which subscriptions an admin can control. Bug: 293456669 Test: btest android.devicepolicy.cts.TelephonyTest Test: Manual with testdpc Change-Id: I15fcd8d2ff5c749b1abd3caa673716ab01db6935
2024-02-12Merge "Validate slot index in addSubInfo" into mainTreehugger Robot
2024-02-11Merge "[Esim Bootstrap Support] Restrict Data Usage for BootStrap sim" into mainNagendra Prasad Nagarle Basavaraju
2024-02-09Validate slot index in addSubInfoJack Yu
Fixed the invalid slot index in the inserted subscription. Fix: 309759689 Test: atest SubscriptionManagerServiceTest Test: Basic telephony functionality tests Change-Id: Iaa5bfe0e35aaa88bd6a43470e9a6246104fa1421
2024-02-10Merge "Clear calling identity before calling getSubscriptionUserHandle" into ↵Aishwarya Mallampati
main
2024-02-09Honor retry timer from setup data call response for emergency requestJack Yu
For emergency network request, added an option for data frameworks to honor retry timer returned from the previous setup data call response. Bug: 321119000 Test: Basic telephony functionality tests Test: atest DataNetworkControllerTest Change-Id: I4aa32fc550dc47770e060abbe8f30156cc7d682e
2024-02-10Merge "Clear cache upon radio off or unavailable" into mainLing Ma
2024-02-09Merge "Add timeout in enabling satellite and sending datagram" into mainThomas Nguyen
2024-02-09Clear cache upon radio off or unavailableLing Ma
Clear all cache upon radio off or unavailable. Test: voice call + data browsing Fix: 313269921 Flag: Not needed as this is low risk bug fix (go/android-flags-guidelines#flagging-policy) Change-Id: I8fd6d33ef65bdf113dceb2e8bf426e81dd7c1a4f
2024-02-09Add timeout in enabling satellite and sending datagramThomas Nguyen
Bug: 323571903 Test: atest SatelliteManagerTestOnMockService SatelliteControllerTest DatagramDispatcherTest Manual test with SatelliteTestApp. SMS, MMS, call with live network. Change-Id: I32a28353306edbefebd02e4e5deccbfca2bce473
2024-02-09send Telecom ImsProfile Business Composer updatesThomas Stuart
The lower layer is reponsible for setting the ImsCallProfile values. Once the ImsConnection is created, the Call.Details business composer values should be populated. This allows the System Dialer to query the business composer values and Telecom to log the values properly. Bug: 324325516 Bug: 226518586 (root) Test: CTS Change-Id: Ia838b7bf47873dde6260866f9e29fa061847aa43
2024-02-09Clear calling identity before calling getSubscriptionUserHandleAishwarya Mallampati
Bug: 320599071 Bug: 308033518 Test: Sending and receiving SMS/MMS, atest FrameworkTelephonyTests, atest CtsTelephonyTestCases Change-Id: I84c74a81207d54f394721918e59eac2d89ef59e2
2024-02-09Merge "Fixed registered_times in ImsRegistrationStats" into mainJisun Annie Jung
2024-02-08Fixed registered_times in ImsRegistrationStatsJisun Jung
- This field is to calculate the number of times it is registered. - It was being misused as it was divided like other duration. - mark 16 as reserved - add registered_time field as 17 Bug: 312808192 Test: atest ImsStatsTest Test: atest PersistAtomsStorageTest Change-Id: Ib1df4a8a60abfa9e833f77dcbb5e2a9bbf83de87
2024-02-08Remove not necessary @FlaggedApi annotationjoonhunshin
Bug: 324193141 Test: build pass Change-Id: I2ab10b836ed238e1cfff0a7b671e4baf4068f1a3
2024-02-08[Esim Bootstrap Support] Restrict Data Usage for BootStrap simNagendra Prasad Nagarle Basavaraju
- Read esim_bootstrap_data_limit_bytes to determine the allowed data limit. - Add Disallowed reason DATA_LIMIT_REACHED to block setup data network at evaluate network request - Support evaluation of existing data networks for CHECK_DATA_USAGE data evaluation - REEVALUATE_BOOTSTRAP_SIM_DATA_USAGE_MILLIS to control re-evaluate of existing data network due to CHECK_DATA_USAGE eval reason - junit test coverage Bug: 314736912 Test: m & atest FrameworksTelephonyTests, CtsTelephonyTestCases Test: device test results at b/314736912 Change-Id: I0f2f6ef4fb113e5db72f3842c48f37c9c3d0025f
2024-02-08Add new api for satellite entitlement status and satellite entitlement plmnsHyosun Kim
Added an API to find whether the satellite entitlement status is enabled by the entitlement query result. Added an API to check the satellite entitlement plmns based on the entitlement query result. Bug: 322143408 Test: atest SubscriptionInfoInternalTest, SubscriptionDatabaseManagerTest Test: manual test 1. onCreate case verified the COLUMN_SATELLITE_ENTITLEMENT_STATUS value set to 0. verified the COLUMN_SATELLITE_ENTITLEMENT_PLMNS value set to empty. 2. onUpgrade case verified the COLUMN_SATELLITE_ENTITLEMENT_STATUS value did not exist, but was set to 0 after the upgrade. verified the COLUMN_SATELLITE_ENTITLEMENT_PLMNS value did not exist, but was set to empty after the upgrade. Change-Id: I1e7cfcd283ff442a7867f933d63b046894a9e4b1
2024-02-07Merge "Rename EmergencyRegResult to EmergencyRegistrationResult" into mainHunsuk Choi
2024-02-07Ensure identifier disclosure windows survive modem restartsGil Cukierman
A CellularIdentifierDisclosureNotifier may be enabled multiple times in a row. Cases where this could happen are: 1. Multiple phone instances all call enable when the radio becomes available. 2. The radio becomes available multiple times during the lifetime of an active notifier, for instance, when the modem is restarting often. Bug: 319662115 Test: atest CellularNetworkSecuritySafetySource Change-Id: Id0460e6bcd7e764faf4bbab3180f41ca92a4ff33
2024-02-07Add APIs for available memory on eUICC.Rafael Higuera Silva
Add new API flag. And add permissions check for: READ_PHONE_STATE permission and READ_PHONE_STATE_PRIVILEGED and carrier privilege. Bug: 312793756 Test: m, atest EuiccServiceTest EuiccConnectorTest EuiccControllerTest EuiccManagerTest Change-Id: I622ffb45cc3e98ee362b1406db936c7734d99f64
2024-02-07Rename EmergencyRegResult to EmergencyRegistrationResultHunsuk Choi
Per API council's request Bug: 324064089 Test: build Change-Id: I55a3dca921c58c59d130c2f22c844bd38d0745ab
2024-02-07Merge "Remove domain selection results comparison feature." into mainAvinash Malipatil
2024-02-07Merge "Added API to verify that SubscriptionInfo is converted and to update ↵Hyunho Shin
carriers that support pSIM conversion." into main
2024-02-07Merge "Replace callId with Connection instance" into mainHunsuk Choi
2024-02-07Added API to verify that SubscriptionInfo is converted and to update ↵Hyunho
carriers that support pSIM conversion. Bug: b/315884067 Test: atest SubscriptionDatabaseManagerTest, SubscriptionInfoInternalTest, SubscriptionInfoTest Change-Id: Ia45a4fd99f95c00f95d2280e6b6025e1ebd8220a
2024-02-06Remove domain selection results comparison feature.Avinash Malipatil
Bug: 323988541 Test: Manual call testing Change-Id: Iafae77aa71de816ea1293c837310851600d4d57d
2024-02-06Merge "Protect against NPE in onCallQualitychange callback." into mainTreehugger Robot
2024-02-05Merge "Send identifier disclosure events to safety center" into mainAndrew Scull
2024-02-05Merge "Updated the CarrierRestrictionRules#isAllCarriersAllowed() to support ↵Arun Voddu
the new carrier lock changes" into main
2024-02-03Implement resetScan of onRequestEmergencyNetworkScanHunsuk Choi
Make DomainSelector be able to reset scan history before requesting next scan if needed. Bug: 258112541 Test: atest domainselection/DomainSelectionConnectionTest Change-Id: I0e834fc255dd56312c127148ae15365931f08b23
2024-02-03Merge "Update APIs for domain selection service plug-in" into mainHunsuk Choi