Home
last modified time | relevance | path

Searched refs:STEPS (Results 1 – 25 of 52) sorted by relevance

123

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadLastDateWithPriorityDataUseCaseTest.kt101 val result = loadLastDateWithPriorityDataUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
116 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
120 val result = loadLastDateWithPriorityDataUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
135 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
139 val result = loadLastDateWithPriorityDataUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
155 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
159 val result = loadLastDateWithPriorityDataUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
173 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
178 healthPermissionType = HealthPermissionType.STEPS, in <lambda>()
184 val result = loadLastDateWithPriorityDataUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
[all …]
DLoadMostRecentAggregationsUseCaseTest.kt88 HealthPermissionType.STEPS, stepsDate) in <lambda>()
103 HealthPermissionType.STEPS, in <lambda>()
125 HealthPermissionType.STEPS, stepsDate) in loadMostRecentAggregations_forActivity_whenNoStepsData_returnsInOrder_DistanceCalories()
158 HealthPermissionType.STEPS, stepsDate) in loadMostRecentAggregations_forActivity_whenNoDistanceData_returnsInOrder_StepsCalories()
173 HealthPermissionType.STEPS, in loadMostRecentAggregations_forActivity_whenNoDistanceData_returnsInOrder_StepsCalories()
191 HealthPermissionType.STEPS, stepsDate) in loadMostRecentAggregations_forActivity_whenNoCaloriesData_returnsInOrder_StepsDistance()
206 HealthPermissionType.STEPS, in loadMostRecentAggregations_forActivity_whenNoCaloriesData_returnsInOrder_StepsDistance()
294 HealthPermissionType.STEPS, stepsDate) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DAppEntriesFragmentTest.kt38 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
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()
153 dataType = DataType.STEPS),
160 dataType = DataType.STEPS))
DAllEntriesFragmentTest.kt41 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS in <lambda>()
95 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
109 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
123 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
137 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
151 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
168 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
183 bundleOf(PERMISSION_TYPE_KEY to STEPS)) in <lambda>()
214 dataType = DataType.STEPS),
221 dataType = DataType.STEPS))
DEntriesViewModelTest.kt65 dataType = DataType.STEPS) in formattedAggregation()
73 dataType = DataType.STEPS) in formattedAggregation()
122 HealthPermissionType.STEPS, in <lambda>()
141 HealthPermissionType.STEPS, in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDataEntriesFragmentTest.kt38 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
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()
173 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in dataEntries_withData_showsDeleteAction()
187 dataType = DataType.STEPS),
194 dataType = DataType.STEPS),
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DFilterPermissionTypesUseCaseTest.kt60 HealthPermissionCategory.STEPS, in <lambda>()
77 Truth.assertThat(testApp1FilteredPermissionCategories).contains(HealthPermissionType.STEPS) in <lambda>()
94 HealthPermissionCategory.STEPS, in <lambda>()
99 HealthPermissionCategory.STEPS, in <lambda>()
121 Truth.assertThat(result).contains(HealthPermissionType.STEPS) in <lambda>()
DLoadPermissionTypesUseCaseTest.kt60 HealthPermissionCategory.STEPS, in <lambda>()
78 listOf(HealthPermissionType.STEPS, HealthPermissionType.EXERCISE)) in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissions/data/
DHealthPermissionType.kt29 STEPS(HealthPermissionCategory.STEPS),
85 HealthPermissionCategory.STEPS -> HealthPermissionType.STEPS in fromHealthPermissionCategory()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utiltests/
DDatePickerFactoryTest.kt20 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
46 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) { in create_respectSelectedDate()
62 launchFragment<DataEntriesFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) { in create_respectMaxDate()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/access/
DLoadAccessUseCaseTest.kt61 val actual = (useCase.invoke(HealthPermissionType.STEPS) as UseCaseResults.Success).data in <lambda>()
72 FitnessPermission(HealthPermissionType.STEPS, PermissionsAccessType.WRITE).toString() in <lambda>()
76 val actual = (useCase.invoke(HealthPermissionType.STEPS) as UseCaseResults.Success).data in <lambda>()
DLoadPermissionTypeContributorAppsUseCaseTest.kt65 val result = loadPermissionTypeContributorAppsUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
76 HealthPermissionCategory.STEPS, in <lambda>()
95 val result = loadPermissionTypeContributorAppsUseCase.invoke(HealthPermissionType.STEPS) in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entriesandaccess/
DEntriesAndAccessFragmentTest.kt24 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
44 launchFragment<EntriesAndAccessFragment>(bundleOf(PERMISSION_TYPE_KEY to STEPS)) in entriesAndAccessInit_showsTabs()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/shared/
DFitnessPermissionToDatatypeMapperTest.kt28 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
37 assertThat(getDataTypes(STEPS)) in getDataTypes_steps_returnsCorrectRecords()
/packages/modules/HealthFitness/framework/java/android/health/connect/
DHealthPermissionCategory.java68 public static final int STEPS = 6; field in HealthPermissionCategory
185 STEPS,
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/
DLoadDataAggregationsUseCase.kt44 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS in <lambda>()
76 STEPS -> { in <lambda>()
131 STEPS -> in <lambda>()
DDataEntriesFragmentViewModel.kt27 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
47 private val AGGREGATE_HEADER_DATA_TYPES = listOf(STEPS, DISTANCE, TOTAL_CALORIES_BURNED)
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/
DDeletionViewModelTest.kt84 HealthPermissionType.STEPS) in deleteSet_setCorrectly()
92 HealthPermissionType.STEPS)) in deleteSet_setCorrectly()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/api/
DLoadDataAggregationsUseCase.kt43 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS in <lambda>()
86 STEPS -> { in <lambda>()
159 STEPS -> in <lambda>()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java341 final int STEPS = 5; in gesture() local
342 for (int j = 0; j < STEPS; ++j) { in gesture()
344 pointers.addPointer(oldPoint.x + ((newPoint.x - oldPoint.x) * j) / STEPS, in gesture()
345 oldPoint.y + ((newPoint.y - oldPoint.y) * j) / STEPS, in gesture()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/
DHealthPermissionTypesFragmentTest.kt125 HealthPermissionType.STEPS))) in deletePermissionTypeData_showsDialog()
171 HealthPermissionType.STEPS))) in permissionTypesFragment_activityCategory_isDisplayed()
285 HealthPermissionType.STEPS))) in permissionTypesFragment_emptyPriorityList_noPriorityButton()
327 HealthPermissionType.STEPS))) in permissionTypesFragment_oneAppInPriorityList_noPriorityButton()
367 HealthPermissionType.STEPS))) in permissionTypesFragment_priorityListDialog_isDisplayed()
421 HealthPermissionType.STEPS))) in permissionTypesFragment_priorityListDialog_priorityListChanged_appsAreArrangedCorrectly()
459 HealthPermissionType.STEPS))) in permissionTypesFragment_withTwoOrMoreContributingApps_appFilters_areDisplayed()
550 HealthPermissionType.STEPS))) in permissionTypesFragment_activityCategory_whenNewPriorityEnabled_showsNewAppPriorityButton()
907 HealthPermissionType.STEPS))) in setupFragmentForNavigationTesting()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/
DDataSourcesFragmentTest.kt124 HealthPermissionType.STEPS, in <lambda>()
138 HealthPermissionType.STEPS, in <lambda>()
215 HealthPermissionType.STEPS, in <lambda>()
229 HealthPermissionType.STEPS, in <lambda>()
279 HealthPermissionType.STEPS, in <lambda>()
293 HealthPermissionType.STEPS, in <lambda>()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/
DEntriesViewModel.kt32 import com.android.healthconnect.controller.permissions.data.HealthPermissionType.STEPS
55 private val AGGREGATE_HEADER_DATA_TYPES = listOf(STEPS, DISTANCE, TOTAL_CALORIES_BURNED)
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/utils/
DRecordTypePermissionCategoryMapper.java80 put(RECORD_TYPE_STEPS, HealthPermissionCategory.STEPS); in populateDataTypeHealthPermissionCategoryMap()
90 put(RECORD_TYPE_STEPS_CADENCE, HealthPermissionCategory.STEPS); in populateDataTypeHealthPermissionCategoryMap()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataViewModelTest.kt121 HealthPermissionCategory.STEPS, in <lambda>()
148 HealthDataCategory.ACTIVITY, listOf(HealthPermissionType.STEPS)), in <lambda>()

123