/ohos5.0/base/location/test/location_common/source/ |
H A D | location_common_test.cpp | 111 geoAddress->ReadFromParcel(parcel); in SetGeoAddress() 120 EXPECT_EQ("locale", geoAddress->locale_); in VerifyGeoAddressReadFromParcel() 139 EXPECT_EQ(true, geoAddress->isFromMock_); in VerifyGeoAddressReadFromParcel() 198 SetGeoAddress(geoAddress); 202 geoAddress->Marshalling(newParcel); 218 geoAddress->latitude_ = 1.0; 221 geoAddress->longitude_ = 1.0; 536 SetGeoAddress(geoAddress); 549 SetGeoAddress(geoAddress); 562 SetGeoAddress(geoAddress); [all …]
|
/ohos5.0/base/location/frameworks/js/napi/source/ |
H A D | napi_util.cpp | 181 auto geoAddress = *iter; in GeoAddressesToJsObj() local 184 SetValueDouble(env, "latitude", geoAddress->GetLatitude(), eachObj); in GeoAddressesToJsObj() 185 SetValueDouble(env, "longitude", geoAddress->GetLongitude(), eachObj); in GeoAddressesToJsObj() 186 SetValueUtf8String(env, "locale", geoAddress->locale_.c_str(), eachObj); in GeoAddressesToJsObj() 201 if (geoAddress->descriptionsSize_ > 0) { in GeoAddressesToJsObj() 205 for (int index = 0; index < geoAddress->descriptionsSize_; index++) { in GeoAddressesToJsObj() 214 if (geoAddress->GetIsSystemApp()) { in GeoAddressesToJsObj() 215 SetValueBool(env, "isFromMock", geoAddress->isFromMock_, eachObj); in GeoAddressesToJsObj() 588 std::shared_ptr<GeoAddress> geoAddress = std::make_shared<GeoAddress>(); in JsObjToRevGeocodeMock() local 590 GetGeoAddressInfo(env, napiElement, "geoAddress", geoAddress); in JsObjToRevGeocodeMock() [all …]
|
/ohos5.0/base/location/test/location_common/include/ |
H A D | location_common_test.h | 33 void SetGeoAddress(std::unique_ptr<GeoAddress>& geoAddress); 34 void VerifyGeoAddressReadFromParcel(std::unique_ptr<GeoAddress>& geoAddress);
|
/ohos5.0/base/location/frameworks/location_common/common/source/ |
H A D | geo_address.cpp | 68 std::unique_ptr<GeoAddress> geoAddress = std::make_unique<GeoAddress>(); in Unmarshalling() local 69 geoAddress->ReadFromParcel(parcel); in Unmarshalling() 70 return geoAddress; in Unmarshalling()
|
H A D | geo_coding_mock_info.cpp | 48 void GeocodingMockInfo::SetGeoAddressInfo(std::shared_ptr<GeoAddress> geoAddress) in SetGeoAddressInfo() argument 50 geoAddress_ = geoAddress; in SetGeoAddressInfo()
|
/ohos5.0/base/location/interfaces/inner_api/include/ |
H A D | geo_coding_mock_info.h | 39 void SetGeoAddressInfo(std::shared_ptr<GeoAddress> geoAddress);
|
/ohos5.0/base/location/frameworks/native/locator_sdk/source/ |
H A D | locator_impl.cpp | 395 auto geoAddress = *iter; in GetAddressByCoordinate() local 396 geoAddress->SetIsSystemApp(flag); in GetAddressByCoordinate() 433 auto geoAddress = *iter; in GetAddressByLocationName() local 434 geoAddress->SetIsSystemApp(flag); in GetAddressByLocationName() 974 auto geoAddress = *iter; in GetAddressByCoordinateV9() local 975 geoAddress->SetIsSystemApp(flag); in GetAddressByCoordinateV9() 1012 auto geoAddress = *iter; in GetAddressByLocationNameV9() local 1013 geoAddress->SetIsSystemApp(flag); in GetAddressByLocationNameV9()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-location-kit/ |
H A D | js-apis-geoLocationManager-sys.md | 81 | geoAddress | [GeoAddress](#geoaddress) | 否 | 否 |表示地名信息。 | 637 …ocale": "zh", "latitude": 30.12, "longitude": 120.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 638 …ocale": "zh", "latitude": 31.12, "longitude": 121.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 639 …ocale": "zh", "latitude": 32.12, "longitude": 122.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 640 …ocale": "zh", "latitude": 33.12, "longitude": 123.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 641 …ocale": "zh", "latitude": 34.12, "longitude": 124.11, "maxItems": 1}, "geoAddress": {"locale": "zh…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-geolocation.md | 21 | ohos.geolocation | ReverseGeocodingMockInfo | geoAddress: GeoAddress; | 新增 |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta2/ |
H A D | js-apidiff-geolocation.md | 21 | ohos.geolocation | ReverseGeocodingMockInfo | geoAddress: GeoAddress; | Added|
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-geolocation.md | 46 …seGeocodingMockInfo<br>方法 or 属性:geoAddress: GeoAddress;<br>访问级别:公开API|类名:ReverseGeocodingMockInfo<… 116 …rseGeocodingMockInfo<br>方法 or 属性:geoAddress: GeoAddress;<br>起始版本:N/A|类名:ReverseGeocodingMockInfo<b… 177 …seGeocodingMockInfo<br>方法 or 属性:geoAddress: GeoAddress;<br>访问级别:公开API|类名:ReverseGeocodingMockInfo<…
|
/ohos5.0/docs/en/application-dev/reference/apis-location-kit/ |
H A D | js-apis-geoLocationManager-sys.md | 81 | geoAddress | [GeoAddress](#geoaddress) | No| No|Geographical name.| 637 …ocale": "zh", "latitude": 30.12, "longitude": 120.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 638 …ocale": "zh", "latitude": 31.12, "longitude": 121.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 639 …ocale": "zh", "latitude": 32.12, "longitude": 122.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 640 …ocale": "zh", "latitude": 33.12, "longitude": 123.11, "maxItems": 1}, "geoAddress": {"locale": "zh… 641 …ocale": "zh", "latitude": 34.12, "longitude": 124.11, "maxItems": 1}, "geoAddress": {"locale": "zh…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-geolocation.md | 46 …ibute name: geoAddress: GeoAddress;<br>Access level: public API|Class name: ReverseGeocodingMockIn… 116 …tribute name: geoAddress: GeoAddress;<br>Initial version: N/A|Class name: ReverseGeocodingMockInfo… 177 …ibute name: geoAddress: GeoAddress;<br>Access level: public API|Class name: ReverseGeocodingMockIn…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-geolocation.md | 30 |新增|NA|模块名: ohos.geoLocationManager<br>类名: ReverseGeocodingMockInfo<br>方法名 or 属性名: geoAddress|@ohos… 154 |删除|模块名: ohos.geolocation<br>类名: ReverseGeocodingMockInfo<br>方法名 or 属性名:geoAddress|NA|@ohos.geoloca…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/ |
H A D | js-apidiff-geolocation.md | 30 |新增|NA|模块名: ohos.geoLocationManager<br>类名: ReverseGeocodingMockInfo<br>方法名 or 属性名: geoAddress|@ohos… 154 |删除|模块名: ohos.geolocation<br>类名: ReverseGeocodingMockInfo<br>方法名 or 属性名:geoAddress|NA|@ohos.geoloca…
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/ |
H A D | js-apidiff-geolocation.md | 30 …r<br>Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress|@ohos.geoLocatio… 154 …n<br>Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress|NA|@ohos.geoloca…
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-geolocation.md | 30 …r<br>Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress|@ohos.geoLocatio… 154 …n<br>Class name: ReverseGeocodingMockInfo<br>Method or attribute name: geoAddress|NA|@ohos.geoloca…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-geolocation.md | 55 |新增|NA|类名:ReverseGeocodingMockInfo;<br>方法or属性:geoAddress: GeoAddress;|@ohos.geoLocationManager.d.ts|
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/ |
H A D | js-apidiff-geolocation.md | 55 |Added|NA|Class name: ReverseGeocodingMockInfo;<br>Method or attribute name: geoAddress: GeoAddress…
|