/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | UserProfileGroup.java | 49 public final class UserProfileGroup { class 78 private UserProfileGroup( in UserProfileGroup() method in UserProfileGroup 92 public static List<UserProfileGroup> getAllUserProfileGroups(Context context) { in getAllUserProfileGroups() 93 List<UserProfileGroup> userProfileGroups = new ArrayList<>(); in getAllUserProfileGroups() 103 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(context, userId); in getAllUserProfileGroups() 114 List<UserProfileGroup> userProfileGroups, @UserIdInt int userId) { in userProfileGroupsContain() 116 UserProfileGroup userProfileGroup = userProfileGroups.get(i); in userProfileGroupsContain() 136 public static UserProfileGroup fromUser(Context context, @UserIdInt int userId) { in fromUser() 169 UserProfileGroup userProfileGroup = new UserProfileGroup( in fromUser() 404 if (!(o instanceof UserProfileGroup)) return false; in equals() [all …]
|
D | SafetyCenterService.java | 317 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(getContext(), userId); in setSafetySourceData() 384 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(getContext(), userId); in reportSafetySourceError() 471 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(getContext(), userId); in getSafetyCenterData() 494 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(getContext(), userId); in addOnSafetyCenterDataChangedListener() 539 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(getContext(), userId); in dismissSafetyCenterIssue() 603 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(getContext(), userId); in executeSafetyCenterIssueAction() 622 List<UserProfileGroup> userProfileGroups = in clearAllSafetySourceDataForTests() 623 UserProfileGroup.getAllUserProfileGroups(getContext()); in clearAllSafetySourceDataForTests() 641 List<UserProfileGroup> userProfileGroups = in setSafetyCenterConfigForTests() 642 UserProfileGroup.getAllUserProfileGroups(getContext()); in setSafetyCenterConfigForTests() [all …]
|
D | SafetyCenterBroadcastDispatcher.java | 52 import com.android.safetycenter.UserProfileGroup.ProfileType; 100 UserProfileGroup userProfileGroup, in sendRefreshSafetySources() 135 UserProfileGroup userProfileGroup, in sendRefreshSafetySourcesBroadcast() 187 List<UserProfileGroup> userProfileGroups = in sendEnabledChanged() 188 UserProfileGroup.getAllUserProfileGroups(mContext); in sendEnabledChanged() 207 List<UserProfileGroup> userProfileGroups) { in sendEnabledChangedBroadcast() 211 UserProfileGroup userProfileGroup = userProfileGroups.get(i); in sendEnabledChangedBroadcast() 347 UserProfileGroup userProfileGroup, in getUserIdsToSourceIds()
|
D | SafetyCenterDataChangeNotifier.java | 48 public void updateDataConsumers(UserProfileGroup userProfileGroup, @UserIdInt int userId) { in updateDataConsumers() 54 void updateDataConsumers(UserProfileGroup userProfileGroup) { in updateDataConsumers() 60 void updateDataConsumers(List<UserProfileGroup> userProfileGroups) { in updateDataConsumers()
|
D | SafetyCenterListeners.java | 88 void deliverDataForUserProfileGroup(UserProfileGroup userProfileGroup) { in deliverDataForUserProfileGroup() 106 UserProfileGroup userProfileGroup, SafetyCenterErrorDetails safetyCenterErrorDetails) { in deliverErrorForUserProfileGroup() 191 UserProfileGroup userProfileGroup, in deliverUpdateForUser() 228 UserProfileGroup userProfileGroup) { in assembleSafetyCenterDataIfAbsent()
|
D | SafetyCenterRefreshTracker.java | 75 @RefreshReason int refreshReason, UserProfileGroup userProfileGroup) { in reportRefreshInProgress() 177 UserProfileGroup.getProfileTypeOfUser(safetySourceKey.getUserId(), mContext), in reportSourceRefreshCompleted() 286 UserProfileGroup.getProfileTypeOfUser(sourceKey.getUserId(), mContext), in timeoutRefresh() 369 private final UserProfileGroup mUserProfileGroup; 384 UserProfileGroup userProfileGroup, in RefreshInProgress()
|
D | SafetySources.java | 23 import com.android.safetycenter.UserProfileGroup.ProfileType; 62 if (UserProfileGroup.PROFILE_TYPE_PRIMARY == profileType) { in supportsProfileType()
|
D | SafetyCenterDataFactory.java | 22 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_MANAGED; 23 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_PRIMARY; 24 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_PRIVATE; 61 import com.android.safetycenter.UserProfileGroup.ProfileType; 140 String packageName, UserProfileGroup userProfileGroup) { in assembleSafetyCenterData() 154 UserProfileGroup userProfileGroup, in assembleSafetyCenterData() 390 UserProfileGroup userProfileGroup) { in addSafetyCenterEntryGroup() 536 if (UserProfileGroup.getProfileTypeOfUser(entryId.getUserId(), mContext) in getDefaultGroupSummary() 732 UserProfileGroup userProfileGroup) { in addSafetyCenterStaticEntryGroup()
|
D | SafetyCenterConfigReader.java | 19 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_MANAGED; 20 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_PRIMARY; 21 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_PRIVATE; 36 import com.android.safetycenter.UserProfileGroup.ProfileType;
|
/packages/modules/Permission/service/java/com/android/safetycenter/logging/ |
D | SafetyCenterPullAtomCallback.java | 40 import com.android.safetycenter.UserProfileGroup; 41 import com.android.safetycenter.UserProfileGroup.ProfileType; 95 List<UserProfileGroup> userProfileGroups = in onPullAtom() 96 UserProfileGroup.getAllUserProfileGroups(mContext); in onPullAtom() 104 UserProfileGroup userProfileGroup = userProfileGroups.get(i); in onPullAtom() 120 UserProfileGroup userProfileGroup, List<SafetySourcesGroup> loggableGroups) { in createOverallSafetyStateAtomLocked() 132 SafetyCenterData loggableData, UserProfileGroup userProfileGroup) { in getDismissedIssuesCountLocked() 142 UserProfileGroup userProfileGroup, List<SafetySourcesGroup> loggableGroups) { in writeSafetySourceStateCollectedAtomsLocked()
|
D | SafetyCenterStatsdLogger.java | 77 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_MANAGED; 78 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_PRIMARY; 79 import static com.android.safetycenter.UserProfileGroup.PROFILE_TYPE_PRIVATE; 95 import com.android.safetycenter.UserProfileGroup.ProfileType;
|
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetyCenterIssueRepository.java | 38 import com.android.safetycenter.UserProfileGroup; 39 import com.android.safetycenter.UserProfileGroup.ProfileType; 91 updateIssues(userId, UserProfileGroup.getProfileTypeOfUser(userId, mContext)); in updateIssues() 119 List<SafetySourceIssueInfo> getIssuesDedupedSortedDescFor(UserProfileGroup userProfileGroup) { in getIssuesDedupedSortedDescFor() 132 int countLoggableIssuesFor(UserProfileGroup userProfileGroup) { in countLoggableIssuesFor() 246 private List<SafetySourceIssueInfo> getIssuesFor(UserProfileGroup userProfileGroup) { in getIssuesFor()
|
D | SafetySourceStateCollectedLogger.java | 31 import com.android.safetycenter.UserProfileGroup; 32 import com.android.safetycenter.UserProfileGroup.ProfileType; 94 UserProfileGroup.getProfileTypeOfUser(userId, mContext), in writeSourceUpdatedAtom()
|
D | SafetySourceDataValidator.java | 35 import com.android.safetycenter.UserProfileGroup; 93 @UserProfileGroup.ProfileType int profileType = in validateRequest() 94 UserProfileGroup.getProfileTypeOfUser(userId, mContext); in validateRequest()
|
D | SafetyCenterDataManager.java | 43 import com.android.safetycenter.UserProfileGroup; 44 import com.android.safetycenter.UserProfileGroup.ProfileType; 380 UserProfileGroup userProfileGroup) { in getIssuesDedupedSortedDescFor() 391 public int countLoggableIssuesFor(UserProfileGroup userProfileGroup) { in countLoggableIssuesFor()
|
D | SafetyCenterInFlightIssueActionRepository.java | 32 import com.android.safetycenter.UserProfileGroup; 90 UserProfileGroup.getProfileTypeOfUser(issueKey.getUserId(), mContext), in unmarkSafetyCenterIssueActionInFlight()
|
/packages/modules/Permission/service/java/com/android/safetycenter/notifications/ |
D | SafetyCenterNotificationReceiver.java | 36 import com.android.safetycenter.UserProfileGroup; 204 UserProfileGroup userProfileGroup = UserProfileGroup.fromUser(context, userId); in onNotificationDismissed() 216 UserProfileGroup.getProfileTypeOfUser(userId, context), in onNotificationDismissed() 242 UserProfileGroup.getProfileTypeOfUser(issueKey.getUserId(), context), in logNotificationActionClicked()
|
D | SafetyCenterNotificationSender.java | 43 import com.android.safetycenter.UserProfileGroup; 211 public void updateNotifications(UserProfileGroup userProfileGroup) { in updateNotifications() 387 UserProfileGroup.getProfileTypeOfUser(key.getUserId(), mContext), in postNotificationForIssue()
|