/test/vts/compilation_tools/vtsc/code_gen/profiler/ |
D | ProfilerCodeGenBase.cpp | 45 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/ |
D | SingleManifestTest.cpp | 106 static FqInstance ToFqInstance(const string &interface, in ToFqInstance() argument 111 if (!fq_interface.setTo(interface)) { in ToFqInstance() 112 ADD_FAILURE() << interface << " is not a valid FQName"; in ToFqInstance() 118 ADD_FAILURE() << "Cannot convert to FqInstance: " << interface << "/" in ToFqInstance() 130 FqInstance interface; in GetPassthroughService() local 131 if (!interface.setTo(fq_instance.getPackage(), in GetPassthroughService() 140 interface.string(), fq_instance.getInstance(), Transport::PASSTHROUGH); in GetPassthroughService() 146 if (intf == interface.string()) { in GetPassthroughService() 153 ADD_FAILURE() << "Retrieved " << interface.string() << "/" in GetPassthroughService() 160 cout << "Retrieved " << interface.string() << "/" in GetPassthroughService() [all …]
|
D | VtsTrebleVintfTestBase.cpp | 95 manifest_instance.interface()}; in ForEachHidlHalInstance() 118 const std::string &interface = manifest_instance.interface(); in ForEachAidlHalInstance() local 122 std::async([&]() { fn(package, interface, instance); }); in ForEachAidlHalInstance() 126 cout << "Timed out on: " << package << "." << interface << "/" << instance in ForEachAidlHalInstance()
|
/test/vts/utils/python/mirror/ |
D | native_entity_mirror.py | 96 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:
|
D | hal_mirror.py | 155 interface = getattr(specification, INTERFACE, None) 156 apis = getattr(interface, API, [])
|
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/ |
D | TestMsgQ.profiler.cpp | 24 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() 176 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() 230 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() 284 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() 338 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() 392 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() 438 profiler.AddTraceEvent(event, package, version, interface, msg); in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() [all …]
|
D | Nfc.profiler.cpp | 16 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()
|
D | NfcClientCallback.profiler.cpp | 16 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()
|
D | MemoryTest.profiler.cpp | 19 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()
|
D | Bar.profiler.cpp | 27 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 …]
|
D | Nfc.vts.h | 35 const char* interface,
|
D | NfcClientCallback.vts.h | 33 const char* interface,
|
D | MemoryTest.vts.h | 35 const char* interface,
|
D | Bar.vts.h | 45 const char* interface,
|
D | TestMsgQ.vts.h | 33 const char* interface,
|
/test/vts/compilation_tools/vtsc/code_gen/driver/ |
D | HalCodeGen.cpp | 40 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/utils/native/libprofiling/ |
D | VtsProfilingConfigureMain.cpp | 52 sp<IBase> interface = interfaceRet; in SetHALInstrumentation() local 53 auto notifyRet = interface->setHALInstrumentation(); in SetHALInstrumentation()
|
D | VtsProfilingInterface.cpp | 110 const char* package, const char* version, const char* interface, in AddTraceEvent() argument 122 record.set_interface(interface); in AddTraceEvent()
|
D | VtsProfilingInterface.h | 46 const char* package, const char* version, const char* interface,
|
/test/vts-testcase/hal/usb/gadget/V1_0/host/ |
D | VtsHalUsbGadgetV1_0HostTest.py | 68 for interface in interfaces_list: 69 altsettings_list = iter(interface)
|
/test/vts/proto/ |
D | ComponentSpecificationMessage.proto | 183 // 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).
|
D | VtsReportMessage.proto | 220 // 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/libcoverage/ |
D | VtsCoverageConfigureMain.cpp | 88 sp<IBase> interface = interfaceRet; in FlushHALCoverage() local 89 auto notifyRet = interface->notifySyspropsChanged(); in FlushHALCoverage()
|
/test/vts/drivers/hal/replayer/ |
D | VtsHidlHalReplayer.cpp | 66 string interface_name = msg.interface(); in ListTestServices() 127 string interface_name = call_msg.interface(); in ReplayTrace()
|
/test/vts/specification/lib/ndk/bionic/1.0/ |
D | libmV1.vts | 9 interface: {
|