/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
H A D | app_account_control_manager_module_test.cpp | 158 bool syncEnable = false; variable 159 appAccountInfo.SetSyncEnable(syncEnable); 160 syncEnable = true; 161 appAccountInfo.GetSyncEnable(syncEnable); 162 ASSERT_EQ(syncEnable, false);
|
H A D | app_account_manager_service_module_not_mock_test.cpp | 97 bool syncEnable = false; variable 98 ErrCode result = g_accountManagerService->CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
|
H A D | app_account_manager_service_module_test.cpp | 655 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 D | setappaccountsyncenablestub_fuzzer.cpp | 43 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 D | app_account_info_test.cpp | 344 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 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()
|
H A D | app_account_info.cpp | 200 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 D | app_account.cpp | 183 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 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()
|
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | inner_app_account_manager.cpp | 129 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 D | app_account_control_manager.cpp | 421 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 D | app_account_manager_service.cpp | 207 …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 D | app_account_info.h | 64 void GetSyncEnable(bool &syncEnable) const; 65 void SetSyncEnable(const bool &syncEnable);
|
H A 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;
|
H A D | app_account.h | 51 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable); 52 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable);
|
H A 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;
|
/ohos5.0/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | inner_app_account_manager.h | 54 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable, 56 ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable,
|
H A D | app_account_control_manager.h | 61 ErrCode CheckAppAccountSyncEnable(const std::string &name, bool &syncEnable, 63 … ErrCode SetAppAccountSyncEnable(const std::string &name, const bool &syncEnable, const uid_t &uid,
|
H A 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;
|
/ohos5.0/base/account/os_account/interfaces/innerkits/appaccount/native/include/ |
H A 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);
|
/ohos5.0/base/account/os_account/frameworks/appaccount/native/test/moduletest/ |
H A D | app_account_manager_module_test.cpp | 252 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 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;
|
H A 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
|
/ohos5.0/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
H A D | app_account_manager_test.cpp | 936 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 D | account_appaccount_proxy_mock_test.cpp | 214 bool syncEnable = SYNC_ENABLE_FALSE; variable 215 ErrCode result = AppAccountManager::CheckAppAccountSyncEnable(STRING_NAME, syncEnable);
|