Home
last modified time | relevance | path

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

/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocation_config_manager.cpp54 if (!IsExistFile(GetLocationSwitchConfigPath())) { in Init()
55 CreateFile(GetLocationSwitchConfigPath(), "0"); in Init()
96 std::string LocationConfigManager::GetLocationSwitchConfigPath() in GetLocationSwitchConfigPath() function in OHOS::Location::LocationConfigManager
139 if (!IsExistFile(GetLocationSwitchConfigPath())) { in GetLocationSwitchState()
140 CreateFile(GetLocationSwitchConfigPath(), "0"); in GetLocationSwitchState()
142 std::ifstream fs(GetLocationSwitchConfigPath()); in GetLocationSwitchState()
243 if (!IsExistFile(GetLocationSwitchConfigPath())) { in SetLocationSwitchState()
244 CreateFile(GetLocationSwitchConfigPath(), "0"); in SetLocationSwitchState()
246 std::fstream fs(GetLocationSwitchConfigPath()); in SetLocationSwitchState()
/ohos5.0/base/location/test/location_locator/source/
H A 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());
/ohos5.0/base/location/test/location_locator/include/
H A Dlocation_config_manager_test.h27 std::string GetLocationSwitchConfigPath();
/ohos5.0/base/location/services/location_locator/locator/include/
H A Dlocation_config_manager.h129 std::string GetLocationSwitchConfigPath();