Commit Graph

10794 Commits

Author SHA1 Message Date
James Lin
9c00cc6ed8 Merge "[RCS UCE] Add the extra parameter retryAfterMillis in the callback method CapabilitiesCallback#onError" am: 768384c661 am: db8a9b5d7d am: f2b46a67d8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511308

Change-Id: I680c0e2bc46df68b73c7571a80ab3d8154f548b5
2020-11-26 03:33:44 +00:00
James Lin
f2b46a67d8 Merge "[RCS UCE] Add the extra parameter retryAfterMillis in the callback method CapabilitiesCallback#onError" am: 768384c661 am: db8a9b5d7d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1511308

Change-Id: I8b1e59db3410b11b50b7abb3253179bfefced47c
2020-11-26 03:11:12 +00:00
James.cf Lin
740c3bf107 [RCS UCE] Add the extra parameter retryAfterMillis in the callback method CapabilitiesCallback#onError
Add the parameter in the callback method CapabilitiesCallback#onError
When requester receive the callback CapabilitiesCallback#onError with the non-zero of the parameter retryAfterMillis, it should stop retrying until the the specified number of millisecond has passed.

Bug: 171965576
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: If59d143e56c304556aa3d8bcd5b37ffb771815b5
2020-11-25 21:56:39 +08:00
Hall Liu
d2ff486718 Merge "Expose the carrier signaling broadcasts" 2020-11-24 23:24:10 +00:00
Sarah Chin
3eb09ed2b3 Merge "Expose PinResult and ICC PIN/PUK APIs as SystemApi" am: 2391403601 am: 78fa0b0e6a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1506404

Change-Id: Ib2f5b536b9a78a70aa6eb3dbb48dbdd7e94a14c2
2020-11-23 18:50:26 +00:00
Sarah Chin
2391403601 Merge "Expose PinResult and ICC PIN/PUK APIs as SystemApi" 2020-11-23 17:50:19 +00:00
Jack Nudelman
30f372a774 Add ThermalMitigation API to Telephony.
go/telephony-thermal-mitigation

Test: make, cts
Bug: 158872959

Change-Id: Ib4be5edf063e4c54e9238b0403f59e1621df671e
2020-11-20 20:58:45 -08:00
Brad Ebinger
80131d6c03 Merge "Add subid to SipTransportImplBase#createSipDelegate" am: 48695cb073 am: 6975aa858d am: d5fce50fcc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1499056

Change-Id: I2ae0edbad6ea1ccb120d69f0e131f6df23740e26
2020-11-21 03:48:39 +00:00
Brad Ebinger
d5fce50fcc Merge "Add subid to SipTransportImplBase#createSipDelegate" am: 48695cb073 am: 6975aa858d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1499056

Change-Id: I5f29125348a206edd917cc28d187611703ddc548
2020-11-21 03:12:44 +00:00
Brad Ebinger
48695cb073 Merge "Add subid to SipTransportImplBase#createSipDelegate" 2020-11-21 01:38:42 +00:00
Daniel Bright
0f9531a53b Merge "Add support for pdu session id" am: 3798c10c1d am: 9b90235154
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1507547

Change-Id: I5f0bd8c18d3e55ceac10bcb14f72dc914f7e2da3
2020-11-21 00:03:27 +00:00
Sarah Chin
cafa63af2b Expose PinResult and ICC PIN/PUK APIs as SystemApi
Test: atest TelephonyManagerTest
Fix: 171884262
Change-Id: I9cdc11c49e4ca602cfa1464e5f424c4a96798cfe
Merged-In: I9cdc11c49e4ca602cfa1464e5f424c4a96798cfe
2020-11-20 15:18:03 -08:00
Brad Ebinger
d5c9dc309c Add subid to SipTransportImplBase#createSipDelegate
1) Add subId to the createSipDelegate method to make subId transitions
easier.
2) Add sub id torn down destroy reason
3) Small improvements found during implementation

Bug: b/154763999
Test: atest TeleServiceTests
Change-Id: I2d140ddfde65955a0833f610eeeeaf9d02b0f170
2020-11-20 15:12:05 -08:00
Daniel Bright
6ceef2d6a5 Add Radio Interface Capabilities
* 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
Change-Id: I56713e05cbd5200baa2a3bc79f7f4b0d580ad2a1
2020-11-20 12:52:59 -08:00
Daniel Bright
926aff5e7b Add support for pdu session id
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-20 12:23:43 -08:00
Daniel Bright
b6ca2e00f2 Merge "Added global retry support" am: 5b38038d57 am: 237bb0bdaf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1504714

Change-Id: I6c6492529d7de439dd6c9f2aadf9bfa4b2349c78
2020-11-20 19:47:39 +00:00
Daniel Bright
5b38038d57 Merge "Added global retry support" 2020-11-20 18:48:36 +00:00
Sarah Chin
cdd8d10a04 Merge "Expose get/setCdmaRoamingMode and get/setCdmaSubscriptionMode as system API" am: 0099578124 am: e8966fb50a am: b99c3e87a6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1506400

Change-Id: Ifd8d48a727d6ef1a1513e31aa8d2f2e35a06cb12
2020-11-20 04:43:01 +00:00
TreeHugger Robot
a9eb7e88d5 Merge "Revert "[Telephony] PhoneStateListener redesign for new event"" 2020-11-20 02:34:12 +00:00
Hall Liu
1f1dbee262 Revert "[Telephony] PhoneStateListener redesign for new event"
Revert "[Telephony] PhoneStateListener redesign - cts test"

Revert "[Telephony] PhoneStateListener redesign"

Revert submission 12947610-PhoneStateListener_Redesign

Reason for revert: Multiple test failures: b/173726360, b/173724464, b/173722831
Reverted Changes:
Id69d2b2e7:[Telephony] PhoneStateListener redesign - remove L...
I210f371ed:[Telephony] PhoneStateListener redesign - cts test...
I97e93707f:[Telephony] PhoneStateListener redesign - cts test...
Ibdbaa7d65:[Telephony] PhoneStateListener redesign - cts test...
I5ed16d700:[Telephony] PhoneStateListener redesign - cts test...
I40cc4c234:[Telephony] PhoneStateListener redesign for new ev...
Idd69f5e48:[Telephony] PhoneStateListener redesign
I827471472:[Telephony] PhoneStateListener redesign - cts test...
Bug: 173726360
Bug: 173724464
Bug: 173722831
Change-Id: Iba85a04db03c9fb9c4d4102618e65fcff537d815
2020-11-20 02:32:42 +00:00
TreeHugger Robot
63c92061a1 Merge "Create getSystemSelectionChannel API" 2020-11-20 02:16:17 +00:00
Sarah Chin
6fdc279b55 Merge "Add TestApi for getSupportedRadioAccessFamily" am: 0b2d583b45 am: 1a7ff7db8c am: b71d2d2c85
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505074

Change-Id: I569073c5fa8d75a14c00ef16f875cd19fa306509
2020-11-20 01:22:24 +00:00
Sarah Chin
8024ac22fe Merge changes from topic "signalstrength_ctr" am: 4d8ff9fca7 am: 32c817a654 am: 8e619d81c1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505251

Change-Id: Ifbb336cec55d5f8122365ae5e3ab407a236f10e6
2020-11-20 00:50:08 +00:00
Sarah Chin
b3fd799eb0 Expose SignalStrength copy constructor am: 34cb6f99e7 am: b0ed9bd725 am: 80fbbe764a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480896

Change-Id: I5fdd5681002c33b581473b9674ae65116e958c1a
2020-11-20 00:49:52 +00:00
Sarah Chin
26144d4c21 Create getSystemSelectionChannel API
Test: atest TelephonyManagerTest
Bug: 152813408
Change-Id: I2d80284b92414f403af977cbe193766eac08a6e0
2020-11-19 16:10:13 -08:00
Sarah Chin
b0ed9bd725 Expose SignalStrength copy constructor am: 34cb6f99e7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1480896

Change-Id: I631ab54d9959abd8af52d76f9796c25f14a901d9
2020-11-19 23:47:02 +00:00
Sarah Chin
a9224e55b8 Merge changes from topics "cdma_eri_api", "cdma_eri_displaynumber" am: b6d1f47cf9 am: 4319ed36db am: 22575e2c57
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1504955

Change-Id: Ie026572b55906384cb6f71c5947180c788eb5f64
2020-11-19 23:46:55 +00:00
Sarah Chin
67b50363b4 Expose CDMA ERI API am: 1b48e894c5 am: bc0ff8946f am: d33a6e1615
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1504953

Change-Id: I866acc633c1f3479038dc93826749e71b0a78b32
2020-11-19 23:46:44 +00:00
Sarah Chin
bc0ff8946f Expose CDMA ERI API am: 1b48e894c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1504953

Change-Id: If4c950e154cb0ffdb9ec5d309954c1e6d6e32429
2020-11-19 22:48:29 +00:00
Sarah Chin
c315bf8c7d Expose get/setCdmaRoamingMode and get/setCdmaSubscriptionMode as system API
Test: atest TelephonyManagerTest
Fix: 171884158
Fix: 171883908
Change-Id: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6
Merged-In: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6
2020-11-19 14:37:35 -08:00
Sarah Chin
0b2d583b45 Merge "Add TestApi for getSupportedRadioAccessFamily" 2020-11-19 22:01:46 +00:00
Sarah Chin
4d8ff9fca7 Merge changes from topic "signalstrength_ctr"
* changes:
  Make SignalStrength constructor public
  Expose SignalStrength copy constructor
2020-11-19 22:01:14 +00:00
Sarah Chin
b6d1f47cf9 Merge changes from topics "cdma_eri_api", "cdma_eri_displaynumber"
* changes:
  Replace IconIndex as DisplayNumber
  Expose CDMA ERI API
2020-11-19 22:00:31 +00:00
Jack Yu
b9b195be23 Added global retry support
The retry timer suggested by the network will persist
accross network requests. Also changed the retry timer
to a 64-bit value to be consistent with types used in
Android time APIs.

Test: FrameworksTelephonytests
Fix: 159672248
Merged-In: I632d4dc07fb545fa04eb3aefb0ff3270ee8f6ff8
Change-Id: I632d4dc07fb545fa04eb3aefb0ff3270ee8f6ff8
2020-11-19 12:09:30 -08:00
Hsiaoan Hsu
905b674e40 Add a null check for mDefaultQos in DataCallResponse.writeToParcel()
java.lang.NullPointerException:
Attempt to invoke virtual method 'int android.telephony.data.Qos.getType()'
on a null object reference

Bug: 173667436
Test: Basic data and Iwlan/VoLTE handover test.
Change-Id: I6045ac9fa4e757eea74389002d0d443d20459d46
2020-11-19 19:43:52 +08:00
Sarah Chin
33bfdb0a39 Merge "Fix DAC constant in getAsuLevel" am: d9f3445ff1 am: ef20a08076 am: f58c540037
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505075

Change-Id: I7f46a1eb84ef81ce7e658f50e5e0c12f822a437c
2020-11-19 10:40:12 +00:00
Sarah Chin
c6481cce40 Replace IconIndex as DisplayNumber
Test: atest TelephonyManagerTest
Fix: 171770692
Change-Id: I256649ad0ddcada29e4a7012de3e5889348adb17
Merged-In: I256649ad0ddcada29e4a7012de3e5889348adb17
2020-11-19 02:02:04 -08:00
Sarah Chin
9890dd3d4c Merge "Add minimum bandwidth config for showing LTE+ data icon" 2020-11-19 10:01:21 +00:00
Sarah Chin
1b48e894c5 Expose CDMA ERI API
Also remove CdmaEriInformation class, since it's not necessary to expose
the entire class.

Test: atest TelephonyManagerTest
Bug: 170421676
Change-Id: I810a492330e82f47949826a4b127164a5b950702
Merged-In: I810a492330e82f47949826a4b127164a5b950702
2020-11-19 01:54:57 -08:00
Sarah Chin
5aa95e4732 Add TestApi for getSupportedRadioAccessFamily
Test: atest TelephonyManagerTest
Fix: 172060765
Change-Id: I7d1e2973bc42f04ab0d28752bce9ed8fa93fdba9
Merged-In: I7d1e2973bc42f04ab0d28752bce9ed8fa93fdba9
2020-11-19 01:49:23 -08:00
Sarah Chin
d4700adcdf Make SignalStrength constructor public
Test: atest SignalStrengthTest
Fix: 171315098
CTS-Coverage-Bug: 171078601
Change-Id: I5eb389d0540912718c60d98b99501826c9fbbcb7
Merged-In: I5eb389d0540912718c60d98b99501826c9fbbcb7
2020-11-19 01:44:29 -08:00
Sarah Chin
34cb6f99e7 Expose SignalStrength copy constructor
Test: atest SignalStrengthTest
Bug: 171078601
Change-Id: I863f46dde78cf5e7ed9ed2f6bea149ab20daadbd
Merged-In: I863f46dde78cf5e7ed9ed2f6bea149ab20daadbd
2020-11-19 01:41:14 -08:00
Sarah Chin
d9f3445ff1 Merge "Fix DAC constant in getAsuLevel" 2020-11-19 09:39:15 +00:00
Sarah Chin
a713f2a227 Add minimum bandwidth config for showing LTE+ data icon
Only show the LTE+ icon if the combined channel bandwidth is greater
than the valued defined. By default, the value is 20 MHz, and if there
is no limit then the value should be 0.

Test: atest NetworkTypeControllerTest
Bug: 160873305
Change-Id: I4068860c5798f921fc198c095ba9b8f84ae5663b
Merged-In: I4068860c5798f921fc198c095ba9b8f84ae5663b
2020-11-19 00:35:43 -08:00
Sarah Chin
25f2cad54b Fix DAC constant in getAsuLevel
Test: build
Fix: 147655093
Change-Id: I2230d235a46a3cb68ae5a605f4fd526accf9bd4a
Merged-In: I2230d235a46a3cb68ae5a605f4fd526accf9bd4a
2020-11-19 00:29:18 -08:00
Allen Su
ca1917f6fb Merge "Declare new SMS error code in SmsManager" am: ea337540f0 am: b670c62130 am: 9973c5bbf0 am: ce022bad36
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495901

Change-Id: Iffe8f936bf8217782b645e95c51200ec50d13391
2020-11-19 02:27:30 +00:00
Allen Su
ce022bad36 Merge "Declare new SMS error code in SmsManager" am: ea337540f0 am: b670c62130 am: 9973c5bbf0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495901

Change-Id: Id20f014a1516cff68cb743ac9fa45dc7de16ae56
2020-11-19 02:26:04 +00:00
Treehugger Robot
c520991743 Merge "Properly support handover retry" am: 514ab6f4c8 am: 357d7c3a04 am: aa4093a974
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1459486

Change-Id: Ic9980e52b08924e009e3e292f7e95117232b9cf6
2020-11-19 01:08:49 +00:00
Allen Su
ea337540f0 Merge "Declare new SMS error code in SmsManager" 2020-11-19 00:51:20 +00:00
Daniel Bright
30c08f0b98 Merge "Add apn throttle status notifications to QNS" 2020-11-19 00:28:35 +00:00