Home
last modified time | relevance | path

Searched refs:SAFETY_SOURCE_ID (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiverTest.java88 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData()
104 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoIntentAction_doesNotSetData()
150 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoBroadcastId_doesNotSetData()
166 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_setsRefreshEvent()
189 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData()
197 assertThat(captor.getValue()).isEqualTo(LockScreenSafetySource.SAFETY_SOURCE_ID); in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData()
208 new String[] {BiometricsSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData()
216 assertThat(captor.getValue()).isEqualTo(BiometricsSafetySource.SAFETY_SOURCE_ID); in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData()
246 id -> id.equals(LockScreenSafetySource.SAFETY_SOURCE_ID))).isTrue(); in onReceive_onBootCompleted_sendsBiometricAndLockscreenData()
248 id -> id.equals(BiometricsSafetySource.SAFETY_SOURCE_ID))).isTrue(); in onReceive_onBootCompleted_sendsBiometricAndLockscreenData()
DLockScreenSafetySourceTest.java125 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), any(), any()); in setSafetySourceData_setsDataForLockscreenSafetySource()
181 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo()
202 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setStatusLevelRec()
223 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsSec_setStatusLevelUnsp()
244 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_setStatusLevelUnsp()
284 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue()
345 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_doesNotSetIssues()
363 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPasswordQualityIsManaged_setDisabled()
382 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenPasswordQualityIsNotManaged_setEnabled()
401 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_whenShouldShowGearMenu_setGearMenuActionIcon()
[all …]
DBiometricsSafetySourceTest.java142 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), any(), any()); in setSafetySourceData_setsDataForBiometricSource()
440 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_faceAndFingerprint_whenFaceEnrolled_setsInfoSeverity()
458 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_faceAndFingerprint_whenFingerprintEnrolled_setsInfoSeverity()
476 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_faceAndFingerprint_whenNotEnrolled_setsUnspSeverity()
493 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_fingerprint_whenEnrolled_setsInfoSeverity()
510 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_fingerprint_whenNotEnrolled_setsUnspSeverity()
527 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_face_whenEnrolled_setsInfoSeverity()
544 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in setSafetySourceData_face_whenNotEnrolled_setsUnspSeverity()
599 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in assertSafetySourceDisabledDataSet()
618 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), captor.capture(), any()); in assertSafetySourceEnabledDataSet()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiver.java74 if (sourceIds.contains(LockScreenSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources()
79 if (sourceIds.contains(BiometricsSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources()
DLockScreenSafetySource.java40 public static final String SAFETY_SOURCE_ID = "AndroidLockScreen"; field in LockScreenSafetySource
97 SAFETY_SOURCE_ID, in setSafetySourceData()
DBiometricsSafetySource.java41 public static final String SAFETY_SOURCE_ID = "AndroidBiometrics"; field in BiometricsSafetySource
142 context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setBiometricSafetySourceData()
/packages/modules/Permission/framework-s/api/
Dsystem-current.txt225 … public static final String EXTRA_SAFETY_SOURCE_ID = "android.safetycenter.extra.SAFETY_SOURCE_ID";