/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/ |
D | HealthPermissionTypesFragmentTest.kt | 46 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 130 listOf(TEST_APP, TEST_APP_2))) in deletePermissionTypeData_showsDialog() 138 MutableLiveData(listOf(TEST_APP, TEST_APP_2)) in deletePermissionTypeData_showsDialog() 176 listOf(TEST_APP, TEST_APP_2))) in permissionTypesFragment_activityCategory_isDisplayed() 184 MutableLiveData(listOf(TEST_APP, TEST_APP_2)) in permissionTypesFragment_activityCategory_isDisplayed() 222 PriorityListState.WithData(listOf(TEST_APP, TEST_APP_2))) in permissionTypesFragment_activityCategory_trainingPlansAvailable_isDisplayed() 229 MutableLiveData(listOf(TEST_APP, TEST_APP_2)) in permissionTypesFragment_activityCategory_trainingPlansAvailable_isDisplayed() 255 listOf(TEST_APP, TEST_APP_2))) in permissionTypesFragment_sleepCategory_isDisplayed() 263 MutableLiveData(listOf(TEST_APP, TEST_APP_2)) in permissionTypesFragment_sleepCategory_isDisplayed() 372 listOf(TEST_APP, TEST_APP_2))) in permissionTypesFragment_priorityListDialog_isDisplayed() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/ |
D | DataSourcesFragmentTest.kt | 46 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 in <lambda>() 116 PriorityListState.WithData(true, listOf(TEST_APP, TEST_APP_2)), in <lambda>() 131 .thenReturn(listOf(TEST_APP, TEST_APP_2)) in <lambda>() 160 PriorityListState.WithData(true, listOf(TEST_APP, TEST_APP_2)), in <lambda>() 164 whenever(dataSourcesViewModel.getEditedPriorityList()).then { listOf(TEST_APP, TEST_APP_2) } in <lambda>() 208 PriorityListState.WithData(true, listOf(TEST_APP, TEST_APP_2)), in <lambda>() 222 .thenReturn(listOf(TEST_APP, TEST_APP_2)) in <lambda>() 272 PriorityListState.WithData(true, listOf(TEST_APP, TEST_APP_2)), in <lambda>() 286 .thenReturn(listOf(TEST_APP, TEST_APP_2)) in <lambda>() 311 PriorityListState.WithData(true, listOf(TEST_APP, TEST_APP_2)), in <lambda>() [all …]
|
D | DataSourcesViewModelTest.kt | 15 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 99 val editedPriorityList = listOf(TEST_APP, TEST_APP_2) in <lambda>() 106 val editedAppSources = listOf(TEST_APP_2, TEST_APP_3) in <lambda>() 119 val priorityList = listOf(TEST_APP, TEST_APP_2) in <lambda>()
|
D | AddAnAppFragmentTest.kt | 35 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 88 true, listOf(TEST_APP, TEST_APP_2, TEST_APP_3)))) in fragmentIsDisplayed() 140 true, listOf(TEST_APP, TEST_APP_2, TEST_APP_3)))) in addAnApp_navigatesBackToDataSourcesFragment()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/ |
D | ConnectedAppsViewModelTest.kt | 27 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 95 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>() 107 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>() 116 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>() 132 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>() 144 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>() 153 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in <lambda>()
|
D | ConnectedAppsFragmentTest.kt | 52 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 313 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in test_all() 338 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in eitherFeedbackOrPlayStoreAvailable_helpAndFeedbackPreferenceShouldBeDisplayed() 355 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in bothFeedbackAndPlayStoreNotAvailable_helpAndFeedbackPreferenceShouldNotBeDisplayed() 371 ConnectedAppMetadata(TEST_APP_2, status = DENIED), in appNeedsUpdatingElements_shownWhenOldAppWithDataInstalled() 402 ConnectedAppMetadata(TEST_APP_2, status = DENIED), in appNeedsUpdateBanner_multipleOldApps_playStoreNotAvailable_showsCorrectly() 428 ConnectedAppMetadata(TEST_APP_2, status = DENIED), in appNeedsUpdateBanner_navigatesToPlayStoreWhenAvailable() 454 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in setupFragmentForNavigation()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/ |
D | HomeFragmentTest.kt | 57 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 in <lambda>() 330 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 378 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.DENIED))) in <lambda>() 403 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 431 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 467 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 507 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 552 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 599 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() 636 ConnectedAppMetadata(TEST_APP_2, ConnectedAppStatus.ALLOWED))) in <lambda>() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/ |
D | AccessViewModelTest.kt | 9 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 61 AppAccessState.Read to listOf(TEST_APP, TEST_APP_2), in <lambda>() 62 AppAccessState.Write to listOf(TEST_APP_2), in <lambda>()
|
D | LoadAccessUseCaseTest.kt | 13 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 70 fakeLoadPermissionTypeContributorAppsUseCase.updateList(listOf(TEST_APP, TEST_APP_2)) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/searchapps/ |
D | SearchAppsFragmentTest.kt | 16 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 68 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in searchAppsFragment_isDisplayedCorrectly() 95 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.DENIED), in noAppsAllowed_doesNotShowAllowedAccessSection() 116 ConnectedAppMetadata(TEST_APP_2, status = ConnectedAppStatus.ALLOWED), in noAppsDenied_doesNotShowAllowedAccessSection()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/ |
D | RecentAccessViewModelTest.kt | 34 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 in <lambda>() 138 metadata = TEST_APP_2, in <lambda>() 221 metadata = TEST_APP_2, in <lambda>() 353 metadata = TEST_APP_2, in <lambda>() 362 metadata = TEST_APP_2, in <lambda>() 564 metadata = TEST_APP_2, in <lambda>()
|
D | RecentAccessFragmentTest.kt | 100 metadata = TEST_APP_2, in test_RecentAccessFragment_displaysCorrectly() 159 metadata = TEST_APP_2, in test_RecentAccessFragment_inactiveApp_doesNotNavigate()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 21 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 in <lambda>() 193 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2, TEST_APP_3)) in <lambda>() 247 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2, TEST_APP_3)) in <lambda>() 287 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2, TEST_APP_3)) in <lambda>() 334 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2, TEST_APP_3)) in <lambda>() 381 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2, TEST_APP_3)) in <lambda>()
|
D | LoadPriorityEntriesUseCaseTest.kt | 20 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 in <lambda>() 133 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2)) in <lambda>() 218 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2)) in <lambda>() 318 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP_2, TEST_APP_3)) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManagePermissionFragmentTest.kt | 45 import com.android.healthconnect.controller.tests.utils.TEST_APP_2 172 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in test_all() 206 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in whenMigrationInProgress_showsMigrationInProgressDialog() 250 ConnectedAppMetadata(TEST_APP_2, status = ALLOWED)) in whenRestoreInProgress_showsRestoreInProgressDialog()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | TestConstants.kt | 437 val TEST_APP_2 = constant
|