Lines Matching defs:results

976 /* Get the GSCAN cached scan results. */
979 wifi_cached_scan_results *results,
1001 if (results == NULL || num == NULL) {
1024 ret = gScanCommand->allocCachedResultsTemp(max, results);
1031 /* Clear the destination cached results list before copying results. */
1032 memset(results, 0, max * sizeof(wifi_cached_scan_results));
1069 /* It's possible to get ETIMEDOUT after receiving few results from
1073 /* Proceed to cleanup & return no results */
1078 /* No more data, copy the parsed results into the caller's results array */
1079 ret = gScanCommand->copyCachedScanResults(num, results);
1086 /* Mark scan results as incomplete for the last scan_id */
1087 results[(*num)-1].flags = WIFI_SCAN_FLAG_INTERRUPTED;
1088 ALOGV("%s: Timeout happened. Mark scan results as incomplete "
1089 "for scan_id:%d", __FUNCTION__, results[(*num)-1].scan_id);
1289 /* Read num of cached scan results in this data chunk. Note that
1296 ALOGV("%s: num Cached results in this fragment:%d",
1307 * MORE_DATA flag and cache results until MORE_DATA = 0.
1332 /* Get the first Scan-Id in this chuck of cached results. */
1380 /* Called to parse and extract cached results. */
1466 /* Increment the number of cached scan results received */
1504 cached_results[i].results[j].ts =
1522 sizeof(cached_results[i].results[j].ssid) <= len ?
1523 sizeof(cached_results[i].results[j].ssid) : len;
1524 memcpy((void *)&cached_results[i].results[j].ssid,
1543 sizeof(cached_results[i].results[j].bssid) <= len ?
1544 sizeof(cached_results[i].results[j].bssid) : len;
1545 memcpy(&cached_results[i].results[j].bssid,
1560 cached_results[i].results[j].channel =
1573 cached_results[i].results[j].rssi =
1586 cached_results[i].results[j].rtt =
1599 cached_results[i].results[j].rtt_sd =
1605 cached_results[i].results[j].ts);
1607 cached_results[i].results[j].ssid);
1609 __FUNCTION__, cached_results[i].results[j].bssid[0],
1610 cached_results[i].results[j].bssid[1],
1611 cached_results[i].results[j].bssid[2],
1612 cached_results[i].results[j].bssid[3],
1613 cached_results[i].results[j].bssid[4],
1614 cached_results[i].results[j].bssid[5]);
1616 cached_results[i].results[j].channel);
1618 cached_results[i].results[j].rssi);
1620 cached_results[i].results[j].rtt);
1622 cached_results[i].results[j].rtt_sd);
1627 * and number of cached results parsed so far.
1635 * so it points to the next scan_id results.
1638 " of wifi_scan_results:%d for gscan cached results"
1648 /* Increment starting index of filling cached results received */
2173 /* Alloc memory for "max" number of cached results. */
2248 /* Populate the number of parsed cached results. */
2267 memcpy(cached_results[i].results,
2268 cachedResultRsp->results,