/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
H A 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() 206 appRow.systemApp = true; in testIsEnabled_lockedApp() 215 appRow.systemApp = true; in testIsEnabled_GroupNotBlockable() 225 appRow.systemApp = true; in testIsEnabled_systemAppNotBlockable() [all …]
|
H A 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()
|
H A D | HighImportancePreferenceControllerTest.java | 184 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 199 appRow.systemApp = true; in testUpdateState_defaultApp()
|
H A D | MinImportancePreferenceControllerTest.java | 184 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 199 appRow.systemApp = true; in testUpdateState_defaultApp()
|
H A D | ImportancePreferenceControllerTest.java | 201 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 216 appRow.systemApp = true; in testUpdateState_defaultApp()
|
H A D | ConversationPriorityPreferenceControllerTest.java | 164 appRow.systemApp = true; in testUpdateState_systemButConfigurable() 179 appRow.systemApp = true; in testUpdateState_defaultApp()
|
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
H A D | AppOpsPreferenceControllerTest.java | 238 ApplicationsState.AppEntry systemApp = createAppEntry("test.package", in appFilter_showingSystemApps_keepsSystemEntries() local 240 systemApp.info.flags |= ApplicationInfo.FLAG_SYSTEM; in appFilter_showingSystemApps_keepsSystemEntries() 242 assertThat(filter.filterApp(systemApp)).isTrue(); in appFilter_showingSystemApps_keepsSystemEntries() 255 ApplicationsState.AppEntry systemApp = createAppEntry("test.package", in appFilter_notShowingSystemApps_removesSystemEntries() local 257 systemApp.info.flags |= ApplicationInfo.FLAG_SYSTEM; in appFilter_notShowingSystemApps_removesSystemEntries() 259 assertThat(filter.filterApp(systemApp)).isFalse(); in appFilter_notShowingSystemApps_removesSystemEntries()
|
/aosp12/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
H A D | TileUtilsTest.java | 353 public static ResolveInfo newInfo(boolean systemApp, String category) { in newInfo() argument 354 return newInfo(systemApp, category, null); in newInfo() 357 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint) { in newInfo() argument 358 return newInfo(systemApp, category, keyHint, null, null); in newInfo() 361 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint, in newInfo() argument 363 return newInfo(systemApp, category, keyHint, iconUri, summaryUri, null, 0, PROFILE_ALL); in newInfo() 366 private static ResolveInfo newInfo(boolean systemApp, String category, String keyHint, in newInfo() argument 372 info.system = systemApp; in newInfo() 388 if (systemApp) { in newInfo()
|
/aosp12/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/ |
H A 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()
|
H A 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()
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
H A D | NotificationsPreference.java | 107 final boolean systemApp = isSystemApp(context, info); in isBlockable() 110 return !systemApp || (systemApp && blocked); in isBlockable()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/ |
H A 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
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/ |
H A 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
|
H A D | RunningServiceDetails.java | 126 report.systemApp = (mServiceItem.mServiceInfo.applicationInfo.flags in onClick()
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | ApplicationErrorReport.java | 121 public boolean systemApp; field in ApplicationErrorReport 239 dest.writeInt(systemApp ? 1 : 0); in writeToParcel() 266 systemApp = in.readInt() == 1; in readFromParcel() 693 pw.println(prefix + "systemApp: " + systemApp); in dump()
|
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | DefaultLayoutParser.java | 122 final ResolveInfo systemApp = getSingleSystemActivity(appList); in invalidPackageOrClass() local 123 if (systemApp == null) { in invalidPackageOrClass() 130 resolved = systemApp; in invalidPackageOrClass()
|
/aosp12/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/apps/ |
H A D | NotificationsPreferenceTest.java | 188 private void setSystemApp(boolean systemApp) { in setSystemApp() argument 189 ShadowUtils.setSystemPackage(systemApp); in setSystemApp()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/ |
H A D | NotificationPreferenceController.java | 147 return channel.isBlockable() || !mAppRow.systemApp in isChannelBlockable() 166 if (!mAppRow.systemApp) { in isChannelGroupBlockable()
|
H A D | BlockPreferenceController.java | 91 if (mChannel == null && mAppRow.systemApp in updateState()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/ |
H A D | StorageAsyncLoaderTest.java | 164 ApplicationInfo systemApp = in testUpdatedSystemAppCodeSizeIsCounted() local 166 systemApp.flags = ApplicationInfo.FLAG_SYSTEM & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testUpdatedSystemAppCodeSizeIsCounted()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
H A D | NotificationBackendTest.java | 101 assertTrue(appRow.systemApp); in testMarkAppRow_defaultPackage() 118 assertFalse(appRow.systemApp); in testMarkAppRow_notDefaultPackage()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
H A 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()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppErrors.java | 820 report.systemApp = (r.info.flags & FLAG_SYSTEM) != 0;
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 20634 boolean systemApp = false; in preparePackageLI() 20731 systemApp = ps.pkg.isSystem(); in preparePackageLI() 20770 && !systemApp) { in preparePackageLI() 20867 if (systemApp) { in preparePackageLI() 22399 final boolean systemApp = isSystemApp(ps); in executeDeletePackageLIF() 22410 if ((!systemApp || (flags & PackageManager.DELETE_SYSTEM_APP) != 0) in executeDeletePackageLIF() 22420 if (!systemApp) { in executeDeletePackageLIF() 22456 if (systemApp) { in executeDeletePackageLIF()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |