Searched refs:expectAvailable (Results 1 – 1 of 1) sorted by relevance
380 private void assertNetworkAccess(boolean expectAvailable, boolean needScreenOn) in assertNetworkAccess() argument387 error = checkNetworkAccess(expectAvailable); in assertNetworkAccess()396 Log.w(TAG, "Network status didn't match for expectAvailable=" + expectAvailable in assertNetworkAccess()409 fail("Invalid state for expectAvailable=" + expectAvailable + " after " + maxTries in assertNetworkAccess()418 private String checkNetworkAccess(boolean expectAvailable) throws Exception { in checkNetworkAccess() argument420 return checkForAvailabilityInResultData(resultData, expectAvailable); in checkNetworkAccess()423 private String checkForAvailabilityInResultData(String resultData, boolean expectAvailable) { in checkForAvailabilityInResultData() argument440 if (expectAvailable) { in checkForAvailabilityInResultData()448 if (expectAvailable != connected) { in checkForAvailabilityInResultData()450 expectAvailable, connected)); in checkForAvailabilityInResultData()[all …]