/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
D | BlockPreferenceControllerTest.java | 107 appRow.systemApp = true; in testIsAvailable_channelNotBlockable() 117 appRow.systemApp = true; in testIsAvailable_channelNonDefault() 137 appRow.systemApp = true; in testIsAvailable_GroupNotBlockable() 145 appRow.systemApp = true; in testIsAvailable_AppNotBlockable() 153 appRow.systemApp = true; in testIsAvailable_systemApp() 163 appRow.systemApp = false; in testIsAvailable_nonSystemApp() 174 appRow.systemApp = true; in testIsEnabled_lockedApp() 183 appRow.systemApp = true; in testIsEnabled_GroupNotBlockable() 192 appRow.systemApp = true; in testIsEnabled_systemAppNotBlockable() 201 appRow.systemApp = true; in testIsEnabled_systemAppBlockable()
|
D | NotificationPreferenceControllerTest.java | 237 appRow.systemApp = false; in testIsChannelBlockable_nonSystemAppsBlockable() 248 appRow.systemApp = true; in testIsChannelBlockable_mostSystemAppsNotBlockable() 260 appRow.systemApp = true; in testIsChannelBlockable_someSystemAppsAreBlockable() 271 appRow.systemApp = true; in testIsChannelBlockable_canUndoSystemBlock() 283 appRow.systemApp = false; in testIsChannelGroupBlockable_nonSystemBlockable() 294 appRow.systemApp = false; in testIsChannelBlockable_oemLocked() 306 appRow.systemApp = false; in testIsChannelBlockable_criticalDeviceFunction() 318 appRow.systemApp = true; in testIsChannelGroupBlockable_SystemNotBlockable() 329 appRow.systemApp = true; in testIsChannelGroupBlockable_canUndoSystemBlock()
|
D | HighImportancePreferenceControllerTest.java | 161 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 176 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | MinImportancePreferenceControllerTest.java | 161 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 176 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | ImportancePreferenceControllerTest.java | 178 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 193 appRow.systemApp = true; in testUpdateState_defaultApp()
|
D | ConversationPriorityPreferenceControllerTest.java | 140 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 155 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 | 97 final boolean systemApp = isSystemApp(context, info); in isBlockable() 98 return !systemApp || (systemApp && blocked); in isBlockable() 110 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked() 114 row.systemApp = true; in recordCanBeBlocked() 133 row.systemApp = row.lockedImportance = true; in markAppRowWithBlockables() 146 return row.systemApp; in isSystemApp() 602 public boolean systemApp; field in NotificationBackend.AppRow
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationBackend.java | 85 final boolean systemApp = isSystemApp(context, info); in isBlockable() 86 return !systemApp || (systemApp && blocked); in isBlockable() 96 row.systemApp = Utils.isSystemPackage(context.getResources(), pm, app); in recordCanBeBlocked() 116 row.systemApp = row.lockedImportance = true; in markAppRowWithBlockables() 128 return row.systemApp; in isSystemApp() 485 public boolean systemApp; field in NotificationBackend.AppRow
|
D | NotificationPreferenceController.java | 134 return mChannel.isBlockable() || !mAppRow.systemApp in isChannelBlockable() 142 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
D | BlockPreferenceController.java | 62 return !mAppRow.systemApp || (mAppRow.systemApp && mAppRow.banned); in isAvailable()
|
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 | 128 stats.systemApp = mBackend.isSystemApp(mContext, entry.info); in addBlockStatus() 129 stats.blockable = !stats.systemApp || (stats.systemApp && stats.blocked); in addBlockStatus() 353 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/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisableInstallShortcutListenersTask.java | 78 for (String systemApp : systemApps) { in run() 79 actionShortcut.setPackage(systemApp); in run()
|
/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 | 138 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable() 157 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
D | BlockPreferenceController.java | 84 if (mChannel == null && mAppRow.systemApp in updateState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | NotificationBackendTest.java | 75 assertTrue(appRow.systemApp); in testMarkAppRow_defaultPackage() 92 assertFalse(appRow.systemApp); in testMarkAppRow_notDefaultPackage()
|
/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/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/applications/ |
D | AppStateNotificationBridgeTest.java | 247 assertThat(((NotificationsSentState) apps.get(0).extraInfo).systemApp).isTrue(); in testLoadAllExtraInfo_multipleEventsAgg() 378 assertThat(((NotificationsSentState) entry.extraInfo).systemApp).isTrue(); in testUpdateExtraInfo_multipleEventsAgg()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 464 if (!appRow.systemApp) { in isChannelBlockable()
|