Lines Matching defs:expectedState
159 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) {
163 if (ni != null && expectedState.equals(ni.getState())) {
178 protected boolean waitForWifiState(int expectedState, long timeout) {
182 if (state == expectedState) {
187 logv("waitForWifiState timeout: expected=%d, actual=%d", expectedState, state);
190 logv("waitForWifiState interim: expected=%d, actual=%d", expectedState, state);
197 protected boolean waitForWifiApState(int expectedState, long timeout) {
201 if (state == expectedState) {
207 expectedState, state));
211 expectedState, state));