Home
last modified time | relevance | path

Searched refs:SUPPORT_STATUS (Results 1 - 4 of 4) sorted by relevance

/foundation/distributeddatamgr/pasteboard/services/switch/
H A Dpasteboard_switch.cpp28 constexpr const char *SUPPORT_STATUS = "1"; member
48 DevProfile::GetInstance().PutEnabledStatus(SUPPORT_STATUS); in SetSwitch()
65 (value == SUPPORT_STATUS) ? UeReporter::SwitchStatus::SWITCH_OPEN : UeReporter::SwitchStatus::SWITCH_CLOSE); in ReportUeSwitchEvent()
/foundation/distributeddatamgr/pasteboard/framework/framework/device/
H A Ddev_profile.cpp38 constexpr const char *SUPPORT_STATUS = "1"; member
119 DevProfile::GetInstance().Notify(newProfile.GetCharacteristicValue() == SUPPORT_STATUS); in OnCharacteristicProfileUpdate()
136 Notify(enabledStatus == SUPPORT_STATUS); in PutEnabledStatus()
151 (enabledStatus == SUPPORT_STATUS) ? UeReporter::SwitchStatus::SWITCH_OPEN in PutEnabledStatus()
180 if (ret == HANDLE_OK && profile.GetCharacteristicValue() == SUPPORT_STATUS) { in GetEnabledStatus()
181 return std::make_pair(static_cast<int32_t>(PasteboardError::E_OK), SUPPORT_STATUS); in GetEnabledStatus()
H A Ddistributed_module_config.cpp100 if (status.first != static_cast<int32_t>(PasteboardError::E_OK) || status.second != SUPPORT_STATUS) { in GetEnabledStatus()
109 if (res.first == static_cast<int32_t>(PasteboardError::E_OK) && res.second == SUPPORT_STATUS) { in GetEnabledStatus()
/foundation/distributeddatamgr/pasteboard/framework/framework/include/device/
H A Ddistributed_module_config.h52 static constexpr const char *SUPPORT_STATUS = "1"; member in OHOS::MiscServices::DistributedModuleConfig

Completed in 3 milliseconds