Home
last modified time | relevance | path

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

/cts/tests/app/app/src/android/app/stubs/
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/app/src/android/app/cts/
DLocalActivityManagerTest.java32 private Sync mSync = new Sync(); field in LocalActivityManagerTest
41 mSync = new Sync(); in setUp()
67 synchronized (mSync) { in waitForResult()
68 if (!mSync.mHasNotify) { in waitForResult()
69 mSync.wait(); in waitForResult()
123 synchronized (mSync) { in setResult()
124 mSync.mHasNotify = true; in setResult()
125 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.java68 private Sync mSync = new Sync(); field in ViewGroupTest
887 synchronized (mSync) { in waitForResult()
888 while(!mSync.mHasNotify) { in waitForResult()
890 mSync.wait(); in waitForResult()
2636 synchronized (mSync) { in setResult()
2637 mSync.mHasNotify = true; in setResult()
2638 mSync.notify(); in setResult()
/cts/tools/dex-tools/dex/
Dclasses.out.dex10642 private final java.lang.Object mSync
12754 private final java.lang.Object mSync
24004 private static final java.lang.Object mSync
24898 private static final java.lang.Object mSync
25625 private static final java.lang.Object mSync
Dclasses0.out.dex60234 private java.lang.Object mSync