Home
last modified time | relevance | path

Searched refs:interface (Results 1 – 25 of 36) sorted by relevance

12

/test/vts/compilation_tools/vtsc/code_gen/profiler/
DProfilerCodeGenBase.cpp45 InterfaceSpecificationMessage interface = message.interface(); in GenerateHeaderFile() local
48 for (const auto& attribute : interface.attribute()) { in GenerateHeaderFile()
92 InterfaceSpecificationMessage interface = message.interface(); in GenerateSourceFile() local
95 for (const auto& attribute : interface.attribute()) { in GenerateSourceFile()
116 if (interface.api_size() > 0) { in GenerateSourceFile()
121 for (const FunctionSpecificationMessage& api : interface.api()) { in GenerateSourceFile()
294 InterfaceSpecificationMessage interface = message.interface(); in IncludeHidlNativeType() local
296 interface.attribute()) { in IncludeHidlNativeType()
301 for (const FunctionSpecificationMessage& api : interface.api()) { in IncludeHidlNativeType()
/test/vts-testcase/hal/treble/vintf/
DSingleManifestTest.cpp103 static FqInstance ToFqInstance(const string &interface, in ToFqInstance() argument
108 if (!fq_interface.setTo(interface)) { in ToFqInstance()
109 ADD_FAILURE() << interface << " is not a valid FQName"; in ToFqInstance()
115 ADD_FAILURE() << "Cannot convert to FqInstance: " << interface << "/" in ToFqInstance()
127 FqInstance interface; in GetPassthroughService() local
128 if (!interface.setTo(fq_instance.getPackage(), in GetPassthroughService()
137 interface.string(), fq_instance.getInstance(), Transport::PASSTHROUGH); in GetPassthroughService()
143 if (intf == interface.string()) { in GetPassthroughService()
150 ADD_FAILURE() << "Retrieved " << interface.string() << "/" in GetPassthroughService()
157 cout << "Retrieved " << interface.string() << "/" in GetPassthroughService()
[all …]
DVtsTrebleVintfTestBase.cpp95 manifest_instance.interface()}; in ForEachHidlHalInstance()
119 const std::string &interface = manifest_instance.interface(); in ForEachAidlHalInstance() local
125 fn(package, version, interface, instance, updatable_via_apex); in ForEachAidlHalInstance()
130 cout << "Timed out on: " << package << "." << interface << "/" << instance in ForEachAidlHalInstance()
/test/vts/utils/python/mirror/
Dnative_entity_mirror.py96 if len(self._if_spec_msg.interface.api) > 0:
97 for api in self._if_spec_msg.interface.api:
121 if (self._if_spec_msg.interface
122 and self._if_spec_msg.interface.attribute):
123 for attribute in self._if_spec_msg.interface.attribute:
147 if self._if_spec_msg.interface and self._if_spec_msg.interface.attribute:
148 for attribute in self._if_spec_msg.interface.attribute:
401 if self._if_spec_msg.interface:
402 for attribute in self._if_spec_msg.interface.attribute:
404 for api in self._if_spec_msg.interface.api:
Dhal_mirror.py155 interface = getattr(specification, INTERFACE, None)
156 apis = getattr(interface, API, [])
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DNfc.profiler.cpp16 const char* interface, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc() argument
28 if (strcmp(interface, "INfc") != 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
29 LOG(WARNING) << "incorrect interface. Expect: INfc actual: " << interface; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
87 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
146 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
205 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
251 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
297 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
343 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
389 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
DTestMsgQ.profiler.cpp24 const char* interface, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() argument
36 if (strcmp(interface, "ITestMsgQ") != 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
37 LOG(WARNING) << "incorrect interface. Expect: ITestMsgQ actual: " << interface; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
105 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
184 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
238 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
292 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
346 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
400 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
446 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
[all …]
DNfcClientCallback.profiler.cpp16 const char* interface, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback() argument
28 if (strcmp(interface, "INfcClientCallback") != 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
29 LOG(WARNING) << "incorrect interface. Expect: INfcClientCallback actual: " << interface; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
87 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
138 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
DMemoryTest.profiler.cpp19 const char* interface, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest() argument
31 if (strcmp(interface, "IMemoryTest") != 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
32 LOG(WARNING) << "incorrect interface. Expect: IMemoryTest actual: " << interface; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
112 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
177 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
231 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
288 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
334 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
DBar.profiler.cpp27 const char* interface, in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() argument
39 if (strcmp(interface, "IBar") != 0) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
40 LOG(WARNING) << "incorrect interface. Expect: IBar actual: " << interface; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
116 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
162 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
216 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
294 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
358 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
405 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
469 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
[all …]
DNfc.vts.h35 const char* interface,
DNfcClientCallback.vts.h33 const char* interface,
DMemoryTest.vts.h35 const char* interface,
DTestMsgQ.vts.h33 const char* interface,
DBar.vts.h45 const char* interface,
/test/vts/compilation_tools/vtsc/code_gen/driver/
DHalCodeGen.cpp40 for (int i = 0; i < message.interface().attribute_size(); i++) { in GenerateCppBodyInterfaceImpl()
41 const VariableSpecificationMessage& attribute = message.interface().attribute(i); in GenerateCppBodyInterfaceImpl()
268 for (auto const& sub_struct : message.interface().sub_struct()) { in GenerateCppBodyFuzzFunction()
283 if (message.interface().sub_struct().size() > 0) { in GenerateCppBodyFuzzFunction()
286 for (auto const& sub_struct : message.interface().sub_struct()) { in GenerateCppBodyFuzzFunction()
313 for (auto const& api : message.interface().api()) { in GenerateCppBodyFuzzFunction()
338 for (auto const& attribute : message.interface().attribute()) { in GenerateCppBodyFuzzFunction()
698 for (auto const& sub_struct : message.interface().sub_struct()) { in GenerateCppBodyGetAttributeFunction()
713 if (message.interface().sub_struct().size() > 0) { in GenerateCppBodyGetAttributeFunction()
716 for (auto const& sub_struct : message.interface().sub_struct()) { in GenerateCppBodyGetAttributeFunction()
[all …]
/test/vts/proto/
DComponentSpecificationMessage.proto183 // To specify an API call to an interface.
185 // Name of the interface. Not required if hal_driver_id is set.
223 // the HIDL interface ID used to call an API of another nested interface
224 // using a VTS HAL driver (for HIDL HAL). 0 for the main interface.
498 // for HIDL HAL, to specify an HIDL interface's client proxy object's
536 // To specify an interface of a component
538 // whether this interface is a HIDL callback.
588 // For a .hal file which actually defines an interface.
589 optional InterfaceSpecificationMessage interface = 2001; field
591 // For a .hal file which does not defines an interface (e.g., types.hal).
DVtsReportMessage.proto220 // Information for a HAL interface.
228 // HAL interface name. e.g. IFoo.
236 // Hal interface info.
239 // APIs provided by the HAL with given package, version and interface name.
315 // API coverage report for each HAL interface.
/test/vts/utils/native/libprofiling/
DVtsProfilingConfigureMain.cpp52 sp<IBase> interface = interfaceRet; in SetHALInstrumentation() local
53 auto notifyRet = interface->setHALInstrumentation(); in SetHALInstrumentation()
DVtsProfilingInterface.cpp110 const char* package, const char* version, const char* interface, in AddTraceEvent() argument
122 record.set_interface(interface); in AddTraceEvent()
DVtsProfilingInterface.h46 const char* package, const char* version, const char* interface,
/test/vts/utils/native/libcoverage/
DVtsCoverageConfigureMain.cpp88 sp<IBase> interface = interfaceRet; in FlushHALCoverage() local
89 auto notifyRet = interface->notifySyspropsChanged(); in FlushHALCoverage()
/test/vts/specification/lib/ndk/bionic/1.0/
DlibmV1.vts9 interface: {
DlibcutilsV1.vts11 interface: {
/test/vts-testcase/fuzz/iface_fuzzer/
DProtoFuzzerMutator.cpp117 const IfaceSpec &iface_spec = comp_spec->interface(); in RandomGen()
148 const IfaceSpec &iface_spec = comp_spec->interface(); in Mutate()

12