Lines Matching refs:mProfiles
62 private PreferenceCategory mProfiles;
73 mProfiles = spy(new PreferenceCategory(mContext));
74 when(mProfiles.getPreferenceManager()).thenReturn(mPreferenceManager);
85 mProfiles.setKey(mController.getPreferenceKey());
86 mScreen.addPreference(mProfiles);
201 assertThat(mProfiles.getPreferenceCount()).isEqualTo(mConnectableProfiles.size());
204 for (int i = 0; i < mProfiles.getPreferenceCount(); i++) {
205 result.add((SwitchPreference)mProfiles.getPreference(i));
244 assertThat(mProfiles.getPreferenceCount()).isEqualTo(2);
266 assertThat(mProfiles.getPreferenceCount()).isEqualTo(2);
274 assertThat(mProfiles.getPreferenceCount()).isEqualTo(2);
303 assertThat(mProfiles.getPreferenceCount()).isEqualTo(1);
325 assertThat(mProfiles.getPreferenceCount()).isEqualTo(1);
346 assertThat(mProfiles.getPreferenceCount()).isEqualTo(1);
391 assertThat(mProfiles.getPreferenceCount()).isEqualTo(1);
392 SwitchPreference pref = (SwitchPreference) mProfiles.getPreference(0);
413 assertThat(mProfiles.getPreferenceCount()).isEqualTo(2);