/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 33 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/ |
D | AllAppListTest.kt | 121 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/ |
D | InternetPreferenceRepositoryTest.kt | 73 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/ |
D | BatteryTipTest.java | 48 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/ |
D | WifiTetherBasePreferenceControllerTest.java | 52 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/ |
D | EnableAutoDataSwitchDialogFragmentTest.java | 51 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/ |
D | AbstractBluetoothDialogPreferenceControllerTest.java | 58 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/ |
D | PrintSettingsPageProviderTest.kt | 57 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/ |
D | AppNotificationPreferenceTest.kt | 57 override fun getNotificationSummary(app: ApplicationInfo) = SUMMARY in getNotificationSummary() 86 composeTestRule.onNodeWithText(SUMMARY).assertIsDisplayed() in summary_displayed() 133 const val SUMMARY = "Summary" constant
|
D | InteractAcrossProfilesDetailsPreferenceTest.kt | 113 .thenReturn(SUMMARY) in hasSummary() 117 composeTestRule.waitUntilExists(hasText(SUMMARY)) in hasSummary() 150 const val SUMMARY = "summary" constant
|
D | AppLocalePreferenceTest.kt | 81 whenever(AppLocaleDetails.getSummary(any(), eq(APP))).thenReturn(SUMMARY) in setUp() 105 composeTestRule.waitUntilExists(hasText(SUMMARY)) in whenCanDisplayLocalUi_displayed() 140 const val SUMMARY = "summary" constant
|
D | AppAllServicesPreferenceTest.kt | 141 doReturn(SUMMARY).`when`(resources).getString(SUMMARY_RES_ID) in hasSummary() 145 composeTestRule.waitUntilExists(hasText(SUMMARY)) in hasSummary() 177 const val SUMMARY = "summary" constant
|
D | AppPermissionPreferenceTest.kt | 84 AppPermissionSummaryState(summary = SUMMARY, enabled = true) in setContent() 94 const val SUMMARY = "Summary" constant
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/ |
D | BatteryTip.java | 55 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/ |
D | BatteryOptimizationModeAppListPageProviderTest.kt | 127 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/ |
D | SliceBuilderUtilsTest.java | 61 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()
|
D | SlicesDatabaseHelperTest.java | 72 IndexColumns.SUMMARY, in testDatabaseSchema() 139 values.put(IndexColumns.SUMMARY, "summary"); in getMockRow()
|
D | SlicesIndexerTest.java | 49 private static final String SUMMARY = "subtitle"; field in SlicesIndexerTest 226 .setSummary(SUMMARY) in getMockIndexableData()
|
D | SliceTestUtils.java | 69 values.put(SlicesDatabaseHelper.IndexColumns.SUMMARY, FAKE_SUMMARY); in insertSliceToDb()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseHelper.java | 59 String SUMMARY = "summary"; field 127 + IndexColumns.SUMMARY
|
D | SlicesDatabaseAccessor.java | 45 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/ |
D | UserAspectRatioAppsPageProviderTest.kt | 139 summary = { SUMMARY } in setItemContent() 185 private const val SUMMARY = "Summary" constant
|
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/ |
D | LockScreenSafetySourceTest.java | 57 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/ |
D | BluetoothMapContract.java | 814 String SUMMARY = "convo_summary"; field 1091 ConversationColumns.SUMMARY,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/tether/ |
D | WifiTetherSettingsTest.java | 92 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()
|