Home
last modified time | relevance | path

Searched refs:resultCount (Results 1 – 21 of 21) sorted by relevance

/system/chre/chpp/common/
Dwifi_convert.c41 encodedSize += scanEvent->resultCount * sizeof(struct ChppWifiScanResult); in chppWifiSizeOfScanEventFromChre()
63 rangingEvent->resultCount * sizeof(struct ChppWifiRangingResult); in chppWifiSizeOfRangingEventFromChre()
107 out->resultCount = in->resultCount; in chppWifiConvertScanEventFromChre()
129 out->results.length = in->resultCount * sizeof(struct ChppWifiScanResult); in chppWifiConvertScanEventFromChre()
133 for (size_t i = 0; i < in->resultCount; i++) { in chppWifiConvertScanEventFromChre()
215 out->resultCount = in->resultCount; in chppWifiConvertRangingEventFromChre()
220 out->results.length = in->resultCount * sizeof(struct ChppWifiRangingResult); in chppWifiConvertRangingEventFromChre()
224 for (size_t i = 0; i < in->resultCount; i++) { in chppWifiConvertRangingEventFromChre()
373 out->resultCount = in->resultCount; in chppWifiConvertScanEventToChre()
407 in->resultCount * sizeof(struct ChppWifiScanResult)) { in chppWifiConvertScanEventToChre()
[all …]
Dwifi_utils.c58 gResultAcc += chre->resultCount; in chppCheckWifiScanEventNotification()
/system/chre/chpp/test/
Dwifi_convert_test.cpp67 chreEvent.resultCount * sizeof(ChppWifiScanResult); in validateScanEvent()
80 EXPECT_EQ(chppEvent->resultCount, chreEvent.resultCount); in validateScanEvent()
82 EXPECT_EQ(chppEvent->resultCount, chreEvent.resultCount); in validateScanEvent()
91 EXPECT_EQ(backEvent->resultCount, chreEvent.resultCount); in validateScanEvent()
93 EXPECT_EQ(backEvent->resultCount, chreEvent.resultCount); in validateScanEvent()
123 if (chreEvent.resultCount > 0) { in validateScanEvent()
126 chppEvent->resultCount * sizeof(ChppWifiScanResult)); in validateScanEvent()
132 for (size_t i = 0; i < chppEvent->resultCount; i++) { in validateScanEvent()
347 .resultCount = 0, in TEST()
384 .resultCount = 1, in TEST()
[all …]
/system/chre/apps/wifi_world/
Dwifi_world.cc238 for (uint8_t i = 0; i < event->resultCount; i++) { in prepareRanging()
249 if (gTargetCount == 0 && event->resultCount == 0) { in prepareRanging()
284 event->scanType, event->resultCount, event->referenceTime); in handleWifiScanEvent()
296 gScanResultAcc += event->resultCount; in handleWifiScanEvent()
307 for (uint8_t i = 0; i < event->resultCount; i++) { in handleWifiScanEvent()
319 event->resultCount); in handleWifiRangingEvent()
325 for (uint8_t i = 0; i < event->resultCount; i++) { in handleWifiRangingEvent()
/system/chre/apps/test/chqts/src/general_test/
Dbasic_wifi_test.cc252 ASSERT_EQ(event->resultCount, expectedArraySize, in validateRangingEventArray()
508 if (mWiFiScanResultRemaining < eventData->resultCount) { in validateWifiScanEvent()
511 mWiFiScanResultRemaining, eventData->resultCount); in validateWifiScanEvent()
514 mWiFiScanResultRemaining -= eventData->resultCount; in validateWifiScanEvent()
516 validateWifiScanResult(eventData->resultCount, eventData->results); in validateWifiScanEvent()
520 if (eventData->resultCount > 0) { in validateWifiScanEvent()
522 eventData->resultCount); in validateWifiScanEvent()
565 for (uint8_t i = 0; i < eventData->resultCount; i++) { in validateRangingEvent()
/system/chre/chpp/include/chpp/common/
Dwifi_types.h70 uint8_t resultCount; member
117 uint8_t resultCount; member
/system/chre/chre_api/legacy/v1_3/chre/
Dwifi.h524 uint8_t resultCount; member
712 uint8_t resultCount; member
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h524 uint8_t resultCount; member
712 uint8_t resultCount; member
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h582 uint8_t resultCount; member
770 uint8_t resultCount; member
/system/chre/chre_api/legacy/v1_4/chre/
Dwifi.h524 uint8_t resultCount; member
712 uint8_t resultCount; member
/system/chre/pal/tests/src/
Dwifi_pal_impl_test.cc146 numScanResultCount_ += event->resultCount; in scanEventCallback()
215 for (uint8_t i = 0; i < event->resultCount; i++) { in TEST_F()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dchre_cross_validator_wifi_manager.cc152 for (uint8_t i = 0; i < event->resultCount; i++) { in handleWifiScanResult()
155 mNumResultsProcessed += event->resultCount; in handleWifiScanResult()
/system/chre/platform/linux/
Dpal_wifi.cc44 event->resultCount = 1; in sendScanResponse()
/system/chre/apps/test/common/chre_settings_test/src/
Dchre_settings_test_manager.cc412 if (result->resultCount == 0) { in handleWifiScanResult()
421 size_t index = result->resultCount - 1; in handleWifiScanResult()
422 for (uint8_t i = 0; i < result->resultCount - 1; i++) { in handleWifiScanResult()
/system/chre/chre_api/legacy/v1_1/chre/
Dwifi.h376 uint8_t resultCount; member
/system/chre/pal/util/
Dwifi_scan_cache.c127 gWifiCacheState.event.resultCount = 0; in chreWifiScanCacheDispatchAll()
134 gWifiCacheState.event.resultCount = in chreWifiScanCacheDispatchAll()
/system/chre/apps/power_test/common/
Dpower_test.cc101 event->resultCount, event->scanType, event->radioChainPref); in nanoappHandleEvent()
/system/chre/chpp/clients/
Dwifi.c594 for (size_t i = 0; i < event->resultCount; i++) { in chppWifiRangingEventNotification()
790 if (event->resultCount > 0) { in chppWifiClientReleaseScanEvent()
837 if (event->resultCount > 0) { in chppWifiClientReleaseRangingEvent()
/system/chre/pal/util/tests/
Dwifi_scan_cache_test.cc113 for (uint8_t i = 0; i < event->resultCount; i++) { in chreWifiScanEventCallback()
/system/chre/apps/test/common/chre_stress_test/src/
Dchre_stress_test_manager.cc312 event->scanType, event->resultCount, event->referenceTime); in handleWifiScanEvent()
/system/chre/core/
Dwifi_request_manager.cc626 mScanEventResultCountAccumulator += scanEvent->resultCount; in handleFreeWifiScanEvent()