/base/account/os_account/test/fuzztest/appaccount_stub/setappaccountsyncenablestub_fuzzer/ |
D | setappaccountsyncenablestub_fuzzer.cpp | 41 bool syncEnable = true; in SetAppAccountSyncEnableStubFuzzTest() local 42 if (!dataTemp.WriteBool(syncEnable)) { in SetAppAccountSyncEnableStubFuzzTest()
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_control_manager_module_test.cpp | 179 bool syncEnable = false; variable 180 appAccountInfo.SetSyncEnable(syncEnable); 181 syncEnable = true; 182 appAccountInfo.GetSyncEnable(syncEnable); 183 ASSERT_EQ(syncEnable, false);
|
D | app_account_manager_service_module_test.cpp | 657 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/ |
D | app_account_info_test.cpp | 337 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/ |
D | app_account_manager.cpp | 76 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()
|
D | app_account_info.cpp | 158 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()
|
D | app_account.cpp | 164 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()
|
D | app_account_proxy.cpp | 259 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/ |
D | app_account_info.h | 62 void GetSyncEnable(bool &syncEnable) const; 63 void SetSyncEnable(const bool &syncEnable);
|
D | iapp_account.h | 49 virtual ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) = 0; 50 virtual ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) = 0;
|
D | app_account.h | 51 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable); 52 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable);
|
D | app_account_proxy.h | 45 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/ |
D | app_account_manager_module_test.cpp | 251 bool syncEnable = SYNC_ENABLE_FALSE; variable 252 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
|
/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
D | app_account_manager.h | 160 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/ |
D | inner_app_account_manager.h | 53 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable, 55 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable,
|
D | app_account_manager_service.h | 48 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) override; 49 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) override;
|
D | app_account_control_manager.h | 60 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/ |
D | inner_app_account_manager.cpp | 128 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()
|
D | app_account_control_manager.cpp | 238 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()
|
D | app_account_stub.cpp | 499 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/ |
D | mock_app_account_stub.h | 42 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable) override; 43 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable) override;
|
D | mock_app_account_stub.cpp | 132 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/ |
D | fuzz_test_manager.cpp | 49 bool syncEnable = GetBoolParam(); in RegisterAppAccountManager() local 50 AppAccountManager::CheckAppAccountSyncEnable(GetStringParam(), syncEnable); in RegisterAppAccountManager()
|
/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
D | app_account_manager_test.cpp | 1024 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/ |
D | account_appaccount_proxy_mock_test.cpp | 207 bool syncEnable = SYNC_ENABLE_FALSE; variable 208 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
|