Searched refs:sem (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | CameraStressTest.java | 68 final Semaphore sem = new Semaphore(0); in setUp() local 75 sem.release(); in setUp() 81 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp() 114 final Semaphore sem = new Semaphore(0); in runOnLooper() local 121 sem.release(); in runOnLooper() 125 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
|
D | MediaRecorderStressTest.java | 72 final Semaphore sem = new Semaphore(0); in setUp() local 79 sem.release(); in setUp() 85 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp() 119 final Semaphore sem = new Semaphore(0); in runOnLooper() local 126 sem.release(); in runOnLooper() 130 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/ |
D | CameraFunctionalTest.java | 60 final Semaphore sem = new Semaphore(0); in setUp() local 67 sem.release(); in setUp() 73 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp() 99 final Semaphore sem = new Semaphore(0); in runOnLooper() local 106 sem.release(); in runOnLooper() 110 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
|
D | CameraPairwiseTest.java | 68 final Semaphore sem = new Semaphore(0); in setUp() local 75 sem.release(); in setUp() 81 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp() 107 final Semaphore sem = new Semaphore(0); in runOnLooper() local 114 sem.release(); in runOnLooper() 118 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | EditTextTypeActivity.java | 61 final Semaphore sem = new Semaphore(0); in onCreate() local 66 sem.release(); in onCreate() 82 sem.acquire(); in onCreate()
|
/frameworks/base/startop/scripts/app_startup/ |
D | analyze_metrics.py | 215 sem = stats_standard_error_one(np_data_2d, axis=0)[_PLOT_DATA_INDEX] 218 ci = (mean - sem, mean + sem) 394 sem = stats_standard_error(baseline_np_data_2d, rest_np_data_2d, axis=0) 399 …write_out_values(rest_label_list, rest_np_data_2d.mean(axis=0), mean_diff, sem, t_pvalue, p2, p2_b)
|