Home
last modified time | relevance | path

Searched refs:mSync (Results 1 – 10 of 10) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DCTSActivityTestCaseBase.java25 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()
/cts/tests/tests/os/src/android/os/cts/
DRemoteCallbackListTest.java35 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 …]
DProcessTest.java39 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 …]
DTokenWatcherTest.java41 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/
DLocalActivityManagerTest.java33 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/
DSendToClientBlockingTest.java25 private static final Semaphore mSync = new Semaphore(0); field in SendToClientBlockingTest
54 mSync.release();
72 mSync.acquire(); in testSendToClientBlocking1Params()
92 mSync.acquire(); in testSendToClientBlocking3Params()
DSendToClient.java27 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/AlarmManager/src/android/alarmmanager/cts/
DBasicApiTests.java454 private final Object mSync = new Object(); field in BasicApiTests.MockAlarmReceiver
472 synchronized (mSync) { in onReceive()
481 synchronized (mSync) { in getElapsedTime()
487 synchronized (mSync) { in getRtcTime()
493 synchronized (mSync) { in reset()
500 synchronized (mSync) { in isAlarmed()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DVirtualContainerView.java83 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/
DViewGroupTest.java116 private final Sync mSync = new Sync(); field in ViewGroupTest
1218 synchronized (mSync) { in waitForResult()
1219 while(!mSync.mHasNotify) { in waitForResult()
1221 mSync.wait(); in waitForResult()
3526 synchronized (mSync) { in setResult()
3527 mSync.mHasNotify = true; in setResult()
3528 mSync.notify(); in setResult()