Home
last modified time | relevance | path

Searched refs:timeoutSummaries (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityTimeoutPreferenceControllerTest.java54 final String[] timeoutSummaries = mContext.getResources().getStringArray( in getSummary_byDefault_shouldReturnDefaultSummary() local
59 assertThat(mController.getSummary().toString()).isEqualTo(timeoutSummaries[0]); in getSummary_byDefault_shouldReturnDefaultSummary()
64 final String[] timeoutSummaries = mContext.getResources().getStringArray( in getSummary_invalidTimeout_shouldReturnDefaultSummary() local
69 assertThat(mController.getSummary().toString()).isEqualTo(timeoutSummaries[0]); in getSummary_invalidTimeout_shouldReturnDefaultSummary()
74 final String[] timeoutSummaries = mContext.getResources().getStringArray( in getSummary_validTimeout_shouldReturnValidSummary() local
79 assertThat(mController.getSummary().toString()).isEqualTo(timeoutSummaries[3]); in getSummary_validTimeout_shouldReturnValidSummary()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityTimeoutPreferenceController.java47 final String[] timeoutSummaries = mResources.getStringArray( in getSummary() local
54 return timeoutSummaries[idx == -1 ? 0 : idx]; in getSummary()