Home
last modified time | relevance | path

Searched refs:currentStartTime (Results 1 – 2 of 2) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DMergeDataHelper.java335 Instant currentStartTime = TimeUtils.latest(startTime, mStartTime); in getRecordData() local
338 if (currentStartTime.equals(mStartTime) || currentEndTime.equals(mEndTime)) { in getRecordData()
343 (double) TimeUtils.getDurationInMillis(currentStartTime, currentEndTime) in getRecordData()
348 if (!currentEndTime.isAfter(currentStartTime)) { in getRecordData()
352 currentStartTime, in getRecordData()
DRecordHelper.java503 long currentStartTime = DEFAULT_LONG; in getNextInternalRecordsPageAndToken() local
508 prevStartTime = currentStartTime; in getNextInternalRecordsPageAndToken()
509 currentStartTime = getCursorLong(cursor, getStartTimeColumnName()); in getNextInternalRecordsPageAndToken()
510 if (prevStartTime != DEFAULT_LONG && prevStartTime != currentStartTime) { in getNextInternalRecordsPageAndToken()
517 currentStartTime = DEFAULT_LONG; in getNextInternalRecordsPageAndToken()
522 prevStartTime = currentStartTime; in getNextInternalRecordsPageAndToken()
523 currentStartTime = getCursorLong(cursor, getStartTimeColumnName()); in getNextInternalRecordsPageAndToken()
524 if (currentStartTime != prevStartTime) { in getNextInternalRecordsPageAndToken()
530 PageTokenWrapper.of(prevPageToken.isAscending(), currentStartTime, offset); in getNextInternalRecordsPageAndToken()