Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/device/
H A Ddev_profile.cpp43 DevProfile::SubscribeDPChangeListener::SubscribeDPChangeListener() in SubscribeDPChangeListener()
47 DevProfile::SubscribeDPChangeListener::~SubscribeDPChangeListener() in ~SubscribeDPChangeListener()
82 int32_t DevProfile::SubscribeDPChangeListener::OnDeviceProfileUpdate( in OnDeviceProfileUpdate()
129 DevProfile::DevProfile() in DevProfile() function in OHOS::MiscServices::DevProfile
133 DevProfile &DevProfile::GetInstance() in GetInstance()
135 static DevProfile instance; in GetInstance()
139 void DevProfile::OnReady() in OnReady()
143 void DevProfile::PutEnabledStatus(const std::string &enabledStatus) in PutEnabledStatus()
292 void DevProfile::UnsubscribeAllProfileEvents() in UnsubscribeAllProfileEvents()
308 void DevProfile::Watch(Observer observer) in Watch()
[all …]
H A Ddistributed_module_config.cpp94 auto status = DevProfile::GetInstance().GetEnabledStatus(localNetworkId); in GetEnabledStatus()
103 auto res = DevProfile::GetInstance().GetEnabledStatus(id); in GetEnabledStatus()
115 DevProfile::GetInstance().SubscribeProfileEvent(device); in Online()
122 DevProfile::GetInstance().UnSubscribeProfileEvent(device); in Offline()
128 DevProfile::GetInstance().OnReady(); in OnReady()
134 DevProfile::GetInstance().Watch([this](bool isEnable)-> void { in Init()
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/include/device/
H A Ddev_profile.h28 class API_EXPORT DevProfile {
31 static DevProfile &GetInstance();
67 DevProfile();
68 ~DevProfile() = default;
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/switch/
H A Dpasteboard_switch.cpp50 DevProfile::GetInstance().PutEnabledStatus(SUPPORT_STATUS); in SetSwitch()
54 DevProfile::GetInstance().PutEnabledStatus(value); in SetSwitch()