Home
last modified time | relevance | path

Searched refs:mockEnabled_ (Results 1 - 6 of 6) sorted by relevance

/base/location/services/location_locator/locator/source/
H A Dsubability_common.cpp158 LBSLOGI(label_, "EnableLocationMock current state is %{public}d", mockEnabled_); in EnableLocationMock()
159 mockEnabled_ = true; in EnableLocationMock()
165 LBSLOGI(label_, "DisableLocationMock current state is %{public}d", mockEnabled_); in DisableLocationMock()
166 mockEnabled_ = false; in DisableLocationMock()
172 if (!mockEnabled_) { in SetMockedLocations()
173 LBSLOGE(label_, "SetMockedLocations current state is %{public}d, need enbale it", mockEnabled_); in SetMockedLocations()
194 return mockEnabled_; in IsLocationMocked()
/base/location/services/location_locator/locator/include/
H A Dsubability_common.h76 bool mockEnabled_ = false; member in OHOS::Location::SubAbility
/base/location/services/location_geocode/geocode/source/
H A Dgeo_convert_service.cpp200 if (mockEnabled_) { in GetAddressByCoordinate()
296 mockEnabled_ = true; in EnableReverseGeocodingMock()
303 mockEnabled_ = false; in DisableReverseGeocodingMock()
362 return mockEnabled_; in CheckIfGeoConvertConnecting()
/base/location/services/location_geocode/geocode/include/
H A Dgeo_convert_service.h107 bool mockEnabled_ = false; member in OHOS::Location::GeoConvertService
/base/location/test/location_geocode/source/
H A Dgeo_convert_service_test.cpp184 service_->mockEnabled_ = false; in HWTEST_F()
/base/location/test/location_gnss/source/
H A Dgnss_ability_test.cpp2609 ability_->mockEnabled_ = false; in HWTEST_F()
2614 ability_->mockEnabled_ = true; in HWTEST_F()

Completed in 8 milliseconds