Home
last modified time | relevance | path

Searched refs:OnAccountsSwitch (Results 1 - 15 of 15) sorted by relevance

/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account_event_listener.cpp38 void OsAccountEventListener::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() function in OHOS::AccountSA::OsAccountEventListener
45 osAccountSubscriber_->OnAccountsSwitch(newId, oldId); in OnAccountsSwitch()
H A Dos_account_event_stub.cpp56 OnAccountsSwitch(newId, oldId); in OnRemoteRequest()
H A Dos_account_event_proxy.cpp51 void OsAccountEventProxy::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() function in OHOS::AccountSA::OsAccountEventProxy
/base/account/os_account/frameworks/osaccount/core/include/
H A Dios_account_event.h30 virtual void OnAccountsSwitch(const int &newId, const int &oldId) = 0;
H A Dos_account_event_proxy.h30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
H A Dos_account_event_listener.h30 void OnAccountsSwitch(const int &newId, const int &oldId) override;
/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_subscriber.h31 virtual void OnAccountsSwitch(const int &newId, const int &oldId) {}; in OnAccountsSwitch() function in OHOS::AccountSA::OsAccountSubscriber
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_subscribe_manager.cpp141 bool OsAccountSubscribeManager::OnAccountsSwitch(const sptr<IOsAccountEvent> &eventProxy, const int newId, in OnAccountsSwitch() function in OHOS::AccountSA::OsAccountSubscribeManager
148 eventProxy->OnAccountsSwitch(newId, oldId); in OnAccountsSwitch()
209 auto task = [this, eventProxy, newId, oldId] { this->OnAccountsSwitch(eventProxy, newId, oldId); }; in Publish()
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_subscribe_manager.h40 bool OnAccountsSwitch(const sptr<IOsAccountEvent> &eventProxy, const int newId, const int oldId);
/base/request/request/services/include/
H A Daccount.h43 virtual void OnAccountsSwitch(const int &newId, const int &oldId) override;
/base/request/request/services/src/cxx/
H A Daccount.cpp49 void SubscriberWrapper::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() function in OHOS::Request::SubscriberWrapper
/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h41 void OnAccountsSwitch(const int &newId, const int &oldId) override;
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp335 MOCK_METHOD2(OnAccountsSwitch, void(const int &newId, const int &oldId));
2566 EXPECT_CALL(*switchedSubscriber, OnAccountsSwitch(account.GetLocalId(), MAIN_ACCOUNT_ID)).Times(Exactly(1)); in HWTEST_F()
2572 EXPECT_CALL(*switchingSubscriber, OnAccountsSwitch(account.GetLocalId(), MAIN_ACCOUNT_ID)).Times(Exactly(1)); in HWTEST_F()
2689 EXPECT_CALL(*switchedSubscriber, OnAccountsSwitch(account.GetLocalId(), _)).Times(Exactly(1)); in HWTEST_F()
2695 EXPECT_CALL(*switchingSubscriber, OnAccountsSwitch(account.GetLocalId(), _)).Times(Exactly(1)); in HWTEST_F()
/base/time/time_service/services/
H A Dtime_system_ability.cpp94 void OnAccountsSwitch(const int &newId, const int &oldId) {} in OnAccountsSwitch() function in OHOS::MiscServices::UserRemovedSubscriber
/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp1528 void SubscriberPtr::OnAccountsSwitch(const int &newId, const int &oldId) in OnAccountsSwitch() function in OHOS::AccountJsKit::SubscriberPtr

Completed in 14 milliseconds