Searched refs:geoAddress (Results 1 – 6 of 6) sorted by relevance
/base/location/test/location_common/source/ |
D | location_common_test.cpp | 84 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/ |
D | location_common_test.h | 33 void SetGeoAddress(std::unique_ptr<GeoAddress>& geoAddress); 34 void VerifyGeoAddressReadFromParcel(std::unique_ptr<GeoAddress>& geoAddress);
|
/base/location/frameworks/location_common/common/source/ |
D | geo_coding_mock_info.cpp | 48 void GeocodingMockInfo::SetGeoAddressInfo(std::shared_ptr<GeoAddress> geoAddress) in SetGeoAddressInfo() argument 50 geoAddress_ = geoAddress; in SetGeoAddressInfo()
|
D | geo_address.cpp | 58 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/ |
D | napi_util.cpp | 139 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/ |
D | geo_coding_mock_info.h | 39 void SetGeoAddressInfo(std::shared_ptr<GeoAddress> geoAddress);
|