Searched refs:semaphore (Results 1 – 4 of 4) sorted by relevance
/aosp14/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
H A D | UserSwitchWaiter.java | 83 final Semaphore semaphore = getSemaphoreSwitchComplete(userId); in runThenWaitUntilSwitchCompleted() local 84 semaphore.drainPermits(); in runThenWaitUntilSwitchCompleted() 86 waitForSemaphore(semaphore, onFail); in runThenWaitUntilSwitchCompleted() 91 final Semaphore semaphore = getSemaphoreBootComplete(userId); in runThenWaitUntilBootCompleted() local 92 semaphore.drainPermits(); in runThenWaitUntilBootCompleted() 94 waitForSemaphore(semaphore, onFail); in runThenWaitUntilBootCompleted() 97 private void waitForSemaphore(Semaphore semaphore, Runnable onFail) { in waitForSemaphore() argument 100 success = semaphore.tryAcquire(mTimeoutInSecond, TimeUnit.SECONDS); in waitForSemaphore()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | UserSwitchWaiter.java | 83 final Semaphore semaphore = getSemaphoreSwitchComplete(userId); in runThenWaitUntilSwitchCompleted() local 84 semaphore.drainPermits(); in runThenWaitUntilSwitchCompleted() 86 waitForSemaphore(semaphore, onFail); in runThenWaitUntilSwitchCompleted() 91 final Semaphore semaphore = getSemaphoreBootComplete(userId); in runThenWaitUntilBootCompleted() local 92 semaphore.drainPermits(); in runThenWaitUntilBootCompleted() 94 waitForSemaphore(semaphore, onFail); in runThenWaitUntilBootCompleted() 97 private void waitForSemaphore(Semaphore semaphore, Runnable onFail) { in waitForSemaphore() argument 100 success = semaphore.tryAcquire(mTimeoutInSecond, TimeUnit.SECONDS); in waitForSemaphore()
|
/aosp14/frameworks/base/libs/hwui/renderthread/ |
H A D | VulkanManager.cpp | 490 VkSemaphore semaphore; in dequeueNextBuffer() local 500 importInfo.semaphore = semaphore; in dequeueNextBuffer() 572 VkSemaphore semaphore; in finishFrame() local 587 semaphore = VK_NULL_HANDLE; in finishFrame() 595 if (semaphore != VK_NULL_HANDLE) { in finishFrame() 597 mSwapSemaphore = semaphore; in finishFrame() 697 VkSemaphore semaphore; in fenceWait() local 707 importInfo.semaphore = semaphore; in fenceWait() 721 beSemaphore.initVulkan(semaphore); in fenceWait() 747 VkSemaphore semaphore; in createReleaseFence() local [all …]
|
H A D | VulkanManager.h | 41 typedef void(VKAPI_PTR* PFN_vkFrameBoundaryANDROID)(VkDevice device, VkSemaphore semaphore,
|