Home
last modified time | relevance | path

Searched refs:getEnabledForApps (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DPreAuthInfoTest.java82 when(mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setup()
DBiometricServiceTest.java548 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(false); in testAuthenticateFace_respectsUserSetting()
560 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in testAuthenticateFace_respectsUserSetting()
1448 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(false); in testCanAuthenticate_whenBiometricsNotEnabledForApps()
1575 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in testWithDowngradedAuthenticator()
1863 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupAuthForOnly()
1896 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupAuthForMultiple()
DAuthSessionTest.java907 when(mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupFingerprint()
929 when(mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupFace()
/frameworks/base/services/core/java/com/android/server/biometrics/
DPreAuthInfo.java235 return settingObserver.getEnabledForApps(userId); in isEnabledForApp()
DBiometricService.java370 public boolean getEnabledForApps(int userId) { in getEnabledForApps() method in BiometricService.SettingObserver