Home
last modified time | relevance | path

Searched refs:shouldFilter (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DMediaCoordinatorTest.java93 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenDisabled()
95 assertThat(shouldFilter).isFalse(); in shouldFilterOtherNotificationWhenDisabled()
103 final boolean shouldFilter = mFilter.shouldFilterOut(mOtherEntry, 0); in shouldFilterOtherNotificationWhenEnabled()
105 assertThat(shouldFilter).isFalse(); in shouldFilterOtherNotificationWhenEnabled()
113 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenDisabled()
115 assertThat(shouldFilter).isFalse(); in shouldFilterMediaNotificationWhenDisabled()
123 final boolean shouldFilter = mFilter.shouldFilterOut(mMediaEntry, 0); in shouldFilterMediaNotificationWhenEnabled()
125 assertThat(shouldFilter).isTrue(); in shouldFilterMediaNotificationWhenEnabled()
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DThermalManagerService.java751 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument
771 if (shouldFilter && t.type != type) { in getCurrentTemperatures()
806 if (shouldFilter && t.type != type) { in getCurrentCoolingDevices()
823 boolean shouldFilter, int type) { in getTemperatureThresholds() argument
836 if (shouldFilter) { in getTemperatureThresholds()
920 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument
1059 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument
1197 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, in getCurrentTemperatures() argument
1205 mThermalHal20.getCurrentTemperatures(shouldFilter, type, in getCurrentTemperatures()
1245 mThermalHal20.getCurrentCoolingDevices(shouldFilter, type, in getCurrentCoolingDevices()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DSmartspaceDedupingCoordinator.kt67 return trackedSmartspaceTargets[entry.key]?.shouldFilter ?: false
138 val prevShouldFilter = target.shouldFilter
144 target.shouldFilter = !hasRecentlyAlerted(entry)
147 return target.shouldFilter != prevShouldFilter && isOnLockscreen
163 target.shouldFilter = true
196 var shouldFilter = false regex
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DThermalManagerServiceTest.java156 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, int type) { in getCurrentTemperatures() argument
159 if (shouldFilter && type != temperature.getType()) { in getCurrentTemperatures()
168 protected List<CoolingDevice> getCurrentCoolingDevices(boolean shouldFilter, int type) { in getCurrentCoolingDevices() argument
171 if (shouldFilter && type != cdev.getType()) { in getCurrentCoolingDevices()
180 protected List<TemperatureThreshold> getTemperatureThresholds(boolean shouldFilter, in getTemperatureThresholds() argument
184 if (shouldFilter && type != threshold.type) { in getTemperatureThresholds()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java5555 final boolean shouldFilter = getPackageManagerInternal().filterAppAccess( in getInfoForIntentSender()
5558 shouldFilter ? null : packageName, in getInfoForIntentSender()
5559 shouldFilter ? INVALID_UID : uid, in getInfoForIntentSender()