Home
last modified time | relevance | path

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

12

/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_create_os_account_test.cpp54 bool isOsAccountActived = false; in SetUpTestCase() local
55 … ErrCode ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
57 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
61 ret = g_osAccountManagerService->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
H A Dos_account_manager_service_module_test.cpp370 bool isOsAccountActived = false; variable
371 …EQ(osAccountManagerService_->IsOsAccountActived(osAccountInfoOne.GetLocalId(), isOsAccountActived),
373 EXPECT_EQ(isOsAccountActived, false);
377 EXPECT_EQ(osAccountManagerService_->IsOsAccountActived(localId, isOsAccountActived),
1683 bool isOsAccountActived; variable
1685 osAccountManagerService_->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived));
1697 bool isOsAccountActived; variable
1699 …ManagerService_->IsOsAccountConstraintEnable(MAIN_ACCOUNT_ID, CONSTANT_PRINT, isOsAccountActived));
/ohos5.0/base/account/os_account/frameworks/osaccount/core/test/unittest/
H A Dos_account_test.cpp69 bool isOsAccountActived = false; in SetUpTestCase() local
70 ErrCode ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
72 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
76 ret = g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
H A Dos_account_mock_test.cpp143 bool isOsAccountActived; variable
145 g_osAccount->IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived));
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/benchmarktest/
H A Dos_account_manager_benchmark_test.cpp106 bool isOsAccountActived = false; in BENCHMARK_F() local
108 EXPECT_EQ(OsAccountManager::IsOsAccountActived(LOCAL_ID, isOsAccountActived), ERR_OK); in BENCHMARK_F()
109 EXPECT_EQ(isOsAccountActived, true); in BENCHMARK_F()
/ohos5.0/base/account/os_account/frameworks/test/unittest/
H A Daccount_osaccount_proxy_mock_test.cpp149 bool isOsAccountActived = false; variable
150 ErrCode errCode = OsAccountManager::IsOsAccountActived(TEST_USER_ID, isOsAccountActived);
152 ASSERT_EQ(isOsAccountActived, false);
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp264 bool isOsAccountActived = false; in SetUpTestCase() local
265 ErrCode ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
267 while (ret != ERR_OK || !isOsAccountActived) { in SetUpTestCase()
271 ret = OsAccountManager::IsOsAccountActived(MAIN_ACCOUNT_ID, isOsAccountActived); in SetUpTestCase()
635 bool isOsAccountActived = false; variable
637 EXPECT_EQ(isOsAccountActived, true);
651 bool isOsAccountActived = false; variable
653 EXPECT_EQ(isOsAccountActived, false);
2271 bool isOsAccountActived = true; variable
2272 EXPECT_EQ(OsAccountManager::IsOsAccountActived(Constants::MAX_USER_ID + 1, isOsAccountActived),
[all …]
/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_manager.cpp69 ErrCode OsAccountManager::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
71 return OsAccount::GetInstance().IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-account.md105 |废弃版本有变化|方法名 or 属性名:isOsAccountActived<br>废弃版本:N/A|方法名 or 属性名:isOsAccountActived<br>废弃版本:9<br>代替接口:…
106 |废弃版本有变化|方法名 or 属性名:isOsAccountActived<br>废弃版本:N/A|方法名 or 属性名:isOsAccountActived<br>废弃版本:9|@ohos.ac…
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-account.md103 |废弃版本有变化|方法名 or 属性名:isOsAccountActived<br>废弃版本:N/A|方法名 or 属性名:isOsAccountActived<br>废弃版本:9<br>代替接口:…
104 |废弃版本有变化|方法名 or 属性名:isOsAccountActived<br>废弃版本:N/A|方法名 or 属性名:isOsAccountActived<br>废弃版本:9|@ohos.ac…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-osAccount.md1699 ### isOsAccountActived<sup>(deprecated)</sup>
1701 isOsAccountActived(localId: number, callback: AsyncCallback&lt;boolean&gt;): void
1726 accountManager.isOsAccountActived(localId, (err: BusinessError, isActived: boolean) => {
1728 console.log('isOsAccountActived failed, err:' + JSON.stringify(err));
1730 console.log('isOsAccountActived successfully, isActived:' + isActived);
1735 ### isOsAccountActived<sup>(deprecated)</sup>
1737 isOsAccountActived(localId: number): Promise&lt;boolean&gt;
1767 accountManager.isOsAccountActived(localId).then((isActived: boolean) => {
1768 console.log('isOsAccountActived successfully, isActived: ' + isActived);
1770 console.log('isOsAccountActived failed, error: ' + JSON.stringify(err));
/ohos5.0/base/account/os_account/frameworks/osaccount/core/src/
H A Dos_account.cpp206 ErrCode OsAccount::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
208 isOsAccountActived = false; in IsOsAccountActived()
214 return proxy->IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h137 static ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/
H A Dios_account.h46 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
H A Dos_account.h38 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived);
H A Dos_account_proxy.h40 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_manager_service.cpp280 ErrCode OsAccountManagerService::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
285 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
294 return innerManager_.IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/
H A Diinner_os_account.h42 virtual ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) = 0;
H A Dos_account_manager_service.h48 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
H A Diinner_os_account_manager.h47 ErrCode IsOsAccountActived(const int id, bool &isOsAccountActived) override;
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-account.md41 …Account | AccountManager | isOsAccountActived(localId: number, callback: AsyncCallback\<boolean>):…
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-account.md41 …Account | AccountManager | isOsAccountActived(localId: number, callback: AsyncCallback\<boolean>):…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta4/
H A Djs-apidiff-account.md105 …nged|Method or attribute name: isOsAccountActived<br>Deprecated version: N/A|Method or attribute n…
106 …nged|Method or attribute name: isOsAccountActived<br>Deprecated version: N/A|Method or attribute n…
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/
H A Djs-apidiff-account.md103 …nged|Method or attribute name: isOsAccountActived<br>Deprecated version: N/A|Method or attribute n…
104 …nged|Method or attribute name: isOsAccountActived<br>Deprecated version: N/A|Method or attribute n…
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/include/
H A Dnapi_os_account.h163 bool isOsAccountActived = false; member

12