/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | BlockPreferenceControllerTest.java | 106 appRow.systemApp = true; in testIsAvailable_channelNotBlockable() 116 appRow.systemApp = true; in testIsAvailable_channelNonDefault() 136 appRow.systemApp = true; in testIsAvailable_GroupNotBlockable() 144 appRow.systemApp = true; in testIsAvailable_AppNotBlockable() 152 appRow.systemApp = true; in testIsAvailable_systemApp() 162 appRow.systemApp = false; in testIsAvailable_nonSystemApp() 173 appRow.systemApp = true; in testIsEnabled_lockedApp() 182 appRow.systemApp = true; in testIsEnabled_GroupNotBlockable() 191 appRow.systemApp = true; in testIsEnabled_systemAppNotBlockable() 200 appRow.systemApp = true; in testIsEnabled_systemAppBlockable()
|
D | NotificationPreferenceControllerTest.java | 236 appRow.systemApp = false; in testIsChannelBlockable_nonSystemAppsBlockable() 247 appRow.systemApp = true; in testIsChannelBlockable_mostSystemAppsNotBlockable() 259 appRow.systemApp = true; in testIsChannelBlockable_someSystemAppsAreBlockable() 270 appRow.systemApp = true; in testIsChannelBlockable_canUndoSystemBlock() 282 appRow.systemApp = false; in testIsChannelGroupBlockable_nonSystemBlockable() 293 appRow.systemApp = false; in testIsChannelBlockable_oemLocked() 305 appRow.systemApp = false; in testIsChannelBlockable_criticalDeviceFunction() 317 appRow.systemApp = true; in testIsChannelGroupBlockable_SystemNotBlockable() 328 appRow.systemApp = true; in testIsChannelGroupBlockable_canUndoSystemBlock()
|
D | NotificationBackendTest.java | 75 assertTrue(appRow.systemApp); in testMarkAppRow_defaultPackage() 92 assertFalse(appRow.systemApp); in testMarkAppRow_notDefaultPackage()
|
D | HighImportancePreferenceControllerTest.java | 160 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 175 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | MinImportancePreferenceControllerTest.java | 160 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 175 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | ImportancePreferenceControllerTest.java | 177 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 192 appRow.systemApp = true; in testUpdateState_defaultApp()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 86 final boolean systemApp = isSystemApp(context, info); in isBlockable() 87 return !systemApp || (systemApp && blocked); in isBlockable() 99 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked() 103 row.systemApp = true; in recordCanBeBlocked() 122 row.systemApp = row.lockedImportance = true; in markAppRowWithBlockables() 135 return row.systemApp; in isSystemApp() 490 public boolean systemApp; field in NotificationBackend.AppRow
|
D | NotificationPreferenceController.java | 126 return channel.isBlockableSystem() || !mAppRow.systemApp in isChannelBlockable() 145 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
D | BlockPreferenceController.java | 83 if (mChannel == null && mAppRow.systemApp in updateState()
|
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationBackend.java | 84 final boolean systemApp = isSystemApp(context, info); in isBlockable() 85 return !systemApp || (systemApp && blocked); in isBlockable() 95 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked() 115 row.systemApp = row.lockedImportance = true; in markAppRowWithBlockables() 127 return row.systemApp; in isSystemApp() 471 public boolean systemApp; field in NotificationBackend.AppRow
|
D | BlockPreferenceController.java | 62 return !mAppRow.systemApp || (mAppRow.systemApp && mAppRow.banned); in isAvailable()
|
D | NotificationPreferenceController.java | 134 return mChannel.isBlockableSystem() || !mAppRow.systemApp in isChannelBlockable() 142 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
D | NotificationSettingsBase.java | 327 if (!mAppRow.systemApp) { in isChannelBlockable() 339 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateNotificationBridge.java | 125 stats.systemApp = mBackend.isSystemApp(mContext, entry.info); in addBlockStatus() 126 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus() 350 public boolean systemApp; field in NotificationsSentState
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | AppStateNotificationBridge.java | 123 stats.systemApp = mBackend.isSystemApp(mContext, entry.info); in addBlockStatus() 124 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus() 348 public boolean systemApp; field in NotificationsSentState
|
/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/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisableInstallShortcutListenersTask.java | 78 for (String systemApp : systemApps) { in run() 79 actionShortcut.setPackage(systemApp); in run()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/ |
D | StorageAsyncLoaderTest.java | 162 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted() local 164 systemApp.flags = ApplicationInfo.FLAG_SYSTEM & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testUpdatedSystemAppCodeSizeIsCounted()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoaderTest.java | 155 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted() local 157 systemApp.flags = ApplicationInfo.FLAG_SYSTEM & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testUpdatedSystemAppCodeSizeIsCounted()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 242 assertThat(((NotificationsSentState) apps.get(0).extraInfo).systemApp).isTrue(); in testLoadAllExtraInfo_multipleEventsAgg() 373 assertThat(((NotificationsSentState) entry.extraInfo).systemApp).isTrue(); in testUpdateExtraInfo_multipleEventsAgg()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 465 if (!appRow.systemApp) { in isChannelBlockable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 464 if (!appRow.systemApp) { in isChannelBlockable()
|