Searched refs:wifiObj (Results 1 – 1 of 1) sorted by relevance
/base/location/frameworks/native/source/ |
D | napi_util.cpp | 185 napi_value wifiObj; in LocatingRequiredDataToJsObj() local 186 NAPI_CALL_BASE(env, napi_create_object(env, &wifiObj), false); in LocatingRequiredDataToJsObj() 187 … SetValueUtf8String(env, "ssid", replyList[i]->GetWifiScanInfo()->GetSsid().c_str(), wifiObj); in LocatingRequiredDataToJsObj() 188 … SetValueUtf8String(env, "bssid", replyList[i]->GetWifiScanInfo()->GetBssid().c_str(), wifiObj); in LocatingRequiredDataToJsObj() 189 SetValueInt32(env, "rssi", replyList[i]->GetWifiScanInfo()->GetRssi(), wifiObj); in LocatingRequiredDataToJsObj() 190 SetValueInt32(env, "frequency", replyList[i]->GetWifiScanInfo()->GetFrequency(), wifiObj); in LocatingRequiredDataToJsObj() 191 SetValueInt64(env, "timestamp", replyList[i]->GetWifiScanInfo()->GetTimestamp(), wifiObj); in LocatingRequiredDataToJsObj() 201 …NAPI_CALL_BASE(env, napi_set_named_property(env, eachObj, "wifiData", wifiObj), napi_generic_failu… in LocatingRequiredDataToJsObj()
|