Home
last modified time | relevance | path

Searched refs:filterApp (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
H A DApplicationsStateTest.java45 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGamesFilterAcceptsGameDeprecated()
52 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGameFilterAcceptsCategorizedGame()
60 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
67 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isFalse(); in testGamesFilterRejectsNotGame()
74 assertThat(ApplicationsState.FILTER_AUDIO.filterApp(mEntry)).isTrue(); in testAudioFilterAcceptsCategorizedAudio()
81 assertThat(ApplicationsState.FILTER_AUDIO.filterApp(mEntry)).isFalse(); in testAudiosFilterRejectsNotAudio()
88 assertThat(ApplicationsState.FILTER_AUDIO.filterApp(mEntry)).isFalse(); in testAudiosFilterRejectsDefaultCategory()
123 assertThat(ApplicationsState.FILTER_PHOTOS.filterApp(mEntry)).isTrue(); in testPhotosFilterAcceptsFilter()
130 assertThat(ApplicationsState.FILTER_PHOTOS.filterApp(mEntry)).isFalse(); in testPhotosFilterRejectsNotPhotos()
137 assertThat(ApplicationsState.FILTER_PHOTOS.filterApp(mEntry)).isFalse(); in testPhotosFilterRejectsDefaultCategory()
[all …]
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java1852 boolean filterApp(AppEntry info); in filterApp() method
1864 public boolean filterApp(AppEntry entry) {
1876 public boolean filterApp(AppEntry entry) {
1891 public boolean filterApp(AppEntry entry) {
1905 public boolean filterApp(AppEntry entry) {
1931 public boolean filterApp(AppEntry entry) {
1944 public boolean filterApp(AppEntry entry) {
1960 public boolean filterApp(AppEntry entry) {
2068 public boolean filterApp(AppEntry info) { in filterApp() method in ApplicationsState.VolumeFilter
2095 public boolean filterApp(AppEntry info) { in filterApp() method in ApplicationsState.CompoundFilter
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DComputerEngine.java2528 boolean filterApp = true; in shouldFilterApplication()
2531 for (int index = packageStates.size() - 1; index >= 0 && filterApp; index--) { in shouldFilterApplication()
2532 filterApp &= shouldFilterApplication(packageStates.valueAt(index), callingUid, in shouldFilterApplication()
2535 return filterApp; in shouldFilterApplication()