Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DDataSaverModeTest.java219 private void assertDataSaverStatusOnBackground(int expectedStatus) throws Exception { in assertDataSaverStatusOnBackground() argument
220 assertRestrictBackgroundStatus(expectedStatus); in assertDataSaverStatusOnBackground()
221 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
DAbstractRestrictBackgroundNetworkTestCase.java259 protected void assertRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertRestrictBackgroundStatus() argument
263 assertEquals("wrong status", toString(expectedStatus), actualStatus); in assertRestrictBackgroundStatus()
266 protected void assertMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertMyRestrictBackgroundStatus() argument
268 assertEquals("Wrong status", toString(expectedStatus), toString(actualStatus)); in assertMyRestrictBackgroundStatus()
271 protected boolean isMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in isMyRestrictBackgroundStatus() argument
273 if (expectedStatus != actualStatus) { in isMyRestrictBackgroundStatus()
274 Log.d(TAG, "Expected: " + toString(expectedStatus) in isMyRestrictBackgroundStatus()
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyValueTest.java89 List<Integer> expectedStatus = Arrays.asList( in testGetPropertyStatus() local
95 assertThat(expectedStatus).contains(status); in testGetPropertyStatus()