Home
last modified time | relevance | path

Searched refs:launchFragment (Results 1 – 25 of 116) sorted by relevance

12345

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/exportimport/
DExportDestinationFragmentTest.kt58 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
145 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
156 launchFragment<ExportDestinationFragment>(Bundle()) { in <lambda>()
170 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
194 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
231 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
264 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
294 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
330 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
356 launchFragment<ExportDestinationFragment>(Bundle()) in <lambda>()
[all …]
DImportSourceLocationFragmentTest.kt56 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
142 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
152 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
159 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
183 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
220 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
253 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
283 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
319 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
345 launchFragment<ImportSourceLocationFragment>(Bundle()) in <lambda>()
[all …]
DExportFrequencyFragmentTest.kt37 import com.android.healthconnect.controller.tests.utils.launchFragment
73 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_isDisplayedCorrectly()
93 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_backButton_isClickable()
101 launchFragment<ExportFrequencyFragment>(Bundle()) { in exportFrequencyFragment_clicksNextButton_navigatesToDestinationFragment()
116 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_dailyButtonIsCheckedByDefault()
126 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_checksWeeklyButton_updatesSelectedFrequency()
136 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_checksMonthlyButton_updatesSelectedFrequency()
149 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_selectedFrequencyIsDaily_dailyButtonChecked()
159 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_selectedFrequencyIsWeekly_weeklyButtonChecked()
169 launchFragment<ExportFrequencyFragment>(Bundle()) in exportFrequencyFragment_selectedFrequencyIsMonthly_monthlyButtonChecked()
DScheduledExportFragmentTest.kt39 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
94 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
114 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
124 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
134 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
144 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
151 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
165 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
178 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
200 launchFragment<ScheduledExportFragment>(Bundle()) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/migration/
DMigrationNavigationFragmentTest.kt15 import com.android.healthconnect.controller.tests.utils.launchFragment
50 launchFragment<MigrationNavigationFragment>() in whenMigrationFragmentStateLoading_showsLoading()
61 launchFragment<MigrationNavigationFragment>() in whenMigrationFragmentStateError_showsError()
77 launchFragment<MigrationNavigationFragment>() in whenMigrationStateAllowedNotStarted_navigatesToMigrationPausedFragment()
94 launchFragment<MigrationNavigationFragment>() in whenMigrationStateAllowedPaused_navigatesToMigrationPausedFragment()
111 launchFragment<MigrationNavigationFragment>() in whenMigrationStateAppUpdateRequired_navigatesToAppUpdateRequiredFragment()
130 launchFragment<MigrationNavigationFragment>() in whenMigrationStateModuleUpdateRequired_navigatesToModuleUpdateRequiredFragment()
149 launchFragment<MigrationNavigationFragment>() in whenMigrationStateInProgress_navigatesToMigrationInProgressFragment()
167 launchFragment<MigrationNavigationFragment>() in whenMigrationStateCompleteIdle_navigatesToHomeFragment()
184 launchFragment<MigrationNavigationFragment>() in whenMigrationStateComplete_navigatesToHomeFragment()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/units/
DUnitsFragmentTest.kt42 import com.android.healthconnect.controller.tests.utils.launchFragment
85 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_starts()
106 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_showsDefaultSettings()
119 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_setHeightUnit_updatesValue()
128 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_setWeightUnit_updatesValue()
137 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_setTemperatureUnit_updatesValue()
146 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_setDistanceUnit_updatesValue()
155 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_setEnergyUnit_updatesValue()
162 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_modifiesHeight_updatesValue()
172 launchFragment<UnitsFragment>(bundleOf()) in unitsScreen_modifiesDistance_updatesValue()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DDualPaneBaseCarSettingsActivityTest.java88 mActivity.launchFragment(fragmentA.get()); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
90 mActivity.launchFragment(fragmentB.get()); in onUxRestrictionsChanged_topFragmentInBackStackHasUpdatedUxRestrictions()
120 mActivity.launchFragment(fragmentA.get()); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
122 mActivity.launchFragment(fragmentB.get()); in onBackStackChanged_uxRestrictionsChanged_currentFragmentHasUpdatedUxRestrictions()
138 mActivity.launchFragment(fragment1); in onBackStackChanged_toolbarUpdated()
147 mActivity.launchFragment(fragment2); in onBackStackChanged_toolbarUpdated()
200 mActivity.launchFragment(fragment); in onFragmentLaunched_maintainContentFocus()
214 mActivity.launchFragment(fragment1); in onBack_maintainContentFocus()
216 mActivity.launchFragment(fragment2); in onBack_maintainContentFocus()
229 mActivity.launchFragment(fragment); in onPreferenceDisabled_maintainContentFocus()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/backuprestore/
DBackupAndRestoreSettingsFragmentTest.kt44 import com.android.healthconnect.controller.tests.utils.launchFragment
119 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragmentInit_showsFragmentCorrectly()
145 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragment_withNoLastSuccessfulDate_doesNotShowLastExportTime()
155 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) { in backupAndRestoreSettingsFragment_clicksScheduledExportWhenItIsOff_navigatesToExportSetupActivity()
171 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) { in backupAndRestoreSettingsFragment_clicksScheduledExportWhenItIsOn_navigatesToScheduledExportFragment()
187 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragment_whenExportFrequencyIsNever_showsCorrectSummary()
197 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragment_whenExportFrequencyIsDaily_showsCorrectSummary()
207 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragment_whenExportFrequencyIsWeekly_showsCorrectSummary()
217 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragment_whenExportFrequencyIsMonthly_showsCorrectSummary()
235 launchFragment<BackupAndRestoreSettingsFragment>(Bundle()) in backupAndRestoreSettingsFragment_whenImportErrorIsWrongFileError_showsImportErrorBanner()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/categories/
DHealthDataCategoriesFragmentTest.kt43 import com.android.healthconnect.controller.tests.utils.launchFragment
117 launchFragment<HealthDataCategoriesFragment>(Bundle()) { in seeAllCategories_navigatesToSeeAllCategories()
136 launchFragment<HealthDataCategoriesFragment>(Bundle()) { in activityButton_navigatesToActivityDataType()
156 launchFragment<HealthDataCategoriesFragment>(Bundle()) { in oldIA_autoDelete_navigatesToAutoDelete()
174 launchFragment<HealthDataCategoriesFragment>(Bundle()) in categoriesFragment_isDisplayed()
187 launchFragment<HealthDataCategoriesFragment>(Bundle()) in categoriesFragment_whenNewAppPriorityEnabled_autoDeleteNotDisplayed()
200 launchFragment<HealthDataCategoriesFragment>(Bundle()) in categoriesFragment_emptyCategories_noDataViewIsDisplayed_deleteIconIsDisabled()
212 launchFragment<HealthDataCategoriesFragment>(Bundle()) in categoriesFragment_withCategories_categoryInformationIsDisplayed()
229 launchFragment<HealthDataCategoriesFragment>(Bundle()) in seeAllCategoriesPreference_isDisplayed()
250 launchFragment<HealthDataCategoriesFragment>(Bundle()) in seeAllCategoriesPreference_withNoData_isDisplayed()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/
DDeletionFragmentTest.kt44 import com.android.healthconnect.controller.tests.utils.launchFragment
76 launchFragment<DeletionFragment>(Bundle()) { in deleteAllData_timeRangeDialog_showsCorrectText()
107 launchFragment<DeletionFragment>(Bundle()) { in deleteCategoryData_timeRangeDialog_showsCorrectText()
139 launchFragment<DeletionFragment>(Bundle()) { in deletePermissionTypeData_timeRangeDialog_showsCorrectText()
172 launchFragment<DeletionFragment>(Bundle()) { in deleteAppData_timeRangeDialog_showsCorrectText()
205 launchFragment<DeletionFragment>(Bundle()) { in deleteAllData_confirmationDialogForOneDay_showsCorrectText()
238 launchFragment<DeletionFragment>(Bundle()) { in deleteAllData_confirmationDialogForOneWeek_showsCorrectText()
271 launchFragment<DeletionFragment>(Bundle()) { in deleteAllData_confirmationDialogForOneMonth_showsCorrectText()
304 launchFragment<DeletionFragment>(Bundle()) { in deleteAllData_confirmationDialogForAllTime_showsCorrectText()
338 launchFragment<DeletionFragment>(Bundle()) { in deleteCategoryData_confirmationDialogForOneDay_showsCorrectText()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/
DConnectedAppsFragmentTest.kt57 import com.android.healthconnect.controller.tests.utils.launchFragment
143 launchFragment<ConnectedAppsFragment>(Bundle()) in test_allowedApps()
154 launchFragment<ConnectedAppsFragment>(Bundle()) in test_deniedApps()
166 launchFragment<ConnectedAppsFragment>(Bundle()) in allowedApps_removeAccessEnabled()
177 val scenario = launchFragment<ConnectedAppsFragment>(Bundle()) in allowedApps_confirmationDialogDisplayed_dialogDoesNotDisAppearWhenActivityRestarts()
195 launchFragment<ConnectedAppsFragment>(Bundle()) in noAllowedApps_removeAccessDisabled()
206 launchFragment<ConnectedAppsFragment>(Bundle()) in showsLoading()
216 launchFragment<ConnectedAppsFragment>(Bundle()) in dismissLoading()
226 launchFragment<ConnectedAppsFragment>(Bundle()) in inactiveApp_showsInactiveApps()
239 launchFragment<ConnectedAppsFragment>(Bundle()) in whenClickOnInactiveApp_showsDeleteDataDialog()
[all …]
DConnectedAppFragmentTest.kt58 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
156 launchFragment<ConnectedAppFragment>( in <lambda>()
183 launchFragment<ConnectedAppFragment>( in <lambda>()
212 launchFragment<ConnectedAppFragment>( in <lambda>()
243 launchFragment<ConnectedAppFragment>( in <lambda>()
286 launchFragment<ConnectedAppFragment>( in <lambda>()
316 launchFragment<ConnectedAppFragment>( in <lambda>()
341 launchFragment<ConnectedAppFragment>( in <lambda>()
369 launchFragment<ConnectedAppFragment>( in <lambda>()
393 launchFragment<ConnectedAppFragment>( in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/managedata/
DManageDataFragmentTest.kt24 import com.android.healthconnect.controller.tests.utils.launchFragment
84 launchFragment<ManageDataFragment>(Bundle()) in manageDataFragmentLogging_impressionsLogged()
97 launchFragment<ManageDataFragment>(Bundle()) in manageDataFragment_isDisplayed_newAppPriorityFlagOn()
107 launchFragment<ManageDataFragment>(Bundle()) in manageDataFragment_isDisplayed_newAppPriorityFlagOff()
117 launchFragment<ManageDataFragment>(Bundle()) in manageDataFragment_importExportFlagOff_preferenceCategoriesAndBackupButtonNotDisplayed()
129 launchFragment<ManageDataFragment>(Bundle()) in manageDataFragment_importExportFlagOn_displayedCorrectly()
141 launchFragment<ManageDataFragment>(Bundle()) { in autoDelete_navigatesToAutoDelete()
156 launchFragment<ManageDataFragment>(Bundle()) { in dataSources_navigatesToDataSources()
172 launchFragment<ManageDataFragment>(Bundle()) { in setUnits_navigatesToSetUnitsFragment()
187 launchFragment<ManageDataFragment>(Bundle()) { in manageDataFragment_importExportFlagOn_navigatesToBackupAndRestoreSettingsFragment()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt26 import androidx.fragment.app.testing.launchFragment
70 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in launchFragment_withoutArguments_finish()
89 val scenario = launchFragment<TestDataUsageList>( in launchFragment_isGuestUser_finish()
106 val scenario = launchFragment<TestDataUsageList>( in launchFragment_withArguments_getTemplateFromArgument()
125 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in launchFragment_withIntent_getTemplateFromIntent()
144 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_wifiAndHasSim_displayNonCarrierWarning()
162 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_wifiAndNoSim_noWarning()
176 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_mobile_operatorWarning()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/additionalaccess/
DAdditionalAccessFragmentTest.kt56 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
117 launchFragment<AdditionalAccessFragment>( in <lambda>()
125 launchFragment<AdditionalAccessFragment>( in <lambda>()
138 launchFragment<AdditionalAccessFragment>( in <lambda>()
156 launchFragment<AdditionalAccessFragment>( in <lambda>()
170 launchFragment<AdditionalAccessFragment>( in <lambda>()
188 launchFragment<AdditionalAccessFragment>( in <lambda>()
229 launchFragment<AdditionalAccessFragment>( in <lambda>()
267 launchFragment<AdditionalAccessFragment>( in <lambda>()
308 launchFragment<AdditionalAccessFragment>( in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DAccessFragmentTest.kt44 import com.android.healthconnect.controller.tests.utils.launchFragment
77 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_noSections_noneDisplayed()
101 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_readSection_isDisplayed()
125 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_readAndWriteSections_isDisplayed()
149 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_inactiveSection_isDisplayed()
168 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_loadingState_showsLoading()
177 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_withData_hidesLoading()
186 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_withError_showError()
203 launchFragment<AccessFragment>(distanceBundle()) { in whenAppNameClicked_navigatesToConnectedApp()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/
DDeletionFragmentTest.kt31 import com.android.healthconnect.controller.tests.utils.launchFragment
58 launchFragment<DeletionFragment>(Bundle()) { in deletePermissionTypesData_confirmationDeleteDialog_showsCorrectText()
82 launchFragment<DeletionFragment>(Bundle()) { in deleteFragment_confirmationDeleteDialog_cancelButton_exitsDialog()
108 launchFragment<DeletionFragment>(Bundle()) { in deletePermissionTypesData_progressIndicatorCanStartState_progressDialogShown()
134 launchFragment<DeletionFragment>(Bundle()) { in deleteFragment_completedState_progressDialogDisappears()
158 launchFragment<DeletionFragment>(Bundle()) { in deleteFragment_completedState_successDialogShown()
186 launchFragment<DeletionFragment>(Bundle()) { in deleteFragment_failedState_failureDialogShown()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DMedicalPermissionsFragmentTest.kt52 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
123 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
166 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
190 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
213 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
234 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
256 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
280 val activityScenario = launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
310 val activityScenario = launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
342 launchFragment<MedicalPermissionsFragment>(bundleOf()) in <lambda>()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DAllEntriesFragmentTest.kt47 import com.android.healthconnect.controller.tests.utils.launchFragment in <lambda>()
94 launchFragment<AllEntriesFragment>( in <lambda>()
108 launchFragment<AllEntriesFragment>( in <lambda>()
122 launchFragment<AllEntriesFragment>( in <lambda>()
136 launchFragment<AllEntriesFragment>( in <lambda>()
150 launchFragment<AllEntriesFragment>( in <lambda>()
167 launchFragment<AllEntriesFragment>( in <lambda>()
182 launchFragment<AllEntriesFragment>( in <lambda>()
DAppEntriesFragmentTest.kt44 import com.android.healthconnect.controller.tests.utils.launchFragment
90 launchFragment<AppEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in appEntriesInit_showsDateNavigationPreference()
99 launchFragment<AppEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in appEntriesInit_noData_showsNoData()
108 launchFragment<AppEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in appEntriesInit_error_showsNoData()
117 launchFragment<AppEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in appEntriesInit_loading_showsLoading()
126 launchFragment<AppEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in appEntriesInit_withData_showsListOfEntries()
138 launchFragment<AppEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in appEntries_withData_notShowingDeleteAction()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDataEntriesFragmentTest.kt41 import com.android.healthconnect.controller.tests.utils.launchFragment
95 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntriesInit_showsDateNavigationPreference()
109 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntriesInit_noData_showsNoData()
118 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntriesInit_error_showsNoData()
127 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntriesInit_loading_showsLoading()
137 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntriesInit_withData_showsListOfEntries()
156 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to PLANNED_EXERCISE)) in dataEntriesInit_withPlannedExerciseData_showsListOfPlannedExerciseEntries()
173 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntries_withData_showsDeleteAction()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataaccess/
DHealthDataAccessFragmentTest.kt36 import com.android.healthconnect.controller.tests.utils.launchFragment
79 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_noSections_noneDisplayed()
103 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_readSection_isDisplayed()
127 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_readAndWriteSections_isDisplayed()
158 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_inactiveSection_isDisplayed()
178 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_loadingState_showsLoading()
187 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_withData_hidesLoading()
196 launchFragment<HealthDataAccessFragment>(distanceBundle()) in dataAccessFragment_withError_showError()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/entrydetails/
DDataEntryDetailsFragmentTest.kt75 import com.android.healthconnect.controller.tests.utils.launchFragment
126 launchFragment<DataEntryDetailsFragment>( in dataEntriesDetailsInit_showsFragment()
137 launchFragment<DataEntryDetailsFragment>( in dataEntriesDetailsInit_error_showsError()
148 launchFragment<DataEntryDetailsFragment>( in dataEntriesDetailsInit_loading_showsLoading()
171 launchFragment<DataEntryDetailsFragment>( in dataEntriesDetailsInit_withData_showsItem()
192 launchFragment<DataEntryDetailsFragment>( in dataEntriesDetailsInit_withDetails_showsItem_showsDetails()
207 launchFragment<DataEntryDetailsFragment>( in dataEntriesDetailsInit_withHeartRate_showsItem_showsDetails()
224 launchFragment<DataEntryDetailsFragment>( in dataEntriesInit_withSkinTemperature_showsItem_showsDetails()
248 launchFragment<DataEntryDetailsFragment>( in dataEntriesInit_withSkinTemperature_locationUnknown_hidesLocationDetail()
272 launchFragment<DataEntryDetailsFragment>( in dataEntriesInit_withSkinTemperature_baselineUnknown_hidesBaselineDetail()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/
DHealthPermissionTypesFragmentTest.kt50 import com.android.healthconnect.controller.tests.utils.launchFragment
141 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in deletePermissionTypeData_showsDialog()
187 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_activityCategory_isDisplayed()
232 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_activityCategory_trainingPlansAvailable_isDisplayed()
268 launchFragment<HealthPermissionTypesFragment>(sleepCategoryBundle()) in permissionTypesFragment_sleepCategory_isDisplayed()
300 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
340 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton()
383 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_priorityListDialog_isDisplayed()
440 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_priorityListDialog_priorityListChanged_appsAreArrangedCorrectly()
475 launchFragment<HealthPermissionTypesFragment>(activityCategoryBundle()) in permissionTypesFragment_withTwoOrMoreContributingApps_appFilters_areDisplayed()
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/
DSettingsManagePermissionFragmentTest.kt48 import com.android.healthconnect.controller.tests.utils.launchFragment
116 launchFragment<SettingsManagePermissionFragment>(Bundle()) in test_displaysSections()
129 launchFragment<SettingsManagePermissionFragment>(Bundle()) in test_allowedApps()
140 launchFragment<SettingsManagePermissionFragment>(Bundle()) in test_deniedApps()
151 launchFragment<SettingsManagePermissionFragment>(Bundle()) in test_accessedHealthData_showsRecentAccessSummary()
161 launchFragment<SettingsManagePermissionFragment>(Bundle()) in test_inactiveApp_doesNotShowInactiveApps()
175 launchFragment<SettingsManagePermissionFragment>(Bundle()) in test_all()
209 val scenario = launchFragment<SettingsManagePermissionFragment>(Bundle()) in whenMigrationInProgress_showsMigrationInProgressDialog()
253 val scenario = launchFragment<SettingsManagePermissionFragment>(Bundle()) in whenRestoreInProgress_showsRestoreInProgressDialog()

12345