Searched refs:mMySync (Results 1 – 4 of 4) sorted by relevance
90 private MySync mMySync = new MySync(); field in ConcurrencyTest104 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 …]
49 private static MySync mMySync; field in ScanResultTest83 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 …]
49 private static MySync mMySync; field in WifiInfoTest72 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()
138 private static MySync mMySync; field in WifiManagerTest200 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 …]