Lines Matching defs:const
32 CommonEventSubscriber(const EventFwk::CommonEventSubscribeInfo &subscribeInfo)
36 void OnReceiveEvent(const EventFwk::CommonEventData &data);
45 AccountSetting(const AccountSetting &other);
46 AccountSetting& operator=(const AccountSetting &other);
48 int32_t GetAccountId() const;
49 bool GetAccShortcutEnabled() const;
50 bool GetAccShortcutEnabledOnScreenLocked() const;
51 int32_t GetAccShortcutTimeout() const;
54 static void AccShortcutTimeout(int32_t accountId, const std::string &key);
55 static void AccShortcutEnabled(int32_t accountId, const std::string &key);
56 static void AccShortcutEnabledOnScreenLocked(int32_t accountId, const std::string &key);
57 sptr<SettingObserver> RegisterSettingObserver(const std::string &key, SettingObserver::UpdateFunc onUpdate);
59 void OnAccShortcutTimeoutChanged(const std::string &key);
60 void OnAccShortcutEnabled(const std::string &key);
61 void OnAccShortcutEnabledOnScreenLocked(const std::string &key);
62 bool ReadSwitchStatus(const std::string &key, bool currentSwitchStatus);
91 void OnCommonEvent(const EventFwk::CommonEventData &data);
92 void OnAddUser(const EventFwk::CommonEventData &data);
93 void OnRemoveUser(const EventFwk::CommonEventData &data);
94 void OnSwitchUser(const EventFwk::CommonEventData &data);
103 std::map<std::string, std::function<void(const EventFwk::CommonEventData &)>> handlers_;
106 inline int32_t AccountManager::AccountSetting::GetAccountId() const
111 inline bool AccountManager::AccountSetting::GetAccShortcutEnabled() const
116 inline bool AccountManager::AccountSetting::GetAccShortcutEnabledOnScreenLocked() const
121 inline int32_t AccountManager::AccountSetting::GetAccShortcutTimeout() const