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.cpp46 if (!IsExistFile(GetLocationSwitchConfigPath())) { in Init()
47 CreateFile(GetLocationSwitchConfigPath(), "0"); in Init()
88 std::string LocationConfigManager::GetLocationSwitchConfigPath() in GetLocationSwitchConfigPath() function in OHOS::Location::LocationConfigManager
131 if (!IsExistFile(GetLocationSwitchConfigPath())) { in GetLocationSwitchState()
132 CreateFile(GetLocationSwitchConfigPath(), "0"); in GetLocationSwitchState()
134 std::ifstream fs(GetLocationSwitchConfigPath()); in GetLocationSwitchState()
181 if (!IsExistFile(GetLocationSwitchConfigPath())) { in SetLocationSwitchState()
182 CreateFile(GetLocationSwitchConfigPath(), "0"); in SetLocationSwitchState()
184 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.h72 std::string GetLocationSwitchConfigPath();