Searched refs:expectedStatus (Results 1 – 2 of 2) sorted by relevance
221 private void assertDataSaverStatusOnBackground(int expectedStatus) throws Exception { in assertDataSaverStatusOnBackground() argument222 assertRestrictBackgroundStatus(expectedStatus); in assertDataSaverStatusOnBackground()223 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
212 protected void assertRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertRestrictBackgroundStatus() argument216 assertEquals("wrong status", toString(expectedStatus), actualStatus); in assertRestrictBackgroundStatus()219 protected void assertMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertMyRestrictBackgroundStatus() argument221 assertEquals("Wrong status", toString(expectedStatus), toString(actualStatus)); in assertMyRestrictBackgroundStatus()224 protected boolean isMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in isMyRestrictBackgroundStatus() argument226 if (expectedStatus != actualStatus) { in isMyRestrictBackgroundStatus()227 Log.d(TAG, "Expected: " + toString(expectedStatus) in isMyRestrictBackgroundStatus()