Searched refs:isThrottled (Results 1 – 11 of 11) sorted by relevance
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/ |
H A D | BouncerViewModel.kt | 53 bouncerInteractor.isThrottled 58 initialValue = !bouncerInteractor.isThrottled.value, 107 bouncerInteractor.isThrottled 108 .map { isThrottled -> 109 if (isThrottled) { 144 bouncerInteractor.isThrottled, 145 ) { message, isThrottled -> 146 toMessageViewModel(message, isThrottled) 154 isThrottled = bouncerInteractor.isThrottled.value, 182 isThrottled: Boolean, [all …]
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | BrightnessThrottlerTest.java | 178 assertFalse(throttler.isThrottled()); in testThermalThrottlingSingleLevel() 185 assertTrue(throttler.isThrottled()); in testThermalThrottlingSingleLevel() 193 assertTrue(throttler.isThrottled()); in testThermalThrottlingSingleLevel() 201 assertTrue(throttler.isThrottled()); in testThermalThrottlingSingleLevel() 209 assertFalse(throttler.isThrottled()); in testThermalThrottlingSingleLevel() 243 assertTrue(throttler.isThrottled()); in testThermalThrottlingMultiLevel() 251 assertTrue(throttler.isThrottled()); in testThermalThrottlingMultiLevel() 259 assertTrue(throttler.isThrottled()); in testThermalThrottlingMultiLevel() 267 assertTrue(throttler.isThrottled()); in testThermalThrottlingMultiLevel() 275 assertTrue(throttler.isThrottled()); in testThermalThrottlingMultiLevel() [all …]
|
H A D | AutomaticBrightnessControllerTest.java | 148 when(mBrightnessThrottler.isThrottled()).thenReturn(false); in setupController() 709 when(mBrightnessThrottler.isThrottled()).thenReturn(true); 720 when(mBrightnessThrottler.isThrottled()).thenReturn(false);
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/ |
H A D | BouncerInteractor.kt | 59 authenticationInteractor.isThrottled, 61 ) { message, isThrottled, throttling -> 62 messageOrThrottlingMessage(message, isThrottled, throttling) 70 authenticationInteractor.isThrottled.value, 82 val isThrottled: StateFlow<Boolean> = authenticationInteractor.isThrottled 97 isThrottled.pairwise().collect { (wasThrottled, currentlyThrottled) -> 208 isThrottled: Boolean, 212 isThrottled ->
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/authentication/domain/interactor/ |
H A D | AuthenticationInteractorTest.kt | 236 val isThrottled by collectLastValue(underTest.isThrottled) regex 241 assertThat(isThrottled).isFalse() 292 val isThrottled by collectLastValue(underTest.isThrottled) regex 298 assertThat(isThrottled).isFalse() 352 val isThrottled by collectLastValue(underTest.isThrottled) regex 366 assertThat(isThrottled).isFalse() 458 val isThrottled by collectLastValue(underTest.isThrottled) regex 464 assertThat(isThrottled).isFalse() 469 assertThat(isThrottled).isFalse() 483 assertThat(isThrottled).isTrue() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/domain/interactor/ |
H A D | BouncerInteractorTest.kt | 283 val isThrottled by collectLastValue(underTest.isThrottled) regex 292 assertThat(isThrottled).isFalse() 304 assertThat(isThrottled).isTrue() 339 assertThat(isThrottled).isFalse() 352 assertThat(isThrottled).isFalse()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/ |
H A D | AuthenticationInteractor.kt | 157 val isThrottled: StateFlow<Boolean> = 262 isThrottled.value -> true
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/ |
H A D | BrightnessThrottler.java | 162 boolean isThrottled() { in isThrottled() method in BrightnessThrottler
|
H A D | AutomaticBrightnessController.java | 439 if (mIsBrightnessThrottled != mBrightnessThrottler.isThrottled()) { in configure() 441 mIsBrightnessThrottled = mBrightnessThrottler.isThrottled(); in configure()
|
H A D | DisplayPowerController2.java | 1427 if (mBrightnessThrottler.isThrottled()) { in updatePowerStateInternal()
|
H A D | DisplayPowerController.java | 1778 if (mBrightnessThrottler.isThrottled()) { in updatePowerStateInternal()
|