Home
last modified time | relevance | path

Searched refs:GetLocationSwitchConfigPath (Results 1 – 4 of 4) sorted by relevance

/base/location/services/location_locator/locator/source/
Dlocation_config_manager.cpp48 if (!IsExistFile(GetLocationSwitchConfigPath())) { in Init()
49 CreateFile(GetLocationSwitchConfigPath(), "0"); in Init()
90 std::string LocationConfigManager::GetLocationSwitchConfigPath() in GetLocationSwitchConfigPath() function in OHOS::Location::LocationConfigManager
133 if (!IsExistFile(GetLocationSwitchConfigPath())) { in GetLocationSwitchState()
134 CreateFile(GetLocationSwitchConfigPath(), "0"); in GetLocationSwitchState()
136 std::ifstream fs(GetLocationSwitchConfigPath()); in GetLocationSwitchState()
194 if (!IsExistFile(GetLocationSwitchConfigPath())) { in SetLocationSwitchState()
195 CreateFile(GetLocationSwitchConfigPath(), "0"); in SetLocationSwitchState()
197 std::fstream fs(GetLocationSwitchConfigPath()); in SetLocationSwitchState()
/base/location/test/location_locator/source/
Dlocation_config_manager_test.cpp39 std::string LocationConfigManagerTest::GetLocationSwitchConfigPath() in GetLocationSwitchConfigPath() function in OHOS::Location::LocationConfigManagerTest
79 LocationConfigManager::GetInstance().IsExistFile(GetLocationSwitchConfigPath()));
80 remove(GetLocationSwitchConfigPath().c_str());
/base/location/test/location_locator/include/
Dlocation_config_manager_test.h27 std::string GetLocationSwitchConfigPath();
/base/location/services/location_locator/locator/include/
Dlocation_config_manager.h94 std::string GetLocationSwitchConfigPath();