Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java74 private GearPreference mGearPreference; field in ChangeScreenLockPreferenceControllerTest
122 assertThat(mGearPreference.getSummary()) in updateState_notSecureDisableKeyguard_summaryShouldShowOff()
145 assertThat(mGearPreference.getSummary()) in updateState_notSecureWithSwipeKeyguard_summaryShouldShowSwipe()
173 assertThat(mGearPreference.getSummary()) in updateState_secureWithPinKeyguard_summaryShouldShowPin()
200 assertThat(mGearPreference.getSummary()) in updateState_secureWithPasswordKeyguard_summaryShouldShowPassword()
227 assertThat(mGearPreference.getSummary()) in updateState_secureWithPatternKeyguard_summaryShouldShowPattern()
232 mGearPreference = new GearPreference(mContext, null); in mockGearPreferenceAndViewHolder()
236 mGearPreference.getLayoutResource(), null, false)); in mockGearPreferenceAndViewHolder()
239 when(mPreferenceScreen.findPreference(anyString())).thenReturn(mGearPreference); in mockGearPreferenceAndViewHolder()
244 mController.updateState(mGearPreference); in showPreference()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/
DGearPreferenceTest.java47 private GearPreference mGearPreference; field in GearPreferenceTest
54 mGearPreference = in setUp()
69 mGearPreference.setOnGearClickListener(mOnGearClickListener); in onBindViewHolder_gearIsVisible()
71 mGearPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_gearIsVisible()
78 mGearPreference.setOnGearClickListener(null); in onBindViewHolder_gearIsGone()
80 mGearPreference.onBindViewHolder(mViewHolder); in onBindViewHolder_gearIsGone()