Home
last modified time | relevance | path

Searched refs:AccountState (Results 1 - 3 of 3) sorted by relevance

/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/
H A Daccount_status.cpp22 AccountState tempPreAccountState = preAccountState_; in IsNeedCleanCache()
23 AccountState tempAccountState = accountState_; in IsNeedCleanCache()
24 preAccountState_ = AccountState::ACCOUNT_LOGIN; in IsNeedCleanCache()
25 accountState_ = AccountState::ACCOUNT_LOGIN; in IsNeedCleanCache()
26 return (tempPreAccountState == AccountState::ACCOUNT_LOGOUT && tempAccountState == AccountState::ACCOUNT_LOGIN) || in IsNeedCleanCache()
27 (tempPreAccountState == AccountState::ACCOUNT_LOGIN && tempAccountState == AccountState::ACCOUNT_LOGOUT); in IsNeedCleanCache()
30 void AccountStatus::SetAccountState(AccountState accountState) in SetAccountState()
36 AccountStatus::AccountState AccountStatu
[all...]
H A Daccount_status_listener.cpp55 AccountStatus::SetAccountState(AccountStatus::AccountState::ACCOUNT_LOGIN); in OnReceiveEvent()
58 AccountStatus::SetAccountState(AccountStatus::AccountState::ACCOUNT_LOGOUT); in OnReceiveEvent()
61 AccountStatus::GetAccountState() == AccountStatus::AccountState::ACCOUNT_LOGIN) { in OnReceiveEvent()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/
H A Daccount_status.h24 enum AccountState { enum in OHOS::FileManagement::CloudDisk::AccountStatus
29 static void SetAccountState(AccountState accountState);
30 static AccountStatus::AccountState GetAccountState();
33 static inline AccountState preAccountState_{AccountState::ACCOUNT_LOGIN};
34 static inline AccountState accountState_{AccountState::ACCOUNT_LOGIN};

Completed in 1 milliseconds