/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/ |
D | HealthPermissionTypesFragmentTest.kt | 45 import com.android.healthconnect.controller.tests.utils.TEST_APP 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() 331 HealthPermissionTypesViewModel.PriorityListState.WithData(listOf(TEST_APP))) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/ |
D | DataSourcesFragmentTest.kt | 45 import com.android.healthconnect.controller.tests.utils.TEST_APP 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 | 14 import com.android.healthconnect.controller.tests.utils.TEST_APP 99 val editedPriorityList = listOf(TEST_APP, TEST_APP_2) in <lambda>() 119 val priorityList = listOf(TEST_APP, TEST_APP_2) in <lambda>() 141 val newPriorityList = listOf(TEST_APP_3.packageName, TEST_APP.packageName) in <lambda>()
|
D | AddAnAppFragmentTest.kt | 34 import com.android.healthconnect.controller.tests.utils.TEST_APP 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 | 26 import com.android.healthconnect.controller.tests.utils.TEST_APP 94 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>() 106 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>() 115 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>() 131 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>() 143 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>() 152 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in <lambda>() 158 listOf(ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED)))) in <lambda>()
|
D | ConnectedAppsFragmentTest.kt | 51 import com.android.healthconnect.controller.tests.utils.TEST_APP 140 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = ALLOWED)) in test_allowedApps() 152 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = DENIED)) in test_deniedApps() 163 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = ALLOWED)) in allowedApps_removeAccessEnabled() 173 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = ALLOWED)) in allowedApps_confirmationDialogDisplayed_dialogDoesNotDisAppearWhenActivityRestarts() 192 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = DENIED)) in noAllowedApps_removeAccessDisabled() 202 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = DENIED)) in showsLoading() 213 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = DENIED)) in dismissLoading() 223 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = INACTIVE)) in inactiveApp_showsInactiveApps() 236 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = INACTIVE)) in whenClickOnInactiveApp_showsDeleteDataDialog() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/home/ |
D | HomeFragmentTest.kt | 56 import com.android.healthconnect.controller.tests.utils.TEST_APP in <lambda>() 214 metadata = TEST_APP, in <lambda>() 249 metadata = TEST_APP, in <lambda>() 291 metadata = TEST_APP, in <lambda>() 329 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>() 354 MutableLiveData(listOf(ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED))) in <lambda>() 377 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>() 402 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>() 430 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>() 466 ConnectedAppMetadata(TEST_APP, ConnectedAppStatus.ALLOWED), in <lambda>() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 20 import com.android.healthconnect.controller.tests.utils.TEST_APP in <lambda>() 111 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP)) in <lambda>() 129 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP)) in <lambda>() 150 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP)) in <lambda>() 170 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP)) 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>() [all …]
|
D | LoadPriorityEntriesUseCaseTest.kt | 19 import com.android.healthconnect.controller.tests.utils.TEST_APP in <lambda>() 85 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP)) in <lambda>() 133 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2)) in <lambda>() 218 loadPriorityListUseCase.updatePriorityList(listOf(TEST_APP, TEST_APP_2)) in <lambda>()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/route/ |
D | RouteRequestActivityTest.kt | 52 import com.android.healthconnect.controller.tests.utils.TEST_APP in <lambda>() 172 MutableLiveData(SessionWithAttribution(TEST_SESSION, TEST_APP)) in <lambda>() 191 MutableLiveData(SessionWithAttribution(TEST_SESSION, TEST_APP)) in <lambda>() 216 TEST_APP)) in <lambda>() 241 TEST_APP)) in <lambda>() 261 MutableLiveData(SessionWithAttribution(TEST_SESSION, TEST_APP)) in <lambda>() 320 TEST_APP)) in <lambda>() 353 MutableLiveData(SessionWithAttribution(TEST_SESSION, TEST_APP)) in <lambda>() 389 MutableLiveData(SessionWithAttribution(TEST_SESSION, TEST_APP)) in <lambda>() 410 MutableLiveData(SessionWithAttribution(TEST_SESSION, TEST_APP)) in <lambda>() [all …]
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/settings/ |
D | SettingsManagePermissionFragmentTest.kt | 44 import com.android.healthconnect.controller.tests.utils.TEST_APP 126 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = ALLOWED)) in test_allowedApps() 137 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = DENIED)) in test_deniedApps() 148 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = ALLOWED, NOW)) in test_accessedHealthData_showsRecentAccessSummary() 158 val connectApp = listOf(ConnectedAppMetadata(TEST_APP, status = INACTIVE)) in test_inactiveApp_doesNotShowInactiveApps() 171 ConnectedAppMetadata(TEST_APP, status = DENIED), in test_all() 205 ConnectedAppMetadata(TEST_APP, status = DENIED), in whenMigrationInProgress_showsMigrationInProgressDialog() 249 ConnectedAppMetadata(TEST_APP, status = DENIED), in whenRestoreInProgress_showsRestoreInProgressDialog()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/recentaccess/ |
D | RecentAccessViewModelTest.kt | 33 import com.android.healthconnect.controller.tests.utils.TEST_APP in <lambda>() 234 metadata = TEST_APP, in <lambda>() 301 metadata = TEST_APP, in <lambda>() 314 metadata = TEST_APP, in <lambda>() 412 metadata = TEST_APP, in <lambda>() 464 metadata = TEST_APP, in <lambda>() 555 metadata = TEST_APP, in <lambda>() 573 metadata = TEST_APP, in <lambda>()
|
D | RecentAccessFragmentTest.kt | 85 metadata = TEST_APP, in test_RecentAccessFragment_displaysCorrectly() 144 metadata = TEST_APP, in test_RecentAccessFragment_inactiveApp_doesNotNavigate() 189 metadata = TEST_APP, in test_RecentAccessFragment_display12HourFormatCorrectly()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/connectedapps/searchapps/ |
D | SearchAppsFragmentTest.kt | 15 import com.android.healthconnect.controller.tests.utils.TEST_APP 67 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in searchAppsFragment_isDisplayedCorrectly() 94 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.DENIED), in noAppsAllowed_doesNotShowAllowedAccessSection() 115 ConnectedAppMetadata(TEST_APP, status = ConnectedAppStatus.ALLOWED), in noAppsDenied_doesNotShowAllowedAccessSection()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/ |
D | AccessViewModelTest.kt | 8 import com.android.healthconnect.controller.tests.utils.TEST_APP 61 AppAccessState.Read to listOf(TEST_APP, TEST_APP_2), in <lambda>()
|
D | LoadAccessUseCaseTest.kt | 12 import com.android.healthconnect.controller.tests.utils.TEST_APP 70 fakeLoadPermissionTypeContributorAppsUseCase.updateList(listOf(TEST_APP, TEST_APP_2)) in <lambda>()
|
D | AccessFragmentTest.kt | 42 import com.android.healthconnect.controller.tests.utils.TEST_APP 195 AppAccessState.Read to listOf(TEST_APP), in whenAppNameClicked_navigatesToConnectedApp()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/ |
D | AdditionalPermissionsFragmentTest.kt | 35 import com.android.healthconnect.controller.tests.utils.TEST_APP 267 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in allowButton_noAdditionalPermissionsSelected_isDisabled() 305 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in allowButton_additionalPermissionsSelected_isEnabled() 342 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in allowButton_medicalRequestConcluded_isEnabled()
|
D | MockedPermissionsActivityTest.kt | 65 import com.android.healthconnect.controller.tests.utils.TEST_APP in <lambda>() 223 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in <lambda>() 253 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in <lambda>() 283 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in <lambda>() 325 permissions.toPermissionsList().map { it as AdditionalPermission }, TEST_APP)) in <lambda>() 384 MutableLiveData(AdditionalPermissionsInfo(additionalPermissionsList, TEST_APP)) in <lambda>() 463 MutableLiveData(AdditionalPermissionsInfo(additionalPermissionsList, TEST_APP)) in <lambda>() 541 MutableLiveData(AdditionalPermissionsInfo(additionalPermissionsList, TEST_APP)) in <lambda>()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | InstallPackageTaskTest.java | 64 private static final String TEST_APP = "com.android.bedstead.testapp.EmptyTestApp"; field in InstallPackageTaskTest 198 .wherePackageName().isEqualTo(TEST_APP) in writeApkToInstall()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/navigation/ |
D | TrampolineActivityTest.kt | 64 import com.android.healthconnect.controller.tests.utils.TEST_APP 140 whenever(appPermissionViewModel.appInfo).then { MutableLiveData(TEST_APP) } in setup()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/ |
D | TestConstants.kt | 435 val TEST_APP = constant
|