Home
last modified time | relevance | path

Searched refs:subscribeState (Results 1 – 5 of 5) sorted by relevance

/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_manager_service_subscribe_module_test.cpp244 ErrCode subscribeState = AppAccount::GetInstance().CreateAppAccountEventListener( variable
246 EXPECT_EQ(subscribeState, AppAccount::INITIAL_SUBSCRIPTION);
248 subscribeState =
250 EXPECT_EQ(subscribeState, AppAccount::SUBSCRIBE_FAILED);
323 ErrCode subscribeState = AppAccount::GetInstance().CreateAppAccountEventListener( variable
325 EXPECT_EQ(subscribeState, AppAccount::INITIAL_SUBSCRIPTION);
360 ErrCode subscribeState = AppAccount::GetInstance().CreateAppAccountEventListener( variable
362 EXPECT_EQ(subscribeState, AppAccount::INITIAL_SUBSCRIPTION);
406 ErrCode subscribeState = AppAccount::GetInstance().CreateAppAccountEventListener( variable
408 EXPECT_EQ(subscribeState, AppAccount::INITIAL_SUBSCRIPTION);
[all …]
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_subscribe_module_test.cpp104 ErrCode subscribeState = OsAccount::GetInstance().CreateOsAccountEventListener( variable
106 EXPECT_EQ(subscribeState, OsAccount::INITIAL_SUBSCRIPTION);
156 ErrCode subscribeState = OsAccount::GetInstance().CreateOsAccountEventListener( variable
158 EXPECT_EQ(subscribeState, OsAccount::INITIAL_SUBSCRIPTION);
/base/notification/common_event_service/frameworks/core/src/
Dcommon_event.cpp143 uint8_t subscribeState = CreateCommonEventListener(subscriber, commonEventListener); in SubscribeCommonEvent() local
144 if (subscribeState == INITIAL_SUBSCRIPTION) { in SubscribeCommonEvent()
156 } else if (subscribeState == ALREADY_SUBSCRIBED) { in SubscribeCommonEvent()
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp516 ErrCode subscribeState = CreateOsAccountEventListener(subscriber, osAccountEventListener); in SubscribeOsAccount() local
517 if (subscribeState == INITIAL_SUBSCRIPTION) { in SubscribeOsAccount()
518 subscribeState = osAccountProxy_->SubscribeOsAccount(subscribeInfo, osAccountEventListener); in SubscribeOsAccount()
519 if (subscribeState != ERR_OK) { in SubscribeOsAccount()
522 return subscribeState; in SubscribeOsAccount()
523 } else if (subscribeState == ALREADY_SUBSCRIBED) { in SubscribeOsAccount()
/base/account/os_account/frameworks/appaccount/native/src/
Dapp_account.cpp513 ErrCode subscribeState = CreateAppAccountEventListener(subscriber, appAccountEventListener); in SubscribeAppAccount() local
514 if (subscribeState == INITIAL_SUBSCRIPTION) { in SubscribeAppAccount()
515subscribeState = appAccountProxy_->SubscribeAppAccount(subscribeInfo, appAccountEventListener); in SubscribeAppAccount()
516 if (subscribeState != ERR_OK) { in SubscribeAppAccount()
520 return subscribeState; in SubscribeAppAccount()
521 } else if (subscribeState == ALREADY_SUBSCRIBED) { in SubscribeAppAccount()