Home
last modified time | relevance | path

Searched refs:systemApp (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBlockPreferenceControllerTest.java107 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()
DNotificationPreferenceControllerTest.java237 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()
DHighImportancePreferenceControllerTest.java161 appRow.systemApp = true; in testUpdateState_systemButConfigurable()
176 appRow.systemApp = true; in testUpdateState_defaultApp()
DMinImportancePreferenceControllerTest.java161 appRow.systemApp = true; in testUpdateState_systemButConfigurable()
176 appRow.systemApp = true; in testUpdateState_defaultApp()
DImportancePreferenceControllerTest.java178 appRow.systemApp = true; in testUpdateState_systemButConfigurable()
193 appRow.systemApp = true; in testUpdateState_defaultApp()
DConversationPriorityPreferenceControllerTest.java140 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/
DAppOpsPreferenceControllerTest.java242 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/
DAppStateUsageStatsBridgeTest.java317 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()
DAppsAsyncLoaderTest.java239 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/
DNotificationBackend.java97 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/
DNotificationBackend.java85 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
DNotificationPreferenceController.java134 return mChannel.isBlockable() || !mAppRow.systemApp in isChannelBlockable()
142 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
DBlockPreferenceController.java62 return !mAppRow.systemApp || (mAppRow.systemApp && mAppRow.banned); in isAvailable()
DNotificationSettingsBase.java327 if (!mAppRow.systemApp) { in isChannelBlockable()
339 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java128 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/
DAppStateNotificationBridge.java123 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/
DDisableInstallShortcutListenersTask.java78 for (String systemApp : systemApps) { in run()
79 actionShortcut.setPackage(systemApp); in run()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java122 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/
DNotificationPreferenceController.java138 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable()
157 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
DBlockPreferenceController.java84 if (mChannel == null && mAppRow.systemApp in updateState()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationBackendTest.java75 assertTrue(appRow.systemApp); in testMarkAppRow_defaultPackage()
92 assertFalse(appRow.systemApp); in testMarkAppRow_notDefaultPackage()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoaderTest.java155 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/
DStorageAsyncLoaderTest.java164 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/
DAppStateNotificationBridgeTest.java247 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/
DNotificationChannelSlice.java464 if (!appRow.systemApp) { in isChannelBlockable()

12