Home
last modified time | relevance | path

Searched refs:addEventListener (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncReactorTest.cpp462 TEST_F(VSyncReactorTest, addEventListener) { in TEST_F() argument
472 mReactor.addEventListener(mName, mPhase, &outerCb, lastCallbackTime); in TEST_F()
489 mReactor.addEventListener(mName, mPhase, &outerCb, lastCallbackTime); in TEST_F()
490 mReactor.addEventListener(mName, mAnotherPhase, &outerCb, lastCallbackTime); in TEST_F()
507 mReactor.addEventListener(mName, mPhase, &outerCb, lastCallbackTime); in TEST_F()
524 mReactor.addEventListener(mName, mPhase, &outerCb, lastCallbackTime); in TEST_F()
540 mReactor.addEventListener(mName, mPhase, &outerCb, lastCallbackTime); in TEST_F()
565 mReactor.addEventListener(mName, mPhase, &selfRemover, lastCallbackTime); in TEST_F()
582 mReactor.addEventListener(mName, mPhase, &outerCb, lastCallbackTime); in TEST_F()
583 mReactor.addEventListener(mName, mAnotherPhase, &outerCb, lastCallbackTime); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.h57 virtual status_t addEventListener(const char* name, nsecs_t phase, Callback* callback,
150 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback,
DDispSyncSource.cpp47 status_t err = mDispSync->addEventListener(mName, mPhaseOffset, in setVSyncEnabled()
DDispSync.cpp215 status_t addEventListener(const char* name, nsecs_t phase, DispSync::Callback* callback, in addEventListener() function in android::impl::DispSyncThread
511 addEventListener("ZeroPhaseTracer", 0, mZeroPhaseTracer.get(), 0); in DispSync()
640 status_t DispSync::addEventListener(const char* name, nsecs_t phase, Callback* callback, in addEventListener() function in android::impl::DispSync
643 return mThread->addEventListener(name, phase, callback, lastCallbackTime); in addEventListener()
DVSyncReactor.h58 status_t addEventListener(const char* name, nsecs_t phase, DispSync::Callback* callback,
DVSyncReactor.cpp327 status_t VSyncReactor::addEventListener(const char* name, nsecs_t phase, in addEventListener() function in android::scheduler::VSyncReactor
/frameworks/base/tools/preload/
Dsorttable.js341 if (document.addEventListener) {
342 document.addEventListener("DOMContentLoaded", sorttable.init, false);
375 if (element.addEventListener) {
376 element.addEventListener(type, handler, false);
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockDispSync.cpp28 status_t DispSync::addEventListener(const char* /*name*/, nsecs_t phase, Callback* callback, in addEventListener() function in android::mock::DispSync
DMockDispSync.h46 status_t addEventListener(const char* name, nsecs_t phase, Callback* callback,
/frameworks/native/services/surfaceflinger/
DRegionSamplingThread.cpp115 mScheduler.getPrimaryDispSync().addEventListener("SamplingThreadDispSyncListener", 0, this, in startVsyncListener()