Home
last modified time | relevance | path

Searched refs:expectedStatus (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DDataSaverModeTest.java221 private void assertDataSaverStatusOnBackground(int expectedStatus) throws Exception { in assertDataSaverStatusOnBackground() argument
222 assertRestrictBackgroundStatus(expectedStatus); in assertDataSaverStatusOnBackground()
223 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
DAbstractRestrictBackgroundNetworkTestCase.java212 protected void assertRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertRestrictBackgroundStatus() argument
216 assertEquals("wrong status", toString(expectedStatus), actualStatus); in assertRestrictBackgroundStatus()
219 protected void assertMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertMyRestrictBackgroundStatus() argument
221 assertEquals("Wrong status", toString(expectedStatus), toString(actualStatus)); in assertMyRestrictBackgroundStatus()
224 protected boolean isMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in isMyRestrictBackgroundStatus() argument
226 if (expectedStatus != actualStatus) { in isMyRestrictBackgroundStatus()
227 Log.d(TAG, "Expected: " + toString(expectedStatus) in isMyRestrictBackgroundStatus()