Home
last modified time | relevance | path

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

/ohos5.0/foundation/distributeddatamgr/pasteboard/services/switch/
H A Dpasteboard_switch.cpp31 switchObserver_ = new (std::nothrow) PastedSwitchObserver( in PastedSwitch()
40 …DataShareDelegate::GetInstance().RegisterObserver(DISTRIBUTED_PASTEDBOARD_SWITCH, switchObserver_); in Init()
59 …taShareDelegate::GetInstance().UnregisterObserver(DISTRIBUTED_PASTEDBOARD_SWITCH, switchObserver_); in DeInit()
H A Dpasteboard_switch.h45 sptr<PastedSwitchObserver> switchObserver_; variable
/ohos5.0/foundation/multimodalinput/input/service/account_manager/src/
H A Daccount_manager.cpp84 if (switchObserver_ != nullptr) { in ~AccountSetting()
85 setting.UnregisterObserver(switchObserver_); in ~AccountSetting()
166 if (switchObserver_ == nullptr) { in InitializeSetting()
167 switchObserver_ = RegisterSettingObserver(ACC_SHORTCUT_ENABLED, in InitializeSetting()
184 …if ((switchObserver_ == nullptr) || (onScreenLockedSwitchObserver_ == nullptr) || (configObserver_… in InitializeSetting()
/ohos5.0/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/server/sa/
H A Dintell_voice_service_manager.cpp209 switchObserver_[switchKey] = sptr<SwitchObserver>(new (std::nothrow) SwitchObserver()); in RegisterObserver()
210 if (switchObserver_[switchKey] == nullptr) { in RegisterObserver()
214 switchObserver_[switchKey]->SetUpdateFunc([switchKey]() { in RegisterObserver()
221 switchProvider_->RegisterObserver(switchObserver_[switchKey], switchKey); in RegisterObserver()
232 for (auto it : switchObserver_) { in ReleaseSwitchProvider()
H A Dintell_voice_service_manager.h160 std::map<const std::string, sptr<SwitchObserver>> switchObserver_; variable
/ohos5.0/foundation/multimodalinput/input/service/account_manager/include/
H A Daccount_manager.h70 sptr<SettingObserver> switchObserver_; variable
/ohos5.0/foundation/multimodalinput/input/service/account_manager/test/
H A Daccount_manager_test.cpp213 accountSetting.switchObserver_ = nullptr;