/base/location/services/location_locator/callback/source/ |
D | cached_locations_callback_proxy.cpp | 29 …tionsCallbackProxy::OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) in OnCacheLocationsReport() argument 36 for (unsigned int i = 0; i < locations.size(); i++) { in OnCacheLocationsReport() 37 locations[i]->Marshalling(data); in OnCacheLocationsReport()
|
/base/location/test/location_passive/source/ |
D | passive_ability_test.cpp | 139 std::vector<std::shared_ptr<Location>> locations; variable 141 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations)); 144 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations)); 204 std::vector<std::shared_ptr<Location>> locations; variable 220 locations.push_back(Location::UnmarshallingShared(parcel)); 222 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); 235 std::vector<std::shared_ptr<Location>> locations; variable 251 locations.push_back(Location::UnmarshallingShared(parcel)); 253 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
|
/base/location/frameworks/native/source/ |
D | cached_locations_callback_host.cpp | 54 std::vector<std::shared_ptr<Location>> locations(size); in OnRemoteRequest() local 56 locations.push_back(Location::UnmarshallingShared(data)); in OnRemoteRequest() 58 Send(locations); in OnRemoteRequest() 75 bool CachedLocationsCallbackHost::Send(std::vector<std::shared_ptr<Location>>& locations) in Send() argument 97 context->locationList = locations; in Send() 151 …ationsCallbackHost::OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) in OnCacheLocationsReport() argument
|
D | napi_util.cpp | 83 void LocationsToJs(const napi_env& env, const std::vector<std::shared_ptr<Location>>& locations, na… in LocationsToJs() argument 85 if (locations.size() > 0) { in LocationsToJs() 86 for (unsigned int index = 0; index < locations.size(); index++) { in LocationsToJs() 88 SetValueDouble(env, "latitude", locations[index]->GetLatitude(), value); in LocationsToJs() 89 SetValueDouble(env, "longitude", locations[index]->GetLongitude(), value); in LocationsToJs() 90 SetValueDouble(env, "altitude", locations[index]->GetAltitude(), value); in LocationsToJs() 91 SetValueDouble(env, "accuracy", locations[index]->GetAccuracy(), value); in LocationsToJs() 92 SetValueDouble(env, "speed", locations[index]->GetSpeed(), value); in LocationsToJs() 93 SetValueInt64(env, "timeStamp", locations[index]->GetTimeStamp(), value); in LocationsToJs() 94 SetValueDouble(env, "direction", locations[index]->GetDirection(), value); in LocationsToJs() [all …]
|
/base/location/interfaces/inner_api/include/ |
D | cached_locations_callback_host.h | 41 bool Send(std::vector<std::shared_ptr<Location>>& locations); 42 void OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) override;
|
D | i_cached_locations_callback.h | 31 … virtual void OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) = 0;
|
D | napi_util.h | 43 void LocationsToJs(const napi_env& env, const std::vector<std::shared_ptr<Location>>& locations, na…
|
/base/update/updater/services/applypatch/ |
D | block_set.cpp | 241 void BlockSet::MoveBlock(std::vector<uint8_t> &target, const BlockSet& locations, in MoveBlock() argument 246 size_t start = locations.TotalBlockSize(); in MoveBlock() 247 for (auto it = locations.CrBegin(); it != locations.CrEnd(); it++) { in MoveBlock() 279 BlockSet locations; in LoadSourceBuffer() local 280 locations.ParserAndInsert(nextArgv); in LoadSourceBuffer() 281 MoveBlock(sourceBuffer, locations, sourceBuffer); in LoadSourceBuffer() 297 BlockSet locations; in LoadSourceBuffer() local 298 locations.ParserAndInsert(tokens[1]); in LoadSourceBuffer() 299 MoveBlock(sourceBuffer, locations, stash); in LoadSourceBuffer()
|
/base/location/test/location_network/source/ |
D | network_ability_test.cpp | 181 std::vector<std::shared_ptr<Location>> locations; variable 183 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations)); 186 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations)); 247 std::vector<std::shared_ptr<Location>> locations; variable 263 locations.push_back(Location::UnmarshallingShared(parcel)); 265 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); 278 std::vector<std::shared_ptr<Location>> locations; variable 294 locations.push_back(Location::UnmarshallingShared(parcel)); 296 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
|
/base/location/test/fuzztest/locator/gnss_fuzzer/ |
D | gnss_fuzzer.cpp | 74 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in GnssProxyFuzzTest() local 77 proxy->SetMocked(data[index++], locations); in GnssProxyFuzzTest()
|
/base/location/services/location_locator/callback/include/ |
D | cached_locations_callback_proxy.h | 33 void OnCacheLocationsReport(const std::vector<std::unique_ptr<Location>>& locations) override;
|
/base/location/test/location_gnss/mock/include/ |
D | mock_cached_locations_callback_host.h | 37 …CK_METHOD(void, OnCacheLocationsReport, (const std::vector<std::unique_ptr<Location>>& locations));
|
/base/location/test/fuzztest/locator/locator_fuzzer/ |
D | locator_fuzzer.cpp | 298 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in TestMockFunc() local 299 g_locatorImpl->SetMockedLocations(data[index++], locations); in TestMockFunc() 314 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in TestMockFuncV9() local 315 g_locatorImpl->SetMockedLocationsV9(data[index++], locations); in TestMockFuncV9() 530 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; in LocatorAbility003FuzzerTest() local 531 locatorAbility->SetMockedLocations(data[index++], locations); in LocatorAbility003FuzzerTest() 542 locatorAbility->ProcessLocationMockMsg(timeInterval, locations, data[index++]); in LocatorAbility003FuzzerTest() 544 locatorAbility->SendLocationMockMsgToGnssSa(nullptr, timeInterval, locations, data[index++]); in LocatorAbility003FuzzerTest() 547 locatorAbility->SendLocationMockMsgToNetworkSa(nullptr, timeInterval, locations, data[index++]); in LocatorAbility003FuzzerTest()
|
/base/location/test/location_locator/source/ |
D | callback_test.cpp | 60 std::vector<std::unique_ptr<Location>> locations; variable 80 locations.emplace_back(std::move(location)); 81 cachedLocationsCallbackProxy->OnCacheLocationsReport(locations);
|
D | locator_service_test.cpp | 1376 std::vector<std::shared_ptr<Location>> locations; variable 1377 EXPECT_EQ(true, locatorImpl->SetMockedLocations(timeInterval, locations)); 1759 std::vector<std::shared_ptr<Location>> locations; variable 1760 EXPECT_EQ(ERRCODE_SUCCESS, locatorAbility->SetMockedLocations(timeInterval, locations)); 1763 EXPECT_EQ(ERRCODE_SUCCESS, locatorAbility->SetMockedLocations(timeInterval, locations)); 1975 std::vector<std::shared_ptr<OHOS::Location::Location>> locations; variable 1976 locatorAbility->SendLocationMockMsgToGnssSa(nullptr, 0, locations, 0); 1977 locatorAbility->SendLocationMockMsgToNetworkSa(nullptr, 0, locations, 0); 1978 locatorAbility->SendLocationMockMsgToPassiveSa(nullptr, 0, locations, 0);
|
D | locator_impl_test.cpp | 209 std::vector<std::shared_ptr<Location>> locations; variable 225 locations.push_back(Location::UnmarshallingShared(parcel)); 226 …EXPECT_EQ(ERRCODE_SUCCESS, locatorImpl_->SetMockedLocationsV9(timeInterval, locations)); // set fa…
|
/base/location/test/location_gnss/source/ |
D | gnss_ability_test.cpp | 558 std::vector<std::shared_ptr<Location>> locations; variable 561 EXPECT_EQ(ERRCODE_SUCCESS, proxy_->SetMocked(timeInterval, locations)); 565 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, proxy_->SetMocked(timeInterval, locations)); 617 std::vector<std::shared_ptr<Location>> locations; variable 633 locations.push_back(Location::UnmarshallingShared(parcel)); 635 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations)); 648 std::vector<std::shared_ptr<Location>> locations; variable 664 locations.push_back(Location::UnmarshallingShared(parcel)); 666 EXPECT_EQ(ERRCODE_SUCCESS, ability_->SetMocked(timeInterval, locations));
|
/base/update/updater/services/include/applypatch/ |
D | block_set.h | 85 static void MoveBlock(std::vector<uint8_t> &target, const BlockSet &locations,
|
/base/update/updater/services/script/script_interpreter/ |
D | script_yacc.y | 85 %locations
|
/base/location/ |
D | README.en.md | 38 …itioning estimates the current location of a mobile device based on the locations of WLANs and Blu…
|