Home
last modified time | relevance | path

Searched refs:safetyEvent (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/
DSafetyEventTest.kt42 val safetyEvent = SafetyEvent.Builder(SAFETY_EVENT_TYPE_SOURCE_STATE_CHANGED).build() in getType_returnsType() constant
44 assertThat(safetyEvent.type).isEqualTo(SAFETY_EVENT_TYPE_SOURCE_STATE_CHANGED) in getType_returnsType()
49 val safetyEvent = in getRefreshBroadcastId_returnsRefreshBroadcastId() constant
54 assertThat(safetyEvent.refreshBroadcastId).isEqualTo(REFRESH_BROADCAST_ID) in getRefreshBroadcastId_returnsRefreshBroadcastId()
59 val safetyEvent = in getSafetySourceIssueId_returnsSafetySourceIssueId() constant
65 assertThat(safetyEvent.safetySourceIssueId).isEqualTo(SAFETY_SOURCE_ISSUE_ID) in getSafetySourceIssueId_returnsSafetySourceIssueId()
70 val safetyEvent = in getSafetySourceIssueActionId_returnsSafetySourceIssueActionId() constant
76 assertThat(safetyEvent.safetySourceIssueActionId).isEqualTo(SAFETY_SOURCE_ISSUE_ACTION_ID) in getSafetySourceIssueActionId_returnsSafetySourceIssueActionId()
156 val safetyEvent = in describeContents_returns0() constant
162 assertThat(safetyEvent.describeContents()).isEqualTo(0) in describeContents_returns0()
[all …]
DSafetySourceErrorDetailsTest.kt38 assertThat(errorDetails.safetyEvent).isEqualTo(SAFETY_EVENT) in getSafetyEvent_returnsSafetyEvent()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiver.java55 final SafetyEvent safetyEvent = new SafetyEvent.Builder( in onReceive() local
61 safetyEvent); in onReceive()
73 SafetyEvent safetyEvent) { in refreshSafetySources() argument
76 new ScreenLockPreferenceDetailsUtils(context), safetyEvent); in refreshSafetySources()
80 BiometricsSafetySource.setSafetySourceData(context, safetyEvent); in refreshSafetySources()
84 private static void refreshAllSafetySources(Context context, SafetyEvent safetyEvent) { in refreshAllSafetySources() argument
86 new ScreenLockPreferenceDetailsUtils(context), safetyEvent); in refreshAllSafetySources()
87 BiometricsSafetySource.setSafetySourceData(context, safetyEvent); in refreshAllSafetySources()
DBiometricsSafetySource.java50 public static void setSafetySourceData(Context context, SafetyEvent safetyEvent) { in setSafetySourceData() argument
75 safetyEvent); in setSafetySourceData()
95 safetyEvent); in setSafetySourceData()
117 safetyEvent); in setSafetySourceData()
131 SafetyEvent safetyEvent) { in setBiometricSafetySourceData() argument
142 context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setBiometricSafetySourceData()
DSafetyCenterManagerWrapper.java53 SafetyEvent safetyEvent) { in setSafetySourceData() argument
66 safetyEvent in setSafetySourceData()
DLockScreenSafetySource.java54 SafetyEvent safetyEvent) { in setSafetySourceData() argument
99 safetyEvent in setSafetySourceData()
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetySourceErrorDetails.java46 SafetyEvent safetyEvent = in.readTypedObject(SafetyEvent.CREATOR);
47 return new SafetySourceErrorDetails(safetyEvent);
58 public SafetySourceErrorDetails(@NonNull SafetyEvent safetyEvent) { in SafetySourceErrorDetails() argument
59 mSafetyEvent = requireNonNull(safetyEvent); in SafetySourceErrorDetails()
DSafetyCenterManager.java351 @NonNull SafetyEvent safetyEvent) { in setSafetySourceData() argument
353 requireNonNull(safetyEvent, "safetyEvent cannot be null"); in setSafetySourceData()
359 safetyEvent, in setSafetySourceData()
DISafetyCenterManager.aidl50 in SafetyEvent safetyEvent, in setSafetySourceData() argument
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/testing/
DSafetyCenterApisWithShellPermissions.kt52 safetyEvent: SafetyEvent in SafetyCenterManager()
55 { setSafetySourceData(safetySourceId, safetySourceData, safetyEvent) }, in SafetyCenterManager()
/packages/modules/Permission/service/java/com/android/safetycenter/
DSafetyCenterService.java124 @NonNull SafetyEvent safetyEvent, in setSafetySourceData() argument