/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/ |
D | DeleteUsingFiltersRequestParcel.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 84 mStartTime = DEFAULT_LONG; in DeleteUsingFiltersRequestParcel() 85 mEndTime = DEFAULT_LONG; in DeleteUsingFiltersRequestParcel() 100 mStartTime = DEFAULT_LONG; in DeleteUsingFiltersRequestParcel() 101 mEndTime = DEFAULT_LONG; in DeleteUsingFiltersRequestParcel() 170 || mStartTime != DEFAULT_LONG in usesNonIdFilters() 171 || mEndTime != DEFAULT_LONG; in usesNonIdFilters()
|
D | ReadRecordsRequestParcel.java | 20 import static android.health.connect.Constants.DEFAULT_LONG; 82 mStartTime = DEFAULT_LONG; in ReadRecordsRequestParcel() 83 mEndTime = DEFAULT_LONG; in ReadRecordsRequestParcel() 89 mPageToken = DEFAULT_LONG; in ReadRecordsRequestParcel() 102 mStartTime = DEFAULT_LONG; in ReadRecordsRequestParcel() 103 mEndTime = DEFAULT_LONG; in ReadRecordsRequestParcel()
|
D | AggregateDataResponseParcel.java | 20 import static android.health.connect.Constants.DEFAULT_LONG; 109 if (duration != DEFAULT_LONG) { in AggregateDataResponseParcel() 116 if (startTime != DEFAULT_LONG && endTime != DEFAULT_LONG) { in AggregateDataResponseParcel() 309 dest.writeLong(DEFAULT_LONG); in writeToParcel() 318 dest.writeLong(DEFAULT_LONG); in writeToParcel() 319 dest.writeLong(DEFAULT_LONG); in writeToParcel()
|
D | AggregateDataRequestParcel.java | 20 import static android.health.connect.Constants.DEFAULT_LONG; 117 if (duration != DEFAULT_LONG) { in AggregateDataRequestParcel() 160 dest.writeLong(DEFAULT_LONG); in writeToParcel()
|
/packages/modules/HealthFitness/tests/unittests/src/android/health/connect/ |
D | PageTokenWrapperTest.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 124 PageTokenWrapper.from(DEFAULT_LONG, /* defaultIsAscending= */ true); in from_pageTokenUnset_useDefaultIsAscending() 128 wrapper = PageTokenWrapper.from(DEFAULT_LONG, /* defaultIsAscending= */ false); in from_pageTokenUnset_useDefaultIsAscending() 230 assertThat(EMPTY_PAGE_TOKEN.encode()).isEqualTo(DEFAULT_LONG); in encode_pageTokenUnset_returnsDefaultLong() 231 assertThat(PageTokenWrapper.ofAscending(true).encode()).isEqualTo(DEFAULT_LONG); in encode_pageTokenUnset_returnsDefaultLong() 232 assertThat(PageTokenWrapper.ofAscending(false).encode()).isEqualTo(DEFAULT_LONG); in encode_pageTokenUnset_returnsDefaultLong()
|
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/ |
D | RecordInternal.java | 20 import static android.health.connect.Constants.DEFAULT_LONG; 47 private long mLastModifiedTime = DEFAULT_LONG; 49 private long mClientRecordVersion = DEFAULT_LONG; 53 private long mDeviceInfoId = DEFAULT_LONG; 54 private long mAppInfoId = DEFAULT_LONG;
|
D | ExerciseRouteInternal.java | 121 private long mTime = Constants.DEFAULT_LONG;
|
/packages/modules/HealthFitness/framework/java/android/health/connect/ |
D | PageTokenWrapper.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 112 if (pageToken == DEFAULT_LONG) { in from() 162 : DEFAULT_LONG; in encode()
|
D | ReadRecordsRequestUsingFilters.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 115 private long mPageToken = DEFAULT_LONG; 221 if (mPageToken != DEFAULT_LONG && mIsOrderingSet) { in build()
|
D | ReadMedicalResourcesRequest.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 155 private long mPageToken = DEFAULT_LONG;
|
D | Constants.java | 32 public static final long DEFAULT_LONG = -1; field in Constants
|
D | HealthConnectManager.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 524 if (dateMilli == DEFAULT_LONG) { in getHealthDataHistoricalAccessStartDate()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/request/ |
D | DeleteTableRequest.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 54 private long mStartTime = DEFAULT_LONG; 55 private long mEndTime = DEFAULT_LONG;
|
D | DeleteTransactionRequest.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 109 mRequestingPackageNameId = DEFAULT_LONG; in DeleteTransactionRequest()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | DatabaseMerger.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 235 DEFAULT_LONG /* startTime */, in deleteRecordsOfType() 236 DEFAULT_LONG /* endTime */, in deleteRecordsOfType() 265 /* startDateAccessMillis= */ DEFAULT_LONG, in getRecordsToMerge()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/ |
D | AppInfoHelper.java | 20 import static android.health.connect.Constants.DEFAULT_LONG; 153 DEFAULT_LONG, packageName, record.getAppName(), null, null); in populateAppInfoId() 186 DEFAULT_LONG, packageName, name, decodeBitmap(icon), recordTypesUsed); in addOrUpdateAppInfoIfNotInstalled() 209 return DEFAULT_LONG; in getAppInfoId() 215 return DEFAULT_LONG; in getAppInfoId() 610 return new AppInfoInternal(DEFAULT_LONG, packageName, appName, bitmap, null); in getAppInfo()
|
D | DeviceInfoHelper.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 89 long rowId = getDeviceInfoMap().getOrDefault(deviceInfo, DEFAULT_LONG); in populateDeviceInfoId() 90 if (rowId == DEFAULT_LONG) { in populateDeviceInfoId()
|
D | RecordHelper.java | 20 import static android.health.connect.Constants.DEFAULT_LONG; 503 long currentStartTime = DEFAULT_LONG; in getNextInternalRecordsPageAndToken() 510 if (prevStartTime != DEFAULT_LONG && prevStartTime != currentStartTime) { in getNextInternalRecordsPageAndToken() 517 currentStartTime = DEFAULT_LONG; in getNextInternalRecordsPageAndToken() 744 if (startTimeMillis != DEFAULT_LONG) { in getReadTableWhereClause() 747 if (endTimeMillis != DEFAULT_LONG) { in getReadTableWhereClause() 772 if (callingAppInfoId == DEFAULT_LONG) { in getReadTableWhereClause()
|
D | ChangeLogsHelper.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 129 long nextChangesToken = DEFAULT_LONG; in getChangeLogs() 144 nextChangesToken != DEFAULT_LONG in getChangeLogs()
|
D | ExerciseSessionRecordHelper.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 602 if (appId == DEFAULT_LONG) { in getExerciseRouteReadAccessType()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | ReadMedicalResourcesRequestTest.java | 21 import static android.healthconnect.cts.utils.DataFactory.DEFAULT_LONG; 44 assertThat(request.getPageToken()).isEqualTo(DEFAULT_LONG); in testRequestBuilder_requiredFieldsOnly()
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/storage/datatypehelpers/ |
D | TransactionTestUtils.java | 19 import static android.health.connect.Constants.DEFAULT_LONG; 82 .isNotEqualTo(DEFAULT_LONG); in insertApp()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/ |
D | HealthConnectServiceImpl.java | 21 import static android.health.connect.Constants.DEFAULT_LONG; 338 return date.map(Instant::toEpochMilli).orElse(Constants.DEFAULT_LONG); in getHistoricalAccessStartDateInMilliseconds() 691 pageToken = DEFAULT_LONG; in readRecords() 736 DEFAULT_LONG)); in readRecords() 1021 long startDateAccessEpochMilli = DEFAULT_LONG; in getChangeLogs()
|
/packages/modules/HealthFitness/tests/cts/utils/HealthConnectTestUtils/src/android/healthconnect/cts/utils/ |
D | DataFactory.java | 71 public static final long DEFAULT_LONG = -1; field in DataFactory
|