Commit graph

1214 commits

Author SHA1 Message Date
SongFerngWang
0f2a75b4f8 modemReducedFeatureSet add PhysicalChannelConfig_1_6 item
Bug: 185925786
Test: build pass
Change-Id: I7d0c1b2534f50bbb445e2929b2807da0835d6bfe
2021-04-21 04:36:11 +08:00
Treehugger Robot
fe7eed56df Merge "Allow INVALID_STATE to be returned for setNrDualConnectivity" am: be01266c63 am: 5068a9fec7 am: 3aac369037
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1673549

Change-Id: Ic2780b825dddd9fecd136ba52040bd0f2a24cd38
2021-04-15 03:36:02 +00:00
Treehugger Robot
a829266a05 Merge "Explicitly require empty list when the device is idle" am: f676c47ee7 am: c9ee5dd615 am: 26bf51ebe6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1673628

Change-Id: I81609dcea10bea24fbe1984cc630e7852be671de
2021-04-15 03:35:51 +00:00
Treehugger Robot
be01266c63 Merge "Allow INVALID_STATE to be returned for setNrDualConnectivity" 2021-04-15 01:23:46 +00:00
Zoey Chen
f06c7484a1 Merge "[ANAPIC Review] Remove config 1.3 hal" into sc-dev 2021-04-14 01:16:56 +00:00
Zoey Chen
f03a62f25c [ANAPIC Review] Remove config 1.3 hal
Bug: 183738012
Test: build
Change-Id: Ie0eec5576d08ddcd9a8f5ee1a1d9e2b32772653e
2021-04-13 11:53:42 +08:00
Jack Yu
147f2d061f Explicitly require empty list when the device is idle
Added explicit comment for the PhysicalChannelConfig behavior
when device is in RRC idle.

Bug: 183379536
Test: Build
Change-Id: I12dedd8a2728fdb7aa91a1de65e0e0d78af14929
2021-04-13 00:39:22 +00:00
Sooraj Sasindran
149f4a3f94 Allow INVALID_STATE to be returned for setNrDualConnectivity
Allow INVALID_STATE to be returned for setNrDualConnectivity
as modem may disable NR NSA for some carriers

Bug: 184571795
Test: build
Change-Id: Ie99ac2dd4ee33180d5ae2fa8a74ab90f533d1df4
2021-04-12 15:07:48 -07:00
Hongbo Zeng
c7582670a5 Check more errors for VTS getSlicingConfig
- add RADIO_NOT_AVAILABLE/INTERNAL_ERR/MODEM_ERR errors for
  normal case as defined in IRadioResponse.hal

Bug: 181634613
Test: *
run command => atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*slot1"
and check the test result is PASSED
[3/19] PerInstance/RadioHidlTest_v1_6#getSlicingConfig/0_slot1: PASSED (28ms)

Change-Id: If813cc51d0d06138aeebe4b528569c214677a1d2
2021-04-10 21:26:14 +08:00
TreeHugger Robot
0e122f340e Merge "Fix crash issue for VTS setupDataCall_1_6_osAppId" into sc-dev 2021-03-31 06:45:48 +00:00
TreeHugger Robot
93d2ba0408 Merge "Update test to TEST_P" into sc-dev 2021-03-30 19:48:02 +00:00
Sarah Chin
c16f1583cc Update test to TEST_P
VTS tests were moved to parameterized gtests (TEST_F -> TEST_P),
so update the test for getSimPhonebookRecords to prevent compile errors

Test: mm
Fix: 183964306
Change-Id: Ib35c3c06fbe3fa2205bdcd44f70bda805fcb8301
2021-03-30 19:10:27 +00:00
Hongbo Zeng
7700c1dc2d Fix crash issue for VTS setupDataCall_1_6_osAppId
- donot check the osAppId for response if trafficDescriptors is empty
  due to no matching rule found

Bug: 181187711
Test: *
run command => atest VtsHalRadioV1_6TargetTest -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*slot1")
and check the test result is PASSED
[2/18] PerInstance/RadioHidlTest_v1_6#setupDataCall_1_6_osAppId/0_slot1: PASSED (24ms)

