Home
last modified time | relevance | path

Searched refs:isOsAccountExists (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp211 bool isOsAccountExists = false; variable
213 EXPECT_EQ(isOsAccountExists, true);
224 bool isOsAccountExists = true; variable
226 EXPECT_EQ(g_controlManager->IsOsAccountExists(id, isOsAccountExists), ERR_OK);
227 EXPECT_EQ(isOsAccountExists, false);
241 bool isOsAccountExists = true; variable
242 EXPECT_EQ(g_controlManager->IsOsAccountExists(id, isOsAccountExists), ERR_OK);
243 EXPECT_EQ(isOsAccountExists, false);
258 bool isOsAccountExists = false; variable
259 EXPECT_EQ(g_controlManager->IsOsAccountExists(id, isOsAccountExists), ERR_OK);
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/os_account_manager_wrapper_test/
H A Dos_account_manager_wrapper_test.cpp84 bool isOsAccountExists = false; variable
85 …leton<OsAccountManagerWrapper>::GetInstance()->IsOsAccountExists(ACCOUNT_VALUE, isOsAccountExists);
86 EXPECT_EQ(isOsAccountExists, false);
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/src/
H A Dos_account_manager_wrapper.cpp69 ErrCode OsAccountManagerWrapper::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
73 isOsAccountExists = (id == DEFAULT_OS_ACCOUNT_ID); in IsOsAccountExists()
77 return AccountSA::OsAccountManager::IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_dialog_test/
H A Dmock_os_account_manager_annex.cpp91 ErrCode OsAccountManager::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
93 isOsAccountExists = g_mockOsAccountExists; in IsOsAccountExists()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Daccount_helper.cpp27 int32_t AccountHelper::IsOsAccountExists(const int32_t id, bool &isOsAccountExists) in IsOsAccountExists() argument
30 return AccountSA::OsAccountManager::IsOsAccountCompleted(id, isOsAccountExists); in IsOsAccountExists()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Daccount_helper.h25 static int32_t IsOsAccountExists(const int32_t id, bool &isOsAccountExists);
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/deps_wrapper/include/
H A Dos_account_manager_wrapper.h63 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
/ohos5.0/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp135 bool isOsAccountExists = false; variable
136 ErrCode errCode = OsAccountManager::IsOsAccountExists(TEST_USER_ID, isOsAccountExists);
138 ASSERT_EQ(isOsAccountExists, false);
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp275 ErrCode OsAccountManagerService::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
277 return innerManager_.IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
1161 bool isOsAccountExists = false; in IsOsAccountForeground() local
1162 ErrCode result = IsOsAccountExists(id, isOsAccountExists); in IsOsAccountForeground()
1166 if (!isOsAccountExists) { in IsOsAccountForeground()
H A Dos_account_stub.cpp1221 bool isOsAccountExists = false; in ProcIsOsAccountExists() local
1222 ErrCode result = IsOsAccountExists(localId, isOsAccountExists); in ProcIsOsAccountExists()
1227 if (!reply.WriteBool(isOsAccountExists)) { in ProcIsOsAccountExists()
/ohos5.0/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_mock_test.cpp130 bool isOsAccountExists; variable
132 g_osAccount->IsOsAccountExists(MAIN_ACCOUNT_ID, isOsAccountExists));
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp64 ErrCode OsAccountManager::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
66 return OsAccount::GetInstance().IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp191 ErrCode OsAccount::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
193 isOsAccountExists = false; in IsOsAccountExists()
203 return proxy->IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
H A Dos_account_proxy.cpp232 ErrCode OsAccountProxy::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
237 isOsAccountExists = reply.ReadBool(); in IsOsAccountExists()
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h128 static ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/
H A Dios_account.h45 virtual ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) = 0;
H A Dos_account.h37 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists);
H A Dos_account_proxy.h39 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp328 bool isOsAccountExists = false; variable
329 …(osAccountManagerService_->IsOsAccountExists(Constants::START_USER_ID, isOsAccountExists), ERR_OK);
330 EXPECT_EQ(isOsAccountExists, true);
341 bool isOsAccountExists = true; variable
342 …sAccountManagerService_->IsOsAccountExists(Constants::MAX_USER_ID + 1, isOsAccountExists), ERR_OK);
343 EXPECT_EQ(isOsAccountExists, false);
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_manager_service.h47 ErrCode IsOsAccountExists(const int id, bool &isOsAccountExists) override;
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp609 bool isOsAccountExists = false; variable
610 …EXPECT_EQ(OsAccountManager::IsOsAccountExists(Constants::START_USER_ID, isOsAccountExists), ERR_OK…
611 EXPECT_EQ(isOsAccountExists, true);
622 bool isOsAccountExists = true; variable
623 …EXPECT_EQ(OsAccountManager::IsOsAccountExists(Constants::MAX_USER_ID + 1, isOsAccountExists), ERR_…
624 EXPECT_EQ(isOsAccountExists, false);