Home
last modified time | relevance | path

Searched refs:isExists (Results 1 – 12 of 12) sorted by relevance

/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_file_operator_test.cpp70 bool isExists = true; variable
72 ErrCode ret = g_osAccountFileOperator->CheckConstraintsList(constraints, isExists, isOverSize);
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_file_operator.cpp179 bool &isExists, bool &isOverSize) in CheckConstraintsList() argument
182 isExists = true; in CheckConstraintsList()
197 isExists = false; in CheckConstraintsList()
Dinner_os_account_manager.cpp707 bool isExists = false; in SetGlobalOsAccountConstraints() local
709 errCode = osAccountControl_->CheckConstraintsList(constraints, isExists, isOverSize); in SetGlobalOsAccountConstraints()
710 if (errCode != ERR_OK || !isExists || isOverSize) { in SetGlobalOsAccountConstraints()
747 bool isExists = false; in SetSpecificOsAccountConstraints() local
749 errCode = osAccountControl_->CheckConstraintsList(constraints, isExists, isOverSize); in SetSpecificOsAccountConstraints()
750 if (errCode != ERR_OK || !isExists || isOverSize) { in SetSpecificOsAccountConstraints()
981 bool isExists = false; in SetOsAccountConstraints() local
983 errCode = osAccountControl_->CheckConstraintsList(constraints, isExists, isOverSize); in SetOsAccountConstraints()
984 if (errCode != ERR_OK || !isExists || isOverSize) { in SetOsAccountConstraints()
Dos_account_control_file_manager.cpp1067 ErrCode OsAccountControlFileManager::IsOsAccountExists(const int id, bool &isExists) in IsOsAccountExists() argument
1069 isExists = false; in IsOsAccountExists()
1084 isExists = true; in IsOsAccountExists()
1152 const std::vector<std::string> &constraints, bool &isExists, bool &isOverSize) in CheckConstraintsList() argument
1154 return osAccountFileOperator_->CheckConstraintsList(constraints, isExists, isOverSize); in CheckConstraintsList()
/base/account/os_account/services/accountmgr/include/osaccount/
Dos_account_file_operator.h33 bool &isExists, bool &isOverSize);
Dios_account_control.h33 virtual ErrCode IsOsAccountExists(const int id, bool &isExists) = 0;
38 bool &isExists, bool &isOverSize) = 0;
Dos_account_control_file_manager.h46 ErrCode IsOsAccountExists(const int id, bool &isExists) override;
51 bool &isExists, bool &isOverSize) override;
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
Dmock_os_account_control_file_manager.h52 bool &isExists, bool &isOverSize));
/base/hiviewdfx/hitrace/test/unittest/hitrace_dump/
Dhitrace_dump_test.cpp79 bool isExists = false; in TraverseFiles() local
81 isExists |= (strcmp(iter->c_str(), outputFileName.c_str()) == 0); in TraverseFiles()
84 return isExists; in TraverseFiles()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_control_file_manager_test.cpp702 bool isExists; variable
704 ret = osAccountControlManager->CheckConstraintsList(constraints, isExists, isOverSize);
706 EXPECT_EQ(isExists, true);
Dos_account_inner_account_mgr_mock.cpp1014 bool isExists = true; variable
1016 .WillRepeatedly(DoAll(testing::SetArgReferee<1>(isExists), testing::Return(0)));
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp625 bool isExists = false; in IsNotificationExists() local
629 isExists = true; in IsNotificationExists()
634 return isExists; in IsNotificationExists()