Home
last modified time | relevance | path

Searched refs:geoAddress (Results 1 – 6 of 6) sorted by relevance

/base/location/test/location_common/source/
Dlocation_common_test.cpp84 void LocationCommonTest::SetGeoAddress(std::unique_ptr<GeoAddress>& geoAddress) in SetGeoAddress() argument
107 geoAddress->ReadFromParcel(parcel); in SetGeoAddress()
112 void LocationCommonTest::VerifyGeoAddressReadFromParcel(std::unique_ptr<GeoAddress>& geoAddress) in VerifyGeoAddressReadFromParcel() argument
114 EXPECT_EQ(MOCK_LATITUDE, geoAddress->latitude_); in VerifyGeoAddressReadFromParcel()
115 EXPECT_EQ(MOCK_LONGITUDE, geoAddress->longitude_); in VerifyGeoAddressReadFromParcel()
116 EXPECT_EQ("locale", geoAddress->locale_); in VerifyGeoAddressReadFromParcel()
117 EXPECT_EQ("placeName", geoAddress->placeName_); in VerifyGeoAddressReadFromParcel()
118 EXPECT_EQ("countryCode", geoAddress->countryCode_); in VerifyGeoAddressReadFromParcel()
119 EXPECT_EQ("countryName", geoAddress->countryName_); in VerifyGeoAddressReadFromParcel()
120 EXPECT_EQ("administrativeArea", geoAddress->administrativeArea_); in VerifyGeoAddressReadFromParcel()
[all …]
/base/location/test/location_common/include/
Dlocation_common_test.h33 void SetGeoAddress(std::unique_ptr<GeoAddress>& geoAddress);
34 void VerifyGeoAddressReadFromParcel(std::unique_ptr<GeoAddress>& geoAddress);
/base/location/frameworks/location_common/common/source/
Dgeo_coding_mock_info.cpp48 void GeocodingMockInfo::SetGeoAddressInfo(std::shared_ptr<GeoAddress> geoAddress) in SetGeoAddressInfo() argument
50 geoAddress_ = geoAddress; in SetGeoAddressInfo()
Dgeo_address.cpp58 std::unique_ptr<GeoAddress> geoAddress = std::make_unique<GeoAddress>(); in Unmarshalling() local
59 geoAddress->ReadFromParcel(parcel); in Unmarshalling()
60 return geoAddress; in Unmarshalling()
/base/location/frameworks/native/source/
Dnapi_util.cpp139 auto geoAddress = *iter; in GeoAddressesToJsObj() local
142 SetValueDouble(env, "latitude", geoAddress->GetLatitude(), eachObj); in GeoAddressesToJsObj()
143 SetValueDouble(env, "longitude", geoAddress->GetLongitude(), eachObj); in GeoAddressesToJsObj()
144 SetValueUtf8String(env, "locale", geoAddress->locale_.c_str(), eachObj); in GeoAddressesToJsObj()
145 SetValueUtf8String(env, "placeName", geoAddress->placeName_.c_str(), eachObj); in GeoAddressesToJsObj()
146 SetValueUtf8String(env, "countryCode", geoAddress->countryCode_.c_str(), eachObj); in GeoAddressesToJsObj()
147 SetValueUtf8String(env, "countryName", geoAddress->countryName_.c_str(), eachObj); in GeoAddressesToJsObj()
148 … SetValueUtf8String(env, "administrativeArea", geoAddress->administrativeArea_.c_str(), eachObj); in GeoAddressesToJsObj()
149 …SetValueUtf8String(env, "subAdministrativeArea", geoAddress->subAdministrativeArea_.c_str(), eachO… in GeoAddressesToJsObj()
150 SetValueUtf8String(env, "locality", geoAddress->locality_.c_str(), eachObj); in GeoAddressesToJsObj()
[all …]
/base/location/interfaces/inner_api/include/
Dgeo_coding_mock_info.h39 void SetGeoAddressInfo(std::shared_ptr<GeoAddress> geoAddress);