Home
last modified time | relevance | path

Searched refs:IsJsonFormat (Results 1 – 4 of 4) sorted by relevance

/base/account/os_account/frameworks/common/test/unittest/common_account_test/
Daccount_file_operator_test.cpp60 EXPECT_EQ(accountFileOperator_->IsJsonFormat("../&*&"), false);
/base/account/os_account/frameworks/common/file_operator/include/
Daccount_file_operator.h36 bool IsJsonFormat(const std::string &path);
/base/account/os_account/frameworks/common/file_operator/src/
Daccount_file_operator.cpp150 bool AccountFileOperator::IsJsonFormat(const std::string &path) in IsJsonFormat() function in OHOS::AccountSA::AccountFileOperator
167 return IsExistFile(path) && IsJsonFormat(path); in IsJsonFileReady()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_control_file_manager.cpp588 if (accountFileOperator_->IsExistFile(path) && accountFileOperator_->IsJsonFormat(path)) { in InsertOsAccount()
1073 if (!accountFileOperator_->IsJsonFormat(path)) { in IsOsAccountExists()