/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/ |
D | SafetyCenterSubpagesTest.kt | 438 val issue = sourceData.issues[0] in issueCard_withMultipleGroups_onlyRelevantSubpageHasIssueCard() constant 447 waitSourceIssueDisplayed(issue) in issueCard_withMultipleGroups_onlyRelevantSubpageHasIssueCard() 451 waitSourceIssueNotDisplayed(issue) in issueCard_withMultipleGroups_onlyRelevantSubpageHasIssueCard() 455 waitSourceIssueDisplayed(issue) in issueCard_withMultipleGroups_onlyRelevantSubpageHasIssueCard() 486 val issue = sourceData.issues[0] in issueCard_resolveIssueOnSubpage_issueDismisses() constant 487 val action = issue.actions[0] in issueCard_resolveIssueOnSubpage_issueDismisses() 497 waitSourceIssueDisplayed(issue) in issueCard_resolveIssueOnSubpage_issueDismisses() 502 waitSourceIssueNotDisplayed(issue) in issueCard_resolveIssueOnSubpage_issueDismisses() 513 val issue = sourceData.issues[0] in issueCard_confirmDismissalOnSubpage_dismissesIssue() constant 517 waitSourceIssueDisplayed(issue) in issueCard_confirmDismissalOnSubpage_dismissesIssue() [all …]
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetySourceDataOverrides.java | 51 static SafetySourceIssue.Builder copyIssueToBuilderWithoutActions(SafetySourceIssue issue) { in copyIssueToBuilderWithoutActions() argument 53 return new SafetySourceIssue.Builder(issue).clearActions(); in copyIssueToBuilderWithoutActions() 58 issue.getId(), in copyIssueToBuilderWithoutActions() 59 issue.getTitle(), in copyIssueToBuilderWithoutActions() 60 issue.getSummary(), in copyIssueToBuilderWithoutActions() 61 issue.getSeverityLevel(), in copyIssueToBuilderWithoutActions() 62 issue.getIssueTypeId()) in copyIssueToBuilderWithoutActions() 63 .setIssueCategory(issue.getIssueCategory()) in copyIssueToBuilderWithoutActions() 64 .setSubtitle(issue.getSubtitle()) in copyIssueToBuilderWithoutActions() 65 .setOnDismissPendingIntent(issue.getOnDismissPendingIntent()); in copyIssueToBuilderWithoutActions()
|
D | SafetySourceStateCollectedLogger.java | 123 SafetySourceIssue issue = sourceIssues.get(i); in logSafetySourceStateCollected() local 124 if (isIssueDismissed(issue, sourceKey)) { in logSafetySourceStateCollected() 128 maxSeverityLevel = Math.max(maxSeverityLevel, issue.getSeverityLevel()); in logSafetySourceStateCollected() 147 private boolean isIssueDismissed(SafetySourceIssue issue, SafetySourceKey sourceKey) { in isIssueDismissed() argument 151 .setSafetySourceIssueId(issue.getId()) in isIssueDismissed() 154 return mIssueDismissalRepository.isIssueDismissed(issueKey, issue.getSeverityLevel()); in isIssueDismissed()
|
D | DefaultActionOverrideFix.java | 130 SafetySourceIssue issue, List<String> actionsToOverride, PendingIntent defaultIntent) { in maybeOverrideActionsWithDefaultIntent() argument 132 SafetySourceDataOverrides.copyIssueToBuilderWithoutActions(issue); in maybeOverrideActionsWithDefaultIntent() 134 List<SafetySourceIssue.Action> actions = issue.getActions(); in maybeOverrideActionsWithDefaultIntent() 143 issue.getCustomNotification(), actionsToOverride, defaultIntent)); in maybeOverrideActionsWithDefaultIntent()
|
D | AndroidLockScreenFix.java | 129 Context context, SafetySourceIssue issue) { in overrideTiramisuIssue() argument 131 SafetySourceDataOverrides.copyIssueToBuilderWithoutActions(issue); in overrideTiramisuIssue() 133 List<SafetySourceIssue.Action> actions = issue.getActions(); in overrideTiramisuIssue()
|
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/ |
D | SafetyCenterNotificationSender.java | 243 SafetySourceIssue issue = issuesToNotify.valueAt(i); in updateNotifications() local 245 boolean unchanged = issue.equals(mNotifiedIssues.get(issueKey)); in updateNotifications() 251 boolean wasPosted = postNotificationForIssue(notificationManager, issue, issueKey); in updateNotifications() 281 SafetySourceIssue issue = mNotifiedIssues.valueAt(i); in dump() local 282 fout.println("\t[" + i + "] " + toUserFriendlyString(key) + " -> " + issue); in dump() 297 SafetySourceIssue issue = issueInfo.getSafetySourceIssue(); in getIssuesToNotify() local 304 issueKey, issue.getSeverityLevel())) { in getIssuesToNotify() 310 int behavior = getBehavior(issue, issueKey); in getIssuesToNotify() 312 result.put(issueKey, issue); in getIssuesToNotify() 315 result.put(issueKey, issue); in getIssuesToNotify() [all …]
|
D | SafetyCenterNotificationFactory.java | 84 SafetySourceIssue issue, in newNotificationForSuccessfulAction() argument 91 String channelId = mNotificationChannels.getCreatedChannelId(notificationManager, issue); in newNotificationForSuccessfulAction() 130 SafetySourceIssue issue, in newNotificationForIssue() argument 132 String channelId = mNotificationChannels.getCreatedChannelId(notificationManager, issue); in newNotificationForIssue() 137 CharSequence title = issue.getTitle(); in newNotificationForIssue() 138 CharSequence text = issue.getSummary(); in newNotificationForIssue() 139 List<SafetySourceIssue.Action> issueActions = issue.getActions(); in newNotificationForIssue() 142 SafetySourceIssue.Notification customNotification = issue.getCustomNotification(); in newNotificationForIssue() 157 .setSmallIcon(getNotificationIcon(issue.getSeverityLevel())) in newNotificationForIssue() 167 Integer color = getNotificationColor(issue.getSeverityLevel()); in newNotificationForIssue() [all …]
|
D | SafetyCenterNotificationChannels.java | 94 String getCreatedChannelId(NotificationManager notificationManager, SafetySourceIssue issue) { in getCreatedChannelId() argument 101 return getChannelIdForIssue(issue); in getCreatedChannelId() 154 private String getChannelIdForIssue(SafetySourceIssue issue) { in getChannelIdForIssue() argument 155 int issueSeverityLevel = issue.getSeverityLevel(); in getChannelIdForIssue() 164 Log.w(TAG, "SafetySourceData.SeverityLevel is unspecified for issue: " + issue); in getChannelIdForIssue() 173 + issue); in getChannelIdForIssue()
|
D | SafetyCenterNotificationReceiver.java | 235 SafetySourceIssue issue; in logNotificationActionClicked() local 237 issue = mSafetyCenterDataManager.getSafetySourceIssue(issueKey); in logNotificationActionClicked() 239 if (issue != null) { in logNotificationActionClicked() 243 issue.getIssueTypeId(), in logNotificationActionClicked() 244 issue.getSeverityLevel(), in logNotificationActionClicked() 246 issue, issueActionId.getSafetySourceIssueActionId())); in logNotificationActionClicked()
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetySourceIssues.java | 43 public static SafetySourceIssue.Action findAction(SafetySourceIssue issue, String actionId) { in findAction() argument 45 if (SdkLevel.isAtLeastU() && issue.getCustomNotification() != null) { in findAction() 46 action = findAction(issue.getCustomNotification().getActions(), actionId); in findAction() 49 action = findAction(issue.getActions(), actionId); in findAction() 73 public static boolean isPrimaryAction(SafetySourceIssue issue, String actionId) { in isPrimaryAction() argument 76 && issue.getCustomNotification() != null in isPrimaryAction() 77 && matchesFirst(issue.getCustomNotification().getActions(), actionId); in isPrimaryAction() 78 boolean isPrimaryIssueAction = matchesFirst(issue.getActions(), actionId); in isPrimaryAction()
|
/packages/modules/Permission/SafetyCenter/InternalData/proto/ |
D | safety_center_internal_data.proto | 34 // Key that has a 1 to 1 mapping with a safety source issue. 36 // The ID of the type of the safety source issue. 38 // A task ID to launch the issue's actions in, if applicable. 42 // Key that has a 1 to 1 mapping with a safety source issue. 44 // The ID of the safety source that the issue originated from. 46 // The ID of the safety source issue that the issue originated from. 48 // The user ID associated with this issue. 52 // An id for issue actions provided by the Safety Center. 55 // The ID of the safety source issue action that the action originated from.
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | LiveSafetyCenterViewModel.kt | 70 override fun dismissIssue(issue: SafetyCenterIssue) { in <lambda>() 71 safetyCenterManager.dismissSafetyCenterIssue(issue.id) in <lambda>() 75 issue: SafetyCenterIssue, in <lambda>() 82 SafetyCenterIds.issueIdFromString(issue.id) in <lambda>() 88 issue.id in <lambda>() 245 return issuesPendingResolution.filterNot { issue -> nextIssueIds.contains(issue.key) } in <lambda>() method 287 .map { issue -> in SafetyCenterData() method 288 issue.actions in SafetyCenterData() 292 .map { issue.id to it.id } in SafetyCenterData()
|
D | SafetyCenterViewModel.kt | 39 abstract fun dismissIssue(issue: SafetyCenterIssue) 48 issue: SafetyCenterIssue,
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | CollapsableIssuesCardHelper.kt | 206 this?.mapIndexed { index: Int, issue: SafetyCenterIssue -> in <lambda>() method 207 val resolvedActionId: ActionId? = resolvedIssues[issue.id] in <lambda>() 208 val resolvedTaskId = getLaunchTaskIdForIssue(issue, launchTaskId) in <lambda>() 213 issue, in <lambda>() 258 issues.forEachIndexed { index, issue -> in <lambda>() method 259 val issueKey = SafetyCenterIds.issueIdFromString(issue.id).safetyCenterIssueKey in <lambda>() 263 return issue in <lambda>() 280 issue: SafetyCenterIssue, in <lambda>() 283 return if (issueList.isEmpty() || issueList[0].severityLevel <= issue.severityLevel) { in <lambda>() 456 private fun getLaunchTaskIdForIssue(issue: SafetyCenterIssue, taskId: Int): Int? { in <lambda>() [all …]
|
D | IssueCardPreference.java | 82 SafetyCenterIssue issue, in IssueCardPreference() argument 92 mIssue = requireNonNull(issue); in IssueCardPreference() 294 private static ConfirmDismissalDialogFragment newInstance(SafetyCenterIssue issue) { in newInstance() argument 298 args.putParcelable(ISSUE_KEY, issue); in newInstance() 308 SafetyCenterIssue issue = in onCreateDialog() local 317 safetyCenterViewModel.dismissIssue(issue); in onCreateDialog() 322 issue, in onCreateDialog() 343 SafetyCenterIssue issue, in newInstance() argument 351 args.putParcelable(ISSUE_KEY, issue); in newInstance() 369 SafetyCenterIssue issue = in onCreateDialog() local [all …]
|
D | InteractionLogger.kt | 63 fun recordIssueViewed(issue: SafetyCenterIssue, isDismissed: Boolean) { in recordIssueViewed() 64 if (viewedIssueIds.contains(issue.id)) { in recordIssueViewed() 68 recordForIssue(Action.SAFETY_ISSUE_VIEWED, issue, isDismissed) in recordIssueViewed() 69 viewedIssueIds.add(issue.id) in recordIssueViewed() 76 fun recordForIssue(action: Action, issue: SafetyCenterIssue, isDismissed: Boolean) { in recordForIssue() 77 val decodedId = SafetyCenterIds.issueIdFromString(issue.id) in recordForIssue() 80 LogSeverityLevel.fromIssueSeverityLevel(issue.severityLevel), in recordForIssue()
|
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/prod/ |
D | RoomDatabaseMigrationDetector.kt | 56 issue = ISSUE_ERROR, in <lambda>() 103 issue = ISSUE_ERROR, in <lambda>() 126 issue = ISSUE_ERROR, in <lambda>() 137 issue = ISSUE_WARNING, in <lambda>() 154 issue = ISSUE_ERROR, in <lambda>() 168 issue = ISSUE_ERROR, in <lambda>() 187 issue = ISSUE_ERROR, in <lambda>() 196 issue = ISSUE_ERROR, in <lambda>() 221 issue = ISSUE_ERROR, in <lambda>()
|
D | BackCompatAndroidProcessDetector.kt | 50 for (issue: Int in issues) { in <lambda>() method 54 … "AdExtServicesManifest.xml is missing an `android:process=\".adservices\" at line " + issue) in <lambda>()
|
D | BackCompatNewFileDetector.kt | 34 issue = ISSUE, in visitConstructor() 53 issue = ISSUE, in visitMethodCall()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterIssue.java | 353 public Builder(@NonNull SafetyCenterIssue issue) { in Builder() argument 354 mId = issue.mId; in Builder() 355 mTitle = issue.mTitle; in Builder() 356 mSubtitle = issue.mSubtitle; in Builder() 357 mSummary = issue.mSummary; in Builder() 358 mSeverityLevel = issue.mSeverityLevel; in Builder() 359 mDismissible = issue.mDismissible; in Builder() 360 mShouldConfirmDismissal = issue.mShouldConfirmDismissal; in Builder() 361 mActions = new ArrayList<>(issue.mActions); in Builder() 362 mAttributionTitle = issue.mAttributionTitle; in Builder() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | LockScreenSafetySourceTest.java | 309 SafetySourceIssue issue = safetySourceData.getIssues().get(0); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() local 310 assertThat(issue.getId()).isEqualTo(LockScreenSafetySource.NO_SCREEN_LOCK_ISSUE_ID); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 311 assertThat(issue.getTitle().toString()) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 315 assertThat(issue.getSummary().toString()) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 319 assertThat(issue.getSeverityLevel()) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 321 assertThat(issue.getIssueTypeId()) in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 323 assertThat(issue.getIssueCategory()).isEqualTo(SafetySourceIssue.ISSUE_CATEGORY_DEVICE); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 324 assertThat(issue.getActions()).hasSize(1); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 325 SafetySourceIssue.Action action = issue.getActions().get(0); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
|
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/ |
D | SafetyCenterIssueTest.kt | 232 val issue = SafetyCenterIssue.Builder(issue1).setGroupId("group_id").build() in getGroupId_withNonNullValue_returnsGroupId() constant 234 assertThat(issue.groupId).isEqualTo("group_id") in getGroupId_withNonNullValue_returnsGroupId() 240 val issue = in getGroupId_withNullValue_returnsNull() constant 244 assertThat(issue.groupId).isNull() in getGroupId_withNullValue_returnsNull() 250 val issue = in getGroupId_withVersionLessThanU_throws() constant 254 assertFails { issue.groupId } in getGroupId_withVersionLessThanU_throws() 260 val issue = SafetyCenterIssue.Builder(issue1).setGroupId(null).build() in setGroupId_withNullValue_returnsNull() constant 262 assertThat(issue.groupId).isNull() in setGroupId_withNullValue_returnsNull()
|
/packages/services/Telecomm/flags/ |
D | telecom_callaudioroutestatemachine_flags.aconfig | 8 description: "Fix supported routes wrongly include bluetooth issue." 40 description: "Fix audio route transition issue on call disconnection when bt audio connected."
|
/packages/modules/Bluetooth/tools/lint/checks/src/com/android/bluetooth/lint/ |
D | GuardedLogLineDetector.kt | 148 issue = ISSUE, in createUastHandler() 155 issue = WARNING, in createUastHandler()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/ |
D | SafetyCenterUiDataTest.kt | 266 for (issue in issues) { in createSafetyCenterData() constant 267 builder.addIssue(issue) in createSafetyCenterData()
|