Home
last modified time | relevance | path

Searched refs:isVerified (Results 1 – 25 of 25) sorted by relevance

/base/account/os_account/interfaces/innerkits/osaccount/native/include/
Dos_account_manager.h36 static ErrCode IsOsAccountVerified(const int id, bool &isVerified);
64 static ErrCode IsCurrentOsAccountVerified(bool &isVerified);
66 static ErrCode SetCurrentOsAccountIsVerified(const bool isVerified);
67 static ErrCode SetOsAccountIsVerified(const int id, const bool isVerified);
Dos_account_info.h69 …bool isVerified, std::string photo, int64_t createTime, int64_t lastLoginTime, int64_t serialNumbe…
90 void SetIsVerified(bool isVerified);
/base/account/os_account/frameworks/osaccount/core/include/
Dos_account.h36 ErrCode IsOsAccountVerified(const int id, bool &isVerified);
61 ErrCode IsCurrentOsAccountVerified(bool &isVerified);
63 ErrCode SetCurrentOsAccountIsVerified(const bool isVerified);
64 ErrCode SetOsAccountIsVerified(const int id, const bool isVerified);
Dios_account.h44 virtual ErrCode IsOsAccountVerified(const int id, bool &isVerified) = 0;
70 virtual ErrCode IsCurrentOsAccountVerified(bool &isVerified) = 0;
72 virtual ErrCode SetCurrentOsAccountIsVerified(const bool isVerified) = 0;
73 virtual ErrCode SetOsAccountIsVerified(const int id, const bool isVerified) = 0;
Dos_account_proxy.h40 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override;
66 ErrCode IsCurrentOsAccountVerified(bool &isVerified) override;
68 ErrCode SetCurrentOsAccountIsVerified(const bool isVerified) override;
69 ErrCode SetOsAccountIsVerified(const int id, const bool isVerified) override;
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp208 ErrCode OsAccountManager::IsCurrentOsAccountVerified(bool &isVerified) in IsCurrentOsAccountVerified() argument
210 return OsAccount::GetInstance().IsCurrentOsAccountVerified(isVerified); in IsCurrentOsAccountVerified()
218 ErrCode OsAccountManager::SetCurrentOsAccountIsVerified(const bool isVerified) in SetCurrentOsAccountIsVerified() argument
220 return OsAccount::GetInstance().SetCurrentOsAccountIsVerified(isVerified); in SetCurrentOsAccountIsVerified()
223 ErrCode OsAccountManager::SetOsAccountIsVerified(const int id, const bool isVerified) in SetOsAccountIsVerified() argument
225 return OsAccount::GetInstance().SetOsAccountIsVerified(id, isVerified); in SetOsAccountIsVerified()
Dos_account_info.cpp71 …std::vector<std::string> constraints, bool isVerified, std::string photo, int64_t createTime, int6… in OsAccountInfo() argument
77 isVerified_(isVerified), in OsAccountInfo()
134 void OsAccountInfo::SetIsVerified(bool isVerified) in SetIsVerified() argument
136 isVerified_ = isVerified; in SetIsVerified()
/base/account/os_account/services/accountmgr/include/osaccount/
Dos_account_manager_service.h44 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override;
82 ErrCode IsCurrentOsAccountVerified(bool &isVerified) override;
85 ErrCode SetCurrentOsAccountIsVerified(const bool isVerified) override;
86 ErrCode SetOsAccountIsVerified(const int id, const bool isVerified) override;
Diinner_os_account.h39 virtual ErrCode IsOsAccountVerified(const int id, bool &isVerified) = 0;
62 virtual ErrCode SetOsAccountIsVerified(const int id, const bool isVerified) = 0;
Diinner_os_account_manager.h42 ErrCode IsOsAccountVerified(const int id, bool &isVerified) override;
65 ErrCode SetOsAccountIsVerified(const int id, const bool isVerified) override;
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dfuzz_test_manager.cpp125 bool isVerified = GetBoolParam(); in RegisterOsAccountManager() local
126 OsAccountManager::IsOsAccountVerified(GetIntParam(), isVerified); in RegisterOsAccountManager()
255 bool isVerified = GetBoolParam(); in RegisterOsAccountManager() local
256 OsAccountManager::IsCurrentOsAccountVerified(isVerified); in RegisterOsAccountManager()
265 bool isVerified = GetBoolParam(); in RegisterOsAccountManager() local
266 OsAccountManager::SetCurrentOsAccountIsVerified(isVerified); in RegisterOsAccountManager()
/base/account/os_account/frameworks/osaccount/core/src/
Dos_account.cpp177 ErrCode OsAccount::IsOsAccountVerified(const int id, bool &isVerified) in IsOsAccountVerified() argument
179 isVerified = false; in IsOsAccountVerified()
190 return osAccountProxy_->IsOsAccountVerified(id, isVerified); in IsOsAccountVerified()
587 ErrCode OsAccount::IsCurrentOsAccountVerified(bool &isVerified) in IsCurrentOsAccountVerified() argument
589 isVerified = false; in IsCurrentOsAccountVerified()
595 return osAccountProxy_->IsCurrentOsAccountVerified(isVerified); in IsCurrentOsAccountVerified()
613 ErrCode OsAccount::SetCurrentOsAccountIsVerified(const bool isVerified) in SetCurrentOsAccountIsVerified() argument
620 return osAccountProxy_->SetCurrentOsAccountIsVerified(isVerified); in SetCurrentOsAccountIsVerified()
623 ErrCode OsAccount::SetOsAccountIsVerified(const int id, const bool isVerified) in SetOsAccountIsVerified() argument
634 return osAccountProxy_->SetOsAccountIsVerified(id, isVerified); in SetOsAccountIsVerified()
Dos_account_stub.cpp716 bool isVerified = false; in ProcIsOsAccountVerified() local
717 ErrCode result = IsOsAccountVerified(localId, isVerified); in ProcIsOsAccountVerified()
722 if (!reply.WriteBool(isVerified)) { in ProcIsOsAccountVerified()
845 bool isVerified = false; in ProcIsCurrentOsAccountVerified() local
846 ErrCode result = IsCurrentOsAccountVerified(isVerified); in ProcIsCurrentOsAccountVerified()
851 reply.WriteBool(isVerified); in ProcIsCurrentOsAccountVerified()
874 bool isVerified = data.ReadBool(); in ProcSetCurrentOsAccountIsVerified() local
875 ErrCode result = SetCurrentOsAccountIsVerified(isVerified); in ProcSetCurrentOsAccountIsVerified()
890 bool isVerified = data.ReadBool(); in ProcSetOsAccountIsVerified() local
891 ErrCode result = SetOsAccountIsVerified(localId, isVerified); in ProcSetOsAccountIsVerified()
Dos_account_proxy.cpp252 ErrCode OsAccountProxy::IsOsAccountVerified(const int id, bool &isVerified) in IsOsAccountVerified() argument
276 isVerified = reply.ReadBool(); in IsOsAccountVerified()
959 ErrCode OsAccountProxy::IsCurrentOsAccountVerified(bool &isVerified) in IsCurrentOsAccountVerified() argument
980 isVerified = reply.ReadBool(); in IsCurrentOsAccountVerified()
1014 ErrCode OsAccountProxy::SetCurrentOsAccountIsVerified(const bool isVerified) in SetCurrentOsAccountIsVerified() argument
1024 if (!data.WriteBool(isVerified)) { in SetCurrentOsAccountIsVerified()
1042 ErrCode OsAccountProxy::SetOsAccountIsVerified(const int id, const bool isVerified) in SetOsAccountIsVerified() argument
1056 if (!data.WriteBool(isVerified)) { in SetOsAccountIsVerified()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_manager_service.cpp243 ErrCode OsAccountManagerService::IsOsAccountVerified(const int id, bool &isVerified) in IsOsAccountVerified() argument
252 return innerManager_->IsOsAccountVerified(id, isVerified); in IsOsAccountVerified()
262 return innerManager_->IsOsAccountVerified(id, isVerified); in IsOsAccountVerified()
543 ErrCode OsAccountManagerService::IsCurrentOsAccountVerified(bool &isVerified) in IsCurrentOsAccountVerified() argument
546 return innerManager_->IsOsAccountVerified(id, isVerified); in IsCurrentOsAccountVerified()
554 ErrCode OsAccountManagerService::SetCurrentOsAccountIsVerified(const bool isVerified) in SetCurrentOsAccountIsVerified() argument
569 return innerManager_->SetOsAccountIsVerified(id, isVerified); in SetCurrentOsAccountIsVerified()
572 ErrCode OsAccountManagerService::SetOsAccountIsVerified(const int id, const bool isVerified) in SetOsAccountIsVerified() argument
586 return innerManager_->SetOsAccountIsVerified(id, isVerified); in SetOsAccountIsVerified()
Dinner_os_account_manager.cpp582 ErrCode IInnerOsAccountManager::IsOsAccountVerified(const int id, bool &isVerified) in IsOsAccountVerified() argument
590 isVerified = osAccountInfo.GetIsVerified(); in IsOsAccountVerified()
1307 ErrCode IInnerOsAccountManager::SetOsAccountIsVerified(const int id, const bool isVerified) in SetOsAccountIsVerified() argument
1322 if (isVerified && !osAccountInfo.GetIsVerified()) { in SetOsAccountIsVerified()
1327 osAccountInfo.SetIsVerified(isVerified); in SetOsAccountIsVerified()
/base/account/os_account/frameworks/test/unittest/
Daccount_osaccount_proxy_mock_test.cpp169 bool isVerified = true; variable
170 ErrCode errCode = OsAccountManager::IsOsAccountVerified(TEST_USER_ID, isVerified);
172 ASSERT_EQ(isVerified, false);
494 bool isVerified = true; variable
495 ErrCode errCode = OsAccountManager::IsCurrentOsAccountVerified(isVerified);
/base/account/os_account/frameworks/osaccount/native/test/moduletest/
Dos_account_manager_module_test.cpp515 bool isVerified = false; variable
516 EXPECT_EQ(OsAccountManager::IsOsAccountVerified(Constants::START_USER_ID, isVerified), ERR_OK);
517 EXPECT_EQ(isVerified, true);
519 EXPECT_EQ(OsAccountManager::IsOsAccountVerified(Constants::START_USER_ID, isVerified), ERR_OK);
520 EXPECT_EQ(isVerified, false);
522 EXPECT_EQ(OsAccountManager::IsOsAccountVerified(Constants::START_USER_ID, isVerified), ERR_OK);
523 EXPECT_EQ(isVerified, true);
534 bool isVerified = true; variable
535 … EXPECT_NE(OsAccountManager::IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified), ERR_OK);
546 bool isVerified = true; variable
[all …]
/base/account/os_account/frameworks/osaccount/core/test/unittest/
Dos_account_mock_test.cpp160 bool isVerified; variable
162 g_osAccount->IsOsAccountVerified(MAIN_ACCOUNT_ID, isVerified));
483 bool isVerified; variable
485 g_osAccount->IsCurrentOsAccountVerified(isVerified));
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_manager_service_module_test.cpp538 bool isVerified = false; variable
539 …EXPECT_EQ(osAccountManagerService_->IsOsAccountVerified(Constants::START_USER_ID, isVerified), ERR…
540 EXPECT_EQ(isVerified, true);
551 bool isVerified = true; variable
552 EXPECT_EQ(osAccountManagerService_->IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified),
564 bool isVerified = true; variable
565 EXPECT_EQ(osAccountManagerService_->IsOsAccountVerified(Constants::MAX_USER_ID + 1, isVerified),
1021 bool isVerified = true; variable
1024 …AccountManagerService_->SetOsAccountIsVerified(osAccountInfoOne.GetLocalId(), isVerified), ERR_OK);
1027 EXPECT_EQ(isVerified, osAccountInfoTwo.GetIsVerified());
[all …]
/base/account/os_account/frameworks/osaccount/native/test/unittest/
Dos_account_info_test.cpp254 bool isVerified = BOOL_IS_OS_ACCOUNT_VERIFIED; variable
256 osAccountInfo.isVerified_ = isVerified;
257 EXPECT_EQ(isVerified, osAccountInfo.GetIsVerified());
/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp1188 IsVerifiedAsyncContext *isVerified = new (std::nothrow) IsVerifiedAsyncContext(); in InnerIsOsAccountVerified() local
1189 if (isVerified == nullptr) { in InnerIsOsAccountVerified()
1193 isVerified->env = env; in InnerIsOsAccountVerified()
1194 isVerified->callbackRef = nullptr; in InnerIsOsAccountVerified()
1195 isVerified->throwErr = throwErr; in InnerIsOsAccountVerified()
1197 if (!ParseParaIsVerified(env, cbInfo, isVerified) && throwErr) { in InnerIsOsAccountVerified()
1198 delete isVerified; in InnerIsOsAccountVerified()
1203 if (isVerified->callbackRef == nullptr) { in InnerIsOsAccountVerified()
1204 napi_create_promise(env, &isVerified->deferred, &result); in InnerIsOsAccountVerified()
1213 reinterpret_cast<void *>(isVerified), &isVerified->work); in InnerIsOsAccountVerified()
[all …]
/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
Dos_account_manager_benchmark_test.cpp150 bool isVerified = true; in BENCHMARK_F() local
152 EXPECT_EQ(OsAccountManager::IsOsAccountVerified(LOCAL_ID, isVerified), ERR_OK); in BENCHMARK_F()
/base/account/os_account/interfaces/kits/napi/osaccount/include/
Dnapi_os_account_common.h192 …l ParseParaIsVerified(napi_env env, napi_callback_info cbInfo, IsVerifiedAsyncContext *isVerified);
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_inner_account_mgr_mock.cpp1063 bool isVerified = false; variable
1067 ErrCode ret = innerMgrService_->SetOsAccountIsVerified(id, isVerified);
1075 ret = innerMgrService_->SetOsAccountIsVerified(id, isVerified);
1085 ret = innerMgrService_->SetOsAccountIsVerified(id, isVerified);