Searched refs:safetySourceKey (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Permission/service/java/com/android/safetycenter/data/ |
D | SafetySourceDataRepository.java | 92 SafetySourceKey safetySourceKey, @Nullable SafetySourceData safetySourceData) { in setSafetySourceData() argument 94 !Objects.equals(safetySourceData, mSafetySourceData.get(safetySourceKey)); in setSafetySourceData() 95 boolean removedSourceError = mSafetySourceErrors.remove(safetySourceKey); in setSafetySourceData() 98 setSafetySourceDataInternal(safetySourceKey, safetySourceData); in setSafetySourceData() 101 setLastUpdatedNow(safetySourceKey); in setSafetySourceData() 133 SafetySourceData getSafetySourceData(SafetySourceKey safetySourceKey) { in getSafetySourceData() argument 134 return mSafetySourceData.get(safetySourceKey); in getSafetySourceData() 138 boolean sourceHasError(SafetySourceKey safetySourceKey) { in sourceHasError() argument 139 return mSafetySourceErrors.contains(safetySourceKey); in sourceHasError() 147 SafetySourceKey safetySourceKey, @Nullable SafetySourceData safetySourceData) { in sourceHasData() argument [all …]
|
D | SafetyCenterDataManager.java | 146 SafetySourceKey safetySourceKey = SafetySourceKey.of(safetySourceId, userId); in setSafetySourceData() local 159 !mSafetySourceDataRepository.sourceHasData(safetySourceKey, safetySourceData); in setSafetySourceData() 162 safetySourceKey, safetyEvent, /* isError= */ false, sourceDataWillChange); in setSafetySourceData() 164 mSafetySourceDataRepository.setSafetySourceData(safetySourceKey, safetySourceData); in setSafetySourceData() 172 safetySourceKey, in setSafetySourceData() 225 SafetySourceKey safetySourceKey = SafetySourceKey.of(safetySourceId, userId); in reportSafetySourceError() local 237 boolean sourceDataWillChange = !mSafetySourceDataRepository.sourceHasError(safetySourceKey); in reportSafetySourceError() 240 safetySourceKey, safetyEvent, /* isError= */ true, sourceDataWillChange); in reportSafetySourceError() 243 safetySourceKey, safetySourceErrorDetails); in reportSafetySourceError() 251 safetySourceKey, in reportSafetySourceError() [all …]
|
/packages/modules/Permission/service/java/com/android/safetycenter/ |
D | SafetyCenterRefreshTracker.java | 157 SafetySourceKey safetySourceKey, in reportSourceRefreshCompleted() argument 168 safetySourceKey, successful, dataChanged); in reportSourceRefreshCompleted() 176 safetySourceKey.getSourceId(), in reportSourceRefreshCompleted() 177 UserProfileGroup.getProfileTypeOfUser(safetySourceKey.getUserId(), mContext), in reportSourceRefreshCompleted() 414 private Duration getDurationSinceSourceStart(SafetySourceKey safetySourceKey) { in getDurationSinceSourceStart() argument 415 Long startElapsedMillis = mSourceRefreshesInFlight.get(safetySourceKey); in getDurationSinceSourceStart() 437 private void markSourceRefreshInFlight(SafetySourceKey safetySourceKey) { in markSourceRefreshInFlight() argument 438 boolean tracked = isTracked(safetySourceKey); in markSourceRefreshInFlight() 441 mSourceRefreshesInFlight.put(safetySourceKey, currentElapsedMillis); in markSourceRefreshInFlight() 448 + safetySourceKey.getSourceId() in markSourceRefreshInFlight() [all …]
|
D | SafetySourceKey.java | 62 SafetySourceKey safetySourceKey = (SafetySourceKey) o; in equals() 63 return mSourceId.equals(safetySourceKey.mSourceId) && mUserId == safetySourceKey.mUserId; in equals()
|