/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | SafetySourceBroadcastReceiverTest.java | 92 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData() 108 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoIntentAction_doesNotSetData() 154 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}); in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoBroadcastId_doesNotSetData() 170 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_setsRefreshEvent() 193 new String[] {LockScreenSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData() 201 assertThat(captor.getValue()).isEqualTo(LockScreenSafetySource.SAFETY_SOURCE_ID); in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData() 212 new String[] {BiometricsSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData() 220 assertThat(captor.getValue()).isEqualTo(BiometricsSafetySource.SAFETY_SOURCE_ID); in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData() 235 new String[] {PrivateSpaceSafetySource.SAFETY_SOURCE_ID}) in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData() 243 assertThat(captor.getValue()).isEqualTo(PrivateSpaceSafetySource.SAFETY_SOURCE_ID); in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData() [all …]
|
D | LockScreenSafetySourceTest.java | 111 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), eq(null), any()); in setSafetySourceData_whenScreenLockIsDisabled_setsNullData() 124 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), any(), any()); in setSafetySourceData_setsDataForLockscreenSafetySource() 184 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo() 209 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setStatusLevelRec() 234 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsSec_setStatusLevelUnsp() 259 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_setStatusLevelUnsp() 303 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setsIssue() 371 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsMan_whenLockPattIsNotSec_doesNotSetIssues() 393 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPasswordQualityIsManaged_setDisabled() 426 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPasswordQualityIsNotManaged_setEnabled() [all …]
|
D | BiometricsSafetySourceTest.java | 133 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), eq(null), any()); in setSafetySourceData_whenSafetyCenterIsEnabled_withoutBiometrics_setsNullData() 148 any(), eq(BiometricsSafetySource.SAFETY_SOURCE_ID), any(), any()); in setSafetySourceData_setsDataForBiometricSource() 506 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_faceAndFingerprint_whenFaceEnrolled_setsInfoSeverity() 528 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_faceAndFingerprint_whenFingerprintEnrolled_setsInfoSeverity() 550 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_faceAndFingerprint_whenNotEnrolled_setsUnspSeverity() 571 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_fingerprint_whenEnrolled_setsInfoSeverity() 592 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_fingerprint_whenNotEnrolled_setsUnspSeverity() 613 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_face_whenEnrolled_setsInfoSeverity() 634 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_face_whenNotEnrolled_setsUnspSeverity() 696 eq(BiometricsSafetySource.SAFETY_SOURCE_ID), in assertSafetySourceDisabledDataSet() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/privatespace/ |
D | PrivateSpaceSafetySourceTest.java | 22 import static com.android.settings.privatespace.PrivateSpaceSafetySource.SAFETY_SOURCE_ID; 99 any(), eq(SAFETY_SOURCE_ID), any(), eq(EVENT_TYPE_DEVICE_REBOOTED)); in onDeviceRebootedEvent_whenSafetyCenterEnabled_setsData() 113 any(), eq(SAFETY_SOURCE_ID), captor.capture(), eq(EVENT_TYPE_DEVICE_REBOOTED)); in setSafetySourceData_whenFeatureDisabled_setsNullData() 129 any(), eq(SAFETY_SOURCE_ID), captor.capture(), eq(EVENT_TYPE_DEVICE_REBOOTED)); in setSafetySourceData_setsEnabled() 146 any(), eq(SAFETY_SOURCE_ID), captor.capture(), eq(EVENT_TYPE_DEVICE_REBOOTED)); in setSafetySourceData_setsPsAuthenticatorIntent() 152 .isEqualTo(SAFETY_SOURCE_ID); in setSafetySourceData_setsPsAuthenticatorIntent()
|
/packages/apps/Settings/src/com/android/settings/privatespace/ |
D | PrivateSpaceSafetySource.java | 34 public static final String SAFETY_SOURCE_ID = "AndroidPrivateSpace"; field in PrivateSpaceSafetySource 74 SAFETY_SOURCE_ID, in setSafetySourceData() 94 SAFETY_SOURCE_ID, in setSafetySourceData() 103 .setIdentifier(SAFETY_SOURCE_ID); in getPendingIntentForPsDashboard()
|
/packages/apps/Settings/src/com/android/settings/safetycenter/ |
D | SafetySourceBroadcastReceiver.java | 75 if (sourceIds.contains(LockScreenSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources() 80 if (sourceIds.contains(BiometricsSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources() 84 if (sourceIds.contains(PrivateSpaceSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources()
|
D | BiometricsSafetySource.java | 43 public static final String SAFETY_SOURCE_ID = "AndroidBiometrics"; field in BiometricsSafetySource 72 SAFETY_SOURCE_ID, in setSafetySourceData() 184 context, SAFETY_SOURCE_ID, /* safetySourceData= */ null, safetyEvent); in setSafetySourceData() 217 .setSafetySourceData(context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setBiometricSafetySourceData()
|
D | LockScreenSafetySource.java | 41 public static final String SAFETY_SOURCE_ID = "AndroidLockScreen"; field in LockScreenSafetySource 68 context, SAFETY_SOURCE_ID, /* safetySourceData= */ null, safetyEvent); in setSafetySourceData() 113 .setSafetySourceData(context, SAFETY_SOURCE_ID, safetySourceData, safetyEvent); in setSafetySourceData()
|
/packages/modules/Permission/framework-s/api/ |
D | system-current.txt | 283 … public static final String EXTRA_SAFETY_SOURCE_ID = "android.safetycenter.extra.SAFETY_SOURCE_ID";
|