/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/bhttp/ |
D | BinaryHttpMessageTest.java | 174 .setContent("Some body that I used to post.\r\n".getBytes()) in testEncodeAndDecodeRequestPostBody() 192 .setContent("hello, world!\r\n".getBytes()) in testRequestEquals() 205 .setContent("hello, world!\r\n".getBytes()) in testRequestEquals() 221 .setContent("hello, world!\r\n".getBytes()) in testRequestNotEqual() 234 .setContent("hello, world!\r\n".getBytes()) in testRequestNotEqual() 248 .setContent("hello, world!\r\n".getBytes()) in testRequestNotEqual() 261 .setContent("hello, world!\r\n".getBytes()) in testRequestNotEqual() 275 .setContent("goodbye, world!\r\n".getBytes()) in testRequestNotEqual() 337 .setContent("Hello, world!\r\n".getBytes()) in testEncodeAndDecodeResponseWithBody() 442 .setContent( in testEncodeAndDecodeMultiInformationalWithBody() [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/widget/ |
D | TipCardPreferenceTest.kt | 50 composeTestRule.setContent { buildCardPreference(enableDismiss = true) } in enableDismiss_whenEnable_shouldBeDisplayed() 57 composeTestRule.setContent { buildCardPreference(enableDismiss = false) } in enableDismiss_whenDisable_shouldBeDisplayed() 65 composeTestRule.setContent { in primaryButton_whenVisible_shouldBeDisplayed() 78 composeTestRule.setContent { in primaryButton_whenInvisible_shouldBeDisplayed() 92 composeTestRule.setContent { in primaryButtonAction_whenClick_performAction() 109 composeTestRule.setContent { in primaryButtonContentDescription_whenSet_shouldBeExists() 123 composeTestRule.setContent { in secondaryButton_whenVisible_shouldBeDisplayed() 136 composeTestRule.setContent { in secondaryButton_whenInvisible_shouldBeDisplayed() 150 composeTestRule.setContent { in secondaryButtonAction_whenClick_performAction() 167 composeTestRule.setContent { in secondaryButtonContentDescription_whenSet_shouldBeExists() [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/details2/ |
D | WifiPrivacyPageProviderTest.kt | 65 composeTestRule.setContent { in title_displayed() 75 composeTestRule.setContent { in category_mac_title_displayed() 85 composeTestRule.setContent { in category_mac_list_displayed() 98 composeTestRule.setContent { in category_mac_list_selectable() 111 composeTestRule.setContent { in category_mac_list_default_selected() 126 composeTestRule.setContent { in category_mac_list_not_enabled() 137 composeTestRule.setContent { in category_send_device_name_title_displayed() 147 composeTestRule.setContent { in toggle_send_device_name_title_displayed() 157 composeTestRule.setContent { in send_device_name_turnOn() 167 composeTestRule.setContent { in onClick_turnOff()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/apn/ |
D | ApnEditPageProviderTest.kt | 83 composeTestRule.setContent { in title_displayed() 91 composeTestRule.setContent { in name_displayed() 99 composeTestRule.setContent { in proxy_displayed() 109 composeTestRule.setContent { in port_displayed() 119 composeTestRule.setContent { in apn_type_displayed() 129 composeTestRule.setContent { in apn_roaming_displayed() 140 composeTestRule.setContent { in carrier_enabled_displayed() 150 composeTestRule.setContent { in carrier_enabled_isChecked() 161 composeTestRule.setContent { in carrier_enabled_checkChanged() 172 composeTestRule.setContent { in network_type_displayed() [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appinfo/ |
D | AppInstallerInfoPreferenceTest.kt | 102 setContent() in whenNoInstaller_notDisplayed() 111 setContent() in whenInstallerLabelIsNull_notDisplayed() 120 setContent() in whenIsMainlineModule_notDisplayed() 130 setContent() in whenStoreLinkIsNull_disabled() 143 setContent(instantApp) in whenIsInstantApp_hasSummaryForInstant() 150 setContent() in whenNotInstantApp() 160 setContent() in whenNotInstantAppAndDifferentInitiatingPackage() 169 setContent() in whenClick_startActivity() 178 private fun setContent(app: ApplicationInfo = APP) { in setContent() method 179 composeTestRule.setContent { in setContent()
|
D | InstantAppDomainsPreferenceTest.kt | 90 setContent(app) in notInstantApp_notDisplayed() 97 setContent() in title_displayed() 109 setContent() in noDomain() 119 setContent() in oneDomain() 128 setContent() in twoDomains() 137 setContent() in whenClicked() 148 private fun setContent(app: ApplicationInfo = INSTANT_APP) { in setContent() method in com.android.settings.spa.app.appinfo.InstantAppDomainsPreferenceTest 149 composeTestRule.setContent { in setContent()
|
D | HibernationSwitchPreferenceTest.kt | 143 setContent() in Hibernation disabled - not display() 152 setContent() in Not eligible - displayed but disabled() 172 setContent(TARGET_Q_APP) in isArchivingEnabled() 182 setContent(TARGET_Q_APP) in An app targets Q with ops mode default when hibernation targets R - exempted() 191 setContent(TARGET_R_APP) in An app targets R with ops mode default - not exempted() 200 setContent() in An app with ops mode allowed - not exempted() 209 setContent() in An app with ops mode ignored - exempted() 218 setContent() in An app is exempted - on click() 230 setContent() in An app is not exempted - on click() 238 private fun setContent(app: ApplicationInfo = TARGET_R_APP) { in setContent() method [all …]
|
D | AppDataUsagePreferenceTest.kt | 93 setContent() in <lambda>() 102 setContent(notInstalledApp) in <lambda>() 111 setContent(APP) in <lambda>() 122 setContent() in <lambda>() 135 setContent() in <lambda>() 142 setContent() in <lambda>() 155 private fun setContent(app: ApplicationInfo = APP) { in <lambda>() method in com.android.settings.spa.app.appinfo.AppDataUsagePreferenceTest 156 composeTestRule.setContent { in <lambda>()
|
D | AppArchiveButtonTest.kt | 80 val actionButton = setContent(app) in appArchiveButton_whenIsArchived_isDisabled() 93 val actionButton = setContent(app) in appArchiveButton_whenIsNotAppArchivable_isDisabled() 107 val enabledActionButton = setContent(app) in appArchiveButton_whenIsHibernationSwitchDisabled_isDisabled() 120 val actionButton = setContent(app) in appArchiveButton_whenPackageIsNotFound_isDisabled() 133 val actionButton = setContent(app) in appArchiveButton_displaysRightTextAndIcon() 147 val actionButton = setContent(app) in appArchiveButton_clicked() 156 private fun setContent(app: ApplicationInfo): ActionButton { in setContent() method 158 composeTestRule.setContent { in setContent()
|
D | AppButtonsTest.kt | 104 setContent() in isMainlineModule_notDisplayed() 111 setContent() in isNormalApp_displayed() 121 setContent() in launchButton_displayed_archivingDisabled() 131 setContent() in launchButton_notDisplayed_archivingEnabled() 148 setContent(packageInfo) in uninstallButton_enabled_whenAppIsArchived() 163 setContent(packageInfo) in archiveButton_displayed_whenAppIsNotArchived() 179 setContent(packageInfo) in restoreButton_displayed_whenAppIsArchived() 185 private fun setContent(packageInfo: PackageInfo = PACKAGE_INFO) { in setContent() method in com.android.settings.spa.app.appinfo.AppButtonsTest 187 composeTestRule.setContent { in setContent()
|
D | AppBatteryPreferenceTest.kt | 99 setContent() in whenConfigIsFalse_notDisplayed() 108 setContent(notInstalledApp) in whenAppNotInstalled_noSummary() 119 setContent() in batteryDiffEntryIsNull() 134 setContent() in noConsumePower() 148 setContent() in hasConsumePower() 160 setContent() in whenClick_openDetailsPage() 178 private fun setContent(app: ApplicationInfo = APP) { in setContent() method in com.android.settings.spa.app.appinfo.AppBatteryPreferenceTest 179 composeTestRule.setContent { in setContent()
|
D | AppAllServicesPreferenceTest.kt | 98 setContent() in callResolveActivityAsUser_withIntent() 113 setContent() in noResolveInfo_notDisplayed() 122 setContent() in noAllServicesActivity_notDisplayed() 131 setContent() in hasAllServicesActivity_displayed() 143 setContent() in hasSummary() 152 setContent() in whenClick_startActivity() 163 private fun setContent() { in setContent() method in com.android.settings.spa.app.appinfo.AppAllServicesPreferenceTest 164 composeTestRule.setContent { in setContent()
|
D | DefaultAppShortcutPreferenceTest.kt | 100 setContent() in isManagedProfile_notDisplay() 109 setContent() in roleNotVisible_notDisplay() 118 setContent() in applicationVisibleForRole_notDisplay() 127 setContent() in isRoleHolder_summaryIsYes() 138 setContent() in notRoleHolder_summaryIsNo() 150 setContent() in onClick_startManageDefaultAppIntent() 160 private fun setContent() { in setContent() method 161 composeTestRule.setContent { in setContent()
|
D | AppSettingsPreferenceTest.kt | 86 setContent() in callResolveActivityAsUser_withIntent() 101 setContent() in noResolveInfo_notDisplayed() 110 setContent() in noSettingsActivity_notDisplayed() 119 setContent() in hasSettingsActivity_displayed() 130 setContent() in whenClick_startActivity() 141 private fun setContent() { in setContent() method 142 composeTestRule.setContent { in setContent()
|
D | AppNotificationPreferenceTest.kt | 76 setContent(APP) in title_displayed() 84 setContent(APP) in summary_displayed() 91 setContent(ApplicationInfo().apply { in whenNotInstalled_disable() 102 setContent(APP) in onClick_startActivity() 117 private fun setContent(app: ApplicationInfo) { in setContent() method 118 composeTestRule.setContent { in setContent()
|
D | AppRestoreButtonTest.kt | 74 val actionButton = setContent(app) in appRestoreButton_whenIsNotArchived_isDisabled() 86 val actionButton = setContent(app) in appRestoreButton_whenIsArchived_isEnabled() 98 val actionButton = setContent(app) in appRestoreButton_displaysRightTextAndIcon() 112 val actionButton = setContent(app) in appRestoreButton_clicked() 121 private fun setContent(app: ApplicationInfo): ActionButton { in setContent() method in com.android.settings.spa.app.appinfo.AppRestoreButtonTest 123 composeTestRule.setContent { in setContent()
|
D | InteractAcrossProfilesDetailsPreferenceTest.kt | 93 setContent() in cannotConfig_notDisplayed() 102 setContent() in canConfig_displayed() 115 setContent() in hasSummary() 125 setContent() in whenClick_startActivity() 139 private fun setContent() { in setContent() method in com.android.settings.spa.app.appinfo.InteractAcrossProfilesDetailsPreferenceTest 140 composeTestRule.setContent { in setContent()
|
D | AppInfoSettingsMoreOptionsTest.kt | 135 setContent(ApplicationInfo()) in whenProfileOrDeviceOwner_notDisplayed() 150 setContent(app) in uninstallUpdates_updatedSystemAppAndUserAdmin_displayed() 166 setContent(app) in uninstallForAllUsers_regularAppAndPrimaryUser_displayed() 186 setContent(app) in uninstallForAllUsers_appHiddenNotInQuietModeAndPrimaryUser_displayed() 207 setContent(ApplicationInfo()) in uninstallForAllUsers_appHiddenInQuietModeAndPrimaryUser_notDisplayed() 226 setContent(app) in shouldShowAccessRestrictedSettings_appOp() 255 setContent(app) in shouldShowAccessRestrictedSettings() 268 private fun setContent(app: ApplicationInfo) { in setContent() method 269 composeTestRule.setContent { in setContent()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/ |
D | AllAppListTest.kt | 87 composeTestRule.setContent { in setInjectEntry() 96 composeTestRule.setContent { in title_displayed() 150 composeTestRule.setContent { in listModelGetSummary_regular() 162 composeTestRule.setContent { in listModelGetSummary_emptyStorage() 179 composeTestRule.setContent { in listModelGetSummary_disabled() 197 composeTestRule.setContent { in listModelGetSummary_emptyStorageAndDisabled() 214 composeTestRule.setContent { in listModelGetSummary_notInstalled() 235 composeTestRule.setContent { in allAppListModel_archivedApp() 259 composeTestRule.setContent { in allAppListModel_getSummaryWhenArchived() 269 composeTestRule.setContent { in getAppListInput() [all …]
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/appcompat/ |
D | UserAspectRatioAppPreferenceTest.kt | 115 setContent() in whenConfigIsFalse_notDisplayed() 124 setContent() in whenCannotDisplayAspectRatioUi_notDisplayed() 134 setContent() in whenCanDisplayAspectRatioUiAndConfigFalse_notDisplayed() 145 setContent() in whenCannotDisplayAspectRatioUiAndConfigTrue_notDisplayed() 154 setContent() in whenCanDisplayAspectRatioUiAndConfigTrue_Displayed() 169 setContent() in onClick_startActivity() 189 private fun setContent() { in setContent() method in com.android.settings.spa.app.appcompat.UserAspectRatioAppPreferenceTest 190 composeTestRule.setContent { in setContent()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/ |
D | MobileNetworkSwitchControllerTest.kt | 84 setContent() in isVisible_pSimAndCanDisablePhysicalSubscription_returnTrue() 103 setContent() in isVisible_pSimAndCannotDisablePhysicalSubscription_returnFalse() 119 setContent() in isVisible_eSim_returnTrue() 131 setContent() in isChecked_subscriptionEnabled_switchIsOn() 144 setContent() in isChecked_subscriptionNotEnabled_switchIsOff() 151 private fun setContent() { in setContent() method 152 composeTestRule.setContent { in setContent()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/network/ |
D | SimOnboardingLabelSimTest.kt | 96 composeTestRule.setContent { in simOnboardingLabelSimImpl_showTitle() 106 composeTestRule.setContent { in simOnboardingLabelSimImpl_showSubTitle() 116 composeTestRule.setContent { in simOnboardingLabelSimImpl_clickNextAction_verifyNextAction() 128 composeTestRule.setContent { in simOnboardingLabelSimImpl_clickCancelAction_verifyCancelAction() 142 composeTestRule.setContent { in simOnboardingLabelSimImpl_showItem_show3Items() 163 composeTestRule.setContent { in simOnboardingLabelSimImpl_showDialog_checkTitle() 177 composeTestRule.setContent { in showDialog_noContentInput_showOriginalDisplayName() 194 composeTestRule.setContent { in showDialog_clearContent_saveBtnIsDisabled() 210 composeTestRule.setContent { in showDialog_modifyContent_showAndSaveModifiedDisplayName() 238 composeTestRule.setContent { in showDialog_onlySpaceCharContent_saveBtnIsDisabled()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/spa/app/battery/ |
D | BatteryOptimizationModeAppListPageProviderTest.kt | 101 composeTestRule.setContent { in title_displayed() 164 composeTestRule.setContent { in listModelGetSummary_regular() 181 composeTestRule.setContent { in listModelGetSummary_disabled() 198 composeTestRule.setContent { in listModelGetSummary_notInstalled() 218 composeTestRule.setContent { in batteryOptimizationModeAppListModel_archivedApp() 242 composeTestRule.setContent { in batteryOptimizationModeAppListModel_NoStorageSummary() 251 composeTestRule.setContent { in setInjectEntry() 260 composeTestRule.setContent { in getAppListInput() 271 composeTestRule.setContent { in setItemContent()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/gsm/ |
D | AutoSelectPreferenceControllerTest.kt | 98 composeTestRule.setContent { in isChecked_isAutoSelection_on() 110 composeTestRule.setContent { in isChecked_isManualSelection_off() 123 composeTestRule.setContent { in isEnabled_isRoaming_enabled() 138 composeTestRule.setContent { in isEnabled_notOnlyAutoSelectInHome_enabled() 153 composeTestRule.setContent { in isEnabled_onlyAutoSelectInHome_notEnabled() 165 composeTestRule.setContent { in onClick_turnOff_startNetworkSelectActivity() 182 composeTestRule.setContent { in <lambda>()
|
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/wifi/ |
D | WepNetworksPreferenceControllerTest.kt | 90 composeTestRule.setContent { in wepAllowedTrue_turnOn() 101 composeTestRule.setContent { in wepAllowedFalse_turnOff() 112 composeTestRule.setContent { in onClick_turnOn() 124 composeTestRule.setContent { in onClick_turnOff() 137 composeTestRule.setContent { in whenClick_wepAllowed_openDialog() 150 composeTestRule.setContent { in whenClick_wepDisallowed_openDialog()
|