Home
last modified time | relevance | path

Searched refs:mSem (Results 1 – 3 of 3) sorted by relevance

/cts/suite/audio_quality/lib/src/
DSemaphore.cpp22 if (sem_init(&mSem, 0, count) != 0) { in Semaphore()
29 sem_destroy(&mSem); in ~Semaphore()
34 sem_trywait(&mSem); in tryWait()
39 if (sem_wait(&mSem) == 0) { in wait()
69 if (sem_timedwait(&mSem, &timeNew) == 0) { in timedWait()
78 sem_post(&mSem); in post()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGlPlanetsActivity.java42 private final Semaphore mSem = new Semaphore(0); field in GlPlanetsActivity
52 return mSem.tryAcquire(timeoutInSecs, TimeUnit.SECONDS); in waitForGlPlanetsCompletionWithTimeout()
103 mSem.release(); in onRenderCompletion()
/cts/suite/audio_quality/lib/include/
DSemaphore.h44 sem_t mSem;