Home
last modified time | relevance | path

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

12

/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/app_account/
H A Dapp_account_control_manager_module_test.cpp158 bool syncEnable = false; variable
159 appAccountInfo.SetSyncEnable(syncEnable);
160 syncEnable = true;
161 appAccountInfo.GetSyncEnable(syncEnable);
162 ASSERT_EQ(syncEnable, false);
H A Dapp_account_manager_service_module_not_mock_test.cpp97 bool syncEnable = false; variable
98 ErrCode result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
H A Dapp_account_manager_service_module_test.cpp655 bool syncEnable = SYNC_ENABLE_FALSE; variable
656 result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
658 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
675 bool syncEnable = SYNC_ENABLE_FALSE; variable
678 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
697 bool syncEnable = SYNC_ENABLE_FALSE; variable
698 result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
700 EXPECT_EQ(syncEnable, SYNC_ENABLE_TRUE);
722 bool syncEnable = SYNC_ENABLE_FALSE; variable
723 result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/appaccount_stub/setappaccountsyncenablestub_fuzzer/
H A Dsetappaccountsyncenablestub_fuzzer.cpp43 bool syncEnable = fuzzData.GenerateRandomBool(); in SetAppAccountSyncEnableStubFuzzTest() local
44 if (!dataTemp.WriteBool(syncEnable)) { in SetAppAccountSyncEnableStubFuzzTest()
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/app_account/
H A Dapp_account_info_test.cpp344 bool syncEnable = SYNC_ENABLE_TRUE; variable
348 appAccountInfo.syncEnable_ = syncEnable;
355 EXPECT_EQ(syncEnable, syncEnableFromInfo);
369 bool syncEnable = SYNC_ENABLE_TRUE; variable
375 appAccountInfo.SetSyncEnable(syncEnable);
378 EXPECT_EQ(syncEnable, appAccountInfo.syncEnable_);
927 bool syncEnable = SYNC_ENABLE_TRUE; variable
938 appAccountInfo.syncEnable_ = syncEnable;
956 EXPECT_EQ(syncEnable, infoPtr->syncEnable_);
/ohos5.0/base/account/os_account/frameworks/appaccount/native/src/
H A Dapp_account_manager.cpp76 ErrCode AppAccountManager::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) in CheckAppAccountSyncEnable() argument
78 return AppAccount::GetInstance().CheckAppAccountSyncEnable(name, syncEnable); in CheckAppAccountSyncEnable()
81 ErrCode AppAccountManager::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) in SetAppAccountSyncEnable() argument
83 return AppAccount::GetInstance().SetAppAccountSyncEnable(name, syncEnable); in SetAppAccountSyncEnable()
H A Dapp_account_info.cpp200 void AppAccountInfo::GetSyncEnable(bool &syncEnable) const in GetSyncEnable()
202 syncEnable = syncEnable_; in GetSyncEnable()
205 void AppAccountInfo::SetSyncEnable(const bool &syncEnable) in SetSyncEnable() argument
207 syncEnable_ = syncEnable; in SetSyncEnable()
H A Dapp_account.cpp183 ErrCode AppAccount::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) in CheckAppAccountSyncEnable() argument
190 return proxy->CheckAppAccountSyncEnable(name, syncEnable); in CheckAppAccountSyncEnable()
193 ErrCode AppAccount::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) in SetAppAccountSyncEnable() argument
200 return proxy->SetAppAccountSyncEnable(name, syncEnable); in SetAppAccountSyncEnable()
H A Dapp_account_proxy.cpp259 ErrCode AppAccountProxy::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) in CheckAppAccountSyncEnable() argument
280 syncEnable = reply.ReadBool(); in CheckAppAccountSyncEnable()
285 ErrCode AppAccountProxy::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) in SetAppAccountSyncEnable() argument
300 if (!data.WriteBool(syncEnable)) { in SetAppAccountSyncEnable()
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/
H A Dinner_app_account_manager.cpp129 ErrCode InnerAppAccountManager::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable, in CheckAppAccountSyncEnable() argument
132 return controlManager_.CheckAppAccountSyncEnable(name, syncEnable, uid, bundleName, appIndex); in CheckAppAccountSyncEnable()
135 …de InnerAppAccountManager::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, in SetAppAccountSyncEnable() argument
140 … return controlManager_.SetAppAccountSyncEnable(name, syncEnable, uid, bundleName, appAccountInfo); in SetAppAccountSyncEnable()
H A Dapp_account_control_manager.cpp421 bool &syncEnable, const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in CheckAppAccountSyncEnable() argument
432 appAccountInfo.GetSyncEnable(syncEnable); in CheckAppAccountSyncEnable()
437 … AppAccountControlManager::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, in SetAppAccountSyncEnable() argument
447 appAccountInfo.SetSyncEnable(syncEnable); in SetAppAccountSyncEnable()
1276 bool syncEnable = false; in NeedSyncDataStorage() local
1277 appAccountInfo.GetSyncEnable(syncEnable); in NeedSyncDataStorage()
1279 if (syncEnable == false) { in NeedSyncDataStorage()
H A Dapp_account_manager_service.cpp207 …Code AppAccountManagerService::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) in CheckAppAccountSyncEnable() argument
222 …return innerManager_->CheckAppAccountSyncEnable(name, syncEnable, callingUid, bundleName, appIndex… in CheckAppAccountSyncEnable()
225 … AppAccountManagerService::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) in SetAppAccountSyncEnable() argument
240 … return innerManager_->SetAppAccountSyncEnable(name, syncEnable, callingUid, bundleName, appIndex); in SetAppAccountSyncEnable()
/ohos5.0/base/account/os_account/frameworks/appaccount/native/include/
H A Dapp_account_info.h64 void GetSyncEnable(bool &syncEnable) const;
65 void SetSyncEnable(const bool &syncEnable);
H A Diapp_account.h49 virtual ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) = 0;
50 virtual ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) = 0;
H A Dapp_account.h51 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable);
52 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable);
H A Dapp_account_proxy.h45 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) override;
46 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) override;
/ohos5.0/base/account/os_account/services/accountmgr/include/appaccount/
H A Dinner_app_account_manager.h54 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable,
56 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable,
H A Dapp_account_control_manager.h61 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable,
63 … ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, const uid_t &uid,
H A Dapp_account_manager_service.h48 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) override;
49 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) override;
/ohos5.0/base/account/os_account/interfaces/innerkits/appaccount/native/include/
H A Dapp_account_manager.h160 static ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable);
182 static ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable);
/ohos5.0/base/account/os_account/frameworks/appaccount/native/test/moduletest/
H A Dapp_account_manager_module_test.cpp252 bool syncEnable = SYNC_ENABLE_FALSE; variable
253 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/app_account/
H A Dmock_app_account_stub.h42 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) override;
43 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) override;
H A Dmock_app_account_stub.cpp132 ErrCode MockAppAccountStub::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) in CheckAppAccountSyncEnable() argument
139 ErrCode MockAppAccountStub::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) in SetAppAccountSyncEnable() argument
/ohos5.0/base/account/os_account/frameworks/appaccount/native/test/unittest/
H A Dapp_account_manager_test.cpp936 bool syncEnable = SYNC_ENABLE_FALSE; variable
937 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_EMPTY, syncEnable);
939 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
952 bool syncEnable = SYNC_ENABLE_FALSE; variable
953 …rrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME_OUT_OF_RANGE, syncEnable);
955 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
967 bool syncEnable = SYNC_ENABLE_FALSE; variable
968 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
970 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
/ohos5.0/base/account/os_account/frameworks/test/unittest/
H A Daccount_appaccount_proxy_mock_test.cpp214 bool syncEnable = SYNC_ENABLE_FALSE; variable
215 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);

12