Home
last modified time | relevance | path

Searched refs:scalar_value (Results 1 – 22 of 22) sorted by relevance

/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DlibcV1.driver.cpp19 …(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).sca… in Fuzz()
21 …(1).type() == TYPE_SCALAR && func_msg->arg(1).scalar_value().has_int32_t()) ? func_msg->arg(1).sca… in Fuzz()
23 …(2).type() == TYPE_SCALAR && func_msg->arg(2).scalar_value().has_int32_t()) ? func_msg->arg(2).sca… in Fuzz()
33 …(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).sca… in Fuzz()
47 …(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).sca… in Fuzz()
61 …(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).sca… in Fuzz()
75 …(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).sca… in Fuzz()
77 …(1).type() == TYPE_SCALAR && func_msg->arg(1).scalar_value().has_int32_t()) ? func_msg->arg(1).sca… in Fuzz()
86 …(0).type() == TYPE_SCALAR && func_msg->arg(0).scalar_value().has_int32_t()) ? func_msg->arg(0).sca… in Fuzz()
88 …YPE_SCALAR && func_msg->arg(1).scalar_value().has_void_pointer()) ? reinterpret_cast<void*>(func_m… in Fuzz()
[all …]
DTestMsgQ.driver.cpp14 …*arg = (::android::hardware::tests::msgq::V1_0::ITestMsgQ::EventFlagBits)var_msg.scalar_value().ui… in MessageTo__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
23 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
220 arg0_sync_q_item = func_msg.arg(0).fmq_value(i).scalar_value().uint16_t(); in CallFunction()
236 arg0 = func_msg.arg(0).scalar_value().bool_t(); in CallFunction()
256 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
268 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
280 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
292 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
304 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
312 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
[all …]
Dtypes.driver.cpp14 *arg = (::android::hardware::nfc::V1_0::NfcEvent)var_msg.scalar_value().uint32_t(); in MessageTo__android__hardware__nfc__V1_0__NfcEvent()
28 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcEvent()
39 *arg = (::android::hardware::nfc::V1_0::NfcStatus)var_msg.scalar_value().uint32_t(); in MessageTo__android__hardware__nfc__V1_0__NfcStatus()
51 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcStatus()
DBar.driver.cpp688 arg0 = func_msg.arg(0).scalar_value().float_t(); in CallFunction()
696 arg0 = func_msg.arg(0).scalar_value().int64_t(); in CallFunction()
708 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
710 arg1 = func_msg.arg(1).scalar_value().int64_t(); in CallFunction()
712 arg2 = func_msg.arg(2).scalar_value().float_t(); in CallFunction()
714 arg3 = func_msg.arg(3).scalar_value().double_t(); in CallFunction()
727 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().int32_t(); in CallFunction()
761 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().int32_t(); in CallFunction()
821 …[arg0_index].q = func_msg.arg(0).vector_value(arg0_index).struct_value(0).scalar_value().int32_t(); in CallFunction()
825 …arg0_index).struct_value(3).vector_value(arg0_arg0_index__numbers_index).scalar_value().double_t(); in CallFunction()
[all …]
DNfc.driver.cpp165 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
180 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
244 …if (actual_result.return_type_hidl(0).scalar_value().uint32_t() != expected_result.return_type_hid… in VerifyResults()
DNfcClientCallback.driver.cpp108 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
DMemoryTest.driver.cpp176 arg1 = func_msg.arg(1).scalar_value().uint8_t(); in CallFunction()
/test/vts/testcases/system/libc/
DLibcTest.py48 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
52 result.return_type.scalar_value.int32_t)
53 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
63 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
67 result.return_type.scalar_value.int32_t)
68 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
78 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
82 result.return_type.scalar_value.int32_t)
83 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
93 asserts.assertNotEqual(result.return_type.scalar_value.int32_t, -1,
[all …]
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp70 ScalarData scalar_value = blueprint.scalar_value(idx); in EnumRandomGen() local
79 scalar_value = Mutate(scalar_value, scalar_type); in EnumRandomGen()
82 *(result.mutable_scalar_value()) = scalar_value; in EnumRandomGen()
96 RandomGen(result.scalar_value(), result.scalar_type()); in ScalarRandomGen()
103 Mutate(result.scalar_value(), result.scalar_type()); in ScalarMutate()
217 ScalarData ProtoFuzzerMutator::RandomGen(const ScalarData &scalar_value, in RandomGen() argument
222 result.set_bool_t(RandomGen(static_cast<bool>(scalar_value.bool_t()))); in RandomGen()
224 result.set_int8_t(RandomGen(scalar_value.int8_t())); in RandomGen()
226 result.set_uint8_t(RandomGen(scalar_value.uint8_t())); in RandomGen()
228 result.set_int16_t(RandomGen(scalar_value.int16_t())); in RandomGen()
[all …]
/test/vts/harnesses/tradefed/tests/res/testtype/
Dvts_multi_device_test_parser_output_timeout.txt40 scalar_value {
48 scalar_value {
56 scalar_value {
64 scalar_value {
72 scalar_value {
97 scalar_value {
105 scalar_value {
113 scalar_value {
121 scalar_value {
129 scalar_value {
[all …]
Dvts_multi_device_test_parser_output.txt40 scalar_value {
48 scalar_value {
56 scalar_value {
64 scalar_value {
72 scalar_value {
97 scalar_value {
105 scalar_value {
113 scalar_value {
121 scalar_value {
129 scalar_value {
[all …]
/test/vts/drivers/hal/libdatatype/
Dhal_light.cpp65 state->color = msg.struct_value(0).scalar_value().uint32_t(); in GenerateLightStateUsingMessage()
67 state->flashMode = msg.struct_value(1).scalar_value().int32_t(); in GenerateLightStateUsingMessage()
69 state->flashOnMS = msg.struct_value(2).scalar_value().int32_t(); in GenerateLightStateUsingMessage()
71 state->flashOffMS = msg.struct_value(3).scalar_value().int32_t(); in GenerateLightStateUsingMessage()
73 state->brightnessMode = msg.struct_value(4).scalar_value().int32_t(); in GenerateLightStateUsingMessage()
/test/vts/utils/python/mirror/
Dnative_entity_mirror.py48 for enumerator, scalar_value in zip(attribute.enum_value.enumerator,
49 attribute.enum_value.scalar_value):
51 getattr(scalar_value, attribute.enum_value.scalar_type))
213 arg.scalar_value.pointer = 0
325 struct_value.scalar_value.uint32_t ^= FuzzerUtils.mask_uint32_t(
330 struct_value.scalar_value.int32_t *= -1
331 struct_value.scalar_value.int32_t += 1
333 struct_value.scalar_value.int32_t ^= mask
352 ret_v = getattr(arg_msg.scalar_value, arg_msg.scalar_type,
Dpb2py.py32 return getattr(var.scalar_value, var.scalar_type)
44 return getattr(var.scalar_value, var.scalar_type)
56 return getattr(var.scalar_value, var.scalar_type)
Dpy2pb.py43 setattr(message.scalar_value, scalar_type, py_value)
47 setattr(message.scalar_value, "int32_t", py_value)
67 setattr(message.scalar_value, pb_spec.scalar_type, py_value)
Dresource_mirror.py352 setattr(new_message.scalar_value, self._data_type, curr_value)
/test/vts/specification/lib/ndk/bionic/1.0/
DlibcV1.vts286 scalar_value: {
296 scalar_value: {
306 scalar_value: {
316 scalar_value: {
326 scalar_value: {
336 scalar_value: {
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalCodeGen.cpp190 << arg.scalar_value().bool_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
193 << arg.scalar_value().int8_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
196 << arg.scalar_value().uint8_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
199 << arg.scalar_value().int16_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
202 << arg.scalar_value().uint16_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
205 << arg.scalar_value().int32_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
208 << arg.scalar_value().uint32_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
211 << arg.scalar_value().uint32_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
214 << arg.scalar_value().int64_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
217 << arg.scalar_value().uint64_t() << ");" << "\n"; in GenerateCppBodyInterfaceImpl()
[all …]
DHalHidlCodeGen.cpp628 out << attribute.enum_value().scalar_value(index).int8_t(); in GenerateRandomFunctionImplForAttribute()
630 out << attribute.enum_value().scalar_value(index).uint8_t() << "U"; in GenerateRandomFunctionImplForAttribute()
632 out << attribute.enum_value().scalar_value(index).int16_t(); in GenerateRandomFunctionImplForAttribute()
634 out << attribute.enum_value().scalar_value(index).uint16_t() << "U"; in GenerateRandomFunctionImplForAttribute()
636 out << attribute.enum_value().scalar_value(index).int32_t() << "L"; in GenerateRandomFunctionImplForAttribute()
638 out << attribute.enum_value().scalar_value(index).uint32_t() << "UL"; in GenerateRandomFunctionImplForAttribute()
640 if (attribute.enum_value().scalar_value(index).int64_t() == LLONG_MIN) { in GenerateRandomFunctionImplForAttribute()
643 out << attribute.enum_value().scalar_value(index).int64_t() << "LL"; in GenerateRandomFunctionImplForAttribute()
646 out << attribute.enum_value().scalar_value(index).uint64_t() << "ULL"; in GenerateRandomFunctionImplForAttribute()
/test/vts/drivers/resource/resource_manager/
DVtsResourceManager.cpp482 convert_data[i] = (fmq_request.write_data(i).scalar_value().int8_t()); in FmqProto2Cpp()
487 convert_data[i] = fmq_request.write_data(i).scalar_value().uint8_t(); in FmqProto2Cpp()
492 convert_data[i] = fmq_request.write_data(i).scalar_value().int16_t(); in FmqProto2Cpp()
497 convert_data[i] = fmq_request.write_data(i).scalar_value().uint16_t(); in FmqProto2Cpp()
502 convert_data[i] = fmq_request.write_data(i).scalar_value().int32_t(); in FmqProto2Cpp()
507 convert_data[i] = fmq_request.write_data(i).scalar_value().uint32_t(); in FmqProto2Cpp()
512 convert_data[i] = fmq_request.write_data(i).scalar_value().int64_t(); in FmqProto2Cpp()
517 convert_data[i] = fmq_request.write_data(i).scalar_value().uint64_t(); in FmqProto2Cpp()
522 convert_data[i] = fmq_request.write_data(i).scalar_value().float_t(); in FmqProto2Cpp()
527 convert_data[i] = fmq_request.write_data(i).scalar_value().double_t(); in FmqProto2Cpp()
[all …]
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py283 return getattr(var_spec_msg.scalar_value, scalar_type)
287 return getattr(var_spec_msg.scalar_value, scalar_type)
289 return var_spec_msg.scalar_value.int32_t
400 return getattr(result.return_type.scalar_value,
/test/vts/proto/
DComponentSpecificationMessage.proto340 repeated ScalarDataValueMessage scalar_value = 2; field
423 optional ScalarDataValueMessage scalar_value = 101; field
429 // The value of an eunm variable is stored in scalar_value message.