Home
last modified time | relevance | path

Searched refs:refreshBroadcastId (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterRefreshTracker.java80 String refreshBroadcastId = UUID.randomUUID() + "_" + mRefreshCounter++; in reportRefreshInProgress() local
86 + refreshBroadcastId); in reportRefreshInProgress()
90 refreshBroadcastId, in reportRefreshInProgress()
95 return refreshBroadcastId; in reportRefreshInProgress()
132 String refreshBroadcastId, List<String> sourceIds, @UserIdInt int userId) { in reportSourceRefreshesInFlight() argument
134 getRefreshInProgressWithId("reportSourceRefreshesInFlight", refreshBroadcastId); in reportSourceRefreshesInFlight()
156 String refreshBroadcastId, in reportSourceRefreshCompleted() argument
161 getRefreshInProgressWithId("reportSourceRefreshCompleted", refreshBroadcastId); in reportSourceRefreshCompleted()
219 void clearRefresh(String refreshBroadcastId) { in clearRefresh() argument
220 if (!checkRefreshInProgress("clearRefresh", refreshBroadcastId)) { in clearRefresh()
[all …]
DSafetyCenterService.java936 String refreshBroadcastId, in RefreshTimeout() argument
939 mRefreshBroadcastId = refreshBroadcastId; in RefreshTimeout()
1253 String refreshBroadcastId = in startRefreshingSafetySourcesLocked() local
1256 if (refreshBroadcastId == null) { in startRefreshingSafetySourcesLocked()
1261 new RefreshTimeout(refreshBroadcastId, refreshReason, userProfileGroup); in startRefreshingSafetySourcesLocked()
/packages/services/Telephony/src/com/android/phone/security/
DSafetySourceReceiver.java50 String refreshBroadcastId = in onReceive() local
52 if (refreshBroadcastId == null) { in onReceive()
58 refreshSafetySources(refreshBroadcastId); in onReceive()
61 refreshSafetySources(refreshBroadcastId); in onReceive()
65 private void refreshSafetySources(String refreshBroadcastId) { in refreshSafetySources() argument
70 phone.refreshSafetySources(refreshBroadcastId); in refreshSafetySources()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyEvent.java122 @Nullable String refreshBroadcastId, in SafetyEvent() argument
126 mRefreshBroadcastId = refreshBroadcastId; in SafetyEvent()
263 public Builder setRefreshBroadcastId(@Nullable String refreshBroadcastId) { in setRefreshBroadcastId() argument
264 mRefreshBroadcastId = refreshBroadcastId; in setRefreshBroadcastId()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiver.java53 final String refreshBroadcastId = intent.getStringExtra( in onReceive() local
55 if (sourceIdsExtra != null && sourceIdsExtra.length > 0 && refreshBroadcastId != null) { in onReceive()
58 .setRefreshBroadcastId(refreshBroadcastId).build(); in onReceive()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/safetycenter/
DSafetySourceBroadcastReceiver.kt58 val refreshBroadcastId = in onReceive() constant
63 refreshBroadcastId != null) { in onReceive()
66 .setRefreshBroadcastId(refreshBroadcastId) in onReceive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/
DPrivacySourcesUtils.kt39 val refreshBroadcastId = in getSafetyCenterEvent() constant
42 .setRefreshBroadcastId(refreshBroadcastId) in getSafetyCenterEvent()
DWorkPolicyInfo.kt140 val refreshBroadcastId = in createSafetyEventForWorkPolicy() constant
145 .setRefreshBroadcastId(refreshBroadcastId) in createSafetyEventForWorkPolicy()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/privacysources/v34/
DAppDataSharingUpdatesPrivacySource.kt104 val refreshBroadcastId = in createSafetyEventForDataSharingUpdates() constant
109 .setRefreshBroadcastId(refreshBroadcastId) in createSafetyEventForDataSharingUpdates()
/packages/modules/Permission/service/java/com/android/safetycenter/data/
DSafetyCenterDataManager.java521 String refreshBroadcastId = safetyEvent.getRefreshBroadcastId(); in processSafetyEvent() local
522 if (refreshBroadcastId == null) { in processSafetyEvent()
527 refreshBroadcastId, safetySourceKey, !isError, sourceDataWillChange); in processSafetyEvent()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DWorkPolicyInfoTest.kt267 val refreshBroadcastId = in rescanAndPushSafetyCenterData_eventRefresh_deviceOwner() constant
271 .setRefreshBroadcastId(refreshBroadcastId) in rescanAndPushSafetyCenterData_eventRefresh_deviceOwner()
DNotificationListenerPrivacySourceTest.kt247 val refreshBroadcastId = in rescanAndPushSafetyCenterData_updatesSafetyCenterEventRefresh() constant
251 .setRefreshBroadcastId(refreshBroadcastId) in rescanAndPushSafetyCenterData_updatesSafetyCenterEventRefresh()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyEventTest.kt53 assertThat(safetyEvent.refreshBroadcastId).isEqualTo(REFRESH_BROADCAST_ID) in getRefreshBroadcastId_returnsRefreshBroadcastId()