Searched refs:LocationConfigManager (Results 1 – 8 of 8) sorted by relevance
/base/location/test/location_locator/source/ |
D | location_config_manager_test.cpp | 55 EXPECT_EQ(0, LocationConfigManager::GetInstance().Init()); 65 LocationConfigManager::GetInstance().SetLocationSwitchState(STATE_CLOSE)); 67 LocationConfigManager::GetInstance().GetLocationSwitchState()); 70 LocationConfigManager::GetInstance().SetLocationSwitchState(STATE_OPEN)); 72 LocationConfigManager::GetInstance().GetLocationSwitchState()); 75 LocationConfigManager::GetInstance().SetLocationSwitchState(STATE_UNKNOWN)); 77 LocationConfigManager::GetInstance().GetLocationSwitchState()); 79 LocationConfigManager::GetInstance().IsExistFile(GetLocationSwitchConfigPath())); 91 LocationConfigManager::GetInstance().SetPrivacyTypeState(PRIVACY_TYPE_INVALID_LEFT, true)); 93 … LocationConfigManager::GetInstance().GetPrivacyTypeState(PRIVACY_TYPE_INVALID_LEFT, isConfirmed)); [all …]
|
/base/location/test/fuzztest/locator/locationconfigmanager_fuzzer/ |
D | locationconfigmanager_fuzzer.cpp | 28 LocationConfigManager::GetInstance().Init(); in LocationConfigManagerFuzzerTest() 29 LocationConfigManager::GetInstance().GetLocationSwitchState(); in LocationConfigManagerFuzzerTest() 30 LocationConfigManager::GetInstance().SetLocationSwitchState(data[index++]); in LocationConfigManagerFuzzerTest() 32 LocationConfigManager::GetInstance().IsExistFile(fileName); in LocationConfigManagerFuzzerTest() 34 LocationConfigManager::GetInstance().CreateFile(fileName, fileData); in LocationConfigManagerFuzzerTest() 35 LocationConfigManager::GetInstance().GetPrivacyTypeConfigPath(data[index++]); in LocationConfigManagerFuzzerTest() 37 LocationConfigManager::GetInstance().GetPrivacyTypeState(data[index++], isConfirmed); in LocationConfigManagerFuzzerTest() 38 LocationConfigManager::GetInstance().SetPrivacyTypeState(data[index++], true); in LocationConfigManagerFuzzerTest() 39 LocationConfigManager::GetInstance().SetPrivacyTypeState(data[index++], false); in LocationConfigManagerFuzzerTest()
|
/base/location/services/location_locator/locator/source/ |
D | location_config_manager.cpp | 27 LocationConfigManager &LocationConfigManager::GetInstance() in GetInstance() 29 static LocationConfigManager gLocationConfigManager; in GetInstance() 33 LocationConfigManager::LocationConfigManager() in LocationConfigManager() function in OHOS::Location::LocationConfigManager 41 LocationConfigManager::~LocationConfigManager() in ~LocationConfigManager() 45 int LocationConfigManager::Init() in Init() 54 bool LocationConfigManager::IsExistFile(const std::string& filename) in IsExistFile() 74 bool LocationConfigManager::CreateFile(const std::string& filename, const std::string& filedata) in CreateFile() 90 std::string LocationConfigManager::GetLocationSwitchConfigPath() in GetLocationSwitchConfigPath() 101 std::string LocationConfigManager::GetPrivacyTypeConfigPath(const int type) in GetPrivacyTypeConfigPath() 130 int LocationConfigManager::GetLocationSwitchState() in GetLocationSwitchState() [all …]
|
D | locator_background_proxy.cpp | 66 proxySwtich_ = (LocationConfigManager::GetInstance().GetLocationSwitchState() == ENABLED); in LocatorBackgroundProxy()
|
D | locator_ability.cpp | 402 return LocationConfigManager::GetInstance().GetPrivacyTypeState(type, isConfirmed); in IsLocationPrivacyConfirmed() 407 return LocationConfigManager::GetInstance().SetPrivacyTypeState(type, isConfirmed); in SetLocationPrivacyConfirmStatus()
|
/base/location/services/location_locator/locator/include/ |
D | location_config_manager.h | 27 class LocationConfigManager { 29 ~LocationConfigManager(); 30 static LocationConfigManager &GetInstance(); 93 LocationConfigManager();
|
/base/location/services/location_geocode/geocode/source/ |
D | geo_convert_service.cpp | 128 bool result = LocationConfigManager::GetInstance().GetGeocodeServiceName(serviceName); in ConnectService() 134 bool res = LocationConfigManager::GetInstance().GetGeocodeAbilityName(abilityName); in ConnectService() 178 bool result = LocationConfigManager::GetInstance().GetGeocodeServiceName(serviceName); in IsGeoConvertAvailable() 363 bool result = LocationConfigManager::GetInstance().GetGeocodeServiceName(serviceName); in GetService()
|
/base/location/services/location_network/network/source/ |
D | network_ability.cpp | 116 bool result = LocationConfigManager::GetInstance().GetNlpServiceName(serviceName); in ConnectNlpService() 122 bool res = LocationConfigManager::GetInstance().GetNlpAbilityName(abilityName); in ConnectNlpService() 230 bool result = LocationConfigManager::GetInstance().GetNlpServiceName(serviceName); in RequestRecord()
|