Searched refs:expectedStatus (Results 1 – 4 of 4) sorted by relevance
216 public static boolean isMyRestrictBackgroundStatus(int expectedStatus) { in isMyRestrictBackgroundStatus() argument218 if (expectedStatus != actualStatus) { in isMyRestrictBackgroundStatus()220 + "Expected: " + restrictBackgroundValueToString(expectedStatus) in isMyRestrictBackgroundStatus()257 public static void assertMyRestrictBackgroundStatus(int expectedStatus) { in assertMyRestrictBackgroundStatus() argument259 assertEquals(restrictBackgroundValueToString(expectedStatus), in assertMyRestrictBackgroundStatus()
203 private void assertDataSaverStatusOnBackground(int expectedStatus) throws Exception { in assertDataSaverStatusOnBackground() argument204 assertRestrictBackgroundStatus(expectedStatus); in assertDataSaverStatusOnBackground()205 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
235 protected void assertRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertRestrictBackgroundStatus() argument238 assertEquals(restrictBackgroundValueToString(expectedStatus), in assertRestrictBackgroundStatus()
89 List<Integer> expectedStatus = Arrays.asList( in testGetPropertyStatus() local95 assertThat(expectedStatus).contains(status); in testGetPropertyStatus()