summaryrefslogtreecommitdiff
path: root/telephony/java/com/android/internal
AgeCommit message (Collapse)Author
2021-03-22Require calling package to be allowlisted for thermal mitigation.Jack Nudelman
Test: make, manual verification Bug: 180015298 Change-Id: I1884facf5d37e4caa82697dab7e2a30d735f214e
2021-03-18Merge "Add the LCE system API"Kai Shi
2021-03-17Add the LCE system APIKai Shi
Add the link capacity estimate system API. Remove the system API of getCarrierBandwidth() and CarrierBandwidth as they are replaced by the new LCE system API in PhoneStateListener. Bug: 180434672 Bug: 176814680 Test: manual test of the new LCE system API in LinkBandwidthEstimator Test: atest -c PhoneStateListenerTest Merged-In: I5899acf02006a164e31f9b82aeaa7974dd6d2869 Change-Id: I5899acf02006a164e31f9b82aeaa7974dd6d2869
2021-03-17Create new UCE shell commands for modifying PUBLISH for testingBrad Ebinger
Bug: 180033898 Test: Test commands using "adb shell cmd phone uce" Merged-In: I6cda05b0540144e6d9199055fdca187f831c1479 Change-Id: I6cda05b0540144e6d9199055fdca187f831c1479
2021-03-09Merge "Rename AllowedNetworkType to AllowedNetworkTypes"SongFerng Wang
2021-03-08Merge "Update Provisioning API name and doc per API review"Hui Wang
2021-03-05Rename AllowedNetworkType to AllowedNetworkTypesSongFerngWang
Reference the ag/q/topic:%22b_171791177%22+(status:open%20OR%20status:merged) and ag/q/topic:"getAllowedNetworkTypeBitmap"+(status:open%20OR%20status:merged) Bug: 161434786 Test: build pass Change-Id: I48d36d73d016f7aa7fabec25a725abe03b1dee8d Merged-In: I48d36d73d016f7aa7fabec25a725abe03b1dee8d
2021-03-05Merge "[Telephony] Remove the dead code setRadioCapability in ITelephony"Zoey Chen
2021-03-05Update Provisioning API name and doc per API reviewHui Wang
Bug: 178456092 Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest Change-Id: I2a5c6c9a760479361ce66401f87316dd3c9d909d
2021-03-05Merge "Improve AllowedNetworkTypesForReason and refactor PreferredNetworkType"SongFerng Wang
2021-03-04[Telephony] Remove the dead code setRadioCapability in ITelephonyZoey Chen
Bug: 181156124 Test: make Change-Id: I5b8ebcdcc60815de93420c742740032a0d21f028
2021-03-04Improve AllowedNetworkTypesForReason and refactor PreferredNetworkTypeSongFerngWang
- Add more reasons of allowed network type - ALLOWED_NETWORK_TYPES_REASON_USER - ALLOWED_NETWORK_TYPES_REASON_CARRIER - Add @systemApi for below - ALLOWED_NETWORK_TYPES_REASON_USER - ALLOWED_NETWORK_TYPES_REASON_POWER - ALLOWED_NETWORK_TYPES_REASON_CARRIER - setAllowedNetworkTypesForReason API - getAllowedNetworkTypesForReason API - getAllowedNetworkTypesBitmask API - Add Public for below - CARRIER_NR_AVAILABILITY_NONE - CARRIER_NR_AVAILABILITY_NSA - CARRIER_NR_AVAILABILITY_SA - KEY_CARRIER_NR_AVAILABILITY_INT - @Deprecated API - setPreferredNetworkTypeBitmask - getPreferredNetworkTypeBitmask - setAllowedNetworkType - getAllowedNetworkType - Add a new way to notify allowedNetworkType at PhoneStateListener - Replace KEY_NR_ENABLED_BOOL with KEY_CARRIER_NR_AVAILABILITY_INT Bug: 161434786 Test: atest TelephonyManagerTest#testSetAllowedNetworkTypesForReason (PASS) atest TelephonyManagerTest#\ testSetAllowedNetworkTypesForReason_moreReason (PASS) atest PhoneStateListenerTest#\ testOnAllowedNetworkTypesChangedByRegisterPhoneStateListener (PASS) Change-Id: I3d0c119a0c2a30c56b0c127ba6525f8992b4e9dd Merged-In: I3d0c119a0c2a30c56b0c127ba6525f8992b4e9dd
2021-03-03APIs for 5G slicingSarah Chin
Create TrafficDescriptor class Create new APN ENTERPRISE Update setupDataCall and DataCallResponse to take TrafficDescriptor and matchAllRuleAllowed Move ApnTypes from Annotation to ApnSetting Bug: 179312227 Test: atest FrameworksTelephonyTests Change-Id: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3 Merged-In: I7433976bfe25bcb2af85ffb9338959cbcc9f42f3
2021-03-02Expose the carrier signaling broadcastsHall Liu
Expose broadcasts for communicating certain changes in state between Telephony and carrier apps. Implement a backward-compatibility layer to support carrier apps targeting <=R that are listening to the old hidden broadcasts. Fixes: 173050428 Test: atest CarrierSignalTest CarrierSignalAgentTest Change-Id: I15d032ee1e31d9be847c2f084161f8555c8172c1 Merged-In: I15d032ee1e31d9be847c2f084161f8555c8172c1
2021-03-01Support telephoy command to set test mode for RCS single registrationHui Wang
Bug: 181054754 Test: Manual Merged-In: Id34c212e536b47c61bc1939ef056905fc26b4df2 Change-Id: Id34c212e536b47c61bc1939ef056905fc26b4df2
2021-02-22Add new API for unattended reboot.Michele Berionne
CTS-Coverage-Bug: 179310594 Bug: 160784387 Test: manual Change-Id: I59b7ff7afec9846a114ee8d20f14d22cf69f0680 Merged-In: I59b7ff7afec9846a114ee8d20f14d22cf69f0680 (cherry picked from commit 726fa0a5f400f95558dcb31effbb98fee67b54ed)
2021-02-16Add UCS-2 support for SimPhonebookContractMarcus Hagerott
This simplifies the API by eliminating the need to attempt to detect and report unsupported characters. Test: atest FrameworksTelephonyTests:com.android.internal.telephony.uicc.IccUtilsTest TeleServiceTests:SimPhonebookProviderTest Bug: 154363919 Change-Id: Ica8f3a642ee50ca81c43822ba39c0a071c279705
2021-02-02[RCS UCE] Add the APIs to access the device config of RCS User Capability ↵James.cf Lin
Exchange enabled Bug: 178239287 Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest Change-Id: I1bd2d0e0dc88dcd72e7c2682483c8039f4aa8927
2021-01-29Add TelephonyShellCommand to get EAB contactcalvinpan
Bug: 174166728 Test: atest Change-Id: I102f67d7747c1bdd905a23d5deca6fbbd91ad890
2021-01-28Expose the RCS UCE APIs for capabilities request with presence mechanism.James.cf Lin
The contact's capabilities request APIs are exposed to be the SystemAPI and add the CTS for these APIs. Build: 174656329 Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest Change-Id: Id8a3be587f200dfee8f7c6343ed771e7ac738568
2021-01-22Add support for sending d2d messages through adb shell command.Tyler Gunn
Adding in AIDL definition for sending test messages. Test: Verified operation of the adb shell command which lets test message be sent. Bug: 163085177 Change-Id: I7b1c5398e2117077482a02ea4fec6c5d773ca3f5
2021-01-21Add Radio Interface CapabilitiesDaniel Bright
* Introduces a set of capabilities specific for the radio interface that are determined by the vendor and are then surfaced through TelephonyManager. * There are no capabilities yet defined and will come later in S Test: Added cts, ran cts, and telephony tests Bug: 163085807 Merged-In: I56713e05cbd5200baa2a3bc79f7f4b0d580ad2a1 Change-Id: Icbbfa056dc5280acdf53c142742f4e4b8d60229e
2021-01-20Support new APIs in TelephonyManager to set/clear signal update requestRambo Wang
Introduce set/clearSignalStrengthUpdateRequest in TelephonyManager and ITelephony to support customized signal request from applications. Bug: 164432835 Test: atest android.telephony.cts.TelephonyManagerTest Change-Id: I749376872915a91b9514884547140eaf969dba0e
2021-01-13Merge "Derestrict some non-SDK APIs."Mathew Inwood
2021-01-07Merge "Add Setting API to set/get enriched calling with call composer user ↵Shuo Qian
option"
2021-01-07Derestrict some non-SDK APIs.Mathew Inwood
Per request from a partner, these APIs will not be restricted as they are in use. This is conceptually a partial revert of change 5d123b67756. NoNonSdkCheck: b/170729553 Bug: 171933273 Test: Treehugger Change-Id: Ibb525e9a9e2fc90248b74f45f3cdcb0be7487c3a
2021-01-05Add apn throttle status notifications to QNSDaniel Bright
* Added wiring for the apn unthrottled indication * Added method to QNS that is notified when there is a change to the way an APN is throttled. Test: Ran telephony tests Test: Booted up device Test: Checked for log message in NetworkAvailabilityProvider#onReportApnThrottleStatusChanged Bug: 167434852 Bug: 174850845 Merged-In: Ia4dd3036f583a97e42b6054019005df1b33dc33c Change-Id: Ia4dd3036f583a97e42b6054019005df1b33dc33c
2020-12-22Add Setting API to set/get enriched calling with call composer user optionShuo Qian
Test: cts Bug: 173437870 Change-Id: Iaf2cb72864dca992249395103aedee93ff8d3ac0 Merged-In: Iaf2cb72864dca992249395103aedee93ff8d3ac0 (cherry picked from commit ccc5af201a3ee7e58dcac4a8e995a25c8a412c9d)
2020-12-22Create getMobileProvisioningUrl in telephonyChiachang Wang
ConnectivityService is going to become mainline and can not access hidden APIs. Telephony and Settings were both accessing the hidden API ConnectivityManager#getMobileProvisioningUrl. Moving #getMobileProvisioningUrl method into telephony means that there is one less access to a hidden API within the overall framework since the connectivity stack never needed this value. Thus, add getMobileProvisioningUrl() to telephony surface to replace the one in connectivity stack. Bug: 175177794 Test: atest FrameworksTelephonyTests Change-Id: Icff8bf39b168b28f972b6737e4e7be8fc86b3dee
2020-12-17RCS Provisioning APIs for Single RegistrationHui Wang
Bug: 154864150 Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest Merged-In: Ie9445dd450d175e0dc94b63b487dda5cde729123 Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-15Add constants for AllowedNetworkTypeBitmapThiébaud Weksteen
Bug: 163168917 Test: atest TeleServiceTests Change-Id: Iae64e9118cb4f69f180517b7aadb9ace9b8ef98b
2020-12-10Merge "Support Gba Api"Hui Wang
2020-12-10Merge "Add API for setting SIM power "synchronously""Jordan Liu
2020-12-10Support Gba ApiHui Wang
Added api to support generic authentication architecture. Bug: 154865133 Test: atest cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ Test: manual by GbaTestApp Merged-In: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2 Change-Id: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
2020-12-09Add API for setting SIM power "synchronously"Jordan Liu
Bug: 171433370 Test: manual Change-Id: I958d6c3a46cc6e99e8addf2628361e37bc178464 Merged-In: I958d6c3a46cc6e99e8addf2628361e37bc178464
2020-12-03Add ThermalMitigation API to Telephony.Jack Nudelman
go/telephony-thermal-mitigation Test: make, cts Bug: 158872959 Change-Id: Ib4be5edf063e4c54e9238b0403f59e1621df671e Merged-In: Ib4be5edf063e4c54e9238b0403f59e1621df671e
2020-12-01Merge "Create getSystemSelectionChannel API"Sarah Chin
2020-12-01Merge "Add SIP Transport create/destroy API defs"Brad Ebinger
2020-11-30Create getSystemSelectionChannel APISarah Chin
Test: atest TelephonyManagerTest Bug: 152813408 Change-Id: I2d80284b92414f403af977cbe193766eac08a6e0 Merged-In: I2d80284b92414f403af977cbe193766eac08a6e0
2020-11-25Add SIP Transport create/destroy API defsBrad Ebinger
Move SIP transport APIs to @SystemApi Bug: 154763999 Test: atest CtsTelephonyTestCases:SipDelegateManagerTest Change-Id: I181e84866fcdb683eb5933e54460bbe18e96851d
2020-11-20Add support for pdu session idDaniel Bright
Added startHandover and cancelHandover to DataService and DataServiceManager so that it can be called by data connection Test: Tested that handover still worked with logs. IWlan -> Cell + Cell -> IWlan Bug: 155176305 Merged-In: Ia59d7e9bf9a450da4b51a2884166d3b0fa93a7c9 Change-Id: Ia59d7e9bf9a450da4b51a2884166d3b0fa93a7c9
2020-11-19Expose get/setCdmaRoamingMode and get/setCdmaSubscriptionMode as system APISarah Chin
Test: atest TelephonyManagerTest Fix: 171884158 Fix: 171883908 Change-Id: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6 Merged-In: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6
2020-11-11Provide API to retrive dual connected bandwidthSooraj Sasindran
Provide API to retrive bandwidth per primary carrier and secondary carrier Bug: 162373679 Test: New CTS test, unit test, build Merged-In: I3e8152d22fb9602c7d2ffdee681ac5d69c5dd3fd Change-Id: I3e8152d22fb9602c7d2ffdee681ac5d69c5dd3fd
2020-11-09Merge "Add maxTargetSdk restriction to unused APIs."Mathew Inwood
2020-11-06Merge "Allows APN to be unthrottled through an indication"Daniel Bright
2020-11-04Ability to configure NR dual connectivitySooraj Sasindran
Provide ability to configure EUTRANR dual connectivity Bug: 162373679 Test: build Change-Id: I48f5ef0a5f84157de9feffa8c5aa85d226163068
2020-11-04Add maxTargetSdk restriction to unused APIs.Mathew Inwood
These are APIs that have @UnsupportedAppUsage but for which we don't have any evidence of them currently being used, so should be safe to remove from the unsupported list. Bug: 170729553 Test: Treehugger Merged-In: I626caf7c1fe46c5ab1f39c2895b42a34319f771a Change-Id: I54e5ecd11e76ca1de3c5893e3a98b0108e735413
2020-11-03sync RadioError from IRadio 1.6Tim Lin
Bug: 170938075 Test: make Change-Id: I7378bea47449b0b0111ce8a9f6fad852c81f9f5e
2020-11-02Merge "Add HAL for pdu session id support"Daniel Bright
2020-10-31Rename setDataEnabledWithReasonSooraj Sasindran
1. Rename setDataEnabledWithReason to setDataEnabledForReasn 2. Allow isDataConnectionAllowed to be accessed by same apps as isDataEnabledForReason 3. Make these apis public Bug: 156332911 Test: cts and build Change-Id: I8672ab8861fdec1854427ee9ce5ad8eec8774608 Merged-In: I8672ab8861fdec1854427ee9ce5ad8eec8774608