Searched refs:shouldFilter (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | MediaCoordinatorTest.java | 79 final boolean shouldFilter = filter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenDisabled() 81 assertThat(shouldFilter).isFalse(); in shouldFilterOtherNotificationWhenDisabled() 91 final boolean shouldFilter = filter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenEnabled() 93 assertThat(shouldFilter).isFalse(); in shouldFilterOtherNotificationWhenEnabled() 103 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenDisabled() 105 assertThat(shouldFilter).isFalse(); in shouldFilterMediaNotificationWhenDisabled() 115 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenEnabled() 117 assertThat(shouldFilter).isTrue(); in shouldFilterMediaNotificationWhenEnabled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilterTest.java | 214 final boolean shouldFilter = filter.shouldFilterOut(otherEntry); in shouldFilterOtherNotificationWhenDisabled() 216 assertFalse(shouldFilter); in shouldFilterOtherNotificationWhenDisabled() 231 final boolean shouldFilter = filter.shouldFilterOut(otherEntry); in shouldFilterOtherNotificationWhenEnabled() 233 assertFalse(shouldFilter); in shouldFilterOtherNotificationWhenEnabled() 247 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry); in shouldFilterMediaNotificationWhenDisabled() 249 assertFalse(shouldFilter); in shouldFilterMediaNotificationWhenDisabled() 263 final boolean shouldFilter = filter.shouldFilterOut(mMediaEntry); in shouldFilterMediaNotificationWhenEnabled() 265 assertTrue(shouldFilter); in shouldFilterMediaNotificationWhenEnabled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SmartspaceDedupingCoordinator.kt | 77 return trackedSmartspaceTargets[entry.key]?.shouldFilter ?: false in <lambda>() 149 val prevShouldFilter = target.shouldFilter in <lambda>() 155 target.shouldFilter = !hasRecentlyAlerted(entry) in <lambda>() 158 return target.shouldFilter != prevShouldFilter && isOnLockscreen in <lambda>() 174 target.shouldFilter = true in <lambda>() 208 var shouldFilter = false variable
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 635 protected abstract List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument 638 protected abstract List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, in getCurrentCoolingDevices() argument 642 protected abstract List<TemperatureThreshold> getTemperatureThresholds(boolean shouldFilter, in getTemperatureThresholds() argument 681 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument 696 if (shouldFilter && type != temperature.type) { in getCurrentTemperatures() 721 protected List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, in getCurrentCoolingDevices() argument 733 if (shouldFilter && type != coolingDevice.type) { in getCurrentCoolingDevices() 757 protected List<TemperatureThreshold> getTemperatureThresholds(boolean shouldFilter, in getTemperatureThresholds() argument 816 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument 831 if (shouldFilter && type != temperature.type) { in getCurrentTemperatures() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 148 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, int type) { in getCurrentTemperatures() argument 151 if (shouldFilter && type != temperature.getType()) { in getCurrentTemperatures() 160 protected List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, int type) { in getCurrentCoolingDevices() argument 163 if (shouldFilter && type != cdev.getType()) { in getCurrentCoolingDevices() 172 protected List<TemperatureThreshold> getTemperatureThresholds(boolean shouldFilter, in getTemperatureThresholds() argument 176 if (shouldFilter && type != threshold.type) { in getTemperatureThresholds()
|