Home
last modified time | relevance | path

Searched refs:mPinToggle (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DIccLockSettings.java117 private SwitchPreference mPinToggle; field in IccLockSettings
183 mPinToggle = (SwitchPreference) findPreference(PIN_TOGGLE); in onCreate()
271 if (mPinToggle != null) { in updatePreferences()
272 mPinToggle.setEnabled(mPhone != null); in updatePreferences()
275 mPinToggle.setChecked(mPhone.getIccCard().getIccLockEnabled()); in updatePreferences()
442 if (preference == mPinToggle) { in onPreferenceTreeClick()
444 mToState = mPinToggle.isChecked(); in onPreferenceTreeClick()
446 mPinToggle.setChecked(!mToState); in onPreferenceTreeClick()
462 mPinToggle.setEnabled(false); in tryChangeIccLockState()
467 mPinToggle.setChecked(mToState); in iccLockChanged()
[all …]
/packages/apps/Settings/src/com/android/settings/
DIccLockSettings.java119 private SwitchPreference mPinToggle; field in IccLockSettings
188 mPinToggle = (SwitchPreference) findPreference(PIN_TOGGLE); in onCreate()
304 if (mPinToggle != null) { in updatePreferences()
305 mPinToggle.setEnabled(sir != null); in updatePreferences()
308 mPinToggle.setChecked(isIccLockEnabled()); in updatePreferences()
475 if (preference == mPinToggle) { in onPreferenceTreeClick()
477 mToState = mPinToggle.isChecked(); in onPreferenceTreeClick()
479 mPinToggle.setChecked(!mToState); in onPreferenceTreeClick()
494 mPinToggle.setEnabled(false); in tryChangeIccLockState()
527 mPinToggle.setChecked(mToState); in iccLockChanged()
[all …]