Searched refs:shouldFilter (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SmartspaceDedupingCoordinator.kt | 67 return trackedSmartspaceTargets[entry.key]?.shouldFilter ?: false in <lambda>() 138 val prevShouldFilter = target.shouldFilter in <lambda>() 144 target.shouldFilter = !hasRecentlyAlerted(entry) in <lambda>() 147 return target.shouldFilter != prevShouldFilter && isOnLockscreen in <lambda>() 163 target.shouldFilter = true in <lambda>() 196 var shouldFilter = false variable in com.android.systemui.statusbar.notification.collection.coordinator.TrackedSmartspaceTarget
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | MediaCoordinatorTest.java | 98 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenDisabled() 100 assertThat(shouldFilter).isFalse(); in shouldFilterOtherNotificationWhenDisabled() 108 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenEnabled() 110 assertThat(shouldFilter).isFalse(); in shouldFilterOtherNotificationWhenEnabled() 118 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenDisabled() 120 assertThat(shouldFilter).isFalse(); in shouldFilterMediaNotificationWhenDisabled() 128 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenEnabled() 130 assertThat(shouldFilter).isTrue(); in shouldFilterMediaNotificationWhenEnabled()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 941 protected abstract List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument 944 protected abstract List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, in getCurrentCoolingDevices() argument 948 protected abstract List<TemperatureThreshold> getTemperatureThresholds(boolean shouldFilter, in getTemperatureThresholds() argument 1015 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument 1024 shouldFilter ? mInstance.getTemperaturesWithType(type) in getCurrentTemperatures() 1035 if (shouldFilter && t.type != type) { in getCurrentTemperatures() 1051 protected List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, in getCurrentCoolingDevices() argument 1059 final android.hardware.thermal.CoolingDevice[] halRet = shouldFilter in getCurrentCoolingDevices() 1070 if (shouldFilter && t.type != type) { in getCurrentCoolingDevices() 1087 boolean shouldFilter, int type) { in getTemperatureThresholds() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 161 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, int type) { in getCurrentTemperatures() argument 164 if (shouldFilter && type != temperature.getType()) { in getCurrentTemperatures() 173 protected List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, int type) { in getCurrentCoolingDevices() argument 176 if (shouldFilter && type != cdev.getType()) { in getCurrentCoolingDevices() 185 protected List<TemperatureThreshold> getTemperatureThresholds(boolean shouldFilter, in getTemperatureThresholds() argument 189 if (shouldFilter && type != threshold.type) { in getTemperatureThresholds()
|