Searched refs:LockScreenSafetySource (Results 1 – 6 of 6) sorted by relevance
94 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenScreenLockEnabled_safetyCenterDisabled_doesNotSetData()106 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenScreenLockIsDisabled_setsNullData()111 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), eq(null), any()); in setSafetySourceData_whenScreenLockIsDisabled_setsNullData()119 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_setsDataForLockscreenSafetySource()124 any(), eq(LockScreenSafetySource.SAFETY_SOURCE_ID), any(), any()); in setSafetySourceData_setsDataForLockscreenSafetySource()132 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_setsDataWithCorrectSafetyEvent()144 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenScreenLockIsEnabled_setData()177 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo()184 eq(LockScreenSafetySource.SAFETY_SOURCE_ID), in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsSec_setStatusLevelInfo()202 LockScreenSafetySource.setSafetySourceData( in setSafetySourceData_whenPwdQualIsNotMan_whenLockPattIsNotSec_setStatusLevelRec()[all …]
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()296 id -> id.equals(LockScreenSafetySource.SAFETY_SOURCE_ID))).isTrue(); in onReceive_onBootCompleted_sendsAllSafetySourcesData()
75 if (sourceIds.contains(LockScreenSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources()76 LockScreenSafetySource.setSafetySourceData(context, in refreshSafetySources()90 LockScreenSafetySource.setSafetySourceData(context, in refreshAllSafetySources()
39 public final class LockScreenSafetySource { class49 private LockScreenSafetySource() {} in LockScreenSafetySource() method in LockScreenSafetySource
34 import com.android.settings.safetycenter.LockScreenSafetySource;166 LockScreenSafetySource.onLockScreenChange(getContext()); in finish()
89 import com.android.settings.safetycenter.LockScreenSafetySource;865 LockScreenSafetySource.onLockScreenChange(getContext()); in updateUnlockMethodAndFinish()