Skip to content
Snippets Groups Projects
  1. Feb 17, 2021
  2. Feb 16, 2021
    • Marcus Hagerott's avatar
      Add UCS-2 support for SimPhonebookContract · 407164df
      Marcus Hagerott authored
      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
      407164df
  3. Feb 15, 2021
    • Franck Perez's avatar
      Allow optional package names in carrier configs · 32bd3884
      Franck Perez authored
      Bug: 149749602
      Test: tested locally both the non-regression (no package names) and the new behaviour (package names) with carrier-provided test apps
      Change-Id: I0b807ea1f6ae1f1663dd4362900ab61012a0aa8d
      32bd3884
  4. Feb 11, 2021
    • Daniel Bright's avatar
      Changed ApnThrottleStatus to ThrottleStatus · a5a88fd3
      Daniel Bright authored
      * Changed verbiage to be more generic at request of the API council
      
      Bug: 175092152
      Test: make & flash
      Merged-In: I8bec64b0c38be94bcd3f3b99bcebfb378384c970
      Change-Id: I8bec64b0c38be94bcd3f3b99bcebfb378384c970
      a5a88fd3
    • Brad Ebinger's avatar
      Add the ability to send the feature tags associated with IMS registration · 8420894e
      Brad Ebinger authored
      - In order to better support UCE, allow the IMS registration update to
      the framework to include the feature tags associated with the registration
      so that this information can be used in SIP PUBLISH.
      
      - Encapsulate other IMS registration attributes into a singlular class.
      
      Bug: 177375635
      Test: atest CtsTelephonyTestCases:ImsServiceTest
      Merged-In: Id730e5e0c9322c2a845523f3b3901f3d899c3f1c
      Change-Id: Id730e5e0c9322c2a845523f3b3901f3d899c3f1c
      8420894e
  5. Feb 09, 2021
    • Daniel Bright's avatar
      Hide NO_THROTTLE_EXPIRY_TIME · 6bc0f7cd
      Daniel Bright authored
      There is no reason to expose NO_THROTTLE_EXPIRY_TIME since
      the fact that the apn was not throttle can be explicitly checked
      for by checking the throttle type.
      
      Test: N/A
      Bug: 175092152
      Merged-In: I8888fae0037fd04e1668ab51eff91dd2bcb5e057
      Change-Id: I8888fae0037fd04e1668ab51eff91dd2bcb5e057
      6bc0f7cd
    • James.cf Lin's avatar
      [RCS UCE] Expose the IMS RCS feature APIs · acf66491
      James.cf Lin authored
      The RCS feature is supported, expose the RCS APIs.
      
      Bug: 174187744
      Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
      Merged-In: Ibc51a34cb3c3946ab8e8bd92591c734a45a4eb71
      Change-Id: Ibc51a34cb3c3946ab8e8bd92591c734a45a4eb71
      acf66491
  6. Feb 05, 2021
    • Brad Ebinger's avatar
      Discard dead MmTelFeature Binder Instances · cd910c21
      Brad Ebinger authored
      When the phone process crashes and the IMS service is in
      a separate process, there is a condition where the ImsService may
      still stay unbound, but alive and not torn down. In this case,
      when the phone process comes back up and tries to register new
      binder callbacks, detect that the old binder callbacks are dead
      and discard instead of throwing an exception.
      
      Bug: 179217608
      Test: kill phone process
      Change-Id: I4fc3b6d15fe19ebaf1fc52dab92a615a761222f8
      cd910c21
  7. Feb 04, 2021
    • Sarah Chin's avatar
      Update setSubscriptionOverride API to allow network types · 9762f014
      Sarah Chin authored
      Allow 5G unmetered override via a different API than
      setSubscriptionPlans. OVERRIDE_UNMETERED can be set without defining
      SubscriptionPlans, but OVERRIDE_CONGESTED behavior remains the same.
      Both the unmetered and congested case of setSubscriptionOverride take in
      networkTypes as an additional parameter
      
      Test: atest FrameworksTelephonyTests
      Test: atest SubscriptionManagerTest
      Bug: 175723642
      Change-Id: Ie196db5e236e478f1c29c3dfd1ca31acc205c54b
      Merged-In: Ie196db5e236e478f1c29c3dfd1ca31acc205c54b
      9762f014
    • Rambo Wang's avatar
      Rename SignalThresholdInfo.Builder#setThresholdUnlimited · 27be9449
      Rambo Wang authored
      Use method overload instead of two distinguish names since they
      are both used to set thresholds but for different callers.
      
      Bug: 177956167
      Test: atest com.android.internal.telephony.SignalThresholdInfoTest
      Change-Id: I56cba06f8d70d87aa188c54d58fefa6d785f5054
      27be9449
    • James.cf Lin's avatar
      [RCS UCE] Add a network response with Reason header info callback for the... · 44016085
      James.cf Lin authored
      [RCS UCE] Add a network response with Reason header info callback for the publish request and subscribe request.
      
      Bug: 177495626
      Test: atest ImsServiceTest RcsUceAdapterTest
      Change-Id: I830894bb022947f864a716959489c941f79ce070
      44016085
  8. Feb 02, 2021
    • Jack Yu's avatar
      Temporary fix to prevent TEMPORARILY_NOT_METERED leak · ad5413f7
      Jack Yu authored
      Currently we are seeing TEMPORARILY_NOT_METERED occurs on non-5G
      devices. This fix adds more checks to prevent incorrect
      TEMPORARILY_NOT_METERED being set. Before we root cause the issue,
      we only allow this bit when all of the following conditions met.
      
      1. Devices should support 5G.
      2. Carriers should support 5G unmetered data.
      3. Device should camp on 5G network.
      
      This temporary fix should be removed after we root cause the issue.
      
      Bug: 176119724
      Test: Manual
      Change-Id: I2b987d24851cdb16d8457b0ec5c546ace5485ed0
      Merged-In: I2b987d24851cdb16d8457b0ec5c546ace5485ed0
      ad5413f7
    • calvinpan's avatar
      Add a carrier config for non-RCS capabilities expiration · 39884877
      calvinpan authored
      Bug: 174196620
      Test: atest
      Change-Id: I280d8e1687feb2d96a20e2d18a7abc62c4a89e25
      39884877
    • Sarah Chin's avatar
      Update setSubscriptionOverride API to allow network types · 58fe3818
      Sarah Chin authored
      Allow 5G unmetered override via a different API than
      setSubscriptionPlans. OVERRIDE_UNMETERED can be set without defining
      SubscriptionPlans, but OVERRIDE_CONGESTED behavior remains the same.
      Both the unmetered and congested case of setSubscriptionOverride take in
      networkTypes as an additional parameter
      
      Test: atest FrameworksTelephonyTests
      Test: atest SubscriptionManagerTest
      Bug: 175723642
      Change-Id: Ie196db5e236e478f1c29c3dfd1ca31acc205c54b
      Merged-In: Ie196db5e236e478f1c29c3dfd1ca31acc205c54b
      58fe3818
    • Steven Moreland's avatar
      NetworkRegistrationInfo: add Parcel recycle · 87326e0f
      Steven Moreland authored
      ~580 hits on cuttlefish boot
      
      Bug: 139327211
      Test: boot w/ Parcel.java DEBUG_RECYCLE
      Change-Id: I20b7c8865c3ab1f562dfa9f19039f08cef8f0f7d
      87326e0f
    • Brad Ebinger's avatar
      Add SIP configration Bundle keys for UA and CNI · c28d5844
      Brad Ebinger authored
      Adds IMS SIP configuration bundle keys for User-Agent and
      Cellular-Network-Info headers required by some networks.
      
      Bug: 178606181
      Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
      Change-Id: I389162ca0c6348580f6ee8bb6ce5ee3a4e84595e
      c28d5844
  9. Feb 01, 2021
  10. Jan 29, 2021
  11. Jan 28, 2021
    • Jiashen Wang's avatar
      Do now throw exception when activation code is empty · 68418a01
      Jiashen Wang authored
      Bug: 169276772
      Test: 13352325
      Change-Id: Ia8fd0ab98c33d1e30b4fce1bad53b1c628364725
      Merged-In: Ia8fd0ab98c33d1e30b4fce1bad53b1c628364725
      68418a01
    • Jiashen Wang's avatar
      Init DownloadableSubscription with Confirmation Code · 738abf60
      Jiashen Wang authored
      Currently carrier apps are not able to pass the confirmation code along
      with the downloadable subscription because carrier apps do not have the
      permission to set the CC. So carrier apps have to rely on LUI's scree
      for entering the confirmation code. In order to make the process more
      flexable for carriers, we decided to add a method to initialize a
      Downloadable Subscription with the confirmation code.
      
      Test: ag/13028582
      Bug: 169276772
      Change-Id: Icfa8b0f5b1699d24d8e39c3297ed25c7d1607739
      Merged-In: Icfa8b0f5b1699d24d8e39c3297ed25c7d1607739
      738abf60
  12. Jan 27, 2021
    • James.cf Lin's avatar
      Expose the RCS UCE APIs for capabilities request with presence mechanism. · daaf205e
      James.cf Lin authored
      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
      daaf205e
    • Brad Ebinger's avatar
      Throw IllegalStateException to fail fast in IMS · a9444a8e
      Brad Ebinger authored
      Fail fast by throwing an IllegalStateException in IMS
      rather than creating potential subtle bugs where listeners
      overwrite each other.
      
      Bug: 175810194
      Test: atest FrameworksTelephonyTests ImsCommonTests
      Change-Id: Ib1fc7d6120244df3649fa2afe5b3f738deea597c
      a9444a8e
  13. Jan 26, 2021
    • Daniel Bright's avatar
      Add S-NSSAI · dd7a9031
      Daniel Bright authored
      * Added support for S-NSSAI
      * Created SliceInfo that represents a S-NSSAI as defined in
        3GPP TS 24.501.
      * Added slice info to setupDataCall and DataCallResponse within
        DataService related classes
      
      Bug: 169960538
      Test: made ims phone call
      Change-Id: I8f136937f127ff14fedd790526544d5775010da8
      Merged-In: I8f136937f127ff14fedd790526544d5775010da8
      dd7a9031
    • Hall Liu's avatar
      Allow carriers to configure RTT while roaming · 03fb6e49
      Hall Liu authored
      Add a carrier config key that makes RTT supported even if roaming.
      
      Fixes: 168676696
      Test: manual
      Change-Id: Ied2418cdec57d2d405d4ed0f0227a251ecd626cf
      Merged-In: Ied2418cdec57d2d405d4ed0f0227a251ecd626cf
      03fb6e49
    • Hall Liu's avatar
      Correct name of roaming RTT config · 7a180709
      Hall Liu authored
      Add _bool to the end
      
      Bug: 168676696
      Test: manual
      Change-Id: Ifa14d742d40a585ecc1e041088f49aa5d13df07b
      7a180709
  14. Jan 23, 2021
  15. Jan 22, 2021
    • Jordan Liu's avatar
      Add carrier config for carrier key · 60173db1
      Jordan Liu authored
      Give carriers the option of including a backup IMSI encryption key as a
      carrier config.
      
      Bug: 175801497
      Test: manual and atest TelephonyManagerTest
      Change-Id: I89d88daf2022672bf27125baae0247b75638bb6e
      Merged-In: I89d88daf2022672bf27125baae0247b75638bb6e
      60173db1
    • Tyler Gunn's avatar
      Add support for sending d2d messages through adb shell command. · b6110a21
      Tyler Gunn authored
      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
      b6110a21
    • Daniel Bright's avatar
      Add Qos Callback support · 2cc8ead3
      Daniel Bright authored
      * Provide App Developers Qos related info associated to
        a bound socket through ConnectivityManager
      * Qos sessions are generated and filtered by Network Agents
        and sent back through the Connectivity Service to the
        API consumer.
      * The structure of the code within com.android.server
        is designed to support different types of filters in the
        the future.
      * The first type of Qos Attributes are related to EPS
        Bearers in order support RCS.
      
      Bug: 155176305
      Test: Added to cts/NetworkAgentTest
      Test: Added to ConnectivityServiceTest
      Change-Id: I145dd065d9deeee449eb9695ab3f6c8556ee7c09
      2cc8ead3
  16. Jan 21, 2021
    • Daniel Bright's avatar
      Add Radio Interface Capabilities · fa862bc4
      Daniel Bright authored
      * 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
      fa862bc4
    • Sarah Chin's avatar
      Update TelephonyDisplayInfo docs · 96bba0f5
      Sarah Chin authored
      Explain how to get TelephonyDisplayInfo through TelephonyManager and
      PhoneStateListener
      
      Test: build
      Fix: 158760752
      Change-Id: Ia59efcf68c77d79be1a223f9fd6cbf3ec333478a
      Merged-In: Ia59efcf68c77d79be1a223f9fd6cbf3ec333478a
      96bba0f5
    • Jack Yu's avatar
      Enabled TEMP_NOT_METERED support for carriers · 8cfbb12f
      Jack Yu authored
      Enabled TEMP_NOT_METERED support for carriers by default.
      
      Bug: 176119724
      Test: Manual
      Merged-In: Ie0323a354c89abf1a0effa0b65cde3b4d010115e
      Change-Id: Ie0323a354c89abf1a0effa0b65cde3b4d010115e
      8cfbb12f
    • Jack Yu's avatar
      Enabled TEMP_NOT_METERED support for carriers · ea53b4ef
      Jack Yu authored
      Enabled TEMP_NOT_METERED support for carriers by default.
      
      Bug: 176119724
      Test: Manual
      Change-Id: Ie0323a354c89abf1a0effa0b65cde3b4d010115e
      ea53b4ef
    • Rambo Wang's avatar
      Support new APIs in TelephonyManager to set/clear signal update request · e86cb24b
      Rambo Wang authored
      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
      e86cb24b
  17. Jan 20, 2021
    • Nathan Harold's avatar
      Revert "Revert "Fix permission on TM#isDataEnabled"" · cd08bb62
      Nathan Harold authored
      This reverts commit 8ce575b2.
      
      Bug: 176163590
      Bug: 148500541
      Test: manual smoke test on low-end device and aosp_crosshatch builds.
      Reason for revert: Reapplying with a fix for the exceptions.
      
      The exceptions were caused by an undocumented behavior difference in the APIs that just blindly catch runtime exceptions. The cause of the runtime exceptions is that people are calling isDataEnabled() before telephony is running; however, until a "better" fix is available, this API will apply the existing behavior of just catching the runtime exceptions (which is terrible, but it's the plan of record in the code today).
      
      Change-Id: I9fbe7126ee7039dfb0b383f83017458a3525db66
      cd08bb62
    • Daniel Bright's avatar
      Make TelephonyManager#setImsRegistrationState multi-sim aware · fd5dead7
      Daniel Bright authored
      Test: Ims call and unit tests
      Bug: 167294783
      Change-Id: Idb8f5ce7fe7592e94cb6202e7df133a354746388
      fd5dead7
  18. Jan 19, 2021
Loading