Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 18 of 18) sorted by relevance

/aosp12/bionic/libc/bionic/
H A Dsemaphore.cpp88 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) { in SEM_TO_ATOMIC_POINTER()
103 int sem_init(sem_t* sem, int pshared, unsigned int value) { in sem_init()
214 int sem_wait(sem_t* sem) { in sem_wait()
233 static int __sem_timedwait(sem_t* sem, const timespec* abs_timeout, bool use_realtime_clock) { in __sem_timedwait()
270 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait()
274 int sem_timedwait_monotonic_np(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait_monotonic_np()
278 int sem_clockwait(sem_t* sem, clockid_t clock, const timespec* abs_timeout) { in sem_clockwait()
289 int sem_post(sem_t* sem) { in sem_post()
306 int sem_trywait(sem_t* sem) { in sem_trywait()
316 int sem_getvalue(sem_t* sem, int* sval) { in sem_getvalue()
/aosp12/art/test/1934-jvmti-signal-thread/src/art/
H A DTest1934.java119 final Semaphore sem = new Semaphore(0); in testStopWait() local
146 final Semaphore sem = new Semaphore(0); in testInterruptWait() local
178 final Semaphore sem = new Semaphore(0); in testStopInNative() local
220 final Semaphore sem = new Semaphore(0); in testStopRecur() local
241 final Semaphore sem = new Semaphore(0); in testInterruptRecur() local
264 final Semaphore sem = new Semaphore(0); in testStopSpinning() local
279 final Semaphore sem = new Semaphore(0); in testInterruptSpinning() local
/aosp12/art/test/1941-dispose-stress/src/art/
H A DTest1941.java46 public static void LoopAllocFreeEnv(Semaphore sem, Semaphore delay) { in LoopAllocFreeEnv()
67 final Semaphore sem = new Semaphore(0); in run() local
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCameraStressTest.java68 final Semaphore sem = new Semaphore(0); in setUp() local
114 final Semaphore sem = new Semaphore(0); in runOnLooper() local
H A DMediaRecorderStressTest.java72 final Semaphore sem = new Semaphore(0); in setUp() local
119 final Semaphore sem = new Semaphore(0); in runOnLooper() local
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
H A DCameraFunctionalTest.java60 final Semaphore sem = new Semaphore(0); in setUp() local
99 final Semaphore sem = new Semaphore(0); in runOnLooper() local
H A DCameraPairwiseTest.java68 final Semaphore sem = new Semaphore(0); in setUp() local
107 final Semaphore sem = new Semaphore(0); in runOnLooper() local
/aosp12/art/test/1930-monitor-info/src/art/
H A DTest1930.java59 final Semaphore sem = new Semaphore(0); in testLockWait() local
93 final Semaphore sem = new Semaphore(0); in testNotifyWait() local
/aosp12/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DEditTextTypeActivity.java61 final Semaphore sem = new Semaphore(0); in onCreate() local
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
H A Dcam_semaphore_tests.cpp51 cam_semaphore_t sem; in TEST() local
/aosp12/bionic/tests/
H A Dsemaphore_test.cpp71 static void SemWaitThreadTestFn(sem_t& sem) { in SemWaitThreadTestFn()
199 sem_t* sem = reinterpret_cast<sem_t*>(arg); in SemWaitEINTRThreadFn() local
H A Dmalloc_test.cpp1328 sem_t sem; in TEST() local
1335 auto* sem = reinterpret_cast<sem_t*>(ptr); in TEST() local
/aosp12/hardware/nxp/nfc/pn8x/halimpl/utils/
H A DphNxpNciHal_utils.h43 sem_t sem; member
/aosp12/hardware/nxp/nfc/snxxx/halimpl/utils/
H A DphNxpNciHal_utils.h44 sem_t sem; member
/aosp12/system/bt/test/suite/adapter/
H A Dbluetooth_test.cc75 void BluetoothTest::ClearSemaphore(semaphore_t* sem) { in ClearSemaphore()
/aosp12/art/test/1900-track-alloc/src/art/
H A DTest1900.java82 final Semaphore sem = new Semaphore(0); in run() local
/aosp12/hardware/st/nfc/1.0/hal/
H A Dhalcore.c810 static inline int sem_wait_nointr(sem_t *sem) { in sem_wait_nointr()
/aosp12/hardware/st/nfc/st21nfc/hal/
H A Dhalcore.cc822 static inline int sem_wait_nointr(sem_t* sem) { in sem_wait_nointr()