/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 114 appRow.systemApp = true; in testIsAvailable_channelNotBlockable() 124 appRow.systemApp = true; in testIsAvailable_channelNonDefault() 144 appRow.systemApp = true; in testIsAvailable_GroupNotBlockable() 153 appRow.systemApp = true; in testIsAvailable_AppNotBlockable() 161 appRow.systemApp = true; in testIsAvailable_systemApp() 171 appRow.systemApp = false; in testIsAvailable_nonSystemApp_noFilter() 181 appRow.systemApp = false; in testIsAvailable_filteredOut() 193 appRow.systemApp = false; in testIsAvailable_filteredIn() 206 appRow.systemApp = true; in testIsEnabled_lockedApp() 215 appRow.systemApp = true; in testIsEnabled_GroupNotBlockable() [all …]
|
D | NotificationPreferenceControllerTest.java | 253 appRow.systemApp = false; in testIsChannelBlockable_nonSystemAppsBlockable() 264 appRow.systemApp = true; in testIsChannelBlockable_mostSystemAppsNotBlockable() 276 appRow.systemApp = true; in testIsChannelBlockable_someSystemAppsAreBlockable() 287 appRow.systemApp = true; in testIsChannelBlockable_canUndoSystemBlock() 299 appRow.systemApp = false; in testIsChannelGroupBlockable_nonSystemBlockable() 310 appRow.systemApp = false; in testIsChannelBlockable_oemLocked() 322 appRow.systemApp = false; in testIsChannelBlockable_criticalDeviceFunction() 334 appRow.systemApp = true; in testIsChannelGroupBlockable_SystemNotBlockable() 345 appRow.systemApp = true; in testIsChannelGroupBlockable_canUndoSystemBlock()
|
D | MinImportancePreferenceControllerTest.java | 184 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 199 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | HighImportancePreferenceControllerTest.java | 184 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 199 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | ImportancePreferenceControllerTest.java | 201 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 216 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | ConversationPriorityPreferenceControllerTest.java | 164 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 179 appRow.systemApp = true; in testUpdateState_defaultApp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/ |
D | AppOpsPreferenceControllerTest.java | 242 AppEntry systemApp = createAppEntry("test.package", /* uid= */ 1, /* isOpPermissible= */ in appFilter_showingSystemApps_keepsSystemEntries() local 244 systemApp.info.flags |= ApplicationInfo.FLAG_SYSTEM; in appFilter_showingSystemApps_keepsSystemEntries() 246 assertThat(filter.filterApp(systemApp)).isTrue(); in appFilter_showingSystemApps_keepsSystemEntries() 258 AppEntry systemApp = createAppEntry("test.package", /* uid= */ 1, /* isOpPermissible= */ in appFilter_notShowingSystemApps_removesSystemEntries() local 260 systemApp.info.flags |= ApplicationInfo.FLAG_SYSTEM; in appFilter_notShowingSystemApps_removesSystemEntries() 262 assertThat(filter.filterApp(systemApp)).isFalse(); in appFilter_notShowingSystemApps_removesSystemEntries()
|
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
D | AppStateUsageStatsBridgeTest.java | 317 ApplicationsState.AppEntry systemApp = in test_multipleApps_processCorrectly() local 320 systemApp.info.flags = ApplicationInfo.FLAG_SYSTEM; in test_multipleApps_processCorrectly() 321 mApps.add(systemApp); in test_multipleApps_processCorrectly() 332 assertThat(AppStateUsageStatsBridge.FILTER_USAGE_STATS.filterApp(systemApp)).isFalse(); in test_multipleApps_processCorrectly() 346 ApplicationsState.AppEntry systemApp = in test_noThresholdFilter_ignoresUsageForFiltering() local 349 systemApp.info.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_ignoresUsageForFiltering() 350 mApps.add(systemApp); in test_noThresholdFilter_ignoresUsageForFiltering() 361 assertThat(AppStateUsageStatsBridge.FILTER_NO_THRESHOLD.filterApp(systemApp)).isFalse(); in test_noThresholdFilter_ignoresUsageForFiltering()
|
D | AppsAsyncLoaderTest.java | 239 AppsAsyncLoader.PackageInfo systemApp = in test_multipleApps_processCorrectly() local 243 systemApp.flags = ApplicationInfo.FLAG_SYSTEM; in test_multipleApps_processCorrectly() 244 registerApp(systemApp, 2, TimeUnit.DAYS.toMillis(800)); in test_multipleApps_processCorrectly() 277 AppsAsyncLoader.PackageInfo systemApp = in test_noThresholdFilter_ignoresUsageForFiltering() local 281 systemApp.flags = ApplicationInfo.FLAG_SYSTEM; in test_noThresholdFilter_ignoresUsageForFiltering() 282 registerApp(systemApp, 2, TimeUnit.DAYS.toMillis(800)); in test_noThresholdFilter_ignoresUsageForFiltering()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 102 final boolean systemApp = isSystemApp(context, info); in isBlockable() 103 return !systemApp || (systemApp && blocked); in isBlockable() 115 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked() 119 row.systemApp = true; in recordCanBeBlocked() 138 row.systemApp = row.lockedImportance = true; in markAppRowWithBlockables() 180 return row.systemApp; in isSystemApp() 697 public boolean systemApp; field in NotificationBackend.AppRow
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | NotificationsPreference.java | 107 final boolean systemApp = isSystemApp(context, info); in isBlockable() 110 return !systemApp || (systemApp && blocked); in isBlockable()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 130 stats.systemApp = mBackend.isSystemApp(mContext, entry.info); in addBlockStatus() 131 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus() 347 public boolean systemApp; field in NotificationsSentState
|
D | RunningServiceDetails.java | 126 report.systemApp = (mServiceItem.mServiceInfo.applicationInfo.flags in onClick()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DefaultLayoutParser.java | 122 final ResolveInfo systemApp = getSingleSystemActivity(appList); in invalidPackageOrClass() local 123 if (systemApp == null) { in invalidPackageOrClass() 130 resolved = systemApp; in invalidPackageOrClass()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | NotificationPreferenceController.java | 147 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable() 166 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
D | BlockPreferenceController.java | 91 if (mChannel == null && mAppRow.systemApp in updateState()
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
D | NotificationsPreferenceTest.java | 188 private void setSystemApp(boolean systemApp) { in setSystemApp() argument 189 ShadowUtils.setSystemPackage(systemApp); in setSystemApp()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 164 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted() local 166 systemApp.flags = ApplicationInfo.FLAG_SYSTEM & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testUpdatedSystemAppCodeSizeIsCounted()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 164 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted() local 166 systemApp.flags = ApplicationInfo.FLAG_SYSTEM & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testUpdatedSystemAppCodeSizeIsCounted()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationBackendTest.java | 101 assertTrue(appRow.systemApp); in testMarkAppRow_defaultPackage() 118 assertFalse(appRow.systemApp); in testMarkAppRow_notDefaultPackage()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 248 assertThat(((NotificationsSentState) apps.get(0).extraInfo).systemApp).isTrue(); in testLoadAllExtraInfo_multipleEventsAgg() 379 assertThat(((NotificationsSentState) entry.extraInfo).systemApp).isTrue(); in testUpdateExtraInfo_multipleEventsAgg()
|