Home
last modified time | relevance | path

Searched refs:mockInfo (Results 1 – 22 of 22) sorted by relevance

/base/location/services/location_geocode/geocode/source/
Dgeo_convert_skeleton.cpp82 … std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo = ParseGeocodingMockInfos(data); in OnRemoteRequest() local
83 reply.WriteInt32(SetReverseGeocodingMockInfo(mockInfo)); in OnRemoteRequest()
95 std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo; in ParseGeocodingMockInfos() local
105 mockInfo.push_back(info); in ParseGeocodingMockInfos()
107 return mockInfo; in ParseGeocodingMockInfos()
Dgeo_convert_service.cpp399 std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfo() argument
404 mockInfo_.assign(mockInfo.begin(), mockInfo.end()); in SetReverseGeocodingMockInfo()
/base/location/frameworks/location_common/common/source/
Dgeo_coding_mock_info.cpp64 std::unique_ptr<GeocodingMockInfo> mockInfo = std::make_unique<GeocodingMockInfo>(); in Unmarshalling() local
65 mockInfo->ReadFromParcel(parcel); in Unmarshalling()
66 return mockInfo; in Unmarshalling()
/base/location/services/location_locator/locator/source/
Dgeo_convert_proxy.cpp114 std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfo() argument
123 data.WriteInt32(mockInfo.size()); in SetReverseGeocodingMockInfo()
124 for (size_t i = 0; i < mockInfo.size(); i++) { in SetReverseGeocodingMockInfo()
125 mockInfo[i]->Marshalling(data); in SetReverseGeocodingMockInfo()
Dlocator_ability.cpp1044 …atorAbility::SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfo() argument
1051 dataParcel.WriteInt32(mockInfo.size()); in SetReverseGeocodingMockInfo()
1052 for (size_t i = 0; i < mockInfo.size(); i++) { in SetReverseGeocodingMockInfo()
1053 mockInfo[i]->Marshalling(dataParcel); in SetReverseGeocodingMockInfo()
Dlocator_skeleton.cpp773 std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo; in PreSetReverseGeocodingMockInfo() local
779 mockInfo.push_back(info); in PreSetReverseGeocodingMockInfo()
781 reply.WriteInt32(locatorAbility->SetReverseGeocodingMockInfo(mockInfo)); in PreSetReverseGeocodingMockInfo()
/base/location/services/location_locator/locator/include/
Dgeo_convert_proxy.h39 …de SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) override;
Dlocator_ability.h94 …tionErrCode SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo);
/base/location/services/location_geocode/geocode/include/
Dgeo_convert_skeleton.h39 …ErrCode SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) = 0;
Dgeo_convert_service.h57 …de SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) override;
/base/location/test/location_common/source/
Dlocation_common_test.cpp411 std::unique_ptr<GeocodingMockInfo> mockInfo = std::make_unique<GeocodingMockInfo>(); variable
412 mockInfo->ReadFromParcel(parcel);
413 std::shared_ptr<ReverseGeocodeRequest> reverseGeocodeRequest = mockInfo->GetLocation();
421 mockInfo->Marshalling(newParcel);
475 std::unique_ptr<GeocodingMockInfo> mockInfo = std::make_unique<GeocodingMockInfo>(); variable
478 mockInfo->SetLocation(reverseGeocodeRequest);
479 EXPECT_NE(nullptr, mockInfo->GetLocation());
482 mockInfo->SetGeoAddressInfo(geoAddress);
483 EXPECT_NE(nullptr, mockInfo->GetGeoAddressInfo());
/base/location/test/location_geocode/source/
Dgeo_convert_service_test.cpp188 std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo; variable
189 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetReverseGeocodingMockInfo(mockInfo));
192 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetReverseGeocodingMockInfo(mockInfo));
/base/location/interfaces/inner_api/include/
Dlocator_proxy.h75 bool SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo);
117 …onErrCode SetReverseGeocodingMockInfoV9(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo);
Dlocator_impl.h83 bool SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo);
123 …onErrCode SetReverseGeocodingMockInfoV9(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo);
Dlocator.h71 …al bool SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) = 0;
112 std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) = 0;
Dnapi_util.h75 std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo);
Dlocation_async_context.h55 std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo;
/base/location/frameworks/native/source/
Dlocator_proxy.cpp436 …ocatorProxy::SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfo() argument
444 data.WriteInt32(mockInfo.size()); in SetReverseGeocodingMockInfo()
445 for (size_t i = 0; i < mockInfo.size(); i++) { in SetReverseGeocodingMockInfo()
446 mockInfo[i]->Marshalling(data); in SetReverseGeocodingMockInfo()
966 …atorProxy::SetReverseGeocodingMockInfoV9(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfoV9() argument
973 data.WriteInt32(mockInfo.size()); in SetReverseGeocodingMockInfoV9()
974 for (size_t i = 0; i < mockInfo.size(); i++) { in SetReverseGeocodingMockInfoV9()
975 mockInfo[i]->Marshalling(data); in SetReverseGeocodingMockInfoV9()
Dlocator_impl.cpp571 …LocatorImpl::SetReverseGeocodingMockInfo(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfo() argument
582 bool flag = proxy->SetReverseGeocodingMockInfo(mockInfo); in SetReverseGeocodingMockInfo()
1074 …catorImpl::SetReverseGeocodingMockInfoV9(std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in SetReverseGeocodingMockInfoV9() argument
1085 LocationErrCode errCode = proxy->SetReverseGeocodingMockInfoV9(mockInfo); in SetReverseGeocodingMockInfoV9()
Dnapi_util.cpp506 std::vector<std::shared_ptr<GeocodingMockInfo>>& mockInfo) in JsObjToRevGeocodeMock() argument
530 mockInfo.push_back(info); in JsObjToRevGeocodeMock()
/base/location/frameworks/js/napi/source/
Dlocation_napi_adapter.cpp915 std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo; in CreateReverseGeocodeAsyncContext() local
916 JsObjToRevGeocodeMock(env, argv[0], mockInfo); in CreateReverseGeocodeAsyncContext()
917 LocationErrCode errorCode = g_locatorClient->SetReverseGeocodingMockInfoV9(mockInfo); in CreateReverseGeocodeAsyncContext()
/base/location/test/location_locator/source/
Dlocator_service_test.cpp1181 std::vector<std::shared_ptr<GeocodingMockInfo>> mockInfo; variable
1189 mockInfo.push_back(info);
1194 EXPECT_EQ(true, proxy_->SetReverseGeocodingMockInfo(mockInfo));