mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge changes I94874f53,I90133555 into qt-dev
* changes: Enable incremental scans for interval checks Allow impls to ignore incremental scan interval
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d957da30b
@@ -410,6 +410,7 @@ eb754b58c93e5591613208b4c972811288b0fa16a82430d602f107c91a908b22 android.hardwar
|
|||||||
ed9da80ec0c96991fd03f0a46107815d0e50f764656e49dba4980fa5c31d5bc3 android.hardware.radio@1.0::types
|
ed9da80ec0c96991fd03f0a46107815d0e50f764656e49dba4980fa5c31d5bc3 android.hardware.radio@1.0::types
|
||||||
1d19720d4fd38b1095f0f555a4bd92b3b12c9b1d0f560b0e9a474cd6dcc20db6 android.hardware.radio@1.2::IRadio
|
1d19720d4fd38b1095f0f555a4bd92b3b12c9b1d0f560b0e9a474cd6dcc20db6 android.hardware.radio@1.2::IRadio
|
||||||
cd1757867a5e3a3faa362e785239515870d1a3c9ce756c6f0cf0f0fd8aac2547 android.hardware.radio@1.2::types
|
cd1757867a5e3a3faa362e785239515870d1a3c9ce756c6f0cf0f0fd8aac2547 android.hardware.radio@1.2::types
|
||||||
|
722b3595548ed7f1953b6e0143dc842d4d6e290ff009a134eb518d7c17a09347 android.hardware.radio@1.2::types # b/112486807
|
||||||
e78cf871f9fd1c072874e481e06e18e2681763cf2aa38c1fd777d53bab4eb69b android.hardware.sensors@1.0::types
|
e78cf871f9fd1c072874e481e06e18e2681763cf2aa38c1fd777d53bab4eb69b android.hardware.sensors@1.0::types
|
||||||
3d01e29e8129186f7567c4f9c8bee7480a0768e587b1be9b28adb0a6cbec6bf2 android.hardware.tv.cec@1.0::types
|
3d01e29e8129186f7567c4f9c8bee7480a0768e587b1be9b28adb0a6cbec6bf2 android.hardware.tv.cec@1.0::types
|
||||||
1722ad002317b1fae1400de709e90f442d94ef22864e05f7a12af48c32e8edc8 android.hardware.usb@1.1::types
|
1722ad002317b1fae1400de709e90f442d94ef22864e05f7a12af48c32e8edc8 android.hardware.usb@1.1::types
|
||||||
|
|||||||
@@ -193,7 +193,8 @@ struct NetworkScanRequest {
|
|||||||
* the client (in seconds).
|
* the client (in seconds).
|
||||||
* Expected range for the input is
|
* Expected range for the input is
|
||||||
* [IncrementalResultsPeriodicityRange:MIN - IncrementalResultsPeriodicityRange:MAX]
|
* [IncrementalResultsPeriodicityRange:MIN - IncrementalResultsPeriodicityRange:MAX]
|
||||||
* This value must be less than or equal to maxSearchTime.
|
* This value must be less than or equal to maxSearchTime. If incremental results are
|
||||||
|
* not requested, implementations may ignore this value.
|
||||||
*/
|
*/
|
||||||
int32_t incrementalResultsPeriodicity;
|
int32_t incrementalResultsPeriodicity;
|
||||||
|
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ TEST_F(RadioHidlTest_v1_2, startNetworkScan_InvalidPeriodicity1) {
|
|||||||
.interval = 60,
|
.interval = 60,
|
||||||
.specifiers = {::GERAN_SPECIFIER_P900, ::GERAN_SPECIFIER_850},
|
.specifiers = {::GERAN_SPECIFIER_P900, ::GERAN_SPECIFIER_850},
|
||||||
.maxSearchTime = 600,
|
.maxSearchTime = 600,
|
||||||
.incrementalResults = false,
|
.incrementalResults = true,
|
||||||
.incrementalResultsPeriodicity = 0};
|
.incrementalResultsPeriodicity = 0};
|
||||||
|
|
||||||
Return<void> res = radio_v1_2->startNetworkScan_1_2(serial, request);
|
Return<void> res = radio_v1_2->startNetworkScan_1_2(serial, request);
|
||||||
@@ -260,7 +260,7 @@ TEST_F(RadioHidlTest_v1_2, startNetworkScan_InvalidPeriodicity2) {
|
|||||||
.interval = 60,
|
.interval = 60,
|
||||||
.specifiers = {::GERAN_SPECIFIER_P900, ::GERAN_SPECIFIER_850},
|
.specifiers = {::GERAN_SPECIFIER_P900, ::GERAN_SPECIFIER_850},
|
||||||
.maxSearchTime = 600,
|
.maxSearchTime = 600,
|
||||||
.incrementalResults = false,
|
.incrementalResults = true,
|
||||||
.incrementalResultsPeriodicity = 11};
|
.incrementalResultsPeriodicity = 11};
|
||||||
|
|
||||||
Return<void> res = radio_v1_2->startNetworkScan_1_2(serial, request);
|
Return<void> res = radio_v1_2->startNetworkScan_1_2(serial, request);
|
||||||
|
|||||||
Reference in New Issue
Block a user