Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/applications/
DApplicationsStateTest.java55 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGamesFilterAcceptsGameDeprecated()
62 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGameFilterAcceptsCategorizedGame()
70 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isTrue(); in testGameFilterAcceptsCategorizedGameAndDeprecatedIsGame()
77 assertThat(ApplicationsState.FILTER_GAMES.filterApp(mEntry)).isFalse(); in testGamesFilterRejectsNotGame()
84 assertThat(ApplicationsState.FILTER_AUDIO.filterApp(mEntry)).isTrue(); in testAudioFilterAcceptsCategorizedAudio()
91 assertThat(ApplicationsState.FILTER_AUDIO.filterApp(mEntry)).isFalse(); in testAudiosFilterRejectsNotAudio()
98 assertThat(ApplicationsState.FILTER_AUDIO.filterApp(mEntry)).isFalse(); in testAudiosFilterRejectsDefaultCategory()
105 assertThat(ApplicationsState.FILTER_OTHER_APPS.filterApp(mEntry)).isFalse(); in testOtherAppsRejectsAudio()
112 assertThat(ApplicationsState.FILTER_OTHER_APPS.filterApp(mEntry)).isFalse(); in testOtherAppsRejectsGame()
119 assertThat(ApplicationsState.FILTER_OTHER_APPS.filterApp(mEntry)).isFalse(); in testOtherAppsRejectsImageApp()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java1011 if (entry != null && (filter == null || filter.filterApp(entry))) { in handleRebuildList()
1909 boolean filterApp(AppEntry info); in filterApp() method
1930 public boolean filterApp(AppEntry entry) {
1942 public boolean filterApp(AppEntry entry) {
1954 public boolean filterApp(AppEntry entry) {
1965 public boolean filterApp(AppEntry entry) {
1979 public boolean filterApp(AppEntry entry) {
2005 public boolean filterApp(@NonNull AppEntry entry) {
2039 public boolean filterApp(AppEntry entry) {
2041 || FILTER_DOWNLOADED_AND_LAUNCHER.filterApp(entry);
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DComputerEngine.java2627 boolean filterApp = true; in shouldFilterApplication()
2630 for (int index = packageStates.size() - 1; index >= 0 && filterApp; index--) { in shouldFilterApplication()
2631 filterApp &= shouldFilterApplication(packageStates.valueAt(index), callingUid, in shouldFilterApplication()
2634 return filterApp; in shouldFilterApplication()