Home
last modified time | relevance | path

Searched refs:TEST_APP_2 (Results 1 – 16 of 16) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/
DHealthPermissionTypesFragmentTest.kt46 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/
DDataSourcesFragmentTest.kt46 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 …]
DDataSourcesViewModelTest.kt15 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>()
DAddAnAppFragmentTest.kt35 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/
DConnectedAppsViewModelTest.kt27 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>()
DConnectedAppsFragmentTest.kt52 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/
DHomeFragmentTest.kt57 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/
DAccessViewModelTest.kt9 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>()
DLoadAccessUseCaseTest.kt13 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/
DSearchAppsFragmentTest.kt16 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/
DRecentAccessViewModelTest.kt34 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>()
DRecentAccessFragmentTest.kt100 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/
DLoadLastDateWithPriorityDataUseCaseTest.kt21 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>()
DLoadPriorityEntriesUseCaseTest.kt20 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/
DSettingsManagePermissionFragmentTest.kt45 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/
DTestConstants.kt437 val TEST_APP_2 = constant