Searched refs:mGrantAdminPref (Results 1 – 2 of 2) sorted by relevance
100 TwoStatePreference mGrantAdminPref; field in UserDetailsSettings189 } else if (preference == mGrantAdminPref) { in onPreferenceChange()349 mGrantAdminPref = findPreference(KEY_GRANT_ADMIN);351 mGrantAdminPref.setChecked(mUserInfo.isAdmin());421 mGrantAdminPref.setOnPreferenceChangeListener(this);493 mGrantAdminPref.setChecked(isSetAdmin);
110 private SwitchPreference mGrantAdminPref; field in UserDetailsSettingsTest153 doReturn(mGrantAdminPref).when(mFragment).findPreference(KEY_GRANT_ADMIN); in setUp()754 mFragment.mGrantAdminPref = mGrantAdminPref; in onPreferenceChange_grantAdminClicked_isNotAdmin_shouldLogGrantAdmin()757 mFragment.onPreferenceChange(mGrantAdminPref, true); in onPreferenceChange_grantAdminClicked_isNotAdmin_shouldLogGrantAdmin()767 mFragment.mGrantAdminPref = mGrantAdminPref; in onPreferenceChange_grantAdminClicked_isAdmin_shouldLogRevokeAdmin()770 mFragment.onPreferenceChange(mGrantAdminPref, false); in onPreferenceChange_grantAdminClicked_isAdmin_shouldLogRevokeAdmin()