Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java216 public static boolean isMyRestrictBackgroundStatus(int expectedStatus) { in isMyRestrictBackgroundStatus() argument
218 if (expectedStatus != actualStatus) { in isMyRestrictBackgroundStatus()
220 + "Expected: " + restrictBackgroundValueToString(expectedStatus) in isMyRestrictBackgroundStatus()
257 public static void assertMyRestrictBackgroundStatus(int expectedStatus) { in assertMyRestrictBackgroundStatus() argument
259 assertEquals(restrictBackgroundValueToString(expectedStatus), in assertMyRestrictBackgroundStatus()
DDataSaverModeTest.java203 private void assertDataSaverStatusOnBackground(int expectedStatus) throws Exception { in assertDataSaverStatusOnBackground() argument
204 assertRestrictBackgroundStatus(expectedStatus); in assertDataSaverStatusOnBackground()
205 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
DAbstractRestrictBackgroundNetworkTestCase.java235 protected void assertRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertRestrictBackgroundStatus() argument
238 assertEquals(restrictBackgroundValueToString(expectedStatus), in assertRestrictBackgroundStatus()
/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()