Home
last modified time | relevance | path

Searched refs:SUMMARY (Results 1 – 25 of 39) sorted by relevance

12

/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSliceDataTest.java33 private static final String SUMMARY = "summary"; field in SliceDataTest
48 .setSummary(SUMMARY) in testBuilder_buildsMatchingObject()
63 assertThat(data.getSummary()).isEqualTo(SUMMARY); in testBuilder_buildsMatchingObject()
79 .setSummary(SUMMARY) in testBuilder_noKey_throwsIllegalStateException()
92 .setSummary(SUMMARY) in testBuilder_noTitle_throwsIllegalStateException()
106 .setSummary(SUMMARY) in testBuilder_noFragment_throwsIllegalStateException()
119 .setSummary(SUMMARY) in testBuilder_noPrefController_throwsIllegalStateException()
155 .setSummary(SUMMARY) in testBuilder_noScreenTitle_buildsMatchingObject()
165 assertThat(data.getSummary()).isEqualTo(SUMMARY); in testBuilder_noScreenTitle_buildsMatchingObject()
178 .setSummary(SUMMARY) in testBuilder_noIcon_buildsMatchingObject()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/
DAllAppListTest.kt121 composeTestRule.onNodeWithText(SUMMARY).assertIsDisplayed() in item_summaryDisplayed()
136 val listModel = AllAppListModel(context) { stateOf(SUMMARY) } in <lambda>()
147 val listModel = AllAppListModel(context) { stateOf(SUMMARY) } in listModelGetSummary_regular()
154 assertThat(summary()).isEqualTo(SUMMARY) in listModelGetSummary_regular()
171 val listModel = AllAppListModel(context) { stateOf(SUMMARY) } in listModelGetSummary_disabled()
208 val listModel = AllAppListModel(context) { stateOf(SUMMARY) } in listModelGetSummary_notInstalled()
241 summary = { SUMMARY }, in allAppListModel_archivedApp()
252 val listModel = AllAppListModel(context) { stateOf(SUMMARY) } in allAppListModel_getSummaryWhenArchived()
264 assertThat(summary()).isEqualTo(SUMMARY) in allAppListModel_getSummaryWhenArchived()
286 summary = { SUMMARY }, in setItemContent()
[all …]
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/
DInternetPreferenceRepositoryTest.kt73 mockWifiSummaryRepository.stub { on { summaryFlow() } doReturn flowOf(SUMMARY) } in <lambda>()
80 summary = SUMMARY, in <lambda>()
103 mockDataSubscriptionRepository.stub { on { dataSummaryFlow() } doReturn flowOf(SUMMARY) } in <lambda>()
110 summary = SUMMARY, in <lambda>()
127 mockDataSubscriptionRepository.stub { on { dataSummaryFlow() } doReturn flowOf(SUMMARY) } in <lambda>()
134 summary = SUMMARY, in <lambda>()
227 const val SUMMARY = "Summary" constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTipTest.java48 private static final String SUMMARY = "summary"; field in BatteryTipTest
68 assertThat(preference.getSummary()).isEqualTo(SUMMARY); in buildPreference()
83 assertThat(parcelTip.getSummary(mContext)).isEqualTo(SUMMARY); in parcelable()
118 super(TipType.SUMMARY, StateType.NEW, true); in TestBatteryTip()
132 return SUMMARY; in getSummary()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherBasePreferenceControllerTest.java52 private static final String SUMMARY = "SUMMARY"; field in WifiTetherBasePreferenceControllerTest
131 mController.setConfigSummaries(SUMMARY, DEFAULT_SUMMARY); in summaryToShow_defaultSummarySet_shouldShowNonDefaultSummary()
135 assertThat(mPreference.getSummary()).isEqualTo(SUMMARY); in summaryToShow_defaultSummarySet_shouldShowNonDefaultSummary()
140 mController.setConfigSummaries(SUMMARY, /* defaultSummary= */ null); in summaryToShow_defaultSummaryNotSet_shouldShowNonDefaultSummary()
144 assertThat(mPreference.getSummary()).isEqualTo(SUMMARY); in summaryToShow_defaultSummaryNotSet_shouldShowNonDefaultSummary()
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DEnableAutoDataSwitchDialogFragmentTest.java51 private static final String SUMMARY = "fake summary"; field in EnableAutoDataSwitchDialogFragmentTest
82 doReturn(SUMMARY).when(mContext).getString( in setUp()
123 assertThat(msg).contains(SUMMARY); in updateDialog_getMessage_noManagedProfile()
134 assertThat(msg).contains(SUMMARY); in updateDialog_getMessage_hasManagedProfile()
145 assertThat(msg).contains(SUMMARY); in updateDialog_getMessage_BothManagedProfile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/bluetooth/
DAbstractBluetoothDialogPreferenceControllerTest.java58 private static final String SUMMARY = "Test summary"; field in AbstractBluetoothDialogPreferenceControllerTest
106 when(mPreference.generateSummary(mCurrentConfig)).thenReturn(SUMMARY); in setup()
113 assertThat(mController.getSummary()).isEqualTo(SUMMARY); in getSummary_generateSummary()
134 assertThat(mPreference.getSummary()).isEqualTo(SUMMARY); in onIndexUpdated_checkFlow()
264 mSummaryStrings.add(SUMMARY); in BaseBluetoothDialogPreferenceImpl()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/print/
DPrintSettingsPageProviderTest.kt57 summary = SUMMARY,
77 composeTestRule.onNodeWithText(SUMMARY).isDisplayed() in printService_summaryDisplayed()
102 const val SUMMARY = "Summary" constant
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/
DAppNotificationPreferenceTest.kt57 override fun getNotificationSummary(app: ApplicationInfo) = SUMMARY in getNotificationSummary()
86 composeTestRule.onNodeWithText(SUMMARY).assertIsDisplayed() in summary_displayed()
133 const val SUMMARY = "Summary" constant
DInteractAcrossProfilesDetailsPreferenceTest.kt113 .thenReturn(SUMMARY) in hasSummary()
117 composeTestRule.waitUntilExists(hasText(SUMMARY)) in hasSummary()
150 const val SUMMARY = "summary" constant
DAppLocalePreferenceTest.kt81 whenever(AppLocaleDetails.getSummary(any(), eq(APP))).thenReturn(SUMMARY) in setUp()
105 composeTestRule.waitUntilExists(hasText(SUMMARY)) in whenCanDisplayLocalUi_displayed()
140 const val SUMMARY = "summary" constant
DAppAllServicesPreferenceTest.kt141 doReturn(SUMMARY).`when`(resources).getString(SUMMARY_RES_ID) in hasSummary()
145 composeTestRule.waitUntilExists(hasText(SUMMARY)) in hasSummary()
177 const val SUMMARY = "summary" constant
DAppPermissionPreferenceTest.kt84 AppPermissionSummaryState(summary = SUMMARY, enabled = true) in setContent()
94 const val SUMMARY = "Summary" constant
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DBatteryTip.java55 TipType.SUMMARY,
75 int SUMMARY = 6; field
94 TIP_ORDER.append(TipType.SUMMARY, 7); in TIP_ORDER.append() argument
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/battery/
DBatteryOptimizationModeAppListPageProviderTest.kt127 composeTestRule.onNodeWithText(SUMMARY).assertIsDisplayed() in item_summaryDisplayed()
224 summary = { SUMMARY }, in batteryOptimizationModeAppListModel_archivedApp()
277 summary = { SUMMARY }, in setItemContent()
288 const val SUMMARY = "Summary" constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java61 private static final String SUMMARY = "summary"; field in SliceBuilderUtilsTest
361 SUMMARY, SliceData.SliceType.SWITCH, SCREEN_TITLE, 0 /* icon */, in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
440 return getMockData(TOGGLE_CONTROLLER, SUMMARY, SliceData.SliceType.SWITCH, SCREEN_TITLE, in getMockData()
445 return getMockData(prefController, SUMMARY, sliceType, SCREEN_TITLE, in getMockData()
455 return getMockData(prefController, SUMMARY, sliceType, SCREEN_TITLE, ICON, in getMockData()
460 return getMockData(prefController, SUMMARY, sliceType, SCREEN_TITLE, ICON, in getMockData()
DSlicesDatabaseHelperTest.java72 IndexColumns.SUMMARY, in testDatabaseSchema()
139 values.put(IndexColumns.SUMMARY, "summary"); in getMockRow()
DSlicesIndexerTest.java49 private static final String SUMMARY = "subtitle"; field in SlicesIndexerTest
226 .setSummary(SUMMARY) in getMockIndexableData()
DSliceTestUtils.java69 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, FAKE_SUMMARY); in insertSliceToDb()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseHelper.java59 String SUMMARY = "summary"; field
127 + IndexColumns.SUMMARY
DSlicesDatabaseAccessor.java45 IndexColumns.SUMMARY,
155 final String summary = cursor.getString(cursor.getColumnIndex(IndexColumns.SUMMARY)); in buildSliceData()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/
DUserAspectRatioAppsPageProviderTest.kt139 summary = { SUMMARY } in setItemContent()
185 private const val SUMMARY = "Summary" constant
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DLockScreenSafetySourceTest.java57 private static final String SUMMARY = "summary"; field in LockScreenSafetySourceTest
157 assertThat(safetySourceStatus.getSummary().toString()).isEqualTo(SUMMARY); in setSafetySourceData_whenScreenLockIsEnabled_setData()
437 assertThat(safetySourceStatus.getSummary().toString()).isEqualTo(SUMMARY); in setSafetySourceData_whenPasswordQualityIsNotManaged_setEnabled()
516 when(mScreenLockPreferenceDetailsUtils.getSummary(anyInt())).thenReturn(SUMMARY); in whenScreenLockIsEnabled()
/packages/modules/Bluetooth/android/app/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapContract.java814 String SUMMARY = "convo_summary"; field
1091 ConversationColumns.SUMMARY,
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/
DWifiTetherSettingsTest.java92 private static final String SUMMARY = "summary"; field in WifiTetherSettingsTest
442 mSettings.onInstantHotspotChanged(SUMMARY); in onInstantHotspotChanged_summaryNotNull_setVisibleAndSummary()
445 verify(mInstantHotspot).setSummary(SUMMARY); in onInstantHotspotChanged_summaryNotNull_setVisibleAndSummary()

12