/base/customization/enterprise_device_management/test/unittest/src/ |
D | policy_serializer_test.cpp | 94 std::string value2 = "s一"; variable 95 messageParcel1.WriteString(value2); 103 value2 = ""; 104 ASSERT_TRUE(messageParcel2.ReadString(value2)); 105 ASSERT_TRUE(value2 == "s二"); 133 vector<std::string> value2 = { "一", "二", "三", "四", "五", "六", "七" }; variable 134 messageParcel1.WriteStringVector(value2); 142 value2 = {}; 143 messageParcel2.ReadStringVector(&value2); 144 ASSERT_TRUE(value2.size() == 3);
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | attributes_test.cpp | 115 bool value2; variable 117 EXPECT_TRUE(attrs.GetBoolValue(Attributes::ATTR_SIGNATURE, value2)); 119 EXPECT_FALSE(value2); 129 uint64_t value2; variable 131 EXPECT_TRUE(attrs.GetUint64Value(Attributes::ATTR_SIGNATURE, value2)); 133 EXPECT_EQ(value2, UINT64_MAX); 143 uint32_t value2; variable 145 EXPECT_TRUE(attrs.GetUint32Value(Attributes::ATTR_SIGNATURE, value2)); 147 EXPECT_TRUE(value2 == UINT32_MAX); 157 uint16_t value2; variable [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/callstack/ |
D | register_test.cpp | 140 uint64_t value2 = 0; variable 146 RegisterGetSPValue(value2, buildArchType, registers, sizeof(registers))); 148 EXPECT_EQ(value, value2); 159 uint64_t value2 = 0; variable 165 RegisterGetIPValue(value2, buildArchType, registers, sizeof(registers))); 167 EXPECT_EQ(value, value2);
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_db_test.cpp | 377 GenericValues value2; variable 378 value2.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 0); 379 value2.Put(PrivacyFiledConst::FIELD_OP_CODE, Constant::OP_MICROPHONE); 380 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND); 387 values.emplace_back(value2); 408 GenericValues value2; variable 409 value2.Put(PrivacyFiledConst::FIELD_TOKEN_ID, 1); 410 value2.Put(PrivacyFiledConst::FIELD_OP_CODE, Constant::OP_MICROPHONE); 411 value2.Put(PrivacyFiledConst::FIELD_STATUS, ActiveChangeType::PERM_ACTIVE_IN_FOREGROUND); 420 values.emplace_back(value2); [all …]
|
/base/startup/init/test/unittest/syspara/ |
D | syspara_unittest.cpp | 125 char value2[] = "set value with illegal key"; variable 126 int ret = SetParameter(key2, value2); 161 char value2[64] = {0}; variable 163 int ret = GetParameter(key2, defValue2, value2, 64); 202 char value2[] = "wifi_iot"; variable 203 ret = SetParameter(key2, value2); 205 ret = SystemWriteParam(key2, value2);
|
/base/startup/init/test/moduletest/ |
D | syspara_moduleTest.cpp | 168 char value2[] = "v10.2.2"; variable 172 std::thread(SetParameterTestFunc, key2, value2).join(); 210 char value2[] = "111111111111111111111111111111111"; variable 211 ret = SetParameter(key8, value2); 286 string value2 = "test.param.value.002"; variable 287 ret = SetParameter(key1.c_str(), value2.c_str()); 373 char value2[] = "-0x111111"; variable 374 EXPECT_EQ(SetParameter(key2, value2), 0);
|
/base/startup/init/test/benchmark/ |
D | benchmark_fwk.cpp | 207 static args_vector GetArgs(const std::vector<int> &sizes, int value1, int value2) in GetArgs() argument 211 args.push_back( {size, value1, value2} ); in GetArgs()
|
/base/hiviewdfx/hiview/base/event_store/test/unittest/common/ |
D | sys_event_dao_test.cpp | 321 FieldValue value2(TEST_INT32_VALUE); 322 ASSERT_TRUE(value2.IsNumber()); 324 ASSERT_EQ(value2.GetFieldNumber().GetNumber<int64_t>(), TEST_INT32_VALUE);
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | accesstoken_info_manager_test.cpp | 2220 GenericValues value2; variable 2221 value2.Put(TokenFiledConst::FIELD_TOKEN_ID, 123); // 123 is random input 2222 value2.Put(TokenFiledConst::FIELD_GRANT_IS_GENERAL, true); 2223 value2.Put(TokenFiledConst::FIELD_PERMISSION_NAME, "ohos.permission.CAMERA"); 2224 value2.Put(TokenFiledConst::FIELD_DEVICE_ID, "dev-002"); 2225 value2.Put(TokenFiledConst::FIELD_GRANT_STATE, PermissionState::PERMISSION_DENIED); 2226 value2.Put(TokenFiledConst::FIELD_GRANT_FLAG, PermissionFlag::PERMISSION_DEFAULT_FLAG); 2236 permStateRes2.emplace_back(value2);
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_manager_c_test.cpp | 1069 uint64_t value2; variable 1070 ret = OH_HiSysEvent_GetParamUint64Value(&record, "KEY", &value2); 1072 ret = OH_HiSysEvent_GetParamUint64Value(&record, nullptr, &value2);
|
D | hisysevent_native_test.cpp | 461 short value2 = 2; variable 462 …ult = HiSysEventWrite(domain, eventName, HiSysEvent::EventType::FAULT, key1, value2, key2, value2);
|
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/test/ |
D | RequestSystemQuery.test.ets | 244 {name : 'key1', value: 'value1'}, {name : 'key2', value: 'value2'}
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
D | sys_event_service_ohos_test.cpp | 860 {"param":"uid_","op":"=","value2":1201}]}})~";
|
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/test/ |
D | RequestQuery.test.ets | 373 {name : 'key1', value: 'value1'}, {name : 'key2', value: 'value2'}
|