Searched refs:mSettingObserver (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/net/util/ |
D | MultinetworkPolicyTracker.java | 70 private final SettingObserver mSettingObserver; field in MultinetworkPolicyTracker 89 mSettingObserver = new SettingObserver(); in MultinetworkPolicyTracker() 112 mResolver.registerContentObserver(uri, false, mSettingObserver); in start() 124 mResolver.unregisterContentObserver(mSettingObserver); in shutdown()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 93 private SettingObserver mSettingObserver; field in BatteryMeterView 136 mSettingObserver = new SettingObserver(new Handler(context.getMainLooper())); in BatteryMeterView() 167 getContext().getContentResolver().unregisterContentObserver(mSettingObserver); in BatteryMeterView() 169 Settings.System.getUriFor(SHOW_BATTERY_PERCENT), false, mSettingObserver, in BatteryMeterView() 304 Settings.System.getUriFor(SHOW_BATTERY_PERCENT), false, mSettingObserver, mUser); in onAttachedToWindow() local 307 false, mSettingObserver); in onAttachedToWindow() local 318 getContext().getContentResolver().unregisterContentObserver(mSettingObserver); in onDetachedFromWindow()
|
/frameworks/base/services/core/java/com/android/server/ |
D | GestureLauncherService.java | 173 false, mSettingObserver, mUserId); in registerContentObservers() local 176 false, mSettingObserver, mUserId); in registerContentObservers() local 179 false, mSettingObserver, mUserId); in registerContentObservers() local 444 mContext.getContentResolver().unregisterContentObserver(mSettingObserver); 452 private final ContentObserver mSettingObserver = new ContentObserver(new Handler()) { field in GestureLauncherService
|
D | VibratorService.java | 153 private SettingsObserver mSettingObserver; field in VibratorService 456 mSettingObserver = new SettingsObserver(mH); in systemReady() 474 true, mSettingObserver, UserHandle.USER_ALL); in systemReady() local 478 true, mSettingObserver, UserHandle.USER_ALL); in systemReady() local 482 true, mSettingObserver, UserHandle.USER_ALL); in systemReady() local 486 true, mSettingObserver, UserHandle.USER_ALL); in systemReady() local 490 true, mSettingObserver, UserHandle.USER_ALL); in systemReady() local
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
D | BiometricService.java | 260 final SettingObserver mSettingObserver; field in BiometricService 849 mSettingObserver.getFaceEnabledOnKeyguard(), callingUserId); in registerEnabledOnKeyguardCallback() 1009 mSettingObserver = mInjector.getSettingObserver(context, mHandler, in BiometricService() 1017 mSettingObserver.updateContentObserver(); in BiometricService() 1018 mSettingObserver.notifyEnabledOnKeyguardCallbacks(newUserId); in BiometricService() 1253 return mSettingObserver.getFaceEnabledForApps(userId); in isEnabledForApp() 1797 || mSettingObserver.getFaceAlwaysRequireConfirmation(userId); in authenticateInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
D | BiometricServiceTest.java | 374 when(mBiometricService.mSettingObserver.getFaceEnabledForApps(anyInt())).thenReturn(false); in testAuthenticateFace_respectsUserSetting() 385 when(mBiometricService.mSettingObserver.getFaceEnabledForApps(anyInt())).thenReturn(true); in testAuthenticateFace_respectsUserSetting() 386 when(mBiometricService.mSettingObserver.getFaceAlwaysRequireConfirmation(anyInt())) in testAuthenticateFace_respectsUserSetting() 406 when(mBiometricService.mSettingObserver.getFaceAlwaysRequireConfirmation(anyInt())) in testAuthenticateFace_respectsUserSetting() 1152 when(mBiometricService.mSettingObserver.getFaceEnabledForApps(anyInt())).thenReturn(false); in testCanAuthenticate_whenBiometricsNotEnabledForApps() 1473 when(mBiometricService.mSettingObserver.getFaceEnabledForApps(anyInt())).thenReturn(true); in setupAuthForOnly() 1497 when(mBiometricService.mSettingObserver.getFaceEnabledForApps(anyInt())).thenReturn(true); in setupAuthForMultiple()
|