/aosp12/bionic/libc/bionic/ |
H A D | semaphore.cpp | 88 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 D | Test1934.java | 119 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 D | Test1941.java | 46 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 D | CameraStressTest.java | 68 final Semaphore sem = new Semaphore(0); in setUp() local 114 final Semaphore sem = new Semaphore(0); in runOnLooper() local
|
H A D | MediaRecorderStressTest.java | 72 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 D | CameraFunctionalTest.java | 60 final Semaphore sem = new Semaphore(0); in setUp() local 99 final Semaphore sem = new Semaphore(0); in runOnLooper() local
|
H A D | CameraPairwiseTest.java | 68 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 D | Test1930.java | 59 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 D | EditTextTypeActivity.java | 61 final Semaphore sem = new Semaphore(0); in onCreate() local
|
/aosp12/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
H A D | cam_semaphore_tests.cpp | 51 cam_semaphore_t sem; in TEST() local
|
/aosp12/bionic/tests/ |
H A D | semaphore_test.cpp | 71 static void SemWaitThreadTestFn(sem_t& sem) { in SemWaitThreadTestFn() 199 sem_t* sem = reinterpret_cast<sem_t*>(arg); in SemWaitEINTRThreadFn() local
|
H A D | malloc_test.cpp | 1328 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 D | phNxpNciHal_utils.h | 43 sem_t sem; member
|
/aosp12/hardware/nxp/nfc/snxxx/halimpl/utils/ |
H A D | phNxpNciHal_utils.h | 44 sem_t sem; member
|
/aosp12/system/bt/test/suite/adapter/ |
H A D | bluetooth_test.cc | 75 void BluetoothTest::ClearSemaphore(semaphore_t* sem) { in ClearSemaphore()
|
/aosp12/art/test/1900-track-alloc/src/art/ |
H A D | Test1900.java | 82 final Semaphore sem = new Semaphore(0); in run() local
|
/aosp12/hardware/st/nfc/1.0/hal/ |
H A D | halcore.c | 810 static inline int sem_wait_nointr(sem_t *sem) { in sem_wait_nointr()
|
/aosp12/hardware/st/nfc/st21nfc/hal/ |
H A D | halcore.cc | 822 static inline int sem_wait_nointr(sem_t* sem) { in sem_wait_nointr()
|