Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DBlockPreferenceControllerTest.java114 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 …]
DNotificationPreferenceControllerTest.java253 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()
DMinImportancePreferenceControllerTest.java184 appRow.systemApp = true; in testUpdateState_systemButConfigurable()
199 appRow.systemApp = true; in testUpdateState_defaultApp()
DHighImportancePreferenceControllerTest.java184 appRow.systemApp = true; in testUpdateState_systemButConfigurable()
199 appRow.systemApp = true; in testUpdateState_defaultApp()
DImportancePreferenceControllerTest.java201 appRow.systemApp = true; in testUpdateState_systemButConfigurable()
216 appRow.systemApp = true; in testUpdateState_defaultApp()
DConversationPriorityPreferenceControllerTest.java164 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/
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.java102 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/
DNotificationsPreference.java107 final boolean systemApp = isSystemApp(context, info); in isBlockable()
110 return !systemApp || (systemApp && blocked); in isBlockable()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateNotificationBridge.java130 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
DRunningServiceDetails.java126 report.systemApp = (mServiceItem.mServiceInfo.applicationInfo.flags in onClick()
/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.java147 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable()
166 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
DBlockPreferenceController.java91 if (mChannel == null && mAppRow.systemApp in updateState()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/
DNotificationsPreferenceTest.java188 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/
DStorageAsyncLoaderTest.java164 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/
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/notification/
DNotificationBackendTest.java101 assertTrue(appRow.systemApp); in testMarkAppRow_defaultPackage()
118 assertFalse(appRow.systemApp); in testMarkAppRow_notDefaultPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateNotificationBridgeTest.java248 assertThat(((NotificationsSentState) apps.get(0).extraInfo).systemApp).isTrue(); in testLoadAllExtraInfo_multipleEventsAgg()
379 assertThat(((NotificationsSentState) entry.extraInfo).systemApp).isTrue(); in testUpdateExtraInfo_multipleEventsAgg()