Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 39) sorted by relevance

12

/test/vts/utils/python/instrumentation/
Dtest_framework_instrumentation_test.py40 event = tfie.TestFrameworkInstrumentationEvent(name, '')
41 self.assertNotEqual(event.name, name, 'name %s should not be accepted.' % name)
47 event = tfie.TestFrameworkInstrumentationEvent(name, category)
48 self.assertTrue(event.Match(name, category))
49 self.assertFalse(event.Match('3', category))
53 event = tfi.Begin(self.name, self.category, enable_logging=False)
54 event.End()
55 self.assertEqual(event.status, 2)
56 self.assertIsNone(event.error)
57 event.End()
[all …]
Dtest_framework_instrumentation.py53 event = tfie.TestFrameworkInstrumentationEvent(name, category)
54 event.Begin(enable_logging=enable_logging, disable_subevent_logging=disable_subevent_logging)
55 return event
78 event = FindEvent(name, category)
79 if not event:
84 event.End()
85 return event
101 for event in reversed(tfie.event_stack):
102 if event.Match(name, category):
103 return event
[all …]
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/
DTestMsgQ.profiler.cpp21 details::HidlInstrumentor::InstrumentationEvent event __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ() argument
50 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
56 …, actual: " << (*args).size() << ", method name: configureFmqSyncReadWrite, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
84 …, actual: " << (*args).size() << ", method name: configureFmqSyncReadWrite, event type: " << event; 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()
114 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
120 …xpect: 1, actual: " << (*args).size() << ", method name: getFmqUnsyncWrite, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
138 …xpect: 2, actual: " << (*args).size() << ", method name: getFmqUnsyncWrite, event type: " << event; 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()
185 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_msgq_V1_0_ITestMsgQ()
[all …]
DBar.profiler.cpp24 details::HidlInstrumentor::InstrumentationEvent event __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar() argument
53 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
59 …ct: 2, actual: " << (*args).size() << ", method name: convertToBoolIfSmall, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
90 …ct: 1, actual: " << (*args).size() << ", method name: convertToBoolIfSmall, event type: " << event; 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()
125 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
131 …ot match. expect: 1, actual: " << (*args).size() << ", method name: doThis, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
149 …ot match. expect: 0, actual: " << (*args).size() << ", method name: doThis, event type: " << event; 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()
171 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_bar_V1_0_IBar()
[all …]
DNfc.profiler.cpp13 details::HidlInstrumentor::InstrumentationEvent event __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc() argument
42 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
48 … not match. expect: 1, actual: " << (*args).size() << ", method name: open, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
66 … not match. expect: 1, actual: " << (*args).size() << ", method name: open, event type: " << event; 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()
96 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
102 …not match. expect: 1, actual: " << (*args).size() << ", method name: write, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
125 …not match. expect: 1, actual: " << (*args).size() << ", method name: write, event type: " << event; 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()
155 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfc()
[all …]
DMemoryTest.profiler.cpp16 details::HidlInstrumentor::InstrumentationEvent event __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest() argument
45 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
51 …. expect: 1, actual: " << (*args).size() << ", method name: haveSomeMemory, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
80 …. expect: 1, actual: " << (*args).size() << ", method name: haveSomeMemory, event type: " << event; 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()
121 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
127 …atch. expect: 2, actual: " << (*args).size() << ", method name: fillMemory, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
164 …atch. expect: 0, actual: " << (*args).size() << ", method name: fillMemory, event type: " << event; 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()
186 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_tests_memory_V1_0_IMemoryTest()
[all …]
DNfcClientCallback.profiler.cpp13 details::HidlInstrumentor::InstrumentationEvent event __attribute__((__unused__)), in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback() argument
42 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
48 …match. expect: 2, actual: " << (*args).size() << ", method name: sendEvent, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
74 …match. expect: 0, actual: " << (*args).size() << ", method name: sendEvent, event type: " << event; 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()
96 switch (event) { in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
102 … match. expect: 1, actual: " << (*args).size() << ", method name: sendData, event type: " << event; in HIDL_INSTRUMENTATION_FUNCTION_android_hardware_nfc_V1_0_INfcClientCallback()
125 … match. expect: 0, actual: " << (*args).size() << ", method name: sendData, event type: " << event; 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()
DNfcClientCallback.vts.h30 details::HidlInstrumentor::InstrumentationEvent event,
DNfc.vts.h32 details::HidlInstrumentor::InstrumentationEvent event,
DMemoryTest.vts.h32 details::HidlInstrumentor::InstrumentationEvent event,
/test/vts/proto/
DVtsProfilingMessage.proto23 // Type of an instrumentation event.
25 // Entry event on the server side of a binderized HAL.
27 // Exit event on the server side of a binderized HAL.
29 // Entry event on the client side of a binderized HAL.
31 // Exit event on the client side of a binderized HAL.
33 // Entry event of a synchronize callback.
35 // Exit event of a synchronize callback.
37 // Entry event of a asynchronize callback.
39 // Exit event of a asynchronize callback.
41 // Entry event of a passthrough HAL.
[all …]
/test/vts/drivers/hal/replayer/
DVtsHidlHalReplayer.cpp93 if (call_msg.event() != InstrumentationEventType::SERVER_API_ENTRY && in ReplayTrace()
94 call_msg.event() != InstrumentationEventType::CLIENT_API_ENTRY && in ReplayTrace()
95 call_msg.event() != InstrumentationEventType::SYNC_CALLBACK_ENTRY && in ReplayTrace()
96 call_msg.event() != InstrumentationEventType::ASYNC_CALLBACK_ENTRY && in ReplayTrace()
97 call_msg.event() != InstrumentationEventType::PASSTHROUGH_ENTRY) { in ReplayTrace()
99 << call_msg.event(); in ReplayTrace()
102 if (expected_result_msg.event() != in ReplayTrace()
104 expected_result_msg.event() != in ReplayTrace()
106 expected_result_msg.event() != in ReplayTrace()
108 expected_result_msg.event() != in ReplayTrace()
[all …]
/test/vts-testcase/hal/contexthub/V1_0/host/
DVtsHalContexthubV1_0HostTest.py30 self.event = threading.Event()
41 return self.event.wait(timeout)
46 self.event.clear()
50 self.event.set()
54 self.event.set()
58 self.event.set()
62 self.event.set()
/test/vts/utils/native/trace_processor/
DVtsTraceProcessor.cpp65 if (isEntryEvent(record.event())) { in ParseBinaryTrace()
168 switch (record.event()) { in CleanupTraceFile()
193 if (record.event() == InstrumentationEventType::SERVER_API_ENTRY || in CleanupTraceFile()
194 record.event() == InstrumentationEventType::SERVER_API_EXIT) { in CleanupTraceFile()
200 if (record.event() == InstrumentationEventType::CLIENT_API_ENTRY || in CleanupTraceFile()
201 record.event() == InstrumentationEventType::CLIENT_API_EXIT) { in CleanupTraceFile()
207 if (record.event() == InstrumentationEventType::PASSTHROUGH_ENTRY || in CleanupTraceFile()
208 record.event() == InstrumentationEventType::PASSTHROUGH_EXIT) { in CleanupTraceFile()
260 if (profiling_msg.records(0).event() == in ProcessTraceForLatencyProfiling()
262 profiling_msg.records(0).event() == in ProcessTraceForLatencyProfiling()
[all …]
/test/framework/harnesses/host_controller/
Dinvocation_thread.py74 event = self._attempt.CreateCommandEvent(
76 self._tfc_client.SubmitCommandEvents([event])
89 event = self._attempt.CreateCommandEvent(
91 self._tfc_client.SubmitCommandEvents([event])
100 event = self._attempt.CreateInvocationCompletedEvent(
103 event = self._attempt.CreateInvocationCompletedEvent(
105 self._tfc_client.SubmitCommandEvents([event])
Dinvocation_thread_test.py62 event_types.extend(event["type"] for event in args[0])
/test/vts/runners/host/
Dtest_runner.py56 event = tfi.Begin('Test runner main method')
71 event.End()
296 event = tfi.Begin('test_runner registerController',
303 event.End()
313 event.Remove(msg)
333 event.Remove(msg)
338 event.Remove(msg)
346 event.End()
357 event = tfi.Begin('test_runner unregisterControllers',
368 event.End()
Dbase_test.py217 event = tfi.Begin('base_test registering android_device. '
223 event.End()
446 event = tfi.Begin('_setUpClass method for test class',
494 event.End()
513 event = tfi.Begin('_tearDownClass method for test class',
567 event.End()
636 event = tfi.Begin('_setUp method for test case',
641 event.Remove(msg)
652 event.End()
673 event = tfi.Begin('_tearDown method from base_test',
[all …]
/test/framework/harnesses/host_controller/utils/parser/
Dresult_utils.py65 for event, elem in ElementTree.iterparse(result_xml, events=("start", )):
89 for event, elem in ElementTree.iterparse(
91 if event == "start":
97 if event == "end" and elem.tag == common._TEST_TAG:
/test/vti/test_serving/gae/frontend/src/app/menu/build/
Dbuild.component.ts113 onPageEvent(event: PageEvent) {
114 this.pageSize = event.pageSize;
115 this.pageIndex = event.pageIndex;
117 return event;
/test/vti/test_serving/gae/frontend/src/app/menu/device/
Ddevice.component.ts124 onPageEvent(event: PageEvent) {
125 this.pageSize = event.pageSize;
126 this.pageIndex = event.pageIndex;
128 return event;
/test/vti/test_serving/gae/frontend/src/app/menu/schedule/
Dschedule.component.ts146 onPageEvent(event: PageEvent) {
147 this.pageSize = event.pageSize;
148 this.pageIndex = event.pageIndex;
150 return event;
/test/vti/test_serving/gae/frontend/src/app/menu/job/
Djob.component.ts156 onPageEvent(event: PageEvent) {
157 this.pageSize = event.pageSize;
158 this.pageIndex = event.pageIndex;
160 return event;
/test/vts/utils/python/controllers/
Dandroid_device.py774 event = tfi.Begin("start adb logcat from android_device",
789 event.End()
799 event = tfi.Begin("stop adb logcat from android_device",
804 event.Remove("Cannot stop adb logcat. %s" % e)
807 event.End()
1137 event = tfi.Begin("start vts services",
1145 event.Remove(msg)
1165 event.End()
1240 event = tfi.Begin("start vts agent", tfi.categories.FRAMEWORK_SETUP)
1301 event.Remove(msg)
[all …]
/test/vts/utils/native/libprofiling/
DVtsProfilingInterface.cpp109 android::hardware::details::HidlInstrumentor::InstrumentationEvent event, in AddTraceEvent() argument
118 record.set_event((InstrumentationEventType) static_cast<int>(event)); in AddTraceEvent()

12