Searched refs:expectedStatus (Results 1 – 3 of 3) sorted by relevance
219 private void assertDataSaverStatusOnBackground(int expectedStatus) throws Exception { in assertDataSaverStatusOnBackground() argument220 assertRestrictBackgroundStatus(expectedStatus); in assertDataSaverStatusOnBackground()221 assertBackgroundNetworkAccess(expectedStatus != RESTRICT_BACKGROUND_STATUS_ENABLED); in assertDataSaverStatusOnBackground()
259 protected void assertRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertRestrictBackgroundStatus() argument263 assertEquals("wrong status", toString(expectedStatus), actualStatus); in assertRestrictBackgroundStatus()266 protected void assertMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in assertMyRestrictBackgroundStatus() argument268 assertEquals("Wrong status", toString(expectedStatus), toString(actualStatus)); in assertMyRestrictBackgroundStatus()271 protected boolean isMyRestrictBackgroundStatus(int expectedStatus) throws Exception { in isMyRestrictBackgroundStatus() argument273 if (expectedStatus != actualStatus) { in isMyRestrictBackgroundStatus()274 Log.d(TAG, "Expected: " + toString(expectedStatus) in isMyRestrictBackgroundStatus()
89 List<Integer> expectedStatus = Arrays.asList( in testGetPropertyStatus() local95 assertThat(expectedStatus).contains(status); in testGetPropertyStatus()