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()
DMockAlarmReceiver.java28 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/
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/autofillservice/src/android/autofillservice/cts/
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.java115 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()