/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | PreAuthInfoTest.java | 73 BiometricService.SettingObserver mSettingObserver; field in PreAuthInfoTest 82 when(mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setup() 106 mSettingObserver, List.of(sensor), in testFaceAuthentication_whenCameraPrivacyIsEnabled() 122 mSettingObserver, List.of(sensor), in testFaceAuthentication_whenCameraPrivacyIsDisabledAndCameraIsAvailable() 139 mSettingObserver, List.of(sensor), in testFaceAuthentication_whenCameraIsUnavailable() 159 mSettingObserver, List.of(faceSensor, fingerprintSensor), in testCanAuthenticateResult_whenCameraUnavailableAndNoFingerprintsEnrolled() 179 mSettingObserver, List.of(faceSensor, fingerprintSensor), in testFingerprintAuthentication_whenCameraIsUnavailable()
|
D | BiometricServiceTest.java | 548 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(false); in testAuthenticateFace_respectsUserSetting() 560 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in testAuthenticateFace_respectsUserSetting() 561 when(mBiometricService.mSettingObserver.getConfirmationAlwaysRequired( in testAuthenticateFace_respectsUserSetting() 580 when(mBiometricService.mSettingObserver.getConfirmationAlwaysRequired( in testAuthenticateFace_respectsUserSetting() 1448 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(false); in testCanAuthenticate_whenBiometricsNotEnabledForApps() 1575 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in testWithDowngradedAuthenticator() 1791 when(mBiometricService.mSettingObserver.getEnabledOnKeyguard(userInfo1.id)) in testRegisterEnabledOnKeyguardCallback() 1793 when(mBiometricService.mSettingObserver.getEnabledOnKeyguard(userInfo2.id)) in testRegisterEnabledOnKeyguardCallback() 1863 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupAuthForOnly() 1896 when(mBiometricService.mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupAuthForMultiple()
|
D | AuthSessionTest.java | 113 @Mock private BiometricService.SettingObserver mSettingObserver; field in AuthSessionTest 841 mSettingObserver, in createPreAuthInfo() 907 when(mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupFingerprint() 929 when(mSettingObserver.getEnabledForApps(anyInt())).thenReturn(true); in setupFace()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterViewController.java | 60 private final SettingObserver mSettingObserver; field in BatteryMeterViewController 124 mContentResolver.unregisterContentObserver(mSettingObserver); 160 mSettingObserver = new SettingObserver(mMainHandler); in BatteryMeterViewController() 183 mContentResolver.unregisterContentObserver(mSettingObserver); in onViewDetached() 217 mSettingObserver, in registerShowBatteryPercentObserver() local 225 mSettingObserver); in registerGlobalBatteryUpdateObserver() local
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 255 false, mSettingObserver, mUserId); in registerContentObservers() local 258 false, mSettingObserver, mUserId); in registerContentObservers() local 261 false, mSettingObserver, mUserId); in registerContentObservers() local 264 false, mSettingObserver, mUserId); in registerContentObservers() local 268 false, mSettingObserver, mUserId); in registerContentObservers() local 708 mContext.getContentResolver().unregisterContentObserver(mSettingObserver); 718 private final ContentObserver mSettingObserver = new ContentObserver(new Handler()) { field in GestureLauncherService
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricService.java | 112 final SettingObserver mSettingObserver; field in BiometricService 730 return mSettingObserver.getConfirmationAlwaysRequired(modality, userId); 754 callback.onChanged(mSettingObserver.getEnabledOnKeyguard(userId), 982 return PreAuthInfo.create(mTrustManager, mDevicePolicyManager, mSettingObserver, mSensors, 1115 mSettingObserver = mInjector.getSettingObserver(context, mHandler, 1130 mSettingObserver.updateContentObserver(); 1131 mSettingObserver.notifyEnabledOnKeyguardCallbacks(newUserId); 1371 mDevicePolicyManager, mSettingObserver, mSensors, userId, promptInfo, 1501 pw.println("Legacy Settings: " + mSettingObserver.mUseLegacyFaceOnlySettings);
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 240 mVibrationSettings.mSettingObserver.onChange(false); in addListener_settingsChangeTriggerListener() 241 mVibrationSettings.mSettingObserver.onChange(false); in addListener_settingsChangeTriggerListener() 262 mVibrationSettings.mSettingObserver.onChange(false); in removeListener_noMoreCallbacksToListener() 268 mVibrationSettings.mSettingObserver.onChange(false); in removeListener_noMoreCallbacksToListener() 985 mVibrationSettings.mSettingObserver.onChange(false); in deleteUserSetting() 991 mVibrationSettings.mSettingObserver.onChange(false); in setUserSetting()
|
D | VibrationScalerTest.java | 382 mVibrationSettings.mSettingObserver.onChange(false);
|
/frameworks/base/services/core/java/com/android/server/vibrator/ |
D | VibrationSettings.java | 162 final SettingsContentObserver mSettingObserver; field in VibrationSettings 208 mSettingObserver = new SettingsContentObserver(handler); in VibrationSettings() 784 settingUri, /* notifyForDescendants= */ true, mSettingObserver,
|