/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 108 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 …]
|
D | AppsAsyncLoaderTest.java | 120 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/ |
D | AppStateChangeWifiStateBridgeTest.java | 52 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/ |
D | ManageApplicationsUnitTest.java | 55 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/ |
D | AllAppsFragment.java | 341 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/ |
D | AppStateNotificationBridgeTest.java | 434 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/ |
D | AppsAsyncLoader.java | 151 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
|
D | AppStateUsageStatsBridge.java | 163 public boolean filterApp(AppEntry info) { 189 public boolean filterApp(AppEntry info) {
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppOpsPreferenceControllerTest.java | 246 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/ |
D | AppStateNotificationBridge.java | 250 public boolean filterApp(AppEntry info) { 265 public boolean filterApp(AppEntry info) { 280 public boolean filterApp(AppEntry info) {
|
D | AppStateWriteSettingsBridge.java | 82 public boolean filterApp(AppEntry info) {
|
D | AppStatePowerBridge.java | 63 public boolean filterApp(AppEntry info) {
|
D | AppStateUsageBridge.java | 72 public boolean filterApp(AppEntry info) {
|
D | AppStateOverlayBridge.java | 92 public boolean filterApp(AppEntry info) {
|
D | AppStateSmsPremBridge.java | 92 public boolean filterApp(AppEntry info) {
|
D | SpecialAppAccessPreferenceController.java | 109 if (!ApplicationsState.FILTER_DOWNLOADED_AND_LAUNCHER.filterApp(entry)) { in updateSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateNotificationBridge.java | 248 public boolean filterApp(AppEntry info) { 263 public boolean filterApp(AppEntry info) { 278 public boolean filterApp(AppEntry info) {
|
D | AppStateWriteSettingsBridge.java | 82 public boolean filterApp(AppEntry info) {
|
D | AppStatePowerBridge.java | 63 public boolean filterApp(AppEntry info) {
|
D | AppStateUsageBridge.java | 72 public boolean filterApp(AppEntry info) {
|
D | AppStateOverlayBridge.java | 92 public boolean filterApp(AppEntry info) {
|
D | AppStateSmsPremBridge.java | 92 public boolean filterApp(AppEntry info) {
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | WifiControlPreferenceController.java | 45 public boolean filterApp(ApplicationsState.AppEntry info) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | AppStateChangeWifiStateBridge.java | 85 public boolean filterApp(AppEntry info) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | AppStateChangeWifiStateBridge.java | 85 public boolean filterApp(AppEntry info) {
|