Home
last modified time | relevance | path

Searched refs:mIssues (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceData.java185 @NonNull private final List<SafetySourceIssue> mIssues; field in SafetySourceData
193 this.mIssues = issues; in SafetySourceData()
206 return mIssues; in getIssues()
233 dest.writeTypedList(mIssues); in writeToParcel()
244 return Objects.equals(mStatus, that.mStatus) && mIssues.equals(that.mIssues); in equals()
249 return Objects.hash(mStatus, mIssues); in hashCode()
258 + mIssues in toString()
266 @NonNull private final List<SafetySourceIssue> mIssues = new ArrayList<>(); field in SafetySourceData.Builder
282 mIssues.addAll(safetySourceData.mIssues); in Builder()
297 mIssues.add(requireNonNull(safetySourceIssue)); in addIssue()
[all …]
DSafetyCenterData.java112 @NonNull private final List<SafetyCenterIssue> mIssues; field in SafetyCenterData
125 mIssues = unmodifiableList(new ArrayList<>(requireNonNull(issues))); in SafetyCenterData()
140 mIssues = issues; in SafetyCenterData()
156 return mIssues; in getIssues()
207 && Objects.equals(mIssues, that.mIssues) in equals()
256 mIssues, in hashCode()
291 + mIssues in toString()
351 dest.writeTypedList(mIssues); in writeToParcel()
365 @NonNull private final List<SafetyCenterIssue> mIssues = new ArrayList<>(); field in SafetyCenterData.Builder
390 mIssues.addAll(safetyCenterData.mIssues); in Builder()
[all …]
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterIssueDismissalRepository.java87 private final ArrayMap<SafetyCenterIssueKey, IssueData> mIssues = new ArrayMap<>(); field in SafetyCenterIssueDismissalRepository
259 for (int i = mIssues.size() - 1; i >= 0; i--) { in updateIssuesForSource()
260 SafetyCenterIssueKey issueKey = mIssues.keyAt(i); in updateIssuesForSource()
270 mIssues.removeAt(i); in updateIssuesForSource()
282 boolean isIssueNewlyReported = !mIssues.containsKey(issueKey); in updateIssuesForSource()
284 mIssues.put(issueKey, new IssueData(Instant.now())); in updateIssuesForSource()
352 for (int i = 0; i < mIssues.size(); i++) { in snapshot()
353 String encodedKey = SafetyCenterIds.encodeToString(mIssues.keyAt(i)); in snapshot()
354 IssueData issueData = mIssues.valueAt(i); in snapshot()
365 mIssues.clear(); in load()
[all …]