Home
last modified time | relevance | path

Searched refs:event1 (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/webrtc/base/
Dprofiler_unittest.cc56 const ProfilerEvent* event1; in TEST() local
61 event1 = Profiler::Instance()->GetEvent(kEvent1Name); in TEST()
62 ASSERT_TRUE(event1 != NULL); in TEST()
63 EXPECT_TRUE(event1->is_started()); in TEST()
64 EXPECT_EQ(0, event1->event_count()); in TEST()
66 EXPECT_TRUE(event1->is_started()); in TEST()
69 EXPECT_FALSE(event1->is_started()); in TEST()
70 EXPECT_EQ(1, event1->event_count()); in TEST()
71 EXPECT_NEAR(kWaitSec, event1->mean(), kTolerance); in TEST()
76 EXPECT_FALSE(event1->is_started()); in TEST()
[all …]
/external/linux-kselftest/tools/testing/selftests/ftrace/test.d/kprobe/
Dkprobe_module.tc26 test -d events/kprobes/event1 || exit_failure
31 test -d events/kprobes1/event1 || exit_failure
38 test -d events/kprobes1/event1
44 echo 1 > events/kprobes1/event1/enable
52 echo 0 > events/kprobes1/event1/enable
Dkprobe_eventname.tc18 test -d events/kprobes/event1 || exit_failure
/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer_unittest.cc195 DtmfEvent event1(timestamp, event_no, volume, duration, end_bit); in TEST() local
197 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event1)); in TEST()
203 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
208 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
236 DtmfEvent event1(timestamp1, event_no, volume, duration, end_bit); in TEST() local
240 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event1)); in TEST()
245 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
255 EXPECT_EQ(DtmfBuffer::kOK, buffer.InsertEvent(event1)); in TEST()
258 EXPECT_TRUE(EqualEvents(event1, out_event)); in TEST()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java54 Event event1 = iter1.next(); in compareEvents() local
56 assertEquals(event1.getClass(), event2.getClass()); in compareEvents()
57 if (event1 instanceof AliasEvent && full) { in compareEvents()
58 assertEquals(((AliasEvent) event1).getAnchor(), ((AliasEvent) event2).getAnchor()); in compareEvents()
60 if (event1 instanceof CollectionStartEvent) { in compareEvents()
61 String tag1 = ((CollectionStartEvent) event1).getTag(); in compareEvents()
62 String tag2 = ((CollectionStartEvent) event1).getTag(); in compareEvents()
67 if (event1 instanceof ScalarEvent) { in compareEvents()
68 ScalarEvent scalar1 = (ScalarEvent) event1; in compareEvents()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DActivityFlinger.java129 … public boolean onFling(MotionEvent event1, MotionEvent event2, float velocityX, float velocityY) { in onFling() argument
130 if (Math.abs(event1.getY() - event2.getY()) > SWIPE_MAX_OFF_PATH) { in onFling()
133 if (event1.getX() - event2.getX() > SWIPE_MIN_DISTANCE in onFling()
138 } else if (event2.getX() - event1.getX() > SWIPE_MIN_DISTANCE in onFling()
144 return super.onFling(event1, event2, velocityX, velocityY); in onFling()
/external/perfetto/src/traced/probes/ftrace/
Dftrace_config_muxer_unittest.cc232 Event event1; in TEST_F() local
233 event1.name = "foo"; in TEST_F()
234 event1.group = "group_one"; in TEST_F()
235 event1.ftrace_event_id = 1; in TEST_F()
237 .WillByDefault(Return(&event1)); in TEST_F()
334 Event event1; in TEST_F() local
335 event1.name = "foo"; in TEST_F()
336 event1.group = "group_one"; in TEST_F()
337 event1.ftrace_event_id = 1; in TEST_F()
339 .WillByDefault(Return(&event1)); in TEST_F()
/external/python/cpython3/Lib/test/
Dtest_sched.py103 event1 = scheduler.enterabs(now + 0.01, 1, fun, (0.01,))
108 scheduler.cancel(event1)
119 event1 = scheduler.enterabs(now + 1, 1, fun, (1,))
Dtest_kqueue.py200 event1 = select.kevent(a, select.KQ_FILTER_READ, select.KQ_EV_ADD | select.KQ_EV_ENABLE)
202 r = kq.control([event1, event2], 1, 1)
/external/clang/test/SemaCXX/
Dflexible-array-test.cpp38 inotify_event event1 = *ptr; in foo() local
/external/python/cpython2/Lib/test/
Dtest_kqueue.py200 event1 = select.kevent(a, select.KQ_FILTER_READ, select.KQ_EV_ADD | select.KQ_EV_ENABLE)
202 r = kq.control([event1, event2], 1, 1)
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc1611 WaitableEvent event1(base::WaitableEvent::ResetPolicy::AUTOMATIC, in TEST_F() local
1617 WaitableEvent* events[4] = {&event0, &event1, &event2, &event3}; in TEST_F()
1657 WaitableEvent* event1, in RestrictedDispatchPipeWorker() argument
1663 event1_(event1), in RestrictedDispatchPipeWorker()
1742 WaitableEvent event1(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F() local
1750 std::move(pipe0.handle0), &event0, std::move(pipe1.handle1), &event1, 1, in TEST_F()
1753 std::move(pipe1.handle0), &event1, std::move(pipe2.handle1), &event2, 2, in TEST_F()
/external/tensorflow/tensorflow/python/kernel_tests/distributions/
Dbernoulli_test.py159 event1 = [1, 0, 1]
162 dist.prob(event1).eval({
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java866 Event event1 = new Event.Builder() in channelTrace_withEvents() local
885 .setEvents(Arrays.asList(event1, event2)) in channelTrace_withEvents()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWavePlotView.java564 public boolean onFling(MotionEvent event1, MotionEvent event2, in onFling() argument
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp2776 const Unique<VkEvent> event1 (createEvent(vk, vkDevice)); in submitBufferWaitSingleSemaphore() local
2780 VK_CHECK(vk.resetEvent(vkDevice, *event1)); in submitBufferWaitSingleSemaphore()
2790 vk.cmdSetEvent(*primCmdBuf1, *event1,stageMask); in submitBufferWaitSingleSemaphore()
2832 VkResult result = vk.getEventStatus(vkDevice,*event1); in submitBufferWaitSingleSemaphore()
2863 result = vk.getEventStatus(vkDevice,*event1); in submitBufferWaitSingleSemaphore()
/external/syzkaller/sys/linux/
Dsocket_bluetooth.txt123 event1 int32