Home
last modified time | relevance | path

Searched refs:v2 (Results 1 – 21 of 21) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_verify_v2_test.cpp73 HapVerifyV2 v2; variable
76 ASSERT_FALSE(v2.CheckFilePath(filePath, standardFilePath));
90 HapVerifyV2 v2; variable
92 ASSERT_FALSE(v2.GenerateAppId(provisionInfo));
106 HapVerifyV2 v2; variable
108 ASSERT_FALSE(v2.GenerateFingerprint(provisionInfo));
122 HapVerifyV2 v2; variable
125 ASSERT_FALSE(v2.GenerateFingerprint(provisionInfo));
139 HapVerifyV2 v2; variable
142 ASSERT_FALSE(v2.GenerateFingerprint(provisionInfo));
[all …]
/base/telephony/sms_mms/test/gtest/
Dzero_branch_cdma_sms_test.cpp243 uint16_t v2 = 0; variable
246 EXPECT_TRUE(buffer->ReadWord(v2));
251 EXPECT_FALSE(buffer->ReadWord(v2));
418 uint16_t v2 = 0; variable
421 v2++;
422 if (v2 == 0xffff) {
425 EXPECT_TRUE(buffer->WriteWord(v2));
686 uint16_t v2 = initValue; variable
699 auto message2 = std::make_shared<CdmaSmsTeleserviceId>(v2);
701 EXPECT_EQ(v2, testValue);
[all …]
Dcdma_sms_gtest.cpp167 uint16_t v2 = 0; variable
169 EXPECT_TRUE(rBuffer->ReadWord(v2));
176 v2 = 0x1234;
178 EXPECT_TRUE(wBuffer->WriteWord(v2));
356 CdmaTeleserviceMsg v2; in CheckSubmitUserData() local
357 memset_s(&v2, sizeof(CdmaTeleserviceMsg), 0x00, sizeof(CdmaTeleserviceMsg)); in CheckSubmitUserData()
360 auto message2 = std::make_shared<CdmaSmsBearerData>(v2, rBuffer2); in CheckSubmitUserData()
363 EXPECT_STREQ(GetUserDataString(v2.data.submit.userData).c_str(), userData.c_str()); in CheckSubmitUserData()
/base/customization/enterprise_device_management/test/unittest/src/
Dpolicy_serializer_test.cpp125 ASSERT_EQ(jsonString, R"(["v1","v2","v3","v4","v5"])");
127 jsonString = R"(["v1","v2","v3","v4","v5","v6"])";
130 ASSERT_FALSE(serializer->Deserialize(R"(["v1","v2","v3","v4","v5""v6"])", value));
310 { "k2", "v2" },
354 { "k2", "v2" },
361 { "k2", "v2" },
384 { "k2", "v2" },
449 value["k2"] = "v2";
Diplugin_template_test.cpp87 setPolicyValue = R"({"k1":"v1","k2":"v2","k3":3})";
97 setPolicyValue = R"({"k1":"v1","k2":"v2","k3":3})";
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_sub_parameter.cpp184 uint8_t v2 = 0; in Decode() local
189 …if (!pdu.ReadByte(v1) || !pdu.ReadByte(v2) || !pdu.ReadByte(v3) || !pdu.ReadByte(v4) || !pdu.ReadB… in Decode()
195 time_.month = DecodeBCD(v2); in Decode()
328 uint8_t v2 = 0; in Decode() local
331 …if (!pdu.ReadBits(v1, BIT1) || !pdu.ReadBits(v2, BIT1) || !pdu.ReadBits(v3, BIT1) || !pdu.ReadBits… in Decode()
336 replyOpt_.dak = (v2 == 0b1) ? true : false; in Decode()
874 uint8_t v2 = 0; in DecodeType1Data() local
882 …if (!pdu.ReadBits(v1, BIT8) || !pdu.ReadBits(v2, BIT8) || !pdu.ReadBits(v3, BIT4) || !pdu.ReadBits… in DecodeType1Data()
888 data_.responseType = static_cast<enum SmsCmaeResponseType>(v2); in DecodeType1Data()
898 uint8_t v2 = 0; in DecodeType2Data() local
[all …]
Dcdma_sms_parameter_record.cpp250 uint8_t v2 = 0; in Decode() local
251 if (!pdu.ReadBits(v1) || !pdu.ReadBits(v2)) { in Decode()
256 address_.numberMode = (v2 == 0b1) ? true : false; in Decode()
390 uint8_t v2 = 0; in Decode() local
392 if (!pdu.ReadBits(v1, BIT3) || !pdu.ReadBits(v2) || !pdu.ReadBits(v3, BIT8)) { in Decode()
403 address_.odd = (v2 == 0b1) ? true : false; in Decode()
/base/security/device_auth/
DBUILD.gn70 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session:auth_s…
71 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protoc…
72 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protoc…
73 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session:expa…
74 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expa…
75 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expa…
76 …"test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expa…
/base/security/device_auth/services/
Ddeviceauth.gni75 "${session_manager_path}/inc/session/v2",
76 "${session_manager_path}/inc/session/v2/auth_sub_session",
77 "${session_manager_path}/inc/session/v2/auth_sub_session/protocol_lib",
78 "${session_manager_path}/inc/session/v2/expand_sub_session",
79 "${session_manager_path}/inc/session/v2/expand_sub_session/expand_process_lib",
139 "${session_manager_path}/src/session/v2/expand_sub_session/expand_process_lib/mk_agree.c",
170 "${session_manager_path}/src/session/v2/dev_session_v2.c",
171 "${session_manager_path}/src/session/v2/dev_session_util.c",
172 "${session_manager_path}/src/session/v2/auth_sub_session/auth_sub_session.c",
173 "${session_manager_path}/src/session/v2/expand_sub_session/expand_sub_session.c",
[all …]
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/
DBUILD.gn25 "${session_manager_path}/inc/session/v2/auth_sub_session",
26 "${session_manager_path}/inc/session/v2/auth_sub_session/protocol_lib",
35 sources = [ "${session_manager_path}/src/session/v2/auth_sub_session/auth_sub_session.c" ]
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/
DBUILD.gn25 "${session_manager_path}/inc/session/v2/expand_sub_session",
26 "${session_manager_path}/inc/session/v2/expand_sub_session/expand_process_lib",
35 sources = [ "${session_manager_path}/src/session/v2/expand_sub_session/expand_sub_session.c" ]
/base/security/certificate_framework/frameworks/adapter/
DBUILD.gn19 "v2.0/inc",
30 "v2.0:libcertificate_framework_adapter_openssl",
/base/hiviewdfx/hilog/frameworks/libhilog/utils/include/
Dlog_utils.h26 using ValueCmp = std::function<bool(const V& v1, const V& v2)>;
29 ValueCmp cmp = [](const V& v1, const V& v2) { return v1 == v2; })
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
DBUILD.gn25 "${session_manager_path}/inc/session/v2/expand_sub_session/expand_process_lib",
62 "${session_manager_path}/inc/session/v2/expand_sub_session/expand_process_lib",
104 "${session_manager_path}/inc/session/v2/expand_sub_session/expand_process_lib",
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/auth_sub_session/protocol_lib/
DBUILD.gn25 "${session_manager_path}/inc/session/v2/auth_sub_session/protocol_lib",
62 "${session_manager_path}/inc/session/v2/auth_sub_session/protocol_lib",
/base/telephony/sms_mms/test/fuzztest/smspdubuffer_fuzzer/
Dsmspdubuffer_fuzzer.cpp49 uint16_t v2 = 0; in ReadBuffer() local
52 buffer->ReadWord(v2); in ReadBuffer()
/base/security/certificate_framework/test/unittest/cf_adapter_test/
DBUILD.gn41 "../../../frameworks/adapter/v2.0:libcertificate_framework_adapter_openssl",
/base/update/updater/services/script/script_interpreter/
Dscript_context.cpp408 float v2 = value->GetValue(); in ComputerEqual() local
409 USCRIPT_LOGI("ComputerEqual %f v2: %f", GetValue(), v2); in ComputerEqual()
410 float diff = GetValue() - v2; in ComputerEqual()
/base/startup/init/test/unittest/syspara/
Dsyspara_unittest.cpp319 int16_t v2 = OHOS::system::GetIntParameter(key1, 0, -127, 128); // -127, 128 range variable
320 EXPECT_EQ(v2, -TEST_VALUE);
/base/update/updater/test/unittest/utils/json/
Dutils_json_visitor_test.cpp289 "KNonDefault1" : { "d1" : 2, "d2" : "v2" }
/base/update/updater/test/unittest/test_data/applypatch/
DTestGZipModeImagePatch.old.gz