Change-Id: Ic65b7a0eecc14a142ea69c2774344d9b601298fb
2021-03-30 17:48:22 +08:00
Treehugger Robot
29090fb9bc Merge "Fix setCarrierInfoForImsiEncryption in VTS 1.6" am: 4c912d9042 am: 2d962bae92 am: 6932319f1f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1646852

Change-Id: I41fd49fcf921201efc588edb435f46fbc28b52ad
2021-03-25 09:26:14 +00:00
Treehugger Robot
4c912d9042 Merge "Fix setCarrierInfoForImsiEncryption in VTS 1.6" 2021-03-25 07:23:39 +00:00
Robert Greenwalt
d4ab44096e Merge "Optimize SIM phonebook feature with new batch APIs" am: 3e9cb7bc7b am: 30120b108c am: 0e47d2b91c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441011

Change-Id: Ia0dbeb793355da881c698a93c69ba026771dccd9
2021-03-24 22:17:14 +00:00
Treehugger Robot
63ac55fdf4 Merge "Fix emergencyDial_1_6_withServices in VTS 1.6" am: b1fe78fb63 am: 25b1f1e773 am: 72d3d7ac21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1648207

Change-Id: I3c446341588f374c5e9aca595c946836044fcefa
2021-03-24 20:40:29 +00:00
Robert Greenwalt
3e9cb7bc7b Merge "Optimize SIM phonebook feature with new batch APIs" 2021-03-24 20:33:50 +00:00
Treehugger Robot
b1fe78fb63 Merge "Fix emergencyDial_1_6_withServices in VTS 1.6" 2021-03-24 19:03:46 +00:00
Mengjun Leng
48966f0583 Optimize SIM phonebook feature with new batch APIs
1. Declare new request and response for loading and updating SIM
contacts.
2. Add data dispatch function for new reponse and request APIs.

Bug: 23044962
Change-Id: I43d196c84558d7951d85bc938672091edeb378ec
2021-03-23 10:33:58 -07:00
Hongbo Zeng
723021f42e add capability for TelephonyManager.getNetworkSlicingConfiguration()
- add comment to specify HAL interface getSlicingConfig() which is used
  by TelephonyManager.getNetworkSlicingConfiguration() is in the reduced
  feature set.
- allow REQUEST_NOT_SUPPORTED for HAL interface getSlicingConfig() and
  update related VTS test case.

Bug: 181713905
Test: run "atest VtsHalRadioV1_6TargetTest" and check the result for
      getSlicingConfig is PASSED
[3/17] PerInstance/RadioHidlTest_v1_6#getSlicingConfig/0_slot1: PASSED (9ms)

Change-Id: Ia318b8225e8b0e772a85bb9909f2e0114e0ae6e3
2021-03-22 22:23:45 +08:00
Jack Nudelman
6e3be2fa36 Merge "Allow REQUEST_NOT_SUPPORTED when requesting data throttling from modem." am: 55091e2ab4 am: 1b45de52c0 am: b6e101c662
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1621706

Change-Id: I77ab4a73474a4d480a053ee1e2ac02e607356de8
2021-03-22 13:24:06 +00:00
Jack Nudelman
55091e2ab4 Merge "Allow REQUEST_NOT_SUPPORTED when requesting data throttling from modem." 2021-03-22 11:38:10 +00:00
Aaron Tsai
f1762ea817 Fix setCarrierInfoForImsiEncryption in VTS 1.6
Bug: 181635271
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I1297962c21e3e7f82cbe9bc9e28438f1fb9c8457
2021-03-22 11:03:24 +00:00
Aaron Tsai
60c0e06ec3 Fix emergencyDial_1_6_withServices in VTS 1.6
Bug: 181634738
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I66020bc8220a86bd08f595662f38a7cce8e07df4
2021-03-22 11:03:08 +00:00
Hongbo Zeng
f78f2676da move the fields in RouteSelectionDescriptorParams to RouteSelectionDescriptor
Bug: 178075054
Test: full build pass
Change-Id: I283514bd63cb3ae7c37d8e3d4740e38f7e79a09e
2021-03-19 18:18:16 +08:00
Shuo Qian
bd716e8dfc Merge "Fix emergencyDialResponse in VTS 1.6" am: b840a0cdd3 am: a6d37dd0c1 am: 696dbed574
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1628876

