/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_sqlite_shared_result_set_test.cpp | 213 std::vector<std::string> selectionArgs;
in HWTEST_F() local 215 RdbSqliteSharedResultSetTest::store->QuerySql("SELECT * FROM test", selectionArgs);
in HWTEST_F() 242 std::vector<std::string> selectionArgs;
in HWTEST_F() local 244 RdbSqliteSharedResultSetTest::store->QuerySql("SELECT * FROM test", selectionArgs);
in HWTEST_F() 308 std::vector<std::string> selectionArgs;
in HWTEST_F() local 310 RdbSqliteSharedResultSetTest::store->QuerySql("SELECT * FROM test", selectionArgs);
in HWTEST_F() 407 std::vector<std::string> selectionArgs;
in HWTEST_F() local 409 RdbSqliteSharedResultSetTest::store->QuerySql("SELECT * FROM test", selectionArgs);
in HWTEST_F() 442 std::vector<std::string> selectionArgs;
in HWTEST_F() local 444 RdbSqliteSharedResultSetTest::store->QuerySql("SELECT * FROM test", selectionArgs);
in HWTEST_F() 495 std::vector<std::string> selectionArgs; HWTEST_F() local 539 std::vector<std::string> selectionArgs; HWTEST_F() local 593 std::vector<std::string> selectionArgs; HWTEST_F() local 646 std::vector<std::string> selectionArgs; HWTEST_F() local 686 std::vector<std::string> selectionArgs; HWTEST_F() local 737 std::vector<std::string> selectionArgs; HWTEST_F() local 772 std::vector<std::string> selectionArgs; HWTEST_F() local 813 std::vector<std::string> selectionArgs; HWTEST_F() local 847 std::vector<std::string> selectionArgs; HWTEST_F() local 897 std::vector<std::string> selectionArgs; HWTEST_F() local 919 std::vector<std::string> selectionArgs; HWTEST_F() local 952 std::vector<std::string> selectionArgs; HWTEST_F() local 985 std::vector<std::string> selectionArgs; HWTEST_F() local 1026 std::vector<std::string> selectionArgs; HWTEST_F() local 1082 std::vector<std::string> selectionArgs; HWTEST_F() local 1126 std::vector<std::string> selectionArgs; HWTEST_F() local 1153 std::vector<std::string> selectionArgs; HWTEST_F() local 1171 std::vector<std::string> selectionArgs; HWTEST_F() local 1190 std::vector<std::string> selectionArgs; HWTEST_F() local 1210 std::vector<std::string> selectionArgs; HWTEST_F() local 1230 std::vector<std::string> selectionArgs; HWTEST_F() local 1248 std::vector<std::string> selectionArgs; HWTEST_F() local 1269 std::vector<std::string> selectionArgs; HWTEST_F() local 1290 std::vector<std::string> selectionArgs; HWTEST_F() local 1311 std::vector<std::string> selectionArgs; HWTEST_F() local 1332 std::vector<std::string> selectionArgs; HWTEST_F() local 1353 std::vector<std::string> selectionArgs; HWTEST_F() local 1398 std::vector<std::string> selectionArgs; HWTEST_F() local 1434 std::vector<std::string> selectionArgs; HWTEST_F() local 1482 std::vector<std::string> selectionArgs; HWTEST_F() local 1519 std::vector<std::string> selectionArgs; HWTEST_F() local 1552 std::vector<std::string> selectionArgs; HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_file_operations.cpp | 372 static void ReplaceSelectionAndArgsInQuery(string &selection, vector<string> &selectionArgs, in ReplaceSelectionAndArgsInQuery() argument 397 if (argIndex > selectionArgs.size() - 1) { in ReplaceSelectionAndArgsInQuery() 402 const string &arg = selectionArgs[argIndex]; in ReplaceSelectionAndArgsInQuery() 409 selectionArgs[argIndex] = argInstead; in ReplaceSelectionAndArgsInQuery() 415 vector<string> &selectionArgs, string &sql) in BuildCompatQuerySql() 434 selectionArgs.insert(selectionArgs.end(), whereArgs.begin(), whereArgs.end()); in BuildCompatQuerySql() 451 static void BuildQueryFileSql(MediaLibraryCommand &cmd, vector<string> &selectionArgs, string &sql) in BuildQueryFileSql() argument 465 BuildCompatQuerySql(cmd, PhotoColumn::PHOTOS_TABLE, PhotosCompatColumns(), selectionArgs, sql); in BuildQueryFileSql() 467 BuildCompatQuerySql(cmd, AudioColumn::AUDIOS_TABLE, AudiosCompatColumns(), selectionArgs, sq in BuildQueryFileSql() 414 BuildCompatQuerySql(MediaLibraryCommand &cmd, const string table, const vector<string> &columns, vector<string> &selectionArgs, string &sql) BuildCompatQuerySql() argument 494 CampatQueryDebug(const string &sql, const vector<string> &selectionArgs, const shared_ptr<MediaLibraryUnistore> &store) CampatQueryDebug() argument 547 vector<string> selectionArgs; QueryFileOperation() local [all...] |
H A D | medialibrary_album_operations.cpp | 120 static void ReplaceRelativePath(string &selection, vector<string> &selectionArgs) in ReplaceRelativePath() argument 137 if (argIndex > selectionArgs.size() - 1) { in ReplaceRelativePath() 142 const string &arg = selectionArgs[argIndex]; in ReplaceRelativePath() 150 selectionArgs[argIndex] = "1"; in ReplaceRelativePath() 155 static void ReplaceMediaType(string &selection, vector<string> &selectionArgs) in ReplaceMediaType() argument 172 if (argIndex > selectionArgs.size() - 1) { in ReplaceMediaType() 180 selectionArgs[argIndex] = "1"; in ReplaceMediaType() 185 static void GetSqlArgs(MediaLibraryCommand &cmd, string &sql, vector<string> &selectionArgs, in GetSqlArgs() argument 189 selectionArgs = cmd.GetAbsRdbPredicates()->GetWhereArgs(); in GetSqlArgs() 200 ReplaceRelativePath(clause, selectionArgs); in GetSqlArgs() 231 QuerySqlDebug(const string &sql, const vector<string> &selectionArgs, const vector<string> &columns, const shared_ptr<MediaLibraryUnistore> &store) QuerySqlDebug() argument 331 vector<string> selectionArgs; QueryAlbumOperation() local [all...] |
/foundation/distributeddatamgr/relational_store/test/native/relational_store_test/unittest/ |
H A D | rdb_store_test.cpp | 869 std::vector<std::string> selectionArgs; in HWTEST_F() local 871 RdbTest::store->QuerySql("SELECT * FROM test", selectionArgs); in HWTEST_F() 968 std::vector<std::string> selectionArgs; in HWTEST_F() local 970 RdbTest::store->QuerySql("SELECT * FROM test", selectionArgs); in HWTEST_F() 1054 std::vector<std::string> selectionArgs; in HWTEST_F() local 1056 RdbTest::store->QuerySql("SELECT * FROM test", selectionArgs); in HWTEST_F() 1107 std::vector<std::string> selectionArgs; in HWTEST_F() local 1109 RdbTest::store->QuerySql("SELECT * FROM test", selectionArgs); in HWTEST_F() 1151 std::vector<std::string> selectionArgs; in HWTEST_F() local 1153 RdbTest::store->QuerySql("SELECT * FROM test", selectionArgs); in HWTEST_F() 1205 std::vector<std::string> selectionArgs; HWTEST_F() local 1258 std::vector<std::string> selectionArgs; HWTEST_F() local 1298 std::vector<std::string> selectionArgs; HWTEST_F() local 1349 std::vector<std::string> selectionArgs; HWTEST_F() local 1384 std::vector<std::string> selectionArgs; HWTEST_F() local 1425 std::vector<std::string> selectionArgs; HWTEST_F() local 1459 std::vector<std::string> selectionArgs; HWTEST_F() local 1509 std::vector<std::string> selectionArgs; HWTEST_F() local 1531 std::vector<std::string> selectionArgs; HWTEST_F() local 1564 std::vector<std::string> selectionArgs; HWTEST_F() local 1597 std::vector<std::string> selectionArgs; HWTEST_F() local 1638 std::vector<std::string> selectionArgs; HWTEST_F() local [all...] |
/foundation/resourceschedule/device_usage_statistics/test/unittest/mock/ |
H A D | bundle_active_usage_database_mock.cpp | 23 const string &sql, const vector<string> &selectionArgs) in QueryStatsInfoByStep() 22 QueryStatsInfoByStep(uint32_t databaseType, const string &sql, const vector<string> &selectionArgs) QueryStatsInfoByStep() argument
|
/foundation/multimedia/ringtone_library/test/unittest/ringtone_test/src/ |
H A D | ringtone_unittest.cpp | 104 vector<string> selectionArgs = { ZERO }; in HWTEST_F() local 106 predicates.SetWhereArgs(selectionArgs); in HWTEST_F() 154 vector<string> selectionArgs = { ZERO }; in HWTEST_F() local 156 predicates.SetWhereArgs(selectionArgs); in HWTEST_F() 204 vector<string> selectionArgs = { ZERO }; in HWTEST_F() local 206 predicates.SetWhereArgs(selectionArgs); in HWTEST_F() 374 vector<string> selectionArgs = { ZERO }; in HWTEST_F() local 376 predicates.SetWhereArgs(selectionArgs); in HWTEST_F() 416 vector<string> selectionArgs = { ZERO }; in HWTEST_F() local 418 predicates.SetWhereArgs(selectionArgs); in HWTEST_F() 447 vector<string> selectionArgs = { ZERO }; HWTEST_F() local 497 vector<string> selectionArgs = { ZERO }; HWTEST_F() local 520 vector<string> selectionArgs = { ZERO }; HWTEST_F() local 533 vector<string> selectionArgs = { ZERO }; HWTEST_F() local 1027 vector<string> selectionArgs = {std::to_string(RING_TONE_TYPE_NOT)}; HWTEST_F() local 1058 vector<string> selectionArgs = {std::to_string(RING_TONE_TYPE_NOT)}; HWTEST_F() local 1096 vector<string> selectionArgs = {std::to_string(RING_TONE_TYPE_NOT)}; HWTEST_F() local [all...] |
/foundation/multimedia/media_library/frameworks/services/media_file_extension/src/ |
H A D | media_file_extention_utils.cpp | 474 vector<string> &selectionArgs) in GetListFilePredicates() 487 selectionArgs = { relativePath, to_string(NOT_TRASHED) }; in GetListFilePredicates() 495 selectionArgs.push_back(displayName[0]); in GetListFilePredicates() 498 selectionArgs.push_back(displayName[i]); in GetListFilePredicates() 506 selectionArgs.push_back("%" + suffix[0]); in GetListFilePredicates() 509 selectionArgs.push_back("%" + suffix[i]); in GetListFilePredicates() 531 const vector<string> &selectionArgs) in GetResult() 536 predicates.SetWhereArgs(selectionArgs); in GetResult() 593 vector<string> selectionArgs = { to_string(ROOT_PARENT_ID), to_string(MEDIA_TYPE_NOFILE), to_string(NOT_TRASHED) }; in GetListRootResult() local 595 return GetResult(uri, uriType, selection, selectionArgs); in GetListRootResult() 473 GetListFilePredicates(const FileInfo &parentInfo, const FileAccessFwk::FileFilter &filter, string &selection, vector<string> &selectionArgs) GetListFilePredicates() argument 530 GetResult(const Uri &uri, MediaFileUriType uriType, const string &selection, const vector<string> &selectionArgs) GetResult() argument 609 vector<string> selectionArgs; GetListDirResult() local 625 vector<string> selectionArgs; GetListAlbumResult() local 801 GetScanFileResult(const Uri &uri, MediaFileUriType uriType, const string &selection, const vector<string> &selectionArgs) GetScanFileResult() argument 827 vector<string> selectionArgs; SetScanFileSelection() local 1361 vector<string> selectionArgs = { srcPath + SLASH_CHAR + "%" }; GetMoveSubFile() local [all...] |
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/ |
H A D | ringtone_rdbstore.cpp | 204 shared_ptr<NativeRdb::ResultSet> RingtoneRdbStore::QuerySql(const string &sql, const vector<string> &selectionArgs) in QuerySql() argument 213 auto resultSet = rdbStore_->QuerySql(sql, selectionArgs); in QuerySql()
|
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/include/ |
H A D | ringtone_unistore.h | 49 const std::vector<std::string> &selectionArgs = std::vector<std::string>()) in QuerySql()
|
H A D | ringtone_rdbstore.h | 45 const std::vector<std::string> &selectionArgs = std::vector<std::string>()) override;
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/include/ |
H A D | mock_rdb.h | 101 const std::string& sql, const std::vector<std::string>& selectionArgs) override 106 const std::string& sql, const std::vector<ValueObject>& selectionArgs) override 111 const std::string& sql, const std::vector<std::string>& selectionArgs) override
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/ |
H A D | mock_app_provision_info.h | 90 const std::string &sql, const std::vector<std::string> &selectionArgs) in QuerySql() 95 const std::string &sql, const std::vector<ValueObject> &selectionArgs = {}) in QuerySql() 100 const std::string &sql, const std::vector<std::string> &selectionArgs) in QueryByStep() 89 QuerySql( const std::string &sql, const std::vector<std::string> &selectionArgs) QuerySql() argument 99 QueryByStep( const std::string &sql, const std::vector<std::string> &selectionArgs) QueryByStep() argument
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/rdb/ |
H A D | rdb_service_stub.cpp | 211 std::vector<std::string> selectionArgs; in OnRemoteDoRemoteQuery() local 212 if (!ITypesUtil::Unmarshal(data, param, device, sql, selectionArgs)) { in OnRemoteDoRemoteQuery() 214 "selectionArgs size:%{public}zu", param.bundleName_.c_str(), in OnRemoteDoRemoteQuery() 216 Anonymous::Change(sql).c_str(), selectionArgs.size()); in OnRemoteDoRemoteQuery() 220 auto [status, resultSet] = RemoteQuery(param, device, sql, selectionArgs); in OnRemoteDoRemoteQuery()
|
/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/ |
H A D | sendable_photo_access_helper_napi.h | 54 static void ReplaceSelection(std::string &selection, std::vector<std::string> &selectionArgs, 125 std::vector<std::string> selectionArgs; member
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/include/ |
H A D | medialibrary_unistore.h | 68 const std::vector<std::string> &selectionArgs = std::vector<std::string>()) in QuerySql()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_rdb_test/src/ |
H A D | medialibrary_rdb_test.cpp | 214 vector<string> selectionArgs; in HWTEST_F() local 216 selectionArgs.push_back(to_string(rowId)); in HWTEST_F() 217 selectionArgs.push_back(to_string(rowId)); in HWTEST_F() 218 cmd.GetAbsRdbPredicates()->SetWhereArgs(selectionArgs); in HWTEST_F()
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/include/ |
H A D | netfirewall_database.h | 125 const std::vector<std::string> &selectionArgs);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/ |
H A D | rdb_delegate.h | 39 std::string Query(const std::string &sql, const std::vector<std::string> &selectionArgs) override;
|
/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/ |
H A D | rdb_service.h | 63 const std::string &device, const std::string &sql, const std::vector<std::string> &selectionArgs) = 0;
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_rdb_callback_test/include/ |
H A D | rdbstore_mock.h | 107 const std::vector<std::string> &selectionArgs)); 112 std::shared_ptr<ResultSet>(const std::string &sql, const std::vector<std::string> &selectionArgs));
|
/foundation/communication/netmanager_ext/services/netfirewallmanager/src/ |
H A D | netfirewall_database.cpp | 210 const std::vector<std::string> &selectionArgs)
in QuerySql() 216 return store_->QuerySql(sql, selectionArgs);
in QuerySql() 209 QuerySql(const std::string &sql, const std::vector<std::string> &selectionArgs) QuerySql() argument
|
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/mock/ |
H A D | rdb_assistant.h | 124 const std::vector<std::string> &selectionArgs));
129 std::shared_ptr<ResultSet>(const std::string &sql, const std::vector<std::string> &selectionArgs));
|
/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/include/ |
H A D | clouddisk_rdbstore_mock.h | 125 const std::vector<std::string> &selectionArgs)); 130 std::shared_ptr<ResultSet>(const std::string &sql, const std::vector<std::string> &selectionArgs));
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
H A D | rdb_store_mock.h | 124 const std::vector<std::string> &selectionArgs)); 129 std::shared_ptr<ResultSet>(const std::string &sql, const std::vector<std::string> &selectionArgs));
|
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | album_napi.cpp | 563 napi_has_named_property(env, arg, "selectionArgs", &present); in GetFetchOptionsParam() 564 if (present && napi_get_named_property(env, arg, "selectionArgs", &property) == napi_ok && in GetFetchOptionsParam() 570 asyncContext->selectionArgs.push_back(std::string(buffer)); in GetFetchOptionsParam() 704 MediaLibraryNapi::ReplaceSelection(context->selection, context->selectionArgs, in UpdateCompatAlbumSelection() 727 context->selectionArgs.emplace_back("0"); in UpdateSelection() 731 context->selectionArgs.emplace_back(to_string(MEDIA_TYPE_ALBUM)); in UpdateSelection() 735 context->selectionArgs.emplace_back(std::to_string(context->objectPtr->GetAlbumId())); in UpdateSelection() 750 context->predicates.SetWhereArgs(context->selectionArgs); in GetFileAssetsNative()
|