Home
last modified time | relevance | path

Searched refs:testKey (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_mac_test.cpp154 uint8_t testKey[] = "abcdefghijklmnop"; variable
194 uint8_t testKey[] = "abcdefghijklmnop"; variable
222 uint8_t testKey[] = "abcdefghijklmnop"; variable
267 uint8_t testKey[] = "abcdefghijklmnop"; variable
305 uint8_t testKey[] = "abcdefghijklmnop"; variable
340 uint8_t testKey[] = "abcdefghijklmnop"; variable
388 uint8_t testKey[] = "abcdefghijklmnop"; variable
414 uint8_t testKey[] = "abcdefghijklmnop"; variable
450 uint8_t testKey[] = "abcdefghijklmnop"; variable
486 uint8_t testKey[] = "abcdefghijklmnop"; variable
[all …]
H A Dcrypto_sm3_mac_test.cpp149 uint8_t testKey[] = "abcdefghijklmnop"; variable
189 uint8_t testKey[] = "abcdefghijklmnop"; variable
217 uint8_t testKey[] = "abcdefghijklmnop"; variable
262 uint8_t testKey[] = "abcdefghijklmnop"; variable
300 uint8_t testKey[] = "abcdefghijklmnop"; variable
335 uint8_t testKey[] = "abcdefghijklmnop"; variable
383 uint8_t testKey[] = "abcdefghijklmnop"; variable
409 uint8_t testKey[] = "abcdefghijklmnop"; variable
641 uint8_t testKey[] = "abcdefghijklmnop"; variable
642 uint32_t testKeyLen = sizeof(testKey) / sizeof(testKey[0]);
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_resultset_performance.cpp57 Key testKey; in InitResultSet() local
60 testKey.clear(); in InitResultSet()
62 testKey = g_keyPrefix; in InitResultSet()
64 testKey.insert(testKey.end(), strIndex.begin(), strIndex.end()); in InitResultSet()
70 EXPECT_EQ(g_kvNbDelegatePtr->Put(testKey, testValue), OK); in InitResultSet()
H A Ddistributeddb_interfaces_encrypt_delegate_test.cpp65 void GetSnapshotAndValueCheck(const Key &testKey, const Value &testValue, DBStatus errCode) in GetSnapshotAndValueCheck() argument
71 g_snapshotDelegatePtr->Get(testKey, g_valueCallback); in GetSnapshotAndValueCheck()
83 const Key &testKey, const Value &testValue) in GetNbKvStoreAndCheckFun() argument
88 EXPECT_EQ(g_kvNbDelegatePtr->Put(testKey, testValue), OK); in GetNbKvStoreAndCheckFun()
90 EXPECT_EQ(g_kvNbDelegatePtr->Get(testKey, valueRead), OK); in GetNbKvStoreAndCheckFun()
H A Ddistributeddb_interfaces_nb_delegate_rd_test.cpp63 Key testKey; in InitResultSet() local
66 testKey.clear(); in InitResultSet()
69 testKey = g_keyPrefix; in InitResultSet()
70 testKey.push_back(g_testDict[i]); in InitResultSet()
74 EXPECT_EQ(g_kvNbDelegatePtr->Put(testKey, testValue), OK); in InitResultSet()
H A Ddistributeddb_interfaces_nb_delegate_test.cpp95 Key testKey; in InitResultSet() local
98 testKey.clear(); in InitResultSet()
101 testKey = g_keyPrefix; in InitResultSet()
102 testKey.push_back(g_testDict[i]); in InitResultSet()
106 EXPECT_EQ(g_kvNbDelegatePtr->Put(testKey, testValue), OK); in InitResultSet()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/kvstoreresultset_fuzzer/
H A Dkvstoreresultset_fuzzer.cpp42 Key testKey; in ResultSetFuzzer() local
45 testKey.clear(); in ResultSetFuzzer()
47 testKey.push_back(data[i]); in ResultSetFuzzer()
49 kvNbDelegatePtr->Put(testKey, testValue); in ResultSetFuzzer()
/ohos5.0/base/security/huks/test/unittest/huks_lite_test/common/
H A Dhks_test_aes.c26 char testKey[TEST_AES_32]; in TestAes256ByLocal() local
30 testKey[i] = i + TEST_AES_32; in TestAes256ByLocal()
33 keyBlob.data = (uint8_t *)testKey; in TestAes256ByLocal()
34 keyBlob.size = sizeof(testKey); in TestAes256ByLocal()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/getassociateddata_fuzzer/
H A Dgetassociateddata_fuzzer.cpp35 std::string testKey(fuzzData.GenerateRandomString()); in GetAssociatedDataFuzzTest() local
37 result = AppAccountManager::GetAssociatedData(testName, testKey, testValue); in GetAssociatedDataFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/setassociateddata_fuzzer/
H A Dsetassociateddata_fuzzer.cpp34 std::string testKey(fuzzData.GenerateRandomString()); in SetAssociatedDataFuzzTest() local
36 result = AppAccountManager::SetAssociatedData(testName, testKey, testValue); in SetAssociatedDataFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/createaccount_fuzzer/
H A Dcreateaccount_fuzzer.cpp35 std::string testKey(fuzzData.GenerateRandomString()); in CreateAccountFuzzTest() local
38 options.customData[testKey] = testValue; in CreateAccountFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount_stub/createaccountstub_fuzzer/
H A Dcreateaccountstub_fuzzer.cpp37 std::string testKey = fuzzData.GenerateRandomString(); in CreateAccountStubFuzzTest() local
39 options.customData.emplace(testKey, testValue); in CreateAccountStubFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/addaccountimplicitly_fuzzer/
H A Daddaccountimplicitly_fuzzer.cpp58 std::string testKey(fuzzData.GenerateRandomString()); in AddAccountImplicitlyFuzzTest() local
61 options.SetParam(testKey, testValue); in AddAccountImplicitlyFuzzTest()
/ohos5.0/base/account/os_account/test/fuzztest/appaccount/authenticate_fuzzer/
H A Dauthenticate_fuzzer.cpp57 std::string testKey(fuzzData.GenerateRandomString()); in AuthenticateFuzzTest() local
60 options.SetParam(testKey, testValue); in AuthenticateFuzzTest()
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_key_test.cpp50 uint8_t testKey[] = "abcdefghijklmnop"; variable
52 …Crypto_DataBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen…
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/test/unittest/
H A Dmeta_data_manager_test.cpp51 std::string testKey(TEST_KEY); in DeleteTestData() local
52 MetaDataManager::GetInstance().DelMeta(testKey); in DeleteTestData()
/ohos5.0/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfmaccreate_fuzzer/
H A Dhcfmaccreate_fuzzer.cpp57 char testKey[] = "abcdefghijklmnop"; in TestMac() local
60 HcfBlob keyMaterialBlob = {.data = reinterpret_cast<uint8_t *>(testKey), .len = testKeyLen}; in TestMac()
/ohos5.0/foundation/multimodalinput/input/service/event_handler/test/
H A Dkey_auto_repeat_test.cpp267 std::string testKey = "testKey"; variable
269 int32_t result = keyAutoRepeat.PutConfigDataToDatabase(testKey, testValue);
271 ASSERT_TRUE(PREFERENCES_MGR->GetIntValue(testKey, testValue));
/ohos5.0/base/hiviewdfx/hisysevent/frameworks/native/test/unittest/common/
H A Dhisysevent_c_wrapper_test.cpp118 const std::string testKey = "TEST_KEY"; variable
122 auto ret = memcpy_s(wrapper.paramName, MAX_LENGTH_OF_PARAM_NAME, testKey.c_str(),
123 testKey.length() + 1); // copy length + 1 bytes
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Dtypical-scenario-configuration.md32 "testKey": "testValue" // 表示拉起快捷方式时的自定义数据
/ohos5.0/docs/en/application-dev/quick-start/
H A Dtypical-scenario-configuration.md32 "testKey": "testValue" // Custom data of the started shortcut.
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/distributeddatafwk/test/unittest/
H A Ddevice_kvstore_test.cpp527 Key testKey = {"TestSchemaStoreC001_key"}; variable
529 auto testStatus = deviceKvStore->Put(testKey, testValue);
532 auto status = deviceKvStore->Get(GetKey(testKey.ToString()), resultValue);
H A Dsingle_kvstore_client_test.cpp416 Key testKey = {"TestSchemaStoreC001_key"}; variable
418 auto testStatus = schemasingleKvStore->Put(testKey, testValue);
421 auto getRet = schemasingleKvStore->Get(testKey, resultValue);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/
H A Dmeta_data_test.cpp700 std::vector<uint8_t> testKey = { str.begin(), str.end() }; variable
701 EXPECT_EQ(key, testKey);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/model/
H A Dmodel_test_ng.cpp47 uint32_t testKey = UINT32_MAX / 2; variable

12