/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | PageTokenWrapperTest.java | 40 boolean isAscending = false; in of_createInstance() 43 PageTokenWrapper wrapper = PageTokenWrapper.of(isAscending, timeMillis, offset); in of_createInstance() 45 assertThat(wrapper.isAscending()).isEqualTo(isAscending); in of_createInstance() 54 boolean isAscending = true; in of_offsetTooLarge_setToMax() 56 PageTokenWrapper.of(isAscending, /* timeMillis= */ 0, (int) MAX_ALLOWED_OFFSET + 1); in of_offsetTooLarge_setToMax() 62 boolean isAscending = true; in of_invalidArgument_throws() 70 isAscending, /* timeMillis= */ -1, /* offset= */ 0)); in of_invalidArgument_throws() 78 isAscending, /* timeMillis= */ 0, /* offset= */ -1)); in of_invalidArgument_throws() 86 isAscending, MAX_ALLOWED_TIME_MILLIS + 1, /* offset= */ 0)); in of_invalidArgument_throws() 93 assertThat(wrapper.isAscending()).isTrue(); in ofAscending_timestampNotSet() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | PageTokenWrapper.java | 53 public boolean isAscending() { in isAscending() method in PageTokenWrapper 86 public static PageTokenWrapper of(boolean isAscending, long timeMillis, int offset) { in of() argument 91 return new PageTokenWrapper(isAscending, timeMillis, boundedOffset); in of() 98 public static PageTokenWrapper ofAscending(boolean isAscending) { in ofAscending() argument 99 return new PageTokenWrapper(isAscending); in ofAscending() 195 private PageTokenWrapper(boolean isAscending, long timeMillis, int offset) { in PageTokenWrapper() argument 196 this.mIsAscending = isAscending; in PageTokenWrapper() 203 private PageTokenWrapper(boolean isAscending) { in PageTokenWrapper() argument 204 this.mIsAscending = isAscending; in PageTokenWrapper()
|
D | ReadRecordsRequestUsingFilters.java | 65 mAscending = PageTokenWrapper.from(pageToken, ascending).isAscending(); in ReadRecordsRequestUsingFilters() 95 public boolean isAscending() { in isAscending() method in ReadRecordsRequestUsingFilters
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | RecordHelperTest.java | 137 boolean isAscending = false; in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults() 154 PageTokenWrapper.of(isAscending, expectedTimestamp, expectedOffset); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults() 157 new OrderByClause().addOrderByClause(helper.getStartTimeColumnName(), isAscending); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults() 165 cursor, pageSize, PageTokenWrapper.ofAscending(isAscending)); in getNextInternalRecordsPageAndToken_zeroOffsetDesc_correctResults() 193 boolean isAscending = true; in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults() 232 PageTokenWrapper.of(isAscending, expectedTimestamp, expectedOffset); in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults() 249 cursor, pageSize, PageTokenWrapper.ofAscending(isAscending)); in getNextInternalRecordsPageAndToken_sameStartTimeAsc_correctResults()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/ |
D | SortListFragment.java | 94 boolean isAscending = direction == SortDimension.SORT_DIRECTION_ASCENDING; in getSheetLabelId() 97 return isAscending ? R.string.sort_dimension_name_ascending : in getSheetLabelId() 100 return isAscending ? R.string.sort_dimension_date_ascending : in getSheetLabelId() 103 return isAscending ? R.string.sort_dimension_file_type_ascending : in getSheetLabelId() 106 return isAscending ? R.string.sort_dimension_size_ascending : in getSheetLabelId()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/utils/ |
D | OrderByClause.java | 35 public OrderByClause addOrderByClause(String columnName, boolean isAscending) { in addOrderByClause() argument 39 mOrderList.add(new Pair<>(columnName, isAscending)); in addOrderByClause()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | ReadRecordsRequestParcel.java | 114 mAscending = request.isAscending(); in ReadRecordsRequestParcel() 149 public boolean isAscending() { in isAscending() method in ReadRecordsRequestParcel
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | RecordHelper.java | 530 PageTokenWrapper.of(prevPageToken.isAscending(), currentStartTime, offset); in getNextInternalRecordsPageAndToken() 693 PageTokenWrapper.from(request.getPageToken(), request.isAscending()).offset(); in getLimitSize() 727 PageTokenWrapper.from(request.getPageToken(), request.isAscending()); in getReadTableWhereClause() 730 if (pageToken.isAscending()) { in getReadTableWhereClause() 813 PageTokenWrapper.from(request.getPageToken(), request.isAscending()); in getOrderByClause() 815 .addOrderByClause(getStartTimeColumnName(), pageToken.isAscending()) in getOrderByClause()
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/ |
D | LoadEntriesHelperUseCaseTest.kt | 269 assertThat(bodyWaterMassRequestCaptor.value.isAscending).isFalse() in <lambda>() 288 assertThat(bodyTempRequestCaptor.value.isAscending).isFalse() in <lambda>() 311 assertThat(stepsRequestCaptor.value.isAscending).isFalse() in <lambda>() 328 assertThat(menstruationRequestCaptor.value.isAscending).isFalse() in <lambda>() 345 assertThat(weightRequestCaptor.value.isAscending).isFalse() in <lambda>() 360 assertThat(stepsRequestCaptor.value.isAscending).isFalse() in <lambda>()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | ReadTransactionRequest.java | 72 mPageToken = PageTokenWrapper.from(request.getPageToken(), request.isAscending()); in ReadTransactionRequest()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | StepsRecordTest.java | 270 assertThat(requestUsingFilters.isAscending()).isFalse(); in testReadStepsRecordUsingFilters_dataFilter_incorrect() 343 assertThat(requestUsingFilters.isAscending()).isTrue(); in testReadStepsRecordUsingFilters_withPageToken()
|
D | HeartRateRecordTest.java | 195 assertThat(requestUsingFilters.isAscending()).isTrue(); in testReadHeartRateRecordUsingFilters_timeFilter()
|
/packages/modules/HealthFitness/framework/api/ |
D | current.txt | 244 method public boolean isAscending();
|