Home
last modified time | relevance | path

Searched refs:GetSwitchState (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/location/test/location_locator/source/
H A Dlocator_service_test.cpp232 int result = proxy_->GetSwitchState();
320 if (proxy_->GetSwitchState() == 1) {
469 if (proxy_->GetSwitchState() == 1) {
471 ret = proxy_ -> GetSwitchState() == 0 ? true : false;
477 ret = proxy_ -> GetSwitchState() == 1 ? true : false;
962 if (proxy_->GetSwitchState() == 1) {
1556 EXPECT_EQ(ERRCODE_SUCCESS, locatorAbility->GetSwitchState(state));
1562 locatorAbility->GetSwitchState(state);
1575 locatorAbility->GetSwitchState(state);
1577 locatorAbility->GetSwitchState(state);
[all …]
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dlocator_proxy.h46 int GetSwitchState();
/ohos5.0/base/location/services/location_locator/locator/include/
H A Dlocator_ability.h116 LocationErrCode GetSwitchState(int& state);
/ohos5.0/base/location/services/location_locator/locator/source/
H A Dlocator_skeleton.cpp274 LocationErrCode errorCode = LocatorAbility::GetInstance()->GetSwitchState(state); in PreGetSwitchState()
1299 LocationErrCode errorCode = locatorAbility->GetSwitchState(state); in CheckLocationSwitchState()
1483 LocationErrCode errorCode = locatorAbility->GetSwitchState(state); in SaDumpInfo()
H A Dlocator_ability.cpp496 LocationErrCode LocatorAbility::GetSwitchState(int& state) in GetSwitchState() function in OHOS::Location::LocatorAbility
1209 LocationErrCode errorCode = GetSwitchState(state); in ReportLocationStatus()
1227 LocationErrCode errorCode = GetSwitchState(state); in ReportErrorStatus()
/ohos5.0/base/location/frameworks/native/locator_sdk/source/
H A Dlocator_impl.cpp88 state = proxy->GetSwitchState(); in IsLocationEnabled()
632 state = proxy->GetSwitchState(); in IsLocationEnabledV9()
H A Dlocator_proxy.cpp47 int LocatorProxy::GetSwitchState() in GetSwitchState() function in OHOS::Location::LocatorProxy