Home
last modified time | relevance | path

Searched refs:doubleValue (Results 1 – 2 of 2) sorted by relevance

/base/location/frameworks/native/source/
Dnapi_util.cpp223 double doubleValue = 0.0; in JsObjToGeoFenceRequest() local
227 if (JsObjectToDouble(env, object, "latitude", doubleValue) == SUCCESS) { in JsObjToGeoFenceRequest()
228 request->geofence.latitude = doubleValue; in JsObjToGeoFenceRequest()
230 if (JsObjectToDouble(env, object, "longitude", doubleValue) == SUCCESS) { in JsObjToGeoFenceRequest()
231 request->geofence.longitude = doubleValue; in JsObjToGeoFenceRequest()
233 if (JsObjectToDouble(env, object, "radius", doubleValue) == SUCCESS) { in JsObjToGeoFenceRequest()
234 request->geofence.radius = doubleValue; in JsObjToGeoFenceRequest()
236 if (JsObjectToDouble(env, object, "expiration", doubleValue) == SUCCESS) { in JsObjToGeoFenceRequest()
237 request->geofence.expiration = doubleValue; in JsObjToGeoFenceRequest()
718 napi_status SetValueDouble(const napi_env& env, const char* fieldStr, const double doubleValue, nap… in SetValueDouble() argument
[all …]
/base/location/interfaces/inner_api/include/
Dnapi_util.h70 napi_status SetValueDouble(const napi_env& env, const char* fieldStr, const double doubleValue, nap…