Home
last modified time | relevance | path

Searched refs:modifyColumns (Results 1 – 6 of 6) sorted by relevance

/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_db_test.cpp100 std::vector<std::string> modifyColumns; variable
102 … ASSERT_EQ("", PermissionUsedRecordDb::GetInstance().CreateUpdatePrepareSqlCmd(type, modifyColumns,
115 std::vector<std::string> modifyColumns; variable
116 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TOKEN_ID);
118 … ASSERT_EQ("", PermissionUsedRecordDb::GetInstance().CreateUpdatePrepareSqlCmd(type, modifyColumns,
131 std::vector<std::string> modifyColumns; variable
132 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TOKEN_ID);
133 modifyColumns.emplace_back(PrivacyFiledConst::FIELD_TIMESTAMP);
135 … ASSERT_NE("", PermissionUsedRecordDb::GetInstance().CreateUpdatePrepareSqlCmd(type, modifyColumns,
148 std::vector<std::string> modifyColumns; variable
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/
Dsqlite_storage.cpp148 std::vector<std::string> modifyColumns = modifyValues.GetAllKeys(); in Modify() local
150 std::string prepareSql = CreateUpdatePrepareSqlCmd(type, modifyColumns, conditionColumns); in Modify()
152 for (const auto& columnName : modifyColumns) { in Modify()
244 …rage::CreateUpdatePrepareSqlCmd(const DataType type, const std::vector<std::string>& modifyColumns, in CreateUpdatePrepareSqlCmd() argument
247 if (modifyColumns.empty()) { in CreateUpdatePrepareSqlCmd()
258 for (const auto& columnName : modifyColumns) { in CreateUpdatePrepareSqlCmd()
260 if (i < static_cast<int32_t>(modifyColumns.size())) { in CreateUpdatePrepareSqlCmd()
/base/security/access_token/services/common/database/test/unittest/
Ddatabase_test.cpp367 std::vector<std::string> modifyColumns = modifyValues.GetAllKeys(); variable
370 …ASSERT_EQ("", SqliteStorage::GetInstance().CreateUpdatePrepareSqlCmd(type, modifyColumns, conditio…
383 std::vector<std::string> modifyColumns; variable
387 …ASSERT_EQ("", SqliteStorage::GetInstance().CreateUpdatePrepareSqlCmd(type, modifyColumns, conditio…
390 modifyColumns.emplace_back(TokenFiledConst::FIELD_TOKEN_ID);
391 modifyColumns.emplace_back(TokenFiledConst::FIELD_USER_ID);
393 …ASSERT_NE("", SqliteStorage::GetInstance().CreateUpdatePrepareSqlCmd(type, modifyColumns, conditio…
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/
Dsqlite_storage.h70 …tring CreateUpdatePrepareSqlCmd(const DataType type, const std::vector<std::string>& modifyColumns,
/base/security/access_token/services/privacymanager/src/database/
Dpermission_used_record_db.cpp242 …const std::vector<std::string>& modifyColumns, const std::vector<std::string>& conditionColumns) c… in CreateUpdatePrepareSqlCmd() argument
244 if (modifyColumns.empty()) { in CreateUpdatePrepareSqlCmd()
255 for (const auto& columnName : modifyColumns) { in CreateUpdatePrepareSqlCmd()
257 if (i < static_cast<int32_t>(modifyColumns.size())) { in CreateUpdatePrepareSqlCmd()
/base/security/access_token/services/privacymanager/include/database/
Dpermission_used_record_db.h71 …std::string CreateUpdatePrepareSqlCmd(DataType type, const std::vector<std::string>& modifyColumns,