/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | SafetyCenterUtils.kt | 124 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
|
D | AccessibilityPrivacySourceTest.kt | 75 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/ |
D | SafetyCenterIds.java | 104 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/ |
D | SafetyCenterApisWithShellPermissions.kt | 142 fun SafetyCenterManager.dismissSafetyCenterIssueWithPermission(safetyCenterIssueId: String) { in SafetyCenterManager() 144 dismissSafetyCenterIssue(safetyCenterIssueId) in SafetyCenterManager() 153 safetyCenterIssueId: String, in SafetyCenterManager() 157 executeSafetyCenterIssueAction(safetyCenterIssueId, safetyCenterIssueActionId) in SafetyCenterManager()
|
D | SafetyCenterTestHelper.kt | 148 fun dismissSafetyCenterIssue(safetyCenterIssueId: String) { in dismissSafetyCenterIssue() 151 safetyCenterManager.dismissSafetyCenterIssueWithPermission(safetyCenterIssueId) in dismissSafetyCenterIssue()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterManager.java | 570 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()
|
D | ISafetyCenterManager.aidl | 106 String safetyCenterIssueId, in executeSafetyCenterIssueAction() argument
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterService.java | 536 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()
|
D | SafetyCenterDataFactory.java | 296 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/ |
D | SafetyCenterSubpagesTest.kt | 797 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()
|