Home
last modified time | relevance | path

Searched refs:safetyCenterIssueId (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DSafetyCenterUtils.kt124 val safetyCenterIssueId = safetyCenterIssueId(sourceId, issueId, issueTypeId) in assertSafetyCenterIssueExist() constant
127 getSafetyCenterIssues(automation).any { safetyCenterIssueId == it.id } in assertSafetyCenterIssueExist()
138 val safetyCenterIssueId = safetyCenterIssueId(sourceId, issueId, issueTypeId) in assertSafetyCenterIssueDoesNotExist() constant
141 getSafetyCenterIssues(automation).none { safetyCenterIssueId == it.id } in assertSafetyCenterIssueDoesNotExist()
145 private fun safetyCenterIssueId(sourceId: String, sourceIssueId: String, issueTypeId: String) = method
DAccessibilityPrivacySourceTest.kt75 private val safetyCenterIssueId = "accessibility_$accessibilityTestService" constant in android.permission.cts.AccessibilityPrivacySourceTest
113 safetyCenterIssueId, in setup()
159 safetyCenterIssueId, in testJobSendsIssuesToSafetyCenter()
186 safetyCenterIssueId, in testAccessibilityListenerSendsIssueToSafetyCenter()
210 safetyCenterIssueId, in testJobWithDisabledServiceDoesNotSendIssueToSafetyCenter()
230 safetyCenterIssueId, in testJobWithSafetyCenterDisabledDoesNotSendIssueToSafetyCenter()
/packages/modules/Permission/SafetyCenter/InternalData/java/com/android/safetycenter/internaldata/
DSafetyCenterIds.java104 public static String toUserFriendlyString(SafetyCenterIssueId safetyCenterIssueId) { in toUserFriendlyString() argument
106 + toUserFriendlyString(safetyCenterIssueId.getSafetyCenterIssueKey()) in toUserFriendlyString()
108 + safetyCenterIssueId.getIssueTypeId() in toUserFriendlyString()
110 + safetyCenterIssueId.getTaskId() in toUserFriendlyString()
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/
DSafetyCenterApisWithShellPermissions.kt142 fun SafetyCenterManager.dismissSafetyCenterIssueWithPermission(safetyCenterIssueId: String) { in SafetyCenterManager()
144 dismissSafetyCenterIssue(safetyCenterIssueId) in SafetyCenterManager()
153 safetyCenterIssueId: String, in SafetyCenterManager()
157 executeSafetyCenterIssueAction(safetyCenterIssueId, safetyCenterIssueActionId) in SafetyCenterManager()
DSafetyCenterTestHelper.kt148 fun dismissSafetyCenterIssue(safetyCenterIssueId: String) { in dismissSafetyCenterIssue()
151 safetyCenterManager.dismissSafetyCenterIssueWithPermission(safetyCenterIssueId) in dismissSafetyCenterIssue()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyCenterManager.java570 public void dismissSafetyCenterIssue(@NonNull String safetyCenterIssueId) { in dismissSafetyCenterIssue() argument
571 requireNonNull(safetyCenterIssueId, "safetyCenterIssueId cannot be null"); in dismissSafetyCenterIssue()
575 safetyCenterIssueId, mContext.getUser().getIdentifier()); in dismissSafetyCenterIssue()
590 @NonNull String safetyCenterIssueId, @NonNull String safetyCenterIssueActionId) { in executeSafetyCenterIssueAction()
591 requireNonNull(safetyCenterIssueId, "safetyCenterIssueId cannot be null"); in executeSafetyCenterIssueAction()
596 safetyCenterIssueId, in executeSafetyCenterIssueAction()
DISafetyCenterManager.aidl106 String safetyCenterIssueId, in executeSafetyCenterIssueAction() argument
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java536 SafetyCenterIssueId safetyCenterIssueId = SafetyCenterIds.issueIdFromString(issueId); in dismissSafetyCenterIssue() local
538 safetyCenterIssueId.getSafetyCenterIssueKey(); in dismissSafetyCenterIssue()
591 SafetyCenterIssueId safetyCenterIssueId = SafetyCenterIds.issueIdFromString(issueId); in executeSafetyCenterIssueAction() local
593 safetyCenterIssueId.getSafetyCenterIssueKey(); in executeSafetyCenterIssueAction()
598 toUserFriendlyString(safetyCenterIssueId) in executeSafetyCenterIssueAction()
609 safetyCenterIssueId.hasTaskId() ? safetyCenterIssueId.getTaskId() : null; in executeSafetyCenterIssueAction()
DSafetyCenterDataFactory.java296 Bundle issuesToGroups, SafetyCenterIssueKey issueKey, String safetyCenterIssueId) { in updateIssuesToGroups() argument
299 issuesToGroups.putStringArrayList(safetyCenterIssueId, new ArrayList<>(groups)); in updateIssuesToGroups()
307 SafetyCenterIssueId safetyCenterIssueId = in toSafetyCenterIssue() local
322 safetyCenterIssueId.getSafetyCenterIssueKey())); in toSafetyCenterIssue()
329 SafetyCenterIds.encodeToString(safetyCenterIssueId), in toSafetyCenterIssue()
/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt797 val safetyCenterIssueId = SafetyCenterTestData.issueId(SINGLE_SOURCE_ID, issue.id) in dismissedIssuesCard_doesntShowGreenCards() constant
798 safetyCenterTestHelper.dismissSafetyCenterIssue(safetyCenterIssueId) in dismissedIssuesCard_doesntShowGreenCards()
980 val safetyCenterIssueId = SafetyCenterTestData.issueId(SINGLE_SOURCE_ID, issue.id) in checkOnDismissedIssue() constant
981 safetyCenterTestHelper.dismissSafetyCenterIssue(safetyCenterIssueId) in checkOnDismissedIssue()