/cts/tests/app/app/src/android/app/stubs/ |
D | CTSActivityTestCaseBase.java | 25 private Sync mSync; field in CTSActivityTestCaseBase 34 mSync = new Sync(); in setUp() 38 synchronized (mSync) { in setResult() 39 mSync.mHasNotify = true; in setResult() 40 mSync.mResult = resultCode; in setResult() 41 mSync.notify(); in setResult() 46 synchronized (mSync) { in waitForResult() 47 while (!mSync.mHasNotify) { in waitForResult() 48 mSync.wait(); in waitForResult() 50 assertEquals(CTSResult.RESULT_OK, mSync.mResult); in waitForResult()
|
D | MockAlarmReceiver.java | 28 private final Object mSync = new Object(); field in MockAlarmReceiver 43 synchronized (mSync) { in onReceive() 52 synchronized (mSync) { in setAlarmedFalse()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | RemoteCallbackListTest.java | 35 private Sync mSync = new Sync(); field in RemoteCallbackListTest 47 synchronized (mSync) { in setUp() 48 mSync.mIsConnected = true; in setUp() 49 mSync.notify(); in setUp() 55 synchronized (mSync) { in setUp() 56 mSync.mIsDisConnected = true; in setUp() 57 mSync.notify(); in setUp() 90 synchronized (mSync) { in testRemoteCallbackList() 91 if (!mSync.mIsConnected) { in testRemoteCallbackList() 92 mSync.wait(); in testRemoteCallbackList() [all …]
|
D | ProcessTest.java | 39 private Object mSync; field in ProcessTest 47 mSync = new Object(); in setUp() 55 synchronized (mSync) { in setUp() 57 mSync.notify(); in setUp() 63 synchronized (mSync) { in setUp() 65 mSync.notify(); in setUp() 77 synchronized (mSync) { in setUp() 80 mSync.wait(); in setUp() 172 synchronized (mSync) { in testKillProcess() 175 mSync.wait(); in testKillProcess() [all …]
|
D | TokenWatcherTest.java | 41 private Object mSync; field in TokenWatcherTest 64 mSync = new Object(); in setUp() 69 synchronized (mSync) { in setUp() 71 mSync.notify(); in setUp() 76 synchronized (mSync) { in setUp() 78 mSync.notify(); in setUp() 89 synchronized (mSync) { in setUp() 92 mSync.wait(); in setUp()
|
/cts/tests/app/src/android/app/cts/ |
D | LocalActivityManagerTest.java | 33 private Sync mSync = new Sync(); field in LocalActivityManagerTest 42 mSync = new Sync(); in setUp() 68 synchronized (mSync) { in waitForResult() 69 if (!mSync.mHasNotify) { in waitForResult() 70 mSync.wait(); in waitForResult() 124 synchronized (mSync) { in setResult() 125 mSync.mHasNotify = true; in setResult() 126 mSync.notify(); in setResult()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | SendToClientBlockingTest.java | 25 private static final Semaphore mSync = new Semaphore(0); field in SendToClientBlockingTest 54 mSync.release(); 72 mSync.acquire(); in testSendToClientBlocking1Params() 92 mSync.acquire(); in testSendToClientBlocking3Params()
|
D | SendToClient.java | 27 private static final Semaphore mSync = new Semaphore(0); field in SendToClient 48 mSync.release(); 72 mSync.acquire(); in testSendToClient() 94 mSync.acquire(); in testSendToClient1()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VirtualContainerView.java | 83 private boolean mSync = true; field in VirtualContainerView 227 final String syncMsg = mSync ? "" : " (async)"; in onProvideAutofillVirtualStructure() 231 final ViewStructure child = mSync in onProvideAutofillVirtualStructure() 257 if (!mSync) { in onProvideAutofillVirtualStructure() 352 mSync = sync; in setSync()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewGroupTest.java | 115 private final Sync mSync = new Sync(); field in ViewGroupTest 1214 synchronized (mSync) { in waitForResult() 1215 while(!mSync.mHasNotify) { in waitForResult() 1217 mSync.wait(); in waitForResult() 3501 synchronized (mSync) { in setResult() 3502 mSync.mHasNotify = true; in setResult() 3503 mSync.notify(); in setResult()
|