Home
last modified time | relevance | path

Searched refs:insertStepsRecordViaTestApp (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/historicaccess/
DHistoricAccessLimitWithPermissionTest.java95 insertStepsRecordViaTestApp(daysBeforeNow(2), daysBeforeNow(1), 13); in testReadIntervalRecordsByFilters_expectCorrectResponse()
97 insertStepsRecordViaTestApp(daysBeforeNow(50), daysBeforeNow(40), 14); in testReadIntervalRecordsByFilters_expectCorrectResponse()
147 insertStepsRecordViaTestApp(daysBeforeNow(2), daysBeforeNow(1), 13), in testReadIntervalRecordsByIds_expectCorrectResponse()
148 insertStepsRecordViaTestApp(daysBeforeNow(50), daysBeforeNow(40), 14)); in testReadIntervalRecordsByIds_expectCorrectResponse()
187 insertStepsRecordViaTestApp( in testAggregateIntervalRecords_expectCorrectResponse()
189 insertStepsRecordViaTestApp( in testAggregateIntervalRecords_expectCorrectResponse()
281 private String insertStepsRecordViaTestApp(Instant startTime, Instant endTime, long value) { in insertStepsRecordViaTestApp() method in HistoricAccessLimitWithPermissionTest
282 return TestUtils.insertStepsRecordViaTestApp(mContext, startTime, endTime, value); in insertStepsRecordViaTestApp()
DHistoricAccessLimitTest.java97 insertStepsRecordViaTestApp(daysBeforeNow(2), daysBeforeNow(1), 13); in testReadIntervalRecordsByFilters_expectCorrectResponse()
99 insertStepsRecordViaTestApp(daysBeforeNow(50), daysBeforeNow(40), 14); in testReadIntervalRecordsByFilters_expectCorrectResponse()
147 insertStepsRecordViaTestApp(daysBeforeNow(50), daysBeforeNow(40), 14); in testReadIntervalRecordsByIds_expectCorrectResponse()
153 insertStepsRecordViaTestApp(daysBeforeNow(2), daysBeforeNow(1), 13), in testReadIntervalRecordsByIds_expectCorrectResponse()
207 insertStepsRecordViaTestApp( in testAggregateIntervalRecords_expectCorrectResponse()
209 insertStepsRecordViaTestApp( in testAggregateIntervalRecords_expectCorrectResponse()
452 private String insertStepsRecordViaTestApp(Instant startTime, Instant endTime, long value) { in insertStepsRecordViaTestApp() method in HistoricAccessLimitTest
453 return TestUtils.insertStepsRecordViaTestApp(mContext, startTime, endTime, value); in insertStepsRecordViaTestApp()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/backgroundread/
DBackgroundReadTest.java28 import static android.healthconnect.cts.utils.TestUtils.insertStepsRecordViaTestApp;
118 String insertedId = insertStepsRecordViaTestApp(mContext, NOW, NOW.plus(1, MINUTES), 10); in testReadRecordsByFilters_inBackgroundWithoutPermission_canReadOwnData()
136 insertStepsRecordViaTestApp(mContext, NOW, NOW.plus(1, MINUTES), 10); in testReadRecordsByFilters_inBackgroundWithPermission_canReadBothOwnAndOtherAppsData()
156 insertStepsRecordViaTestApp(mContext, NOW, NOW.plus(1, MINUTES), 10); in testReadRecordsByIds_inBackgroundWithoutPermission_canReadOnlyOwnData()
175 insertStepsRecordViaTestApp(mContext, NOW, NOW.plus(1, MINUTES), 10); in testReadRecordsByIds_inBackgroundWithPermission_canReadBothOwnAndOtherAppsData()
195 insertStepsRecordViaTestApp(mContext, NOW, NOW.plus(1, MINUTES), 10); in testAggregate_inBackgroundWithoutPermission_expectSecurityError()
210 insertStepsRecordViaTestApp( in testAggregate_inBackgroundWithPermission_canAggregateBothOwnAndOtherAppsData()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/aggregation/
DAggregateWithFiltersTest.java42 import static android.healthconnect.cts.utils.TestUtils.insertStepsRecordViaTestApp;
106 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in dataOriginFilter_noFilter_everythingIncluded()
129 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in dataOriginFilter_validFilter_onlyDataFromFilteredApps()
154 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in dataOriginFilter_invalidApp_noDataReturned()
202 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in dataOriginFilter_appNotInPriorityList_noDataReturned()
247 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in dataOriginFilter_noDataFromFilteredApps_noDataReturned()
329 insertStepsRecordViaTestApp( in timeRangeFilter_priorityType_outOfRangePriorityDataTrimmed()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/readdata/
DReadByFilterTests.java26 import static android.healthconnect.cts.utils.TestUtils.insertStepsRecordViaTestApp;
122 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in filterByDataOrigin_dataOfOtherOriginsExcluded()
151 insertStepsRecordViaTestApp(mContext, startTime, startTime.plusMillis(1000), 50); in filterByDataOrigin_noFilterSet_allDataReturned()
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/
DTestUtils.java1164 public static String insertStepsRecordViaTestApp( in insertStepsRecordViaTestApp() method
1166 return insertStepsRecordViaTestApp( in insertStepsRecordViaTestApp()
1171 public static String insertStepsRecordViaTestApp( in insertStepsRecordViaTestApp() method
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/
DStepsRecordTest.java31 import static android.healthconnect.cts.utils.TestUtils.insertStepsRecordViaTestApp;
1640 insertStepsRecordViaTestApp(mContext, now.minusMillis(2), now.minusMillis(1), 1); in updateRecordsFromAnotherApp_byId_fail()
1654 insertStepsRecordViaTestApp(mContext, now.minusMillis(2), now.minusMillis(1), "id1", 1); in updateRecordsFromAnotherApp_byClientRecordId_fail()