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.cpp15 …*arg = (::android::hardware::tests::msgq::V1_0::ITestMsgQ::EventFlagBits)var_msg.scalar_value().ui… in MessageTo__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
24 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__tests__msgq__V1_0__ITestMsgQ__EventFlagBits()
221 arg0_sync_q_item = func_msg.arg(0).fmq_value(i).scalar_value().uint16_t(); in CallFunction()
237 arg0 = func_msg.arg(0).scalar_value().bool_t(); in CallFunction()
257 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
269 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
281 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
293 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
305 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
313 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
[all …]
Dtypes.driver.cpp15 *arg = (::android::hardware::nfc::V1_0::NfcEvent)var_msg.scalar_value().uint32_t(); in MessageTo__android__hardware__nfc__V1_0__NfcEvent()
29 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcEvent()
40 *arg = (::android::hardware::nfc::V1_0::NfcStatus)var_msg.scalar_value().uint32_t(); in MessageTo__android__hardware__nfc__V1_0__NfcStatus()
52 …if (actual_result.scalar_value().uint32_t() != expected_result.scalar_value().uint32_t()) { return… in Verify__android__hardware__nfc__V1_0__NfcStatus()
DBar.driver.cpp689 arg0 = func_msg.arg(0).scalar_value().float_t(); in CallFunction()
697 arg0 = func_msg.arg(0).scalar_value().int64_t(); in CallFunction()
709 arg0 = func_msg.arg(0).scalar_value().int32_t(); in CallFunction()
711 arg1 = func_msg.arg(1).scalar_value().int64_t(); in CallFunction()
713 arg2 = func_msg.arg(2).scalar_value().float_t(); in CallFunction()
715 arg3 = func_msg.arg(3).scalar_value().double_t(); in CallFunction()
728 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().int32_t(); in CallFunction()
762 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().int32_t(); in CallFunction()
822 …[arg0_index].q = func_msg.arg(0).vector_value(arg0_index).struct_value(0).scalar_value().int32_t(); in CallFunction()
826 …arg0_index).struct_value(3).vector_value(arg0_arg0_index__numbers_index).scalar_value().double_t(); in CallFunction()
[all …]
DNfc.driver.cpp166 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
181 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
245 …if (actual_result.return_type_hidl(0).scalar_value().uint32_t() != expected_result.return_type_hid… in VerifyResults()
DNfcClientCallback.driver.cpp109 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
DMemoryTest.driver.cpp177 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/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.cpp629 out << attribute.enum_value().scalar_value(index).int8_t(); in GenerateRandomFunctionImplForAttribute()
631 out << attribute.enum_value().scalar_value(index).uint8_t() << "U"; in GenerateRandomFunctionImplForAttribute()
633 out << attribute.enum_value().scalar_value(index).int16_t(); in GenerateRandomFunctionImplForAttribute()
635 out << attribute.enum_value().scalar_value(index).uint16_t() << "U"; in GenerateRandomFunctionImplForAttribute()
637 out << attribute.enum_value().scalar_value(index).int32_t() << "L"; in GenerateRandomFunctionImplForAttribute()
639 out << attribute.enum_value().scalar_value(index).uint32_t() << "UL"; in GenerateRandomFunctionImplForAttribute()
641 if (attribute.enum_value().scalar_value(index).int64_t() == LLONG_MIN) { in GenerateRandomFunctionImplForAttribute()
644 out << attribute.enum_value().scalar_value(index).int64_t() << "LL"; in GenerateRandomFunctionImplForAttribute()
647 out << attribute.enum_value().scalar_value(index).uint64_t() << "ULL"; in GenerateRandomFunctionImplForAttribute()
/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/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.