Home
last modified time | relevance | path

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

12

/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DAppStateUsageStatsBridgeTest.java108 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid()
122 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
136 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isTrue(); in test_unusedApp_isValid()
150 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_unusedApp_isValid()
165 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_unknownLastUse_isFilteredOut()
180 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
195 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_oldAppRecentlyUsed_isNotValid()
210 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_oldAppRecentlyUsed_isValid()
225 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(app)).isTrue(); in test_oldUnusedApp_isValid()
240 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_oldUnusedApp_isValid()
[all …]
DAppsAsyncLoaderTest.java120 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_appInstalledSameDayNeverUsed_isInvalid()
128 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_appInstalledSameDayNeverUsed_isValid()
136 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isTrue(); in test_unusedApp_isValid()
144 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_unusedApp_isValid()
151 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_unknownLastUse_isFilteredOut()
158 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isFalse(); in test_noThresholdFilter_unknownLastUse_isFilteredOut()
165 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isFalse(); in test_oldAppRecentlyUsed_isNotValid()
172 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_oldAppRecentlyUsed_isValid()
179 assertThat(AppsAsyncLoader.FILTER_USAGE_STATS.filterApp(app)).isTrue(); in test_oldUnusedApp_isValid()
186 assertThat(AppsAsyncLoader.FILTER_NO_THRESHOLD.filterApp(app)).isTrue(); in test_noThresholdFilter_oldUnusedApp_isValid()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DAppStateChangeWifiStateBridgeTest.java52 assertThat(mFilter.filterApp(null)).isFalse(); in testFilterApp_inputNull_returnFalse()
58 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_extraInfoNull_returnFalse()
65 assertThat(mFilter.filterApp(mEntry)).isTrue(); in testFilterApp_permissionedDeclaredTrue_returnTrue()
72 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_permissionedDeclaredFalse_returnFalse()
82 assertThat(mFilter.filterApp(mEntry)).isFalse(); in testFilterApp_networkSettingsGranted_returnFalse()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/manageapplications/
DManageApplicationsUnitTest.java55 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_filtersVolumeForAudio()
71 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_filtersVolumeForVideo()
87 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_filtersVolumeForGames()
120 assertThat(composedFilter.filterApp(appEntry)).isTrue(); in getCompositeFilter_worksWithInstantApps()
136 assertThat(filter.filterApp(appEntry)).isTrue(); in getCompositeFilter_worksForLegacyPrivateSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAllAppsFragment.java341 public boolean filterApp(ApplicationsState.AppEntry info) {
342 return !FILTER_DISABLED.filterApp(info)
358 public boolean filterApp(ApplicationsState.AppEntry info) {
377 public boolean filterApp(ApplicationsState.AppEntry info) {
378 return !FILTER_INSTALLED.filterApp(info) && !FILTER_DISABLED.filterApp(info);
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java434 assertTrue(FILTER_APP_NOTIFICATION_RECENCY.filterApp(allow)); in testFilterRecency()
441 assertFalse(FILTER_APP_NOTIFICATION_RECENCY.filterApp(deny)); in testFilterRecency()
451 assertTrue(FILTER_APP_NOTIFICATION_FREQUENCY.filterApp(allow)); in testFilterFrequency()
458 assertFalse(FILTER_APP_NOTIFICATION_FREQUENCY.filterApp(deny)); in testFilterFrequency()
468 assertTrue(FILTER_APP_NOTIFICATION_BLOCKED.filterApp(allow)); in testFilterBlocked()
475 assertFalse(FILTER_APP_NOTIFICATION_BLOCKED.filterApp(deny)); in testFilterBlocked()
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/
DAppsAsyncLoader.java151 if (mFilter.filterApp(extraInfo) && !isDefaultLauncher(mPackageManager, extraInfo)) { in loadApps()
313 public boolean filterApp(PackageInfo info) {
339 public boolean filterApp(PackageInfo info) {
430 boolean filterApp(PackageInfo info); in filterApp() method
DAppStateUsageStatsBridge.java163 public boolean filterApp(AppEntry info) {
189 public boolean filterApp(AppEntry info) {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppOpsPreferenceControllerTest.java246 assertThat(filter.filterApp(systemApp)).isTrue(); in appFilter_showingSystemApps_keepsSystemEntries()
262 assertThat(filter.filterApp(systemApp)).isFalse(); in appFilter_notShowingSystemApps_removesSystemEntries()
277 assertThat(filter.filterApp(appEntry)).isFalse(); in appFilter_removesNullExtraInfoEntries()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java250 public boolean filterApp(AppEntry info) {
265 public boolean filterApp(AppEntry info) {
280 public boolean filterApp(AppEntry info) {
DAppStateWriteSettingsBridge.java82 public boolean filterApp(AppEntry info) {
DAppStatePowerBridge.java63 public boolean filterApp(AppEntry info) {
DAppStateUsageBridge.java72 public boolean filterApp(AppEntry info) {
DAppStateOverlayBridge.java92 public boolean filterApp(AppEntry info) {
DAppStateSmsPremBridge.java92 public boolean filterApp(AppEntry info) {
DSpecialAppAccessPreferenceController.java109 if (!ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER.filterApp(entry)) { in updateSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateNotificationBridge.java248 public boolean filterApp(AppEntry info) {
263 public boolean filterApp(AppEntry info) {
278 public boolean filterApp(AppEntry info) {
DAppStateWriteSettingsBridge.java82 public boolean filterApp(AppEntry info) {
DAppStatePowerBridge.java63 public boolean filterApp(AppEntry info) {
DAppStateUsageBridge.java72 public boolean filterApp(AppEntry info) {
DAppStateOverlayBridge.java92 public boolean filterApp(AppEntry info) {
DAppStateSmsPremBridge.java92 public boolean filterApp(AppEntry info) {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DWifiControlPreferenceController.java45 public boolean filterApp(ApplicationsState.AppEntry info) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DAppStateChangeWifiStateBridge.java85 public boolean filterApp(AppEntry info) {
/packages/apps/Settings/src/com/android/settings/wifi/
DAppStateChangeWifiStateBridge.java85 public boolean filterApp(AppEntry info) {

12