Home
last modified time | relevance | path

Searched refs:DEFAULT_LONG (Results 1 – 24 of 24) sorted by relevance

/packages/modules/HealthFitness/framework/java/android/health/connect/aidl/
DDeleteUsingFiltersRequestParcel.java19 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()
DReadRecordsRequestParcel.java20 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()
DAggregateDataResponseParcel.java20 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()
DAggregateDataRequestParcel.java20 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/
DPageTokenWrapperTest.java19 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/
DRecordInternal.java20 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;
DExerciseRouteInternal.java121 private long mTime = Constants.DEFAULT_LONG;
/packages/modules/HealthFitness/framework/java/android/health/connect/
DPageTokenWrapper.java19 import static android.health.connect.Constants.DEFAULT_LONG;
112 if (pageToken == DEFAULT_LONG) { in from()
162 : DEFAULT_LONG; in encode()
DReadRecordsRequestUsingFilters.java19 import static android.health.connect.Constants.DEFAULT_LONG;
115 private long mPageToken = DEFAULT_LONG;
221 if (mPageToken != DEFAULT_LONG && mIsOrderingSet) { in build()
DReadMedicalResourcesRequest.java19 import static android.health.connect.Constants.DEFAULT_LONG;
155 private long mPageToken = DEFAULT_LONG;
DConstants.java32 public static final long DEFAULT_LONG = -1; field in Constants
DHealthConnectManager.java19 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/
DDeleteTableRequest.java19 import static android.health.connect.Constants.DEFAULT_LONG;
54 private long mStartTime = DEFAULT_LONG;
55 private long mEndTime = DEFAULT_LONG;
DDeleteTransactionRequest.java19 import static android.health.connect.Constants.DEFAULT_LONG;
109 mRequestingPackageNameId = DEFAULT_LONG; in DeleteTransactionRequest()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DDatabaseMerger.java19 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/
DAppInfoHelper.java20 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()
DDeviceInfoHelper.java19 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()
DRecordHelper.java20 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()
DChangeLogsHelper.java19 import static android.health.connect.Constants.DEFAULT_LONG;
129 long nextChangesToken = DEFAULT_LONG; in getChangeLogs()
144 nextChangesToken != DEFAULT_LONG in getChangeLogs()
DExerciseSessionRecordHelper.java19 import static android.health.connect.Constants.DEFAULT_LONG;
602 if (appId == DEFAULT_LONG) { in getExerciseRouteReadAccessType()
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/
DReadMedicalResourcesRequestTest.java21 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/
DTransactionTestUtils.java19 import static android.health.connect.Constants.DEFAULT_LONG;
82 .isNotEqualTo(DEFAULT_LONG); in insertApp()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectServiceImpl.java21 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/
DDataFactory.java71 public static final long DEFAULT_LONG = -1; field in DataFactory