/test/vts/compilation_tools/vtsc/test/golden/DRIVER/ |
D | libcV1.driver.cpp | 19 …(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 …]
|
D | TestMsgQ.driver.cpp | 15 …*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 …]
|
D | types.driver.cpp | 15 *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()
|
D | Bar.driver.cpp | 689 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 …]
|
D | Nfc.driver.cpp | 166 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()
|
D | NfcClientCallback.driver.cpp | 109 arg0[arg0_index] = func_msg.arg(0).vector_value(arg0_index).scalar_value().uint8_t(); in CallFunction()
|
D | MemoryTest.driver.cpp | 177 arg1 = func_msg.arg(1).scalar_value().uint8_t(); in CallFunction()
|
/test/vts/testcases/system/libc/ |
D | LibcTest.py | 48 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/ |
D | ProtoFuzzerMutateFns.cpp | 70 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/ |
D | vts_multi_device_test_parser_output_timeout.txt | 40 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 …]
|
D | vts_multi_device_test_parser_output.txt | 40 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/ |
D | hal_light.cpp | 65 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/ |
D | native_entity_mirror.py | 48 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,
|
D | pb2py.py | 32 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)
|
D | py2pb.py | 43 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)
|
D | resource_mirror.py | 352 setattr(new_message.scalar_value, self._data_type, curr_value)
|
/test/vts/compilation_tools/vtsc/code_gen/driver/ |
D | HalCodeGen.cpp | 190 << 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 …]
|
D | HalHidlCodeGen.cpp | 629 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/ |
D | libcV1.vts | 286 scalar_value: { 296 scalar_value: { 306 scalar_value: { 316 scalar_value: { 326 scalar_value: { 336 scalar_value: {
|
/test/vts/drivers/resource/resource_manager/ |
D | VtsResourceManager.cpp | 482 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/ |
D | vts_tcp_client.py | 283 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/ |
D | ComponentSpecificationMessage.proto | 340 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.
|