Home
last modified time | relevance | path

Searched refs:struct_value (Results 1 – 11 of 11) sorted by relevance

/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.py320 index = random.randint(0, len(arg_msg.struct_value))
322 for struct_value in arg_msg.struct_value:
324 if struct_value.scalar_type == "uint32_t":
325 struct_value.scalar_value.uint32_t ^= FuzzerUtils.mask_uint32_t(
327 elif struct_value.scalar_type == "int32_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
336 "support %s" % struct_value.scalar_type)
Dpy2pb.py166 for attr in pb_spec.struct_value:
170 attr_msg = message.struct_value.add()
Dpb2py.py123 for attr in var.struct_value:
/test/vts/runners/host/tcp_client/
Dvts_tcp_client.py297 for struct_value in var_spec_msg.struct_value:
298 if len(struct_value.name) > 0:
299 result[struct_value.
301 struct_value)
305 struct_value)
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutateFns.cpp162 for (const VarSpec &struct_value : blueprint.struct_value()) { in StructRandomGen() local
163 *result.add_struct_value() = this->RandomGen(struct_value); in StructRandomGen()
172 *result.mutable_struct_value(idx) = this->Mutate(result.struct_value(idx)); in StructMutate()
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalHidlCodeGen.cpp726 for (const auto& struct_value : attribute.struct_value()) { in GenerateDriverImplForAttribute() local
728 out, struct_value, "arg->" + struct_value.name(), in GenerateDriverImplForAttribute()
874 for (const auto& struct_field : val.struct_value()) { in GenerateDriverImplForTypedVariable()
1307 GenerateVerificationCodeForTypedVariable(out, val.struct_value(i), in GenerateVerificationCodeForTypedVariable()
1519 for (const auto& struct_field : val.struct_value()) { in GenerateSetResultCodeForTypedVariable()
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
DBar.driver.cpp15 …MessageTo__android__hardware__tests__foo__V1_0__Unrelated(var_msg.struct_value(0), &(arg->myRelate… in MessageTo__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
18 …_hardware__tests__foo__V1_0__Unrelated(expected_result.struct_value(0), actual_result.struct_value in Verify__android__hardware__tests__bar__V1_0__IBar__SomethingRelated()
822 …arg0[arg0_index].q = func_msg.arg(0).vector_value(arg0_index).struct_value(0).scalar_value().int32… in CallFunction()
823 …droid::hardware::hidl_string(func_msg.arg(0).vector_value(arg0_index).struct_value(1).string_value… in CallFunction()
824 …droid::hardware::hidl_string(func_msg.arg(0).vector_value(arg0_index).struct_value(2).string_value… in CallFunction()
825 …_arg0_index__numbers_index < func_msg.arg(0).vector_value(arg0_index).struct_value(3).vector_value… in CallFunction()
826 …arg0_index__numbers_index] = func_msg.arg(0).vector_value(arg0_index).struct_value(3).vector_value… in CallFunction()
828 …sts__foo__V1_0__IFoo__Fumble(func_msg.arg(0).vector_value(arg0_index).struct_value(4), &(arg0[arg0… in CallFunction()
829 …sts__foo__V1_0__IFoo__Fumble(func_msg.arg(0).vector_value(arg0_index).struct_value(5), &(arg0[arg0… in CallFunction()
/test/vts/compilation_tools/vtsc/code_gen/profiler/
DHalHidlProfilerCodeGen.cpp108 if (val.struct_value().size() == 0 && val.has_predefined_type()) { in GenerateProfilerForStructVariable()
114 for (const auto& struct_field : val.struct_value()) { in GenerateProfilerForStructVariable()
DProfilerCodeGenBase.cpp337 for (const auto& struct_field : val.struct_value()) { in IncludeHidlNativeType()
/test/vts/proto/
DComponentSpecificationMessage.proto438 repeated VariableSpecificationMessage struct_value = 141; field