Searched refs:actualState (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileMapperTest.kt | 90 val actualState: QSTileState = mapper.map(qsTileConfig, inputModel) in mapsEnabledDataToUnavailableStateWhenOnPowerSave() constant 103 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsEnabledDataToUnavailableStateWhenOnPowerSave() 110 val actualState: QSTileState = mapper.map(qsTileConfig, inputModel) in mapsDisabledDataToUnavailableStateWhenOnPowerSave() constant 123 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsDisabledDataToUnavailableStateWhenOnPowerSave() 130 val actualState: QSTileState = mapper.map(qsTileConfig, inputModel) in mapsDisabledDataToInactiveState() constant 141 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsDisabledDataToInactiveState() 148 val actualState: QSTileState = mapper.map(qsTileConfig, inputModel) in mapsEnabledDataToActiveState() constant 160 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsEnabledDataToActiveState() 167 val actualState: QSTileState = mapper.map(qsTileConfig, inputModel) in mapsEnabledDataToOnIconState() constant 179 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsEnabledDataToOnIconState() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/impl/work/ui/ |
D | WorkModeTileMapperTest.kt | 82 val actualState: QSTileState = in mapsDisabledDataToInactiveState() constant 86 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsDisabledDataToInactiveState() 93 val actualState: QSTileState = in mapsEnabledDataToActiveState() constant 97 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsEnabledDataToActiveState() 102 val actualState: QSTileState = mapper.map(qsTileConfig, WorkModeTileModel.NoActiveProfile) in mapsNoActiveProfileDataToUnavailableState() constant 105 QSTileStateSubject.assertThat(actualState).isEqualTo(expectedState) in mapsNoActiveProfileDataToUnavailableState()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/ |
D | TimeZoneDetectorStrategyImplTest.java | 1619 MetricsTimeZoneDetectorState actualState = mTimeZoneDetectorStrategy.generateMetricsState(); in assertMetricsState() local 1622 assertFeatureStateMatchesConfig(expectedInternalConfig, actualState, expectedDetectionMode); in assertMetricsState() 1631 assertEquals(expectedState, actualState); in assertMetricsState() 1635 MetricsTimeZoneDetectorState actualState, int expectedDetectionMode) { in assertFeatureStateMatchesConfig() argument 1637 actualState.isTelephonyDetectionSupported()); in assertFeatureStateMatchesConfig() 1638 assertEquals(config.isGeoDetectionSupported(), actualState.isGeoDetectionSupported()); in assertFeatureStateMatchesConfig() 1640 actualState.isTelephonyTimeZoneFallbackSupported()); in assertFeatureStateMatchesConfig() 1642 actualState.getAutoDetectionEnabledSetting()); in assertFeatureStateMatchesConfig() 1644 actualState.getGeoDetectionEnabledSetting()); in assertFeatureStateMatchesConfig() 1645 assertEquals(expectedDetectionMode, actualState.getDetectionMode()); in assertFeatureStateMatchesConfig()
|
D | TimeZoneDetectorServiceTest.java | 360 TimeZoneState actualState = mTimeZoneDetectorService.getTimeZoneState(); in testGetTimeZoneState() local 364 assertEquals(fakeState, actualState); in testGetTimeZoneState()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BstatsCpuTimesValidationTest.java | 607 final String actualState = uidStateStr.split(" ")[1]; in assertProcState() 608 return expectedState.equals(actualState) ? null in assertProcState() 609 : "expected=" + expectedState + ", actual" + actualState; in assertProcState() 617 final int actualState = BatteryStats.mapToInternalProcessState(amProcState); in assertProcState() 618 return (actualState == expectedState) ? null in assertProcState() 620 + ", actual=" + getStateName(BatteryStats.Uid.class, actualState) in assertProcState()
|
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/ |
D | TimeDetectorServiceTest.java | 454 TimeState actualState = mTimeDetectorService.getTimeState(); in testGetTimeState() local 458 assertEquals(actualState, fakeState); in testGetTimeState()
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 1992 int32_t actualState = states[states.size() - 1]; in handleEvictionsLocked() local 1999 state->getConflicting(), actualScore, clientPid, actualState, in handleEvictionsLocked()
|