Home
last modified time | relevance | path

Searched refs:LockScreenSafetySource (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DLockScreenSafetySourceTest.java94 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 …]
DSafetySourceBroadcastReceiverTest.java92 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()
/packages/apps/Settings/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiver.java75 if (sourceIds.contains(LockScreenSafetySource.SAFETY_SOURCE_ID)) { in refreshSafetySources()
76 LockScreenSafetySource.setSafetySourceData(context, in refreshSafetySources()
90 LockScreenSafetySource.setSafetySourceData(context, in refreshAllSafetySources()
DLockScreenSafetySource.java39 public final class LockScreenSafetySource { class
49 private LockScreenSafetySource() {} in LockScreenSafetySource() method in LockScreenSafetySource
/packages/apps/Settings/src/com/android/settings/password/
DSaveAndFinishWorker.java34 import com.android.settings.safetycenter.LockScreenSafetySource;
166 LockScreenSafetySource.onLockScreenChange(getContext()); in finish()
DChooseLockGeneric.java89 import com.android.settings.safetycenter.LockScreenSafetySource;
865 LockScreenSafetySource.onLockScreenChange(getContext()); in updateUnlockMethodAndFinish()