Home
last modified time | relevance | path

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

/cts/tests/app/src/android/app/cts/
DCTSActivityTestCaseBase.java24 private Sync mSync; field in CTSActivityTestCaseBase
33 mSync = new Sync(); in setUp()
37 synchronized (mSync) { in setResult()
38 mSync.mHasNotify = true; in setResult()
39 mSync.mResult = resultCode; in setResult()
40 mSync.notify(); in setResult()
45 synchronized (mSync) { in waitForResult()
46 while (!mSync.mHasNotify) { in waitForResult()
47 mSync.wait(); in waitForResult()
49 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.java42 private Object mSync; field in TokenWatcherTest
65 mSync = new Object(); in setUp()
70 synchronized (mSync) { in setUp()
72 mSync.notify(); in setUp()
77 synchronized (mSync) { in setUp()
79 mSync.notify(); in setUp()
90 synchronized (mSync) { in setUp()
93 mSync.wait(); in setUp()
/cts/tests/tests/app/src/android/app/cts/
DLocalActivityManagerTest.java31 private Sync mSync = new Sync(); field in LocalActivityManagerTest
40 mSync = new Sync(); in setUp()
66 synchronized (mSync) { in waitForResult()
67 if (!mSync.mHasNotify) { in waitForResult()
68 mSync.wait(); in waitForResult()
122 synchronized (mSync) { in setResult()
123 mSync.mHasNotify = true; in setResult()
124 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
46 mSync.release();
64 mSync.acquire(); in testSendToClientBlocking1Params()
84 mSync.acquire(); in testSendToClientBlocking3Params()
DSendToClient.java27 private static final Semaphore mSync = new Semaphore(0); field in SendToClient
40 mSync.release();
64 mSync.acquire(); in testSendToClient()
86 mSync.acquire(); in testSendToClient1()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java70 private Sync mSync = new Sync(); field in ViewGroupTest
882 synchronized (mSync) { in waitForResult()
883 while(!mSync.mHasNotify) { in waitForResult()
885 mSync.wait(); in waitForResult()
2374 synchronized (mSync) { in setResult()
2375 mSync.mHasNotify = true; in setResult()
2376 mSync.notify(); in setResult()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex60234 private java.lang.Object mSync