/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetySourceDataValidator.java | 79 String safetySourceId, in validateRequest() argument 83 mSafetyCenterConfigReader.getExternalSafetySource(safetySourceId, packageName); in validateRequest() 85 throw new IllegalArgumentException("Unexpected safety source: " + safetySourceId); in validateRequest() 90 validateCallingPackage(safetySource, packageName, safetySourceId); in validateRequest() 100 + safetySourceId); in validateRequest() 106 callerCanAccessAnySource, safetySourceId, packageName); in validateRequest() 114 "Unexpected status for issue only safety source: " + safetySourceId); in validateRequest() 122 "Missing status for dynamic safety source: " + safetySourceId); in validateRequest() 132 + safetySourceId in validateRequest() 147 + safetySourceId); in validateRequest() [all …]
|
D | SafetyCenterDataManager.java | 134 String safetySourceId, in setSafetySourceData() argument 141 safetySourceId, in setSafetySourceData() 146 SafetySourceKey safetySourceKey = SafetySourceKey.of(safetySourceId, userId); in setSafetySourceData() 213 String safetySourceId, in reportSafetySourceError() argument 219 safetySourceId, in reportSafetySourceError() 225 SafetySourceKey safetySourceKey = SafetySourceKey.of(safetySourceId, userId); in reportSafetySourceError() 441 String safetySourceId, String packageName, @UserIdInt int userId) { in getSafetySourceData() argument 447 safetySourceId, in getSafetySourceData() 453 SafetySourceKey.of(safetySourceId, userId)); in getSafetySourceData()
|
D | SafetyEventFix.java | 58 String safetySourceId, in maybeOverrideSafetyEvent() argument 68 dataManager.getInFlightActions(safetySourceId, userId); in maybeOverrideSafetyEvent()
|
D | SafetyCenterIssueDismissalRepository.java | 254 ArraySet<String> safetySourceIssueIds, String safetySourceId, @UserIdInt int userId) { in updateIssuesForSource() argument 263 || !Objects.equals(issueKey.getSafetySourceId(), safetySourceId); in updateIssuesForSource() 279 .setSafetySourceId(safetySourceId) in updateIssuesForSource()
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterNotificationTest.kt | 229 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_withNotificationBehaviorDelay_sendsNotificationAfterDelay() 257 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_withNotificationBehaviorDelayOfZero_sendsNotificationImmediately() 286 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_withNotificationBehaviorImmediately_sendsNotification() 303 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_withNotificationsAllowedForSourceByFlag_sendsNotification() 337 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_issueWithTwoActions_notificationWithTwoActions() 373 safetySourceId = "MyNotifiableSource", in setSafetySourceData_withNotificationsAllowedForSourceByConfig_sendsNotification() 420 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_withCustomNotification_usesCustomValues() 459 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_withEmptyCustomActions_notificationHasNoActions() 484 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_twiceWithSameIssueId_updatesNotification() 516 safetySourceId = uniqueSafetySourceId, in setSafetySourceData_twiceWithSameIssueId_updatesNotification() [all …]
|
D | SafetyCenterManagerTest.kt | 3736 SafetyCenterIds.entryIdFromString(entry.id).safetySourceId in <lambda>()
|
/packages/modules/Permission/tests/utils/safetycenter/java/com/android/safetycenter/testing/ |
D | NotificationCharacteristics.kt | 30 val safetySourceId: String? = null, constant in com.android.safetycenter.testing.NotificationCharacteristics 57 safetySourceId: String? in safetySourceIdMatches() 59 return safetySourceId == null || in safetySourceIdMatches() 60 SafetyCenterIds.issueKeyFromString(statusBarNotification.tag).safetySourceId == in safetySourceIdMatches() 61 safetySourceId in safetySourceIdMatches() 78 characteristic.safetySourceId in isMatch()
|
D | SafetyCenterApisWithShellPermissions.kt | 53 safetySourceId: String, in SafetyCenterManager() 58 setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) in SafetyCenterManager() 74 safetySourceId: String, in SafetyCenterManager() 78 reportSafetySourceError(safetySourceId, safetySourceErrorDetails) in SafetyCenterManager()
|
D | SafetyCenterTestHelper.kt | 133 safetySourceId: String, in setData() 137 Log.d(TAG, "setData for $safetySourceId") in setData() 140 safetySourceId, in setData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | ParsedSafetyCenterIntent.kt | 38 val safetySourceId: String? = getStringExtra(EXTRA_SAFETY_SOURCE_ID) in toSafetyCenterIntent() constant 44 safetySourceId, in toSafetyCenterIntent() 66 safetySourceId: String?, in createSafetyCenterIssueKey() 70 if (safetySourceId == null || safetySourceIssueId == null) { in createSafetyCenterIssueKey() 74 .setSafetySourceId(safetySourceId) in createSafetyCenterIssueKey()
|
D | InteractionLogger.kt | 81 sourceId = decodedId.safetyCenterIssueKey.safetySourceId, in recordForIssue() 99 sourceId = decodedId.safetySourceId, in recordForEntry()
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyCenterManager.java | 368 @NonNull String safetySourceId, in setSafetySourceData() 371 requireNonNull(safetySourceId, "safetySourceId cannot be null"); in setSafetySourceData() 376 safetySourceId, in setSafetySourceData() 395 public SafetySourceData getSafetySourceData(@NonNull String safetySourceId) { in getSafetySourceData() argument 396 requireNonNull(safetySourceId, "safetySourceId cannot be null"); in getSafetySourceData() 400 safetySourceId, mContext.getPackageName(), mContext.getUser().getIdentifier()); in getSafetySourceData() 417 @NonNull String safetySourceId, in reportSafetySourceError() 419 requireNonNull(safetySourceId, "safetySourceId cannot be null"); in reportSafetySourceError() 424 safetySourceId, in reportSafetySourceError()
|
D | ISafetyCenterManager.aidl | 57 String safetySourceId, in getSafetySourceData() argument 68 String safetySourceId, in reportSafetySourceError() argument
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterConfigReader.java | 141 String safetySourceId, String callingPackageName) { in getExternalSafetySource() argument 146 return xmlConfig.getExternalSafetySources().get(safetySourceId); in getExternalSafetySource() 150 testConfig.getExternalSafetySources().get(safetySourceId); in getExternalSafetySource() 152 xmlConfig.getExternalSafetySources().get(safetySourceId); in getExternalSafetySource() 189 String safetySourceId, @Nullable String callingPackageName) { in isExternalSafetySourceActive() argument 191 getCurrentConfigInternal().getExternalSafetySources().get(safetySourceId); in isExternalSafetySourceActive() 207 public boolean isExternalSafetySourceFromRealConfig(String safetySourceId) { in isExternalSafetySourceFromRealConfig() argument 210 .containsKey(safetySourceId); in isExternalSafetySourceFromRealConfig()
|
D | SafetyCenterService.java | 300 String safetySourceId, in setSafetySourceData() argument 305 requireNonNull(safetySourceId); in setSafetySourceData() 321 safetySourceId, safetySourceData, packageName, userId); in setSafetySourceData() 325 safetySourceId, in setSafetySourceData() 331 safetySourceData, safetySourceId, safetyEvent, packageName, userId); in setSafetySourceData() 339 safetySourceId, safetyEvent, userId); in setSafetySourceData() 349 String safetySourceId, String packageName, @UserIdInt int userId) { in getSafetySourceData() argument 350 requireNonNull(safetySourceId); in getSafetySourceData() 362 safetySourceId, packageName, userId); in getSafetySourceData() 368 String safetySourceId, in reportSafetySourceError() argument [all …]
|
D | DevicePolicyResources.java | 45 String safetySourceId, in getSafetySourceWorkString() argument 49 safetySourceId, in getSafetySourceWorkString()
|
D | SafetyCenterFlags.java | 455 @SafetySourceIssue.IssueCategory int issueCategory, String safetySourceId) { in isIssueCategoryAllowedForSource() argument 459 return allowlist.isEmpty() || allowlist.contains(safetySourceId); in isIssueCategoryAllowedForSource() 495 String safetySourceId) { in getActionsToOverrideWithDefaultIntentForSource() argument 497 getActionsToOverrideWithDefaultIntent(), safetySourceId); in getActionsToOverrideWithDefaultIntentForSource()
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/safetycenter/ |
D | SafetyCenterManagerWrapper.kt | 32 safetySourceId: String, in setSafetySourceData() 42 safetyCenterManager.setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) in setSafetySourceData()
|
/packages/apps/Settings/src/com/android/settings/safetycenter/ |
D | SafetyCenterManagerWrapper.java | 53 public void setSafetySourceData(Context context, String safetySourceId, in setSafetySourceData() argument 66 safetySourceId, in setSafetySourceData()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/service/ |
D | SafetyCenterSearchIndexablesProvider.kt | 191 .filter { it.key.safetySourceId == BIOMETRIC_SOURCE_ID } in <lambda>() 314 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.MANAGED)) in <lambda>() 316 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.PRIVATE)) in <lambda>() 318 keysToRemove.remove(entryId.safetySourceId.addSuffix(ProfileType.PRIMARY)) in <lambda>()
|
/packages/modules/Permission/tests/hostside/safetycenter/helper-app/src/android/safetycenter/hostside/device/ |
D | SafetyCenterNotificationLoggingHelperTests.kt | 82 safetySourceId = SINGLE_SOURCE_ID, in openSafetyCenterFromNotification()
|