Searched refs:mListEntries (Results 1 – 3 of 3) sorted by relevance
61 private CharSequence[] mListEntries; field in BluetoothMaxConnectedAudioDevicesPreferenceControllerTest82 mListEntries = mPreference.getEntries(); in setup()88 assertThat(mListEntries.length).isEqualTo(mListValues.length); in verifyResourceSizeAndRange()90 final String defaultEntry = String.format(mListEntries[0].toString(), in verifyResourceSizeAndRange()92 assertThat(mListEntries[0]).isEqualTo(defaultEntry); in verifyResourceSizeAndRange()97 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[0]); in verifyResourceSizeAndRange()98 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[0]); in verifyResourceSizeAndRange()114 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[index]); in onPreferenceChange_setNumberOfDevices()129 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[i]); in updateState_NumberOfDevicesUpdated_shouldSetPreference()130 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[i]); in updateState_NumberOfDevicesUpdated_shouldSetPreference()[all …]
56 private CharSequence[] mListEntries; field in BluetoothSnoopLogPreferenceControllerTest74 mListEntries = mPreference.getEntries(); in setup()80 assertThat(mListEntries.length).isEqualTo(mListValues.length); in verifyResourceSizeAndRange()86 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[defaultIndex]); in verifyResourceSizeAndRange()87 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[defaultIndex]); in verifyResourceSizeAndRange()123 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[i].toString()); in updateState_preferenceShouldBeSetToRightValue()135 mListEntries[mController.getDefaultModeIndex()] in onDeveloperOptionsDisabled_shouldDisablePreference()
50 private final String[] mListEntries; field in BluetoothSnoopLogPreferenceController55 mListEntries = context.getResources().getStringArray(R.array.bt_hci_snoop_log_entries); in BluetoothSnoopLogPreferenceController()101 listPreference.setSummary(mListEntries[index]); in updateState()109 ((ListPreference) mPreference).setSummary(mListEntries[getDefaultModeIndex()]); in onDeveloperOptionsSwitchDisabled()