Lines Matching refs:cached_results
1351 mGetCachedResultsRspParams->cached_results, in handleResponse()
1385 wifi_cached_scan_results *cached_results, in gscan_get_cached_results() argument
1416 cached_results[i].scan_id = in gscan_get_cached_results()
1431 cached_results[i].flags = in gscan_get_cached_results()
1440 cached_results[i].buckets_scanned = nla_get_u32( in gscan_get_cached_results()
1458 cached_results[i].scan_id) { in gscan_get_cached_results()
1460 cached_results[i].num_results = 0; in gscan_get_cached_results()
1465 cached_results[i].scan_id, j, numScanResults); in gscan_get_cached_results()
1467 cached_results[i].scan_id; in gscan_get_cached_results()
1477 cached_results[i].scan_id, j, numScanResults); in gscan_get_cached_results()
1481 cached_results[i].scan_id); in gscan_get_cached_results()
1483 cached_results[i].flags); in gscan_get_cached_results()
1507 cached_results[i].results[j].ts = in gscan_get_cached_results()
1525 sizeof(cached_results[i].results[j].ssid) <= len ? in gscan_get_cached_results()
1526 sizeof(cached_results[i].results[j].ssid) : len; in gscan_get_cached_results()
1527 memcpy((void *)&cached_results[i].results[j].ssid, in gscan_get_cached_results()
1546 sizeof(cached_results[i].results[j].bssid) <= len ? in gscan_get_cached_results()
1547 sizeof(cached_results[i].results[j].bssid) : len; in gscan_get_cached_results()
1548 memcpy(&cached_results[i].results[j].bssid, in gscan_get_cached_results()
1563 cached_results[i].results[j].channel = in gscan_get_cached_results()
1576 cached_results[i].results[j].rssi = in gscan_get_cached_results()
1589 cached_results[i].results[j].rtt = in gscan_get_cached_results()
1602 cached_results[i].results[j].rtt_sd = in gscan_get_cached_results()
1608 cached_results[i].results[j].ts); in gscan_get_cached_results()
1610 cached_results[i].results[j].ssid); in gscan_get_cached_results()
1612 __FUNCTION__, cached_results[i].results[j].bssid[0], in gscan_get_cached_results()
1613 cached_results[i].results[j].bssid[1], in gscan_get_cached_results()
1614 cached_results[i].results[j].bssid[2], in gscan_get_cached_results()
1615 cached_results[i].results[j].bssid[3], in gscan_get_cached_results()
1616 cached_results[i].results[j].bssid[4], in gscan_get_cached_results()
1617 cached_results[i].results[j].bssid[5]); in gscan_get_cached_results()
1619 cached_results[i].results[j].channel); in gscan_get_cached_results()
1621 cached_results[i].results[j].rssi); in gscan_get_cached_results()
1623 cached_results[i].results[j].rtt); in gscan_get_cached_results()
1625 cached_results[i].results[j].rtt_sd); in gscan_get_cached_results()
1633 cached_results[i].num_results++; in gscan_get_cached_results()
1647 i, cached_results[i].num_results); in gscan_get_cached_results()
2174 wifi_cached_scan_results *cached_results) in allocCachedResultsTemp() argument
2177 mGetCachedResultsRspParams->cached_results = in allocCachedResultsTemp()
2180 if (!mGetCachedResultsRspParams->cached_results) { in allocCachedResultsTemp()
2186 memset(mGetCachedResultsRspParams->cached_results, 0, in allocCachedResultsTemp()
2213 mGetCachedResultsRspParams->cached_results = NULL; in allocRspParams()
2228 if (mGetCachedResultsRspParams->cached_results) { in freeRspParams()
2229 free(mGetCachedResultsRspParams->cached_results); in freeRspParams()
2230 mGetCachedResultsRspParams->cached_results = NULL; in freeRspParams()
2243 wifi_cached_scan_results *cached_results) in copyCachedScanResults() argument
2249 if (mGetCachedResultsRspParams && cached_results) in copyCachedScanResults()
2255 cachedResultRsp = &mGetCachedResultsRspParams->cached_results[i]; in copyCachedScanResults()
2256 cached_results[i].scan_id = cachedResultRsp->scan_id; in copyCachedScanResults()
2257 cached_results[i].flags = cachedResultRsp->flags; in copyCachedScanResults()
2258 cached_results[i].num_results = cachedResultRsp->num_results; in copyCachedScanResults()
2259 cached_results[i].buckets_scanned = cachedResultRsp->buckets_scanned; in copyCachedScanResults()
2261 if (!cached_results[i].num_results) { in copyCachedScanResults()
2268 i, cached_results[i].num_results); in copyCachedScanResults()
2270 memcpy(cached_results[i].results, in copyCachedScanResults()
2272 cached_results[i].num_results * sizeof(wifi_scan_result)); in copyCachedScanResults()