Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DBluetoothMaxConnectedAudioDevicesPreferenceControllerTest.java66 private CharSequence[] mListEntries; field in BluetoothMaxConnectedAudioDevicesPreferenceControllerTest
87 mListEntries = mPreference.getEntries(); in setup()
93 assertThat(mListEntries.length).isEqualTo(mListValues.length); in verifyResourceSizeAndRange()
95 final String defaultEntry = String.format(mListEntries[0].toString(), in verifyResourceSizeAndRange()
97 assertThat(mListEntries[0]).isEqualTo(defaultEntry); in verifyResourceSizeAndRange()
102 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[0]); in verifyResourceSizeAndRange()
103 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[0]); in verifyResourceSizeAndRange()
119 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[index]); in onPreferenceChange_setNumberOfDevices()
134 assertThat(mPreference.getEntry()).isEqualTo(mListEntries[i]); in updateState_NumberOfDevicesUpdated_shouldSetPreference()
135 assertThat(mPreference.getSummary()).isEqualTo(mListEntries[i]); in updateState_NumberOfDevicesUpdated_shouldSetPreference()
[all …]
DBluetoothSnoopLogPreferenceControllerTest.java51 private CharSequence[] mListEntries; field in BluetoothSnoopLogPreferenceControllerTest
69 mListEntries = mPreference.getEntries(); in setup()
75 Assert.assertEquals(mListEntries.length, mListValues.length); in verifyResourceSizeAndRange()
81 Assert.assertEquals(mPreference.getEntry(), mListEntries[defaultIndex]); in verifyResourceSizeAndRange() local
82 Assert.assertEquals(mPreference.getSummary(), mListEntries[defaultIndex]); in verifyResourceSizeAndRange() local
121 Assert.assertEquals(mPreference.getSummary(), mListEntries[i].toString()); in updateState_preferenceShouldBeSetToRightValue()
133 mListEntries[mController.getDefaultModeIndex()].toString()); in onDeveloperOptionsDisabled_shouldDisablePreference()
DBluetoothSnoopLogFilterProfileMapPreferenceControllerTest.java51 private CharSequence[] mListEntries; field in BluetoothSnoopLogFilterProfileMapPreferenceControllerTest
71 mListEntries = mPreference.getEntries(); in setup()
81 Assert.assertEquals(mListEntries.length, mListValues.length); in verifyResourceSizeAndRange()
87 Assert.assertEquals(mPreference.getEntry(), mListEntries[defaultIndex]); in verifyResourceSizeAndRange() local
88 Assert.assertEquals(mPreference.getSummary(), mListEntries[defaultIndex]); in verifyResourceSizeAndRange() local
171 Assert.assertEquals(mPreference.getSummary(), mListEntries[i].toString()); in updateState_preferenceShouldBeSetToRightValue()
183 mListEntries[mController.getDefaultModeIndex()].toString()); in onDeveloperOptionsDisabled_shouldDisablePreference()
DBluetoothSnoopLogFilterProfilePbapPreferenceControllerTest.java51 private CharSequence[] mListEntries; field in BluetoothSnoopLogFilterProfilePbapPreferenceControllerTest
71 mListEntries = mPreference.getEntries(); in setup()
81 Assert.assertEquals(mListEntries.length, mListValues.length); in verifyResourceSizeAndRange()
87 Assert.assertEquals(mPreference.getEntry(), mListEntries[defaultIndex]); in verifyResourceSizeAndRange() local
88 Assert.assertEquals(mPreference.getSummary(), mListEntries[defaultIndex]); in verifyResourceSizeAndRange() local
172 Assert.assertEquals(mPreference.getSummary(), mListEntries[i].toString()); in updateState_preferenceShouldBeSetToRightValue()
184 mListEntries[mController.getDefaultModeIndex()].toString()); in onDeveloperOptionsDisabled_shouldDisablePreference()
/packages/apps/Settings/tests/unit/src/com/android/settings/development/bluetooth/
DBluetoothStackLogPreferenceControllerTest.java60 private CharSequence[] mListEntries; field in BluetoothStackLogPreferenceControllerTest
85 mListEntries = mPreference.getEntries(); in setup()
96 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in verifyDefaultState_enablesDefaultLogLevelEntriesAndValuesSameSize()
117 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackVerboseLogLevel()
138 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackDebugLogLevel()
159 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackInfoLogLevel()
181 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackWarnLogLevel()
202 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries in onPreferenceChanged_enableBluetoothStackErrorLogLevel()
216 assertThat(mPreference.getSummary().toString()).isEqualTo(mListEntries[mController in onDeveloperOptionsDisabled_shouldDisablePreference()
/packages/apps/Settings/src/com/android/settings/development/
DBluetoothSnoopLogPreferenceController.java45 private final String[] mListEntries; field in BluetoothSnoopLogPreferenceController
53 mListEntries = context.getResources() in BluetoothSnoopLogPreferenceController()
106 listPreference.setSummary(mListEntries[index]); in updateState()
114 ((ListPreference) mPreference).setSummary(mListEntries[getDefaultModeIndex()]); in onDeveloperOptionsSwitchDisabled()
DBluetoothSnoopLogFilterProfilePbapPreferenceController.java45 private final String[] mListEntries; field in BluetoothSnoopLogFilterProfilePbapPreferenceController
61 mListEntries = in BluetoothSnoopLogFilterProfilePbapPreferenceController()
111 listPreference.setSummary(mListEntries[index]); in updateState()
135 ((ListPreference) mPreference).setSummary(mListEntries[getDefaultModeIndex()]); in onDeveloperOptionsSwitchDisabled()
DBluetoothSnoopLogFilterProfileMapPreferenceController.java45 private final String[] mListEntries; field in BluetoothSnoopLogFilterProfileMapPreferenceController
61 mListEntries = in BluetoothSnoopLogFilterProfileMapPreferenceController()
112 listPreference.setSummary(mListEntries[index]); in updateState()
136 ((ListPreference) mPreference).setSummary(mListEntries[getDefaultModeIndex()]); in onDeveloperOptionsSwitchDisabled()
/packages/apps/Settings/src/com/android/settings/development/bluetooth/
DBluetoothStackLogPreferenceController.java51 private final String[] mListEntries; field in BluetoothStackLogPreferenceController
57 mListEntries = context.getResources().getStringArray(R.array.bt_stack_log_level_entries); in BluetoothStackLogPreferenceController()
84 listPreference.setSummary(mListEntries[index]); in updateState()
112 ((ListPreference) mPreference).setSummary(mListEntries[getDefaultModeIndex()]); in onDeveloperOptionsSwitchDisabled()
/packages/apps/Settings/src/com/android/settings/nfc/
DNfcForegroundPreferenceController.java43 private final String[] mListEntries; field in NfcForegroundPreferenceController
49 mListEntries = context.getResources().getStringArray(R.array.nfc_payment_favor); in NfcForegroundPreferenceController()
106 return mListEntries[mPaymentBackend.isForegroundMode() ? 1 : 0]; in getSummary()
117 listPreference.setSummary(mListEntries[listPreference.findIndexOfValue(newValueString)]); in onPreferenceChange()
/packages/apps/Settings/src/com/android/settings/development/snooplogger/
DSnoopLoggerFiltersPreferenceController.java32 private final String[] mListEntries; field in SnoopLoggerFiltersPreferenceController
39 mListEntries = in SnoopLoggerFiltersPreferenceController()
63 new SnoopLoggerFiltersPreference(prefContext, mListValues[i], mListEntries[i])); in displayPreference()