Home
last modified time | relevance | path

Searched refs:createStepsRecord (Results 1 – 8 of 8) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/
DRecordHelperTest.java23 …ic com.android.server.healthconnect.storage.datatypehelpers.TransactionTestUtils.createStepsRecord;
82 .insertRecords(TEST_PACKAGE_NAME, createStepsRecord(4000, 5000, 100)) in getInternalRecords_insertThenRead_recordReturned()
102 .insertRecords(TEST_PACKAGE_NAME, createStepsRecord(4000, 5000, 100)) in getInternalRecords_requestSizeMoreThanRecordNumber_recordsReturned()
119 records.add(createStepsRecord(startTime + i, startTime + i + 1, 100)); in getInternalRecords_cursorHasTooManyData_throws()
140 createStepsRecord( in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
145 createStepsRecord( in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults()
197 createStepsRecord( in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
202 createStepsRecord( in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
207 createStepsRecord( in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
213 createStepsRecord( in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
[all …]
DTransactionTestUtils.java123 public static RecordInternal<StepsRecord> createStepsRecord( in createStepsRecord() method in TransactionTestUtils
125 return createStepsRecord(/* clientId= */ null, startTimeMillis, endTimeMillis, stepsCount); in createStepsRecord()
128 public static RecordInternal<StepsRecord> createStepsRecord( in createStepsRecord() method in TransactionTestUtils
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/exportimport/
DExportManagerTest.java22 …ic com.android.server.healthconnect.storage.datatypehelpers.TransactionTestUtils.createStepsRecord;
143 mTransactionTestUtils.insertRecords(TEST_PACKAGE_NAME, createStepsRecord(123, 456, 7)); in runExport_deletesLocalCopies()
159 mTransactionTestUtils.insertRecords(TEST_PACKAGE_NAME, createStepsRecord(123, 456, 7)); in runExport_makesRemoteCopyOfDatabase()
177 mTransactionTestUtils.insertRecords(TEST_PACKAGE_NAME, createStepsRecord(123, 456, 7)); in runExport_destinationUriDoesNotExist_exportFails()
194 mTransactionTestUtils.insertRecords(TEST_PACKAGE_NAME, createStepsRecord(123, 456, 7)); in runExport_updatesLastSuccessfulExport_onSuccessOnly()
DImportManagerTest.java26 …ic com.android.server.healthconnect.storage.datatypehelpers.TransactionTestUtils.createStepsRecord;
117 createStepsRecord(123, 345, 100), in copiesAllData()
155 createStepsRecord(123, 345, 100), in skipsMissingTables()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/
DTransactionManagerTest.java31 …ic com.android.server.healthconnect.storage.datatypehelpers.TransactionTestUtils.createStepsRecord;
137 createStepsRecord(startTimeMillis, endTimeMillis, 100), in readRecordsById_multipleRecordTypes_returnsAllRecords()
181 createStepsRecord(400, 500, 100), in readRecordsAndPageToken_returnsRecordsAndPageToken()
182 createStepsRecord(500, 600, 100)); in readRecordsAndPageToken_returnsRecordsAndPageToken()
227 TEST_PACKAGE_NAME, createStepsRecord(123, 456, 100)); in deleteAll_byId_generateChangeLogs()
245 TEST_PACKAGE_NAME, createStepsRecord(123, 456, 100)); in deleteAll_byTimeFilter_generateChangeLogs()
267 records.add(createStepsRecord(i * 1000, (i + 1) * 1000, 9527)); in deleteAll_bulkDeleteByTimeFilter_generateChangeLogs()
DNoMockAutoDeleteServiceTest.java20 …ic com.android.server.healthconnect.storage.datatypehelpers.TransactionTestUtils.createStepsRecord;
63 .insertRecords(TEST_PACKAGE_NAME, createStepsRecord(4000, 5000, 100)) in startAutoDelete_changeLogsGenerated()
/packages/modules/HealthFitness/tests/integrationtests/TestApp/src/android/healthconnect/test/app/
DTestAppReceiver.java357 createStepsRecord(startTimes.get(i), endTimes.get(i), clientIds[i], values[i])); in createStepsRecords()
362 private static StepsRecord createStepsRecord( in createStepsRecord() method in TestAppReceiver
/packages/modules/HealthFitness/tests/cts/hostsidetests/healthconnect/libs/HealthConnectTestLib/src/android/healthconnect/cts/lib/
DBundleHelper.java483 return createStepsRecord( in toRecord()
812 private static StepsRecord createStepsRecord( in createStepsRecord() method