/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | AbstractBluetoothA2dpPreferenceController.java | 49 private final String[] mListSummaries; field in AbstractBluetoothA2dpPreferenceController 57 mListSummaries = getListSummaries(); in AbstractBluetoothA2dpPreferenceController() 72 mPreference.setSummary(mListSummaries[getDefaultIndex()]); in displayPreference() 98 mPreference.setSummary(mListSummaries[index]); in onPreferenceChange() 101 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in onPreferenceChange() 123 mPreference.setSummary(mListSummaries[index]); in updateState() 126 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in updateState()
|
D | BluetoothAvrcpVersionPreferenceController.java | 41 private final String[] mListSummaries; field in BluetoothAvrcpVersionPreferenceController 47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_avrcp_versions); in BluetoothAvrcpVersionPreferenceController() 74 listPreference.setSummary(mListSummaries[index]); in updateState()
|
D | SecondaryDisplayPreferenceController.java | 36 private final String[] mListSummaries; field in SecondaryDisplayPreferenceController 42 mListSummaries = context.getResources().getStringArray( in SecondaryDisplayPreferenceController() 80 listPreference.setSummary(mListSummaries[index]); in updateSecondaryDisplayDevicesOptions()
|
D | DebugNonRectClipOperationsPreferenceController.java | 39 private final String[] mListSummaries; field in DebugNonRectClipOperationsPreferenceController 45 mListSummaries = context.getResources().getStringArray(R.array.show_non_rect_clip_entries); in DebugNonRectClipOperationsPreferenceController() 84 listPreference.setSummary(mListSummaries[index]); in updateShowNonRectClipOptions()
|
D | DebugGpuOverdrawPreferenceController.java | 39 private final String[] mListSummaries; field in DebugGpuOverdrawPreferenceController 45 mListSummaries = context.getResources().getStringArray(R.array.debug_hw_overdraw_entries); in DebugGpuOverdrawPreferenceController() 84 listPreference.setSummary(mListSummaries[index]); in updateDebugHwOverdrawOptions()
|
D | ProfileGpuRenderingPreferenceController.java | 38 private final String[] mListSummaries; field in ProfileGpuRenderingPreferenceController 44 mListSummaries = context.getResources().getStringArray(R.array.track_frame_time_entries); in ProfileGpuRenderingPreferenceController() 82 listPreference.setSummary(mListSummaries[index]); in updateTrackFrameTimeOptions()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AbstractBluetoothA2dpPreferenceController.java | 49 private final String[] mListSummaries; field in AbstractBluetoothA2dpPreferenceController 57 mListSummaries = getListSummaries(); in AbstractBluetoothA2dpPreferenceController() 72 mPreference.setSummary(mListSummaries[getDefaultIndex()]); in displayPreference() 99 mPreference.setSummary(mListSummaries[index]); in onPreferenceChange() 102 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in onPreferenceChange() 127 mPreference.setSummary(mListSummaries[index]); in updateState() 130 mContext.getResources().getString(STREAMING_LABEL_ID, mListSummaries[index])); in updateState()
|
D | BluetoothAvrcpVersionPreferenceController.java | 41 private final String[] mListSummaries; field in BluetoothAvrcpVersionPreferenceController 47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_avrcp_versions); in BluetoothAvrcpVersionPreferenceController() 74 listPreference.setSummary(mListSummaries[index]); in updateState()
|
D | BluetoothMapVersionPreferenceController.java | 41 private final String[] mListSummaries; field in BluetoothMapVersionPreferenceController 47 mListSummaries = context.getResources().getStringArray(R.array.bluetooth_map_versions); in BluetoothMapVersionPreferenceController() 74 listPreference.setSummary(mListSummaries[index]); in updateState()
|
D | DebugGpuOverdrawPreferenceController.java | 39 private final String[] mListSummaries; field in DebugGpuOverdrawPreferenceController 45 mListSummaries = context.getResources().getStringArray(R.array.debug_hw_overdraw_entries); in DebugGpuOverdrawPreferenceController() 84 listPreference.setSummary(mListSummaries[index]); in updateDebugHwOverdrawOptions()
|
D | ProfileGpuRenderingPreferenceController.java | 38 private final String[] mListSummaries; field in ProfileGpuRenderingPreferenceController 44 mListSummaries = context.getResources().getStringArray(R.array.track_frame_time_entries); in ProfileGpuRenderingPreferenceController() 82 listPreference.setSummary(mListSummaries[index]); in updateTrackFrameTimeOptions()
|
D | SecondaryDisplayPreferenceController.java | 36 private final String[] mListSummaries; field in SecondaryDisplayPreferenceController 42 mListSummaries = context.getResources().getStringArray( in SecondaryDisplayPreferenceController() 80 listPreference.setSummary(mListSummaries[index]); in updateSecondaryDisplayDevicesOptions()
|
D | DebugNonRectClipOperationsPreferenceController.java | 39 private final String[] mListSummaries; field in DebugNonRectClipOperationsPreferenceController 45 mListSummaries = context.getResources().getStringArray(R.array.show_non_rect_clip_entries); in DebugNonRectClipOperationsPreferenceController() 84 listPreference.setSummary(mListSummaries[index]); in updateShowNonRectClipOptions()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | SecondaryDisplayPreferenceControllerTest.java | 64 private String[] mListSummaries; field in SecondaryDisplayPreferenceControllerTest 74 mListSummaries = resources.getStringArray(R.array.overlay_display_devices_entries); in setup() 106 verify(mPreference).setSummary(mListSummaries[1]); in updateState_set480p_shouldSetPreferenceTo480p() 117 verify(mPreference).setSummary(mListSummaries[3]); in updateState_set720p_shouldSetPreferenceTo720p() 125 verify(mPreference).setSummary(mListSummaries[0]); in updateState_nothingSet_shouldSetDefaultToNone() 137 verify(mPreference).setSummary(mListSummaries[0]); in onDeveloperOptionsSwitchDisabled_shouldDisablePreferenceAndSetToNone()
|
D | ProfileGpuRenderingPreferenceControllerTest.java | 55 private String[] mListSummaries; field in ProfileGpuRenderingPreferenceControllerTest 64 mListSummaries = mContext.getResources().getStringArray(R.array.track_frame_time_entries); in setup() 93 verify(mPreference).setSummary(mListSummaries[1]); in updateState_option1Set_shouldUpdatePreferenceToOption1() 103 verify(mPreference).setSummary(mListSummaries[2]); in updateState_option2Set_shouldUpdatePreferenceToOption2() 113 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noOptionSet_shouldDefaultToOption0()
|
D | BluetoothMapVersionPreferenceControllerTest.java | 61 private String[] mListSummaries; field in BluetoothMapVersionPreferenceControllerTest 69 mListSummaries = resources.getStringArray(R.array.bluetooth_map_versions); in setup() 102 verify(mPreference).setSummary(mListSummaries[1]); in updateState_setMap13_shouldSetPreferenceToMap13() 112 verify(mPreference).setSummary(mListSummaries[2]); in updateState_setMap14_shouldSetPreferenceToMap14() 120 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noValueSet_shouldSetDefaultToMap12()
|
D | DebugGpuOverdrawPreferenceControllerTest.java | 55 private String[] mListSummaries; field in DebugGpuOverdrawPreferenceControllerTest 64 mListSummaries = mContext.getResources().getStringArray( in setup() 94 verify(mPreference).setSummary(mListSummaries[1]); in updateState_option1Set_shouldUpdatePreferenceToOption1() 104 verify(mPreference).setSummary(mListSummaries[2]); in updateState_option2Set_shouldUpdatePreferenceToOption2() 114 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noOptionSet_shouldDefaultToOption0()
|
D | BluetoothAvrcpVersionPreferenceControllerTest.java | 62 private String[] mListSummaries; field in BluetoothAvrcpVersionPreferenceControllerTest 70 mListSummaries = resources.getStringArray(R.array.bluetooth_avrcp_versions); in setup() 102 verify(mPreference).setSummary(mListSummaries[1]); in updateState_setAvrcp13_shouldSetPreferenceToAvrcp13() 112 verify(mPreference).setSummary(mListSummaries[2]); in updateState_setAvrcp15_shouldSetPreferenceToAvrcp15() 120 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noValueSet_shouldSetDefaultToAvrcp14()
|
D | DebugNonRectClipOperationsPreferenceControllerTest.java | 55 private String[] mListSummaries; field in DebugNonRectClipOperationsPreferenceControllerTest 64 mListSummaries = mContext.getResources().getStringArray(R.array.show_non_rect_clip_entries); in setup() 96 verify(mPreference).setSummary(mListSummaries[1]); in updateState_option1Set_shouldUpdatePreferenceToOption1() 107 verify(mPreference).setSummary(mListSummaries[2]); in updateState_option2Set_shouldUpdatePreferenceToOption2() 117 verify(mPreference).setSummary(mListSummaries[0]); in updateState_noOptionSet_shouldDefaultToOption0()
|
D | BackgroundProcessLimitPreferenceControllerTest.java | 60 private String[] mListSummaries; field in BackgroundProcessLimitPreferenceControllerTest 69 mListSummaries = mContext.getResources().getStringArray(R.array.app_process_limit_entries); in setup() 100 verify(mPreference).setSummary(mListSummaries[1]); in updateState_noBackgroundProcessSet_shouldSetPreferenceToNoBackgroundProcess() 111 verify(mPreference).setSummary(mListSummaries[2]); in updateState_1ProcessSet_shouldSetPreference1BackgroundProcess() 121 verify(mPreference).setSummary(mListSummaries[0]); in updateState_veryHighLimit_shouldDefaultToStandardLimit()
|
D | AnimatorDurationScalePreferenceControllerTest.java | 65 private String[] mListSummaries; field in AnimatorDurationScalePreferenceControllerTest 75 mListSummaries = mContext.getResources() in setup() 106 verify(mPreference).setSummary(mListSummaries[5]); in updateState_option5Set_shouldUpdatePreferenceToOption5() 117 verify(mPreference).setSummary(mListSummaries[3]); in updateState_option3Set_shouldUpdatePreferenceToOption3()
|
D | TransitionAnimationScalePreferenceControllerTest.java | 66 private String[] mListSummaries; field in TransitionAnimationScalePreferenceControllerTest 76 mListSummaries = resources.getStringArray(R.array.transition_animation_scale_entries); in setup() 107 verify(mPreference).setSummary(mListSummaries[5]); in updateState_option5Set_shouldUpdatePreferenceToOption5() 118 verify(mPreference).setSummary(mListSummaries[3]); in updateState_option3Set_shouldUpdatePreferenceToOption3()
|
D | WindowAnimationScalePreferenceControllerTest.java | 66 private String[] mListSummaries; field in WindowAnimationScalePreferenceControllerTest 76 mListSummaries = resources.getStringArray(R.array.window_animation_scale_entries); in setup() 106 verify(mPreference).setSummary(mListSummaries[5]); in updateState_option5Set_shouldUpdatePreferenceToOption5() 117 verify(mPreference).setSummary(mListSummaries[3]); in updateState_option3Set_shouldUpdatePreferenceToOption3()
|
D | LogdSizePreferenceControllerTest.java | 56 private String[] mListSummaries; field in LogdSizePreferenceControllerTest 65 mListSummaries = mContext.getResources().getStringArray(R.array.select_logd_size_summaries); in setup() 76 verify(mPreference).setSummary(mListSummaries[2]); in onDeveloperOptionsSwitchDisabled_shouldDisableAndResetPreferenceToDefault()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/autofill/ |
D | AutofillLoggingLevelPreferenceControllerTest.java | 68 private String[] mListSummaries; field in AutofillLoggingLevelPreferenceControllerTest 82 mListSummaries = resources.getStringArray(R.array.autofill_logging_level_entries); in setup() 142 verify(mPreference).setSummary(mListSummaries[IDX_OFF]); in onSettingsChange_off() 152 verify(mPreference).setSummary(mListSummaries[IDX_DEBUG]); in onSettingsChange_debug() 162 verify(mPreference).setSummary(mListSummaries[IDX_VERBOSE]); in onSettingsChange_verbose()
|