Home
last modified time | relevance | path

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

12

/base/account/os_account/test/fuzztest/appaccount_stub/setappaccountsyncenablestub_fuzzer/
Dsetappaccountsyncenablestub_fuzzer.cpp41 bool syncEnable = true; in SetAppAccountSyncEnableStubFuzzTest() local
42 if (!dataTemp.WriteBool(syncEnable)) { in SetAppAccountSyncEnableStubFuzzTest()
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_control_manager_module_test.cpp179 bool syncEnable = false; variable
180 appAccountInfo.SetSyncEnable(syncEnable);
181 syncEnable = true;
182 appAccountInfo.GetSyncEnable(syncEnable);
183 ASSERT_EQ(syncEnable, false);
Dapp_account_manager_service_module_test.cpp657 bool syncEnable = SYNC_ENABLE_FALSE; variable
658 result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
660 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
677 bool syncEnable = SYNC_ENABLE_FALSE; variable
678 ErrCode result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
680 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
699 bool syncEnable = SYNC_ENABLE_FALSE; variable
700 result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
702 EXPECT_EQ(syncEnable, SYNC_ENABLE_TRUE);
724 bool syncEnable = SYNC_ENABLE_FALSE; variable
[all …]
/base/account/os_account/services/accountmgr/test/unittest/app_account/
Dapp_account_info_test.cpp337 bool syncEnable = SYNC_ENABLE_TRUE; variable
341 appAccountInfo.syncEnable_ = syncEnable;
348 EXPECT_EQ(syncEnable, syncEnableFromInfo);
362 bool syncEnable = SYNC_ENABLE_TRUE; variable
368 appAccountInfo.SetSyncEnable(syncEnable);
371 EXPECT_EQ(syncEnable, appAccountInfo.syncEnable_);
920 bool syncEnable = SYNC_ENABLE_TRUE; variable
931 appAccountInfo.syncEnable_ = syncEnable;
949 EXPECT_EQ(syncEnable, infoPtr->syncEnable_);
/base/account/os_account/frameworks/appaccount/native/src/
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()
Dapp_account_info.cpp158 void AppAccountInfo::GetSyncEnable(bool &syncEnable) const in GetSyncEnable()
160 syncEnable = syncEnable_; in GetSyncEnable()
163 void AppAccountInfo::SetSyncEnable(const bool &syncEnable) in SetSyncEnable() argument
165 syncEnable_ = syncEnable; in SetSyncEnable()
Dapp_account.cpp164 ErrCode AppAccount::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) in CheckAppAccountSyncEnable() argument
168 return appAccountProxy_->CheckAppAccountSyncEnable(name, syncEnable); in CheckAppAccountSyncEnable()
171 ErrCode AppAccount::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) in SetAppAccountSyncEnable() argument
175 return appAccountProxy_->SetAppAccountSyncEnable(name, syncEnable); in SetAppAccountSyncEnable()
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()
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_info.h62 void GetSyncEnable(bool &syncEnable) const;
63 void SetSyncEnable(const bool &syncEnable);
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;
Dapp_account.h51 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable);
52 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable);
Dapp_account_proxy.h45 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) override;
46 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) override;
/base/account/os_account/frameworks/appaccount/native/test/moduletest/
Dapp_account_manager_module_test.cpp251 bool syncEnable = SYNC_ENABLE_FALSE; variable
252 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
/base/account/os_account/interfaces/innerkits/appaccount/native/include/
Dapp_account_manager.h160 static ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable);
182 static ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable);
/base/account/os_account/services/accountmgr/include/appaccount/
Dinner_app_account_manager.h53 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable,
55 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable,
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;
Dapp_account_control_manager.h60 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable,
62 … ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, const uid_t &uid,
/base/account/os_account/services/accountmgr/src/appaccount/
Dinner_app_account_manager.cpp128 ErrCode InnerAppAccountManager::CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable, in CheckAppAccountSyncEnable() argument
131 return controlManager_.CheckAppAccountSyncEnable(name, syncEnable, uid, bundleName, appIndex); in CheckAppAccountSyncEnable()
134 …de InnerAppAccountManager::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, in SetAppAccountSyncEnable() argument
139 … return controlManager_.SetAppAccountSyncEnable(name, syncEnable, uid, bundleName, appAccountInfo); in SetAppAccountSyncEnable()
Dapp_account_control_manager.cpp238 bool &syncEnable, const uid_t &uid, const std::string &bundleName, const uint32_t &appIndex) in CheckAppAccountSyncEnable() argument
249 appAccountInfo.GetSyncEnable(syncEnable); in CheckAppAccountSyncEnable()
254 … AppAccountControlManager::SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, in SetAppAccountSyncEnable() argument
264 appAccountInfo.SetSyncEnable(syncEnable); in SetAppAccountSyncEnable()
992 bool syncEnable = false; in NeedSyncDataStorage() local
993 appAccountInfo.GetSyncEnable(syncEnable); in NeedSyncDataStorage()
995 if (syncEnable == false) { in NeedSyncDataStorage()
Dapp_account_stub.cpp499 bool syncEnable = false; in ProcCheckAppAccountSyncEnable() local
500 ErrCode result = CheckAppAccountSyncEnable(name, syncEnable); in ProcCheckAppAccountSyncEnable()
505 if (!reply.WriteBool(syncEnable)) { in ProcCheckAppAccountSyncEnable()
516 bool syncEnable = data.ReadBool(); in ProcSetAppAccountSyncEnable() local
517 ErrCode result = SetAppAccountSyncEnable(name, syncEnable); in ProcSetAppAccountSyncEnable()
/base/account/os_account/services/accountmgr/test/mock/app_account/
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;
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
/base/account/os_account/test/systemtest/common/resource/fuzzTest/src/
Dfuzz_test_manager.cpp49 bool syncEnable = GetBoolParam(); in RegisterAppAccountManager() local
50 AppAccountManager::CheckAppAccountSyncEnable(GetStringParam(), syncEnable); in RegisterAppAccountManager()
/base/account/os_account/frameworks/appaccount/native/test/unittest/
Dapp_account_manager_test.cpp1024 bool syncEnable = SYNC_ENABLE_FALSE; variable
1025 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_EMPTY, syncEnable);
1027 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
1040 bool syncEnable = SYNC_ENABLE_FALSE; variable
1041 …rrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME_OUT_OF_RANGE, syncEnable);
1043 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
1055 bool syncEnable = SYNC_ENABLE_FALSE; variable
1056 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
1058 EXPECT_EQ(syncEnable, SYNC_ENABLE_FALSE);
/base/account/os_account/frameworks/test/unittest/
Daccount_appaccount_proxy_mock_test.cpp207 bool syncEnable = SYNC_ENABLE_FALSE; variable
208 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);

12