Home
last modified time | relevance | path

Searched refs:mListEntries (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java61 private CharSequence[] mListEntries; field in BluetoothMaxConnectedAudioDevicesPreferenceControllerTest
82 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 …]
DBluetoothSnoopLogPreferenceControllerTest.java56 private CharSequence[] mListEntries; field in BluetoothSnoopLogPreferenceControllerTest
74 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()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothSnoopLogPreferenceController.java50 private final String[] mListEntries; field in BluetoothSnoopLogPreferenceController
55 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()