Change-Id: I734efdc9b4f17b8958f3446a91704933dcb14d88
2021-03-16 23:21:09 +00:00
Shuo Qian
b840a0cdd3 Merge "Fix emergencyDialResponse in VTS 1.6" 2021-03-16 19:42:56 +00:00
Shuo Qian
2b254862a7 Fix emergencyDialResponse in VTS 1.6
Test: vts
Bug: 182496282
Change-Id: Ifdd60210ec30dd0a576cb366ad49c9bfe1924938
2021-03-15 23:21:46 +00:00
Jack Nudelman
ace227242e Allow REQUEST_NOT_SUPPORTED when requesting data throttling from modem.
Test: make
Bug: 173806949
Change-Id: Icbf1febdc489e8b8cea91fcc4a149afafb01b1b9
2021-03-15 10:43:46 -07:00
Sooraj Sasindran
da4bb47b30 Merge "ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity config" am: 5cfbacbb7c am: af7f0f7678 am: 6e3865f99f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1629124

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I920e76b3dcc18b6811cf682ae9ff13dc3ddcd998
2021-03-15 06:40:47 +00:00
Sooraj Sasindran
4b272a5b68 ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity config
ALLOW REQUEST_NOT_SUPPORTED for nr dual connectivity configuration
and query

Bug: 181648176
Test: build
Change-Id: Iaa64b018a07367ea9d68783ecec1ea1a616ad6b4
2021-03-12 13:34:48 -08:00
Amit Mahajan
ca2a225881 Simplify slicing related structs.
Test: atest VtsHalRadioV1_6TargetTest
Bug: 178075054
Merged-in: I6f711321ff8825e86b3d1da20ea985e81088eae0
Change-Id: I6f711321ff8825e86b3d1da20ea985e81088eae0
2021-03-11 18:23:04 +00:00
Amit Mahajan
1d8fb33f9f Simplify slicing related structs.
Test: atest VtsHalRadioV1_6TargetTest
Bug: 178075054
Change-Id: I6f711321ff8825e86b3d1da20ea985e81088eae0
2021-03-10 15:21:40 -08:00
Rambo Wang
e236531a3c Merge "Skip radio VTS test cases on deprecated interfaces" am: 43175bec27 am: defdc18a9d am: 8718ed41fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1591095

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I658f42b40de65be8f0c10c3827e856373bd154f4
2021-03-10 04:35:34 +00:00
Rambo Wang
6e1ce4d3c9 Merge "Deprecates obsoleted radio hal interfaces" 2021-03-10 01:31:12 +00:00
Rambo Wang
5ccc4bbf45 Skip radio VTS test cases on deprecated interfaces
The following interfaces are deprecated:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

All related VTS test cases will be skipped when testing with higher
version radio hal releases with REQUEST_NOT_SUPPORTED response.

Bug: 170288130
Test: atest VtsHalRadioV1_0TargetTest VtsHalRadioV1_1TargetTest
VtsHalRadioV1_2TargetTest

Change-Id: Ie905540d36a07b5557220ef00c4cb17d41cbe74b
2021-03-09 10:22:16 -08:00
Treehugger Robot
26629e8698 Merge "Get Radio Hal Capabilities in VTS" 2021-03-09 17:58:46 +00:00
SongFerng Wang
d24ac0c097 Merge "Rename AllowedNetworkType to AllowedNetworkTypes" 2021-03-09 12:44:22 +00:00
Rambo Wang
b6e354680f Deprecates obsoleted radio hal interfaces
Makes a ABI preserving change to radio hal by adding deprecation
comments for following interfaces:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

Bug: 170288130
Test: make
Merged-In: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
Change-Id: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
(cherry picked from commit 1fd7cb029b)
2021-03-09 01:06:15 +00:00
TreeHugger Robot
a603f8b0fb Merge "Get Radio Hal Capabilities in VTS" into sc-dev 2021-03-08 23:22:13 +00:00
Daniel Bright
2c0d2f175b Get Radio Hal Capabilities in VTS
* Created utility method in v1_6 HAL to access radio hal capabilities
* Created static library to support getting the capaiblities response
* Created RadioResponseWaiter to encapsulate the notify \ wait logic
  used when waiting for an asynchronous response from the HAL
* Usage: if (getRadioHalCapabilities().modemReducedFeatureSet1) { ... }

Bug: 181895757
Test: Accessed default hal capabilities
Change-Id: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
Merged-In: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
2021-03-08 13:56:05 -08:00
Daniel Bright
0f7ed1d9eb Get Radio Hal Capabilities in VTS
* Created utility method in v1_6 HAL to access radio hal capabilities
* Created static library to support getting the capaiblities response
* Created RadioResponseWaiter to encapsulate the notify \ wait logic
  used when waiting for an asynchronous response from the HAL
* Usage: if (getRadioHalCapabilities().modemReducedFeatureSet1) { ... }

Bug: 181895757
Test: Accessed default hal capabilities
Change-Id: Ie0a727d4e9d268ad03cf3fa793aa456a95c89f5b
2021-03-08 21:36:17 +00:00
Shuo Qian
9ea18728f9 Change range of SS-RSRQ per 3gpp
Bug: 159761054
Test: VTS
Merged-In: I377ef00015876b706ffeb20d9255c1b1ebf66c15
Change-Id: I377ef00015876b706ffeb20d9255c1b1ebf66c15
(cherry picked from commit cd3fd87d47)
2021-03-04 01:17:27 +00:00
Rambo Wang
1fd7cb029b Deprecates obsoleted radio hal interfaces
Makes a ABI preserving change to radio hal by adding deprecation
comments for following interfaces:
- startLceService
- stopLceService
- pullLceData
- lceData
- setSimCardPower
- setIndicationFilter
- setupDataCall
- deactivateDataCall
- startNetworkScan
- startNetworkScan_1_2

Bug: 170288130
Test: make
Change-Id: I4563b7081dec6fa64b7faff7c8e3c2c3b1239880
2021-03-03 21:52:10 +00:00
SongFerngWang
f92b61c2db 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
Merged-In: Iee919a40153f680d6a8b81dc88d8fa2bd1e8d343
2021-03-04 00:21:25 +08:00
Sarah Chin
912e6062ab API updates for TrafficDescriptr fields
Bug: 179312227
Test: atest VtsHalRadioV1_6TargetTest
Change-Id: I33018ad413875f4fae1497ed5acc8ee50df7c942
Merged-In: I33018ad413875f4fae1497ed5acc8ee50df7c942
2021-03-02 17:28:10 -08:00
Sarah Chin
3c24b7500a Merge changes from topics "5g_slicing_hal_vts_on_aosp_1st_part", "5g_slicing_hal_vts_on_aosp_2nd_part"
* changes:
  Support SlicingConfig for 5G Slicing Configuration
  Update HAL 1.6 for 5G Slicing
2021-03-02 22:56:06 +00:00
Treehugger Robot
17150640d5 Merge "Explictly disallow LTE_CA as a RAT type" am: 81fcfa6295 am: 6ee1f2d8f2 am: 957c8d2a36
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1611604

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ieb61ef54564e3d25bf3cbc81162930023c19391b
2021-03-02 03:52:34 +00:00
Rambo Wang
3340768677 Merge "Format all Android.bp files with bpfmt to pass bpfmt buildin hook" am: 64f7fc8dde am: a9c30d17ed am: 4f7d82aee2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1595304

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d6be615be6da49bc7b2212deae160ab9ad809b7
2021-03-01 08:06:01 +00:00