Home
last modified time | relevance | path

Searched refs:fenceRequest (Results 1 – 3 of 3) sorted by relevance

/base/location/test/location_locator/source/
Dlocation_without_permission_test.cpp148 std::unique_ptr<GeofenceRequest> fenceRequest = std::make_unique<GeofenceRequest>(); variable
149 fenceRequest->scenario = SCENE_NAVIGATION;
155 fenceRequest->geofence = geofence;
156 EXPECT_EQ(true, locatorImpl->AddFence(fenceRequest));
157 EXPECT_EQ(true, locatorImpl->RemoveFence(fenceRequest));
240 std::unique_ptr<GeofenceRequest> fenceRequest = std::make_unique<GeofenceRequest>(); variable
241 fenceRequest->scenario = SCENE_NAVIGATION;
247 fenceRequest->geofence = geofence;
248 EXPECT_EQ(ERRCODE_SWITCH_OFF, locatorImpl->AddFenceV9(fenceRequest));
249 EXPECT_EQ(ERRCODE_SWITCH_OFF, locatorImpl->RemoveFenceV9(fenceRequest));
Dlocator_impl_test.cpp252 std::unique_ptr<GeofenceRequest> fenceRequest = std::make_unique<GeofenceRequest>(); variable
253 fenceRequest->scenario = SCENE_NAVIGATION;
259 fenceRequest->geofence = geofence;
260 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, locatorImpl_->AddFenceV9(fenceRequest));
261 EXPECT_EQ(ERRCODE_NOT_SUPPORTED, locatorImpl_->RemoveFenceV9(fenceRequest));
Dlocator_service_test.cpp1401 std::unique_ptr<GeofenceRequest> fenceRequest = std::make_unique<GeofenceRequest>(); variable
1402 fenceRequest->scenario = SCENE_NAVIGATION;
1408 fenceRequest->geofence = geofence;
1409 EXPECT_EQ(true, locatorImpl->AddFence(fenceRequest));
1410 EXPECT_EQ(true, locatorImpl->RemoveFence(fenceRequest));
1784 std::unique_ptr<GeofenceRequest> fenceRequest = std::make_unique<GeofenceRequest>(); variable
1785 fenceRequest->scenario = SCENE_NAVIGATION;
1791 fenceRequest->geofence = geofence;
1792 locatorAbility->AddFence(fenceRequest);
1793 locatorAbility->RemoveFence(fenceRequest);