Home
last modified time | relevance | path

Searched refs:mMySync (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java90 private MySync mMySync = new MySync(); field in ConcurrencyTest
104 synchronized (mMySync) {
105 mMySync.pendingSync.set(MySync.WIFI_STATE);
106 mMySync.expectedWifiState = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE,
108 mMySync.notify();
111 synchronized (mMySync) {
112 mMySync.pendingSync.set(MySync.P2P_STATE);
113 mMySync.expectedP2pState = intent.getIntExtra(WifiP2pManager.EXTRA_WIFI_STATE,
115 mMySync.notify();
118 synchronized (mMySync) {
[all …]
DScanResultTest.java49 private static MySync mMySync; field in ScanResultTest
83 synchronized (mMySync) {
84 mMySync.expectedState = STATE_WIFI_CHANGED;
85 mMySync.notify();
88 synchronized (mMySync) {
90 mMySync.expectedState = STATE_SCAN_RESULTS_AVAILABLE;
92 mMySync.expectedState = STATE_SCAN_FAILURE;
94 mMySync.notify();
107 mMySync = new MySync(); in setUp()
141 mMySync.expectedState = STATE_NULL; in setUp()
[all …]
DWifiInfoTest.java49 private static MySync mMySync; field in WifiInfoTest
72 synchronized (mMySync) {
73 mMySync.expectedState = STATE_WIFI_CHANGED;
74 mMySync.notify();
87 mMySync = new MySync(); in setUp()
101 mMySync.expectedState = STATE_NULL; in setUp()
120 synchronized (mMySync) { in setWifiEnabled()
121 mMySync.expectedState = STATE_WIFI_CHANGING; in setWifiEnabled()
129 && mMySync.expectedState == STATE_WIFI_CHANGING) in setWifiEnabled()
130 mMySync.wait(WAIT_MSEC); in setWifiEnabled()
DWifiManagerTest.java138 private static MySync mMySync; field in WifiManagerTest
200 synchronized (mMySync) {
206 mMySync.expectedState = STATE_SCAN_DONE;
207 mMySync.notifyAll();
212 synchronized (mMySync) {
215 mMySync.expectedState = STATE_WIFI_ENABLED;
216 mMySync.notifyAll();
219 mMySync.expectedState = STATE_WIFI_DISABLED;
220 mMySync.notifyAll();
224 synchronized (mMySync) {
[all …]