Commit graph

1184 commits

Author SHA1 Message Date
Shuo Qian
3bf3e3323f Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock
Test: vts
Bug: 171235919

Change-Id: I6d495199af4d2abbf22cf6dded4ee4ecf1407f3a
2021-02-02 22:30:52 +00:00
Linus Nilsson
1871544ce9 Merge "Revert "Add emergencyDial_1_6 in the HAL to modify the multisim ..."" am: 88139a65c2 am: 57f4cd9608 am: 58dd560ef0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1566916

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If57b78c55336c53629d34fc9cf363e93eebae29b
2021-02-02 01:29:17 +00:00
Linus Nilsson
88139a65c2 Merge "Revert "Add emergencyDial_1_6 in the HAL to modify the multisim ..."" 2021-02-01 23:57:20 +00:00
Shuo Qian
45582eba48 Revert "Add emergencyDial_1_6 in the HAL to modify the multisim ..."
Revert "Add cuttilefish implementation for emergencyDial_1_6"

Revert submission 1548864-cp-edial-1-6

Reason for revert: some build use some vendor ril_service.cpp
Reverted Changes:
I515ea7381:Add cuttilefish implementation for emergencyDial_1...
I94319ab34:Add emergencyDial_1_6 in the HAL to modify the mul...

Change-Id: I83aedc19bb8eade10c330c2bca625495b9e359e9
2021-02-01 23:21:09 +00:00
Daniel Bright
00337a76b7 Merge "Partial hal support for secondary link bandwidth" 2021-02-01 22:48:44 +00:00
Shuo Qian
5f314bdf90 Merge "Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock" am: 2f292b8453 am: 74ca420495 am: 0e77d82989
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1544645

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I073ff5c7b95ca2740278df0707d178f54f52fe25
2021-02-01 21:35:29 +00:00
Hongbo Zeng
5bd43606ee Update HAL 1.6 for 5G Slicing
- add trafficDescriptor and matchAllRuleAllowed to setupDataCall
- add trafficDescriptors to SetupDataCallResult
- create structs TrafficDescriptor and OSAppId base on the
  definition in TS 24.526 Section 5.2
- add MATCH_ALL_RULE_NOT_ALLOWED and ALL_MATCHING_RULES_FAILED
  as DataCallFailCause

Bug: 178075054
Test: make VtsHalRadioV1_6TargetTest
Change-Id: Ibf6d92d50c8c2c3fce51522677d75bf33127320f
2021-02-01 13:01:02 +08:00
Daniel Bright
c1f7f98109 Partial hal support for secondary link bandwidth
* Added modemReducedFeatureSet1 flag to HalDeviceCapabilities
* Applied flag to secondary link bandwidth getters in carrier bandwidth

Test: cts
Bug: 173806995
Merged-In: Icfca599607e02a6c3e258c11dc9eb7701b7afd3f
Change-Id: Icfca599607e02a6c3e258c11dc9eb7701b7afd3f
2021-01-29 11:28:34 -08:00
Shuo Qian
dd17b2ed53 Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock
Test: vts
Bug: 171235919
Change-Id: I94319ab345dabae040792b14b2f8bd8bc64839c0
2021-01-29 18:08:36 +00:00
Daniel Bright
31f2eb3791 Merge "Add S-NSSAI" 2021-01-27 18:48:54 +00:00
Daniel Bright
8e3a2bfdcd Add S-NSSAI
* Added support for S-NSSAI within HAL
* Created struct SliceInfo that represents a S-NSSAI as defined
  in 3GPP TS 24.501.
* Added slice info to setupDataCall and SetupDataCallResult

Bug: 169960538
Test: made ims phone call
Change-Id: I8d2c55bece07c599cb7d1ac0d16ad85c0acdeae5
Merged-In: I8d2c55bece07c599cb7d1ac0d16ad85c0acdeae5
2021-01-26 14:29:28 -08:00
SongFerng Wang
b976984e5b Merge "Rename AllowedNetworkType to AllowedNetworkTypes" 2021-01-26 07:22:07 +00:00
SongFerngWang
3512b3cdb5 Rename AllowedNetworkType to AllowedNetworkTypes
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: Iee919a40153f680d6a8b81dc88d8fa2bd1e8d343
2021-01-26 09:17:23 +08:00
TreeHugger Robot
882356d2e6 Merge "Added javadoc to apn retry \ throttling related methods" 2021-01-25 16:41:16 +00:00
Daniel Bright
44653cea41 Introduce Radio Hal Device Capabilities
* Asks the device what set of capabilities are supported on the device
  with respect to the Radio Hal
* The capabilities struct is left empty and will be filled
  in once the first set of radio hal capabilities are nailed down later
  in Android S

Test: Added cts, ran cts, and std tests
Bug: 163085807
Merged-In: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
Change-Id: I837d82592e8ddfef5b1ff5eb0dd983a0d13383ed
2021-01-21 14:28:51 -08:00
Shuo Qian
7989ddac9b Merge "Add REQUEST_NOT_SUPPORTED in case 5G RAN is not supported in the device" am: 89d91f8064 am: c546e36565 am: 6e62d18290
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1552699

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa2b66bad3ffcb2fef3166e92c888e4fc76c9434
2021-01-19 22:04:46 +00:00
Shuo Qian
89d91f8064 Merge "Add REQUEST_NOT_SUPPORTED in case 5G RAN is not supported in the device" 2021-01-19 19:29:37 +00:00
sqian
763b144799 Add REQUEST_NOT_SUPPORTED in case 5G RAN is not supported in the device
Test: vts
Bug: 177215423
Change-Id: I35f09c0b8e22eb9464c0ca1c11225f62d1916286
2021-01-15 22:07:19 +00:00
Zoey Chen
5fe81e51f6 Merge "[Telephony] Implement PhysicalChannelConfig in HAL 1.6" 2021-01-15 18:29:58 +00:00
Zoey Chen
e47a5164d8 [Telephony] Implement PhysicalChannelConfig in HAL 1.6
Bug: 169206279
Test: make and VtsHalRadioV1_6Target
Change-Id: I4352ea928a76197aae01b887960eaed05698e3eb
Merged-In: I4352ea928a76197aae01b887960eaed05698e3eb
2021-01-15 16:08:38 +08:00
Zoey Chen
1276bc9bee [Telephony] Implement PhysicalChannelConfig in HAL 1.6
Bug: 169206279
Test: make and VtsHalRadioV1_6Target
Change-Id: I4352ea928a76197aae01b887960eaed05698e3eb
2021-01-15 06:48:22 +00:00
Treehugger Robot
8a7bc5896f Merge "Update docs that pdu session id default is 0" am: b3b0b11de3 am: 9601a7ff2f am: 32518131cc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1550320

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id32fad1b3b1ad74a169c11613395b3cf955f3144
2021-01-14 01:44:18 +00:00
Treehugger Robot
b3b0b11de3 Merge "Update docs that pdu session id default is 0" 2021-01-13 23:28:38 +00:00
Daniel Bright
a786319a56 Update docs that pdu session id default is 0
Bug: 177387230
Test: N/A
Change-Id: I07eab03934cc0890236a12cfeec5802a75da4abd
2021-01-13 13:18:52 -08:00
Daniel Bright
1d8f60cbb4 Merge "Partial hal support for secondary link bandwidth" 2021-01-12 23:40:41 +00:00
Shuo Qian
d31e74487a Gate gsm/cdma radio feature only for emergency dial am: 80b03d7bf2 am: 2655aecb1a am: a960203546
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1546408

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea24afacc19cf1c5b9eb2ee2a27fc608613a200d
2021-01-12 03:52:33 +00:00
Shuo Qian
80b03d7bf2 Gate gsm/cdma radio feature only for emergency dial
Test: vts
Bug: 176862267
Change-Id: I73a6920a94f2f703dc6ae19ad9a511673c9d035d
2021-01-11 22:39:09 +00:00
Treehugger Robot
1eb07a6a1c Merge "Fixed incorrect retry timer value type" am: a3cc90b1c3 am: 0d3433a346 am: b29a5a3b7f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1543612

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0d546cf99dd321ba68ef6c7d73d0675f43422de8
2021-01-11 20:40:49 +00:00
Treehugger Robot
a3cc90b1c3 Merge "Fixed incorrect retry timer value type" 2021-01-11 18:54:53 +00:00
Daniel Bright
9a484da685 Added javadoc to apn retry \ throttling related methods
Bug: 175092152
Test: N/A
Change-Id: I84c7845343a08d725764cf4a5777f720b8f6d0da
2021-01-08 14:47:17 -08:00
Shuo Qian
7df4eb45f0 Merge "Skip emergency dialing VTS if device doesn't support radio" am: e0a858b1d5 am: d803e12ae5 am: 72319e8de0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1542844

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id16aa446a6a2874f9e556e166c71c6821ff371ca
2021-01-08 21:12:38 +00:00
Shuo Qian
e0a858b1d5 Merge "Skip emergency dialing VTS if device doesn't support radio" 2021-01-08 19:24:47 +00:00
Jack Yu
fd8ff812b3 Fixed incorrect retry timer value type
Since negative values indicates network did not suggest
data retry timer, the type should be signed instead of
unsigned.

Test: Manual
Fix: 159672248
Change-Id: Ibda126c7db6b7e1fef9323d4b2aace37ca13ebc1
2021-01-07 23:21:46 -08:00
Daniel Bright
6d42d04745 Partial hal support for secondary link bandwidth
* Added modemReducedFeatureSet1 flag to HalDeviceCapabilities
* Applied flag to secondary link bandwidth getters in carrier bandwidth

Test: cts
Bug: 173806995
Change-Id: Icfca599607e02a6c3e258c11dc9eb7701b7afd3f
2021-01-07 12:30:46 -08:00
Shuo Qian
628a335326 Skip emergency dialing VTS if device doesn't support radio
Test: vts
Bug: 176862267
Change-Id: I9e72ba5cf6cb118cd68f753355f4119d33fe0019
2021-01-07 18:56:25 +00:00
TreeHugger Robot
4272b7de0e Merge "Revert "Add emergencyDial_1_6 in the HAL to modify the multisim ..."" 2020-12-30 18:26:49 +00:00
Yi-yo Chiang
3ea060eb6d Revert "Add emergencyDial_1_6 in the HAL to modify the multisim ..."
Revert "Add cuttilefish implementation for emergencyDial_1_6"

Revert submission 13164522-emergencyDial_1_6

Reason for revert: Potential culprit of b/176519828

Reverted Changes:
I3680b8d42:Add cuttilefish implementation for emergencyDial_1...
I94319ab34:Add emergencyDial_1_6 in the HAL to modify the mul...

Change-Id: I17e59676b6467b8b51dcb839497883a2c89ee50d
2020-12-30 07:34:58 +00:00
Shuo Qian
02dfb3dcb4 Merge "Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock" 2020-12-30 00:08:53 +00:00
Shuo Qian
84b7069ab7 Add emergencyDial_1_6 in the HAL to modify the multisim logic for pin lock
Test: vts
Bug: 171235919
Change-Id: I94319ab345dabae040792b14b2f8bd8bc64839c0
2020-12-28 12:44:55 -08:00
TreeHugger Robot
8ffdb30eee Merge "Update documentation for secondary bandwidth" 2020-12-24 00:20:08 +00:00
Sooraj Sasindran
66dbcee2d3 Update documentation for secondary bandwidth
Update documentation for secondary bandwidth to indicate that
some modems do not support this feature

Test: build
Bug: 162373679
Change-Id: I03d4079e03817fe7c7b52eb18058c49e54302d6b
2020-12-23 22:52:48 +00:00
Daniel Bright
85169ab87a Add S-NSSAI
* Added support for S-NSSAI within HAL
* Created struct SliceInfo that represents a S-NSSAI as defined
  in 3GPP TS 24.501.
* Added slice info to setupDataCall and SetupDataCallResult

Bug: 169960538
Test: made ims phone call
Change-Id: I8d2c55bece07c599cb7d1ac0d16ad85c0acdeae5
2020-12-21 14:03:28 -08:00
Thiébaud Weksteen
a07d055654 Merge "Add getAllowedNetworkTypesBitmap HAL API" 2020-12-15 12:39:51 +00:00
Amit Mahajan
0ca7a795c4 Merge "Receive forwarded number from Modem" am: d35457c922 am: 131389f6ab am: efe5ac8aa4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/813457

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4a4f04086ff23fbd95aeb0a7b274f84737d549c7
2020-12-14 08:52:56 +00:00
Yomna Nasser
e8bfa9c4e1 Add getAllowedNetworkTypesBitmap HAL API
Adds corresponding query API getAllowedNetworkTypesBitmap to
existing setAllowedNetworkTypeBitmap.

Test: atest
Bug: 171791177
Change-Id: Ib8f0075dda41d4876a14f7223a067e34626a4675
Merged-In: Ib8f0075dda41d4876a14f7223a067e34626a4675
2020-12-11 21:18:31 +00:00
Yomna Nasser
5cc53bacea Add getAllowedNetworkTypesBitmap HAL API
Adds corresponding query API getAllowedNetworkTypesBitmap to
existing setAllowedNetworkTypeBitmap.

Test: atest
Bug: 171791177
Change-Id: Ib8f0075dda41d4876a14f7223a067e34626a4675
2020-12-08 16:39:59 +00:00
Mingming Cai
b2d2b24f59 Merge "Update Hal 1.6 for updated SignalStength" am: 2682ae4273 am: 11a9329702 am: a10d9f0c69
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1517057

Change-Id: Ifca6ff7fcf4b4dc613f2807b8ba14327e39388a6
2020-12-07 20:54:01 +00:00
Shinsuke Ishioka
ede1e95b6c Receive forwarded number from Modem
Adds forwarded number to Call information

Update 1.6 HAL:
- Added Call
- Added getCurrentCalls_1_6
- Added getCurrentCallsResponse_1_6

Test: Build pass.
Bug: 29063067

Change-Id: I8e43439e5638b7820d156d8fc6fe963cf1edf6f0
2020-12-07 11:46:46 +09:00
Mingming Cai
2682ae4273 Merge "Update Hal 1.6 for updated SignalStength" 2020-12-05 02:15:08 +00:00
Treehugger Robot
c8bf0854a4 Merge "Change setDataThrottling window parameter to a long millisecond." 2020-12-04 21:25:08 +00:00
Mingming Cai
77c9e6c183 Merge "Add CQI and CQI Table Index to Hal 1.6" am: a0e7918d8a am: e9fa46f49f am: a0bb74915c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1489837

Change-Id: I5f420a7f7042be87eb3669575e57429d282da21d
2020-12-04 01:35:02 +00:00
Mingming Cai
20a2f420fb Update Hal 1.6 for updated SignalStength
Update Hal IRadio, IRadioResponse, and IRadioIndiction
for the updated SignalSterength.
Move radio_responce#getSignalStrengthResponse_1_4 to the right block

Bug: 174775680
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: If61ff4f72b44ac5482acd1823153633d5f9bfce9
2020-12-03 13:05:29 -08:00
Jack Nudelman
3f76554417 Change setDataThrottling window parameter to a long millisecond.
As requested by Android Council review of API.

Test: vts

Change-Id: I1f633856c31623ef95f459b2195743f53b5d85fc
Merged-In: I1f633856c31623ef95f459b2195743f53b5d85fc
2020-12-03 19:41:36 +00:00
Hui Wang
73f8af0838 Merge "Add VoNR network feature support information" am: f14d297d7c am: 61a2c1237d am: 391cb96e53
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1498118

Change-Id: Id965643796381aee3443a5d6f1d1c70f8974a6f1
2020-12-03 01:53:10 +00:00
Mingming Cai
da0d98305d Add CQI and CQI Table Index to Hal 1.6
LteSignalStrength, NrSignalStrength, LteSignalStrength, NrSignalStrength,
CellInfo, and NetworkScanResult are updated accordingly.

Bug: 170771377
Test: make VtsHalRadioV1_6Target, aosp_cf_x86_64_phone-userdebug
Change-Id: If966d5e0c6f505c64cf523c032f6e282c2d24424
2020-12-02 17:17:45 -08:00
Hui Wang
fb202506bb Add VoNR network feature support information
Define data structures for VoNR network feature support information,
and update RegStateResult to allow the information to be reported
through the response of getVoiceRegistrationStateResponse and
getDataRegistrationStateResponse.

Bug: 167991878
Test: make, VTS
Change-Id: I098bd1b6c86cd38be6fbc086b8ebd7b1bb2408fa
2020-12-02 20:10:39 +00:00
Jordan Liu
897077a7da Merge "Add VTS for setSimCardPower_1_6" am: fb4367c319 am: eada45e9a6 am: 1d40099f53
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1493663

Change-Id: I13f7fe78c894f8fd3c2091748006882a796d3e04
2020-12-01 23:59:28 +00:00
Jordan Liu
fb4367c319 Merge "Add VTS for setSimCardPower_1_6" 2020-12-01 22:23:25 +00:00
Mingming Cai
7128d3ac8b Add an empty line to match AOSP
Bug: 170771377
Test: make
Change-Id: I1ec8caca20de9c3c190869229fd2c746900838c3
2020-12-01 14:04:38 -08:00
Sarah Chin
f69abcf78e Create getSystemSelectionChannel API
Test: atest TelephonyManagerTest
Test: atest VtsHalRadioV1_6TargetTest
Bug: 152813408
Change-Id: I6f3f70b7ff1b876ec98086431ed5c557875fca85
Merged-In: I6f3f70b7ff1b876ec98086431ed5c557875fca85
2020-11-30 14:40:01 -08:00
Jordan Liu
8ca952efb9 Add VTS for setSimCardPower_1_6
Bug: 171433370
Test: make vts
Change-Id: I94e265d31c4077f0c06bc9bb47471e1a838f48d4
2020-11-24 13:13:17 -08:00
Jack Nudelman
f2426e8027 Merge "Change setDataThrottling window parameter to a long millisecond." 2020-11-21 07:58:11 +00:00
Daniel Bright
6d3bda89cf Merge "Introduce Radio Hal Device Capabilities" 2020-11-21 02:27:14 +00:00
Jack Nudelman
5cd9414268 HAL changes for ThermalMitigation API.
go/telephony-thermal-mitigation

Bug: 158872959
Test: make, vts

Change-Id: I914993a6e80305732564e0507ca6a74b1c296439
Merged-In: I914993a6e80305732564e0507ca6a74b1c296439
2020-11-21 00:49:48 +00:00
Daniel Bright
3c72fbafce Added pdu session id to setupDataCall
The pdu session id needs to be passed to setup data call on handover

(clean cherry-pick)

Test: Tested that handover still worked with logs.  IWlan -> Cell + Cell -> IWlan
Bug: 161572859
Merged-In: I0e11c8997674cdaad4bb82491d818ca85ee197d1
Change-Id: I0e11c8997674cdaad4bb82491d818ca85ee197d1
2020-11-20 12:22:08 -08:00
Jack Nudelman
237cdaf678 Change setDataThrottling window parameter to a long millisecond.
As requested by Android Council review of API.

Test: vts

Change-Id: I1f633856c31623ef95f459b2195743f53b5d85fc
2020-11-19 20:36:32 -08:00
Sarah Chin
e92c13a4d0 Create getSystemSelectionChannel API
Test: atest TelephonyManagerTest
Test: atest VtsHalRadioV1_6TargetTest
Bug: 152813408
Change-Id: I6f3f70b7ff1b876ec98086431ed5c557875fca85
2020-11-19 10:42:23 -08:00
Jack Yu
78843c1e4f 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.

(clean cherry-pick)

Test: FrameworksTelephonytests
Fix: 159672248
Merged-In: I763afdf34378512c60c0838830cb84875b1c66f0
Change-Id: I763afdf34378512c60c0838830cb84875b1c66f0
2020-11-18 21:32:22 -08:00
Daniel Bright
3529f26b3b Introduce Radio Hal Device Capabilities
* Asks the device what set of capabilities are supported on the device
  with respect to the Radio Hal
* The capabilities struct is left empty and will be filled
  in once the first set of radio hal capabilities are nailed down later
  in Android S

Test: Added cts, ran cts, and std tests
Bug: 163085807
Change-Id: I867f26bc649005e89ebf7a0b74f6fbeb2f44ac93
2020-11-17 16:59:46 -08:00
Daniel Bright
7674b03f38 Added pdu session id to setupDataCall
The pdu session id needs to be passed to setup data call on handover

Test: Tested that handover still worked with logs.  IWlan -> Cell + Cell -> IWlan
Bug: 161572859
Change-Id: I0e11c8997674cdaad4bb82491d818ca85ee197d1
2020-11-14 16:04:49 -08:00
Sooraj Sasindran
43e5220d23 Provide secondary link capacity estimation
Provide intrface to get secondary link capacity estimation

Bug: 162373679
Test: build
merged-In: I371f1f8ad820f8b20c972c3310ebe82b3790a577
Change-Id: I371f1f8ad820f8b20c972c3310ebe82b3790a577
2020-11-11 22:20:27 -08:00
Sooraj Sasindran
e9525fdd5f Rename enableNrDualConnectivity
Rename enableNrDualConnectivity to setNrDualConnectivityState

Bug: 162373679
Test: build
Merged-In: Ie8722b82cd235557c47528c2529cbc177e025135
Change-Id: Ie8722b82cd235557c47528c2529cbc177e025135
2020-11-11 22:20:08 -08:00
Jack Nudelman
62fd344711 HAL changes for ThermalMitigation API.
go/telephony-thermal-mitigation

Bug: 158872959
Test: make, vts

Change-Id: I914993a6e80305732564e0507ca6a74b1c296439
2020-11-11 15:22:57 -08:00
Sooraj Sasindran
1162d8e903 Provide secondary link capacity estimation
Provide intrface to get secondary link capacity estimation

Bug: 162373679
Test: build
Change-Id: I371f1f8ad820f8b20c972c3310ebe82b3790a577
2020-11-06 10:30:14 -08:00
Daniel Bright
24797eb180 Merge "Allows APN to be unthrottled through an indication" am: 7bfe3131a6 am: 0c8bf2df88 am: f6282fb276 am: 6d034c6c1e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1479416

Change-Id: I2bddcebc0413aac48cec80b30a16a9b28dd7be92
2020-11-06 06:41:15 +00:00
Daniel Bright
7bfe3131a6 Merge "Allows APN to be unthrottled through an indication" 2020-11-06 05:04:14 +00:00
Thiébaud Weksteen
2df6ba0ac2 Merge "Add setAllowedNetworkTypeBitmap" 2020-11-05 19:32:59 +00:00
Daniel Bright
95db21de18 Allows APN to be unthrottled through an indication
* Exposed new radio indication that can unthrottle an APN

Test: N/a
Bug: 167434852
Change-Id: Ic7f0aac140049feac08902458d797388a807bab0
2020-11-05 05:07:24 +00:00
Sooraj Sasindran
514435aff8 Merge "Rename enableNrDualConnectivity" 2020-11-05 00:50:35 +00:00
Sooraj Sasindran
56d4de8e73 Rename enableNrDualConnectivity
Rename enableNrDualConnectivity to setNrDualConnectivityState

Bug: 162373679
Test: build
Change-Id: Ie8722b82cd235557c47528c2529cbc177e025135
2020-11-04 10:36:24 -08:00
Thiébaud Weksteen
5ae16f33f3 Add setAllowedNetworkTypeBitmap
There are currently two methods that cover the network family types:
setPreferredNetworkType and setPreferredNetworkTypeBitmap. They both
serve a similar purpose and have been previously interpreted as a
suggestion to the modem on the type of networks requested by the OS.

This change introduces a new method (setAllowedNetworkTypeBitmap) which
will coexist with these methods. This new method must be interpreted as
a strict set of Radio Access Technology (RAT) that should be accepted by
the modem.

For instance, one may first use setAllowedNetworkTypeBitmap to exclude
2G technology from the list of usable RAT. Then, they may use
setPreferredNetworkType to describe their preference for 4G.

Test: mm
Bug: 171791177
Change-Id: I7f5fdf9bf5a80c47e9ad838b740b2d6e40ffea60
Merged-In: I7f5fdf9bf5a80c47e9ad838b740b2d6e40ffea60
2020-11-04 10:46:08 +01:00
Malcolm Chen
f72c5c861e Skip togglingUiccApplicationsSimPresent if it's eSIM empty profile.
Bug: 169802419
Test: run vts on dsds device.
Change-Id: I2319aa6fe86bfc415b1d1ea0aaefb80f4c7ddff3
Merged-In: I2319aa6fe86bfc415b1d1ea0aaefb80f4c7ddff3
2020-11-03 14:07:29 -08:00
Thiebaud Weksteen
37d9ef2c36 Merge "Add setAllowedNetworkTypeBitmap" 2020-11-03 06:44:53 +00:00
Jordan Liu
db43f1926e Merge "Update CardState HAL and make setSimPower synchronous" 2020-11-02 23:39:04 +00:00
Malcolm Chen
3449e1c24c Skip togglingUiccApplicationsSimPresent if it's eSIM empty profile.
Bug: 169802419
Test: run vts on dsds device.
Change-Id: I2319aa6fe86bfc415b1d1ea0aaefb80f4c7ddff3
2020-11-02 22:23:48 +00:00
Thiébaud Weksteen
ed5c514ed1 Add setAllowedNetworkTypeBitmap
There are currently two methods that cover the network family types:
setPreferredNetworkType and setPreferredNetworkTypeBitmap. They both
serve a similar purpose and have been previously interpreted as a
suggestion to the modem on the type of networks requested by the OS.

This change introduces a new method (setAllowedNetworkTypeBitmap) which
will coexist with these methods. This new method must be interpreted as
a strict set of Radio Access Technology (RAT) that should be accepted by
the modem.

For instance, one may first use setAllowedNetworkTypeBitmap to exclude
2G technology from the list of usable RAT. Then, they may use
setPreferredNetworkType to describe their preference for 4G.

Test: mm
Bug: 171791177
Change-Id: I7f5fdf9bf5a80c47e9ad838b740b2d6e40ffea60
2020-11-02 15:35:24 +01:00
Daniel Bright
15cc34ae2c Add HAL for pdu session id support
* Add in HAL support for AOSP allocating pdu session ids from modem
* Add in HAL support that notifies modem when a handover has begun and was cannceled
(clean cherry pick)

Test: N/A
Bug: 161572859
Change-Id: I2771b4773381ba68f482a80e743bdbb05a8e59d1
Merged-In: I2771b4773381ba68f482a80e743bdbb05a8e59d1
2020-10-30 12:26:08 -07:00
Jordan Liu
b156c63366 Merge "Update CardState HAL and make setSimPower synchronous" 2020-10-30 17:57:31 +00:00
Jordan Liu
e4f5f02726 Update CardState HAL and make setSimPower synchronous
Bug: 171433370
Test: make; make vts
Change-Id: I0d298209a00f5f194547b0d6e368baa44b0c18ec
Merged-In: I0d298209a00f5f194547b0d6e368baa44b0c18ec
2020-10-30 17:42:48 +00:00
Daniel Bright
996a86c5d1 Add HAL for pdu session id support
* Add in HAL support for AOSP allocating pdu session ids from modem
* Add in HAL support that notifies modem when a handover has begun and was cannceled

Test: N/A
Bug: 161572859
Change-Id: I2771b4773381ba68f482a80e743bdbb05a8e59d1
2020-10-29 21:24:47 -07:00
Jordan Liu
c279cafa28 Update CardState HAL and make setSimPower synchronous
Bug: 171433370
Test: make; make vts
Change-Id: I0d298209a00f5f194547b0d6e368baa44b0c18ec
2020-10-29 19:58:04 +00:00
Jack Yu
990cc41da3 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
Change-Id: I763afdf34378512c60c0838830cb84875b1c66f0
2020-10-27 21:31:12 -07:00
Sooraj Sasindran
a9d461b931 Ability to configure NR dual connectivity
Provide ability to configure EUTRANR dual
connectivity

Bug: 162373679
Test: build
Merged-In: I628edc2d6157ab2db279c2f32deb57798f2dd9ce
Change-Id: I628edc2d6157ab2db279c2f32deb57798f2dd9ce
2020-10-26 00:02:31 -07:00
Sooraj Sasindran
edeee5a914 Ability to configure NR dual connectivity
Provide ability to configure EUTRANR dual
connectivity

Bug: 162373679
Test: build
Change-Id: I628edc2d6157ab2db279c2f32deb57798f2dd9ce
2020-10-25 18:47:50 -07:00
Tim Lin
c146f8615b add new RadioError am: e29df60bdc am: 7f565c6ba8 am: b4c9e82e04 am: 034f6c8f20
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1463522

Change-Id: I8ca0880ca671e50cbeb6d115d863496f6ac05dbe
2020-10-23 05:00:49 +00:00
Tim Lin
e29df60bdc add new RadioError
Support RadioError:RF_HARDWARE_ISSUE and RadioError:NO_RF_CALIBRATION_INFO for
setRadioPowerResponse_1_6().

Bug: 170938075
Test: build. VTS on Cuttlefish.
Change-Id: Iaf582c31f439810db34693c61e58ff1f4dfd19fd
2020-10-23 00:59:16 +00:00
Daniel Bright
f8e858b478 Merge "Add Handover Failure Mode to Radio Hal" 2020-10-22 21:38:58 +00:00
Daniel Bright
64c8da6fa0 Add Handover Failure Mode to Radio Hal
On a handover request failure, the modem can now determine
whether or not to fallback.  There is also the option to revert
to the legacy logic.  Following the legacy logic is the default
behavior.

Test: FrameworkTelephonyTests
Bug: 161572465
Change-Id: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
Merged-In: Iad778e83ffc264ee25f57f54ff58532d6a8c5cbf
2020-10-21 13:44:26 -07:00
Hui Wang
1c246b7784 Merge "Add SUCCESS to the response of SAP VTS test cases" 2020-10-21 02:26:51 +00:00
Hui Wang
44006eea19 Add SUCCESS to the response of SAP VTS test cases
Bug: 169106223
Test: atest VtsHalSapV1_0TargetTest
Change-Id: I7392c07914ab693f8d43d059263d950dd0116897
2020-10-20 14:34:20 -07:00