Home
last modified time | relevance | path

Searched refs:keys (Results 126 - 150 of 453) sorted by relevance

12345678910>>...19

/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dudmf_run_time_store_test.cpp307 vector<Key> keys(129); in HWTEST_F()
310 GetRandomKey(keys[i], MAX_KEY_SIZE); // 1K in HWTEST_F()
311 entrysRand.push_back({ keys[i], value }); in HWTEST_F()
322 status = store->DeleteEntries(keys); in HWTEST_F()
347 vector<Key> keys(3970); in HWTEST_F()
350 GetRandomKey(keys[i], 3970); in HWTEST_F()
351 entrysRand.push_back({ keys[i], emptyValue }); in HWTEST_F()
362 status = store->DeleteEntries(keys); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/distributedWant/
H A Ddistributed_want_test.cpp58 const std::shared_ptr<DistributedWant> &want2, std::map<std::string, std::string> &keys) const;
65 void SendParcelTest(const std::shared_ptr<DistributedWant> &want, std::map<std::string, std::string> &keys) const;
67 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
69 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
71 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
73 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
75 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
77 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
79 std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
81 std::map<std::string, std::string> &keys, in
1050 AddBoolParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddBoolParams() argument
1071 AddByteParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddByteParams() argument
1094 AddCharParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddCharParams() argument
1117 AddShortParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddShortParams() argument
1140 AddIntParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddIntParams() argument
1163 AddLongParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddLongParams() argument
1186 AddFloatParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddFloatParams() argument
1209 AddDoubleParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddDoubleParams() argument
1232 AddStringParams(DistributedWant& want, std::map<std::string, std::string>& keys, int loop, unsigned int flag) const AddStringParams() argument
1367 std::map<std::string, std::string> keys; HWTEST_F() local
1393 std::map<std::string, std::string> keys; HWTEST_F() local
1426 std::map<std::string, std::string> keys; HWTEST_F() local
[all...]
/foundation/ability/ability_base/test/unittest/want/
H A Dwant_test.cpp56 std::map<std::string, std::string> &keys) const;
57 void SendParcelTest(const std::shared_ptr<Want> &want, std::map<std::string, std::string> &keys) const;
58 void AddBoolParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
59 void AddByteParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
60 void AddCharParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
61 void AddShortParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
62 void AddIntParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
63 void AddLongParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
64 void AddFloatParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const;
65 void AddDoubleParams(Want &want, std::map<std::string, std::string> &keys, in
773 AddBoolParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddBoolParams() argument
794 AddByteParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddByteParams() argument
817 AddCharParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddCharParams() argument
840 AddShortParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddShortParams() argument
863 AddIntParams(Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddIntParams() argument
885 AddLongParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddLongParams() argument
908 AddFloatParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddFloatParams() argument
931 AddDoubleParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddDoubleParams() argument
954 AddStringParams( Want &want, std::map<std::string, std::string> &keys, int loop, unsigned int flag) const AddStringParams() argument
996 std::map<std::string, std::string> keys; HWTEST_F() local
1022 std::map<std::string, std::string> keys; HWTEST_F() local
1055 std::map<std::string, std::string> keys; HWTEST_F() local
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/kv/
H A Dsqlite_local_kvdb_connection.cpp226 int SQLiteLocalKvDBConnection::DeleteBatch(const IOption &option, const std::vector<Key> &keys) in DeleteBatch() argument
228 if (keys.empty() || keys.size() > DBConstant::MAX_BATCH_SIZE) { in DeleteBatch()
229 LOGE("[Local]DeleteBatch size[%zu]!", keys.size()); in DeleteBatch()
232 for (const auto &item : keys) { in DeleteBatch()
246 errCode = writeHandle_->DeleteBatch(keys); in DeleteBatch()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_frame_node_bridge.cpp109 const char* keys[] = { "type", "id", "displayX", "displayY", "windowX", "windowY", "screenX", "screenY", "x", "y" }; in CreateTouchInfo() local
119 auto touchInfoObj = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keys), keys, values); in CreateTouchInfo()
137 const char* keys[] = { "nodeId", "nodePtr" }; in MakeFrameNodeInfo() local
140 auto obj = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keys), keys, values); in MakeFrameNodeInfo()
153 const char* keys[] = { "nodeId", "nativeStrongRef" }; in CreateFrameNode() local
155 auto reslut = panda::ObjectRef::NewWithNamedProperties(vm, ArraySize(keys), keys, values); in CreateFrameNode()
249 const char* keys[]
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_nb_test_tools.cpp324 const std::vector<DistributedDB::Key> &keys, bool isNeedRetry) in DeleteBatch()
328 for (int cnt = 0; cnt < static_cast<int>(keys.size()); cnt = cnt + 128) { // 128 is the max records of deleteBatch. in DeleteBatch()
329 auto last = std::min(static_cast<int>(keys.size()), cnt + 128); // 128 is the max records of deleteBatch. in DeleteBatch()
330 std::vector<DistributedDB::Key> keysBatch(keys.begin() + cnt, keys.begin() + last); in DeleteBatch()
346 for (const auto &iter : keys) { in DeleteBatch()
415 const std::vector<DistributedDB::Key> &keys) in DeleteLocalBatch()
421 for (const auto &iter : keys) { in DeleteLocalBatch()
424 if (cnt % BATCH_RECORDS == 0 || cnt == static_cast<int>(keys.size())) { in DeleteLocalBatch()
435 for (auto key : keys) { in DeleteLocalBatch()
323 DeleteBatch(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate, const std::vector<DistributedDB::Key> &keys, bool isNeedRetry) DeleteBatch() argument
414 DeleteLocalBatch(DistributedDB::KvStoreNbDelegate &kvStoreNbDelegate, const std::vector<DistributedDB::Key> &keys) DeleteLocalBatch() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_database_rd_kernel_test.cpp271 std::vector<Key> keys; in HWTEST_F() local
279 keys.push_back(entry.key); in HWTEST_F()
286 for (size_t i = 0; i < keys.size(); i++) { in HWTEST_F()
288 EXPECT_EQ(g_kvNbDelegatePtr->Get(keys[i], value), OK); in HWTEST_F()
533 std::vector<Key> keys; in HWTEST_F() local
539 keys.push_back(entry.key); in HWTEST_F()
547 for (size_t i = 0; i < keys.size(); i++) { in HWTEST_F()
549 EXPECT_EQ(g_kvNbDelegatePtr->Delete(keys[i]), OK); in HWTEST_F()
550 EXPECT_EQ(g_kvNbDelegatePtr->Get(keys[i], value), NOT_FOUND); in HWTEST_F()
553 EXPECT_EQ(g_kvNbDelegatePtr->Get(keys[ in HWTEST_F()
[all...]
/foundation/distributeddatamgr/preferences/frameworks/js/napi/preferences/src/
H A Dnapi_preferences.cpp562 int PreferencesProxy::UnRegisteredAllObservers(RegisterMode mode, const std::vector<std::string> &keys) in UnRegisteredAllObservers() argument
565 return UnRegisteredDataObserver(keys, nullptr); in UnRegisteredAllObservers()
597 std::make_shared<ParamTypeError>("The keys must be Array.")); in RegisterDataObserver()
599 std::vector<std::string> keys; in RegisterDataObserver() local
600 int errCode = JSUtils::Convert2NativeValue(env, argv[1], keys); in RegisterDataObserver()
601 PRE_NAPI_ASSERT(env, errCode == napi_ok && !keys.empty(), in RegisterDataObserver()
602 std::make_shared<ParamTypeError>("The keys must be Array<string>.")); in RegisterDataObserver()
611 errCode = obj->RegisteredDataObserver(keys, argv[funcIndex]); in RegisterDataObserver()
616 int PreferencesProxy::RegisteredDataObserver(const std::vector<std::string> &keys, napi_value callback) in RegisteredDataObserver() argument
627 int errCode = instance->RegisterDataObserver(observer, keys); in RegisteredDataObserver()
644 std::vector<std::string> keys; UnRegisterDataObserver() local
668 UnRegisteredDataObserver(const std::vector<std::string> &keys, napi_value callback) UnRegisteredDataObserver() argument
[all...]
/foundation/arkui/ace_engine_lite/frameworks/packages/runtime-core/src/observer/
H A Dsubject.js36 Object.keys(target).forEach(key => hijack(target, key, target[key]));
103 const OBSERVED_METHODS = Object.keys(ObservedMethods).map(
/foundation/multimodalinput/input/uinput/
H A Dvirtual_device.cpp147 static const std::vector<uint32_t> keys {}; in GetKeys()
148 return keys; in GetKeys()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_multi_ver_sync_db_interface.h44 int DeleteMetaData(const std::vector<Key> &keys) override;
49 int GetAllMetaKeys(std::vector<Key> &keys) const override;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/waterversion/
H A Dwater_version_manager.h40 std::vector<std::string> keys; member in OHOS::DistributedData::WaterVersionManager::final
94 static WaterVersionMetaData Upgrade(const std::vector<std::string> &keys, const WaterVersionMetaData& meta);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/multiver/
H A Dmulti_ver_natural_store_connection.h67 int DeleteBatch(const IOption &option, const std::vector<Key> &keys) override;
100 static bool CheckDeletedKeys(const std::vector<Key> &keys);
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/gaussdb_rd/
H A Drd_single_ver_natural_store.h66 int DeleteMetaData(const std::vector<Key> &keys) override;
71 int GetAllMetaKeys(std::vector<Key> &keys) const override;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_data_generate_unit_test.cpp66 void GenerateRecords(int recordNum, std::vector<Entry> &entries, std::vector<Key> &keys, int keySize, int valSize) in GenerateRecords() argument
87 keys.push_back(entry.key); in GenerateRecords()
/foundation/distributeddatamgr/preferences/frameworks/ndk/include/
H A Doh_preferences_impl.h64 OH_PreferencesDataObserver observer, void *context, const std::vector<std::string> &keys = {});
66 const std::vector<std::string> &keys = {});
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Drd_connection.h76 static std::string GetConfigStr(const std::vector<uint8_t> &keys, bool isEncrypt);
77 std::string GetConfigStr(const std::vector<uint8_t> &keys);
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/include/resourcemanager/
H A Dcapability_info_manager.h79 void OnChange(const DistributedKv::DataOrigin &origin, Keys &&keys) override;
98 std::vector<DistributedKv::Entry> GetEntriesByKeys(const std::vector<std::string> &keys);
H A Dmeta_info_manager.h59 void OnChange(const DistributedKv::DataOrigin &origin, Keys &&keys) override;
77 std::vector<DistributedKv::Entry> GetEntriesByKeys(const std::vector<std::string> &keys);
H A Ddb_adapter.h49 int32_t PutDataBatch(const std::vector<std::string> &keys, const std::vector<std::string> &values);
55 std::vector<DistributedKv::Entry> GetEntriesByKeys(const std::vector<std::string> &keys);
/foundation/communication/netmanager_base/services/netmanagernative/bpf/include/
H A Dbpf_netfirewall.h199 std::vector<Key> keys = rdMap.GetAllKeys(); in ClearBpfMap() local
200 if (keys.empty()) { in ClearBpfMap()
208 if (wrMap.Clear(keys) != 0) { in ClearBpfMap()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/mock/
H A Dkv_store_nb_delegate_mock.h48 DBStatus DeleteBatch(const std::vector<Key> &keys);
74 DBStatus DeleteLocalBatch(const std::vector<Key> &keys);
91 DBStatus GetKeys(const Key &keyPrefix, std::vector<Key> &keys) const;
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_local_storage_executor.cpp148 int SQLiteLocalStorageExecutor::DeleteBatch(const std::vector<Key> &keys) in DeleteBatch() argument
150 if (keys.empty()) { // LCOV_EXCL_BR_LINE in DeleteBatch()
156 for (const auto &key : keys) { in DeleteBatch()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_info.cpp78 std::map<std::string, std::string> keys; in GetSchemaKey() local
81 keys.insert_or_assign(app.bundleName, key); in GetSchemaKey()
83 return keys; in GetSchemaKey()
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdidevice_fuzzer/
H A Dhdidevice_fuzzer.cpp75 std::vector<std::string> keys = device->GetSupportedLayerPerFrameParameterKey(); in HdiDeviceFuzzTest3() local
182 std::vector<GraphicHDRMetadataKey> keys; in DoSomethingInterestingWithMyAPI() local
183 device->GetSupportedMetaDataKey(screenId, keys); in DoSomethingInterestingWithMyAPI()

Completed in 27 milliseconds

12345678910>>...19