Home
last modified time | relevance | path

Searched refs:getTimestamp (Results 1 – 25 of 127) sorted by relevance

123456

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DFrequencyCapDaoTest.java252 .getTimestamp() in testInsertNonWinHistogramEventAddsNewIdentifierAndData()
282 .getTimestamp() in testInsertWinHistogramEventAddsNewIdentifierAndData()
295 .getTimestamp() in testInsertWinHistogramEventAddsNewIdentifierAndData()
402 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow()
415 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow()
431 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow()
444 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow()
496 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerMax()
508 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerMax()
523 .getTimestamp())) in testGetNumEventsForBuyerAfterTimeFromEmptyTables()
[all …]
DDBHistogramEventDataTest.java53 assertThat(originalEventData.getTimestamp()) in testBuildValidEventData_success()
71 assertThat(originalEventData.getTimestamp()) in testBuildUnsetRowId_success()
129 assertThat(originalEventData.getTimestamp()) in testCreateValidEventData_success()
147 assertThat(originalEventData.getTimestamp()) in testCreateNullRowId_success()
173 assertThat(originalEventData.getTimestamp()) in testFromHistogramEvent_success()
174 .isEqualTo(HistogramEventFixture.VALID_HISTOGRAM_EVENT.getTimestamp()); in testFromHistogramEvent_success()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DMostRecentImageSaver.java49 mThumbnails.put(imageProxy.getTimestamp(), imageProxy); in addThumbnail()
56 mFullSizeImages.put(imageProxy.getTimestamp(), new MetadataImage(imageProxy, metadata)); in addFullSizeImage()
67 mFullSizeImages.remove(fullSize.getTimestamp()); in close()
72 ImageProxy thumbnail = getThumbnail(fullSize.getTimestamp()); in close()
76 mThumbnails.remove(thumbnail.getTimestamp()); in close()
124 long timestamp = image.getTimestamp(); in getMostRecentFullSizeImageTimestamp()
144 if (lastImage == null || image.getTimestamp() > lastImage.getTimestamp()) { in getLastImage()
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/config/
DRtpContextParamsTest.cpp12 EXPECT_EQ(rtpContextParams.getTimestamp(), 0); in TEST()
20 EXPECT_EQ(rtpContextParams1.getTimestamp(), 200); in TEST()
25 EXPECT_EQ(rtpContextParams2.getTimestamp(), 200); in TEST()
39 EXPECT_EQ(rtpContextParams2.getTimestamp(), 20); in TEST()
55 EXPECT_EQ(rtpContextParams.getTimestamp(), 2000); in TEST()
60 EXPECT_EQ(rtpContextParams.getTimestamp(), 0); in TEST()
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageProxy.java84 public long getTimestamp() { in getTimestamp() method in ForwardingImageProxy
85 return mImpl.getTimestamp(); in getTimestamp()
107 .add("timestamp", getTimestamp()) in toString()
125 otherImage.getTimestamp() == getTimestamp(); in equals()
130 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp()); in hashCode()
DAndroidImageProxy.java109 mTimestamp = mImage.getTimestamp(); in AndroidImageProxy()
183 public long getTimestamp() { in getTimestamp() method in AndroidImageProxy
209 .add("timestamp", getTimestamp()) in toString()
227 otherImage.getTimestamp() == getTimestamp(); in equals()
232 return Objects.hashCode(getFormat(), getWidth(), getHeight(), getTimestamp()); in hashCode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.h96 int getTimestamp() const { in getTimestamp() function
115 if (left.getTimestamp() != right.getTimestamp()) { in operator()
116 return left.getTimestamp() < right.getTimestamp(); in operator()
/packages/services/Car/service/src/com/android/car/hal/
DHalPropValue.java45 public abstract long getTimestamp(); in getTimestamp() method in HalPropValue
215 if (other.getTimestamp() != getTimestamp()) { in equals()
216 Log.i(TAG, "Timestamp mismatch, got " + other.getTimestamp() + " want " in equals()
217 + getTimestamp()); in equals()
268 long timestampNanos = getTimestamp(); in toCarPropertyValue()
320 long timestampNanos = getTimestamp(); in toMixedCarPropertyValue()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dforgetting_curve_utils.cpp49 const int timestamp = newHistoricalInfo->getTimestamp(); in createUpdatedHistoricalInfo()
88 const int elapsedTimeStepCount = getElapsedTimeStepCount(historicalInfo->getTimestamp(), in decodeProbability()
99 || getElapsedTimeStepCount(historicalInfo->getTimestamp(), in needsToKeep()
107 if (originalHistoricalInfo->getTimestamp() == NOT_A_TIMESTAMP) { in createHistoricalInfoToSave()
112 originalHistoricalInfo->getTimestamp(), durationToLevelDownInSeconds); in createHistoricalInfoToSave()
121 const int adjustedTimestampInSeconds = originalHistoricalInfo->getTimestamp() + in createHistoricalInfoToSave()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Ddynamic_language_model_probability_utils.h44 const int elapsedTime = TimeKeeper::peekCurrentTime() - historicalInfo.getTimestamp(); in getDecayedProbability()
56 const int elapsedTime = TimeKeeper::peekCurrentTime() - historicalInfo.getTimestamp(); in shouldRemoveEntryDuringGC()
63 return historicalInfo.getTimestamp(); in getPriorityToPreventFromEviction()
/packages/services/Car/service/src/com/android/car/
DCarNightService.java96 && value.getTimestamp() > mLastSensorEventTime) { in onNightModeCarPropertyEventLocked()
97 mLastSensorEventTime = value.getTimestamp(); in onNightModeCarPropertyEventLocked()
177 if (propertyValue != null && propertyValue.getTimestamp() != 0) { in init()
178 mLastSensorEventTime = propertyValue.getTimestamp(); in init()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DHistogramEventTest.java51 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildValidHistogramEvent_success()
112 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildUnsetCustomAudienceOwnerWithNonWinType_success()
145 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildUnsetCustomAudienceNameWithNonWinType_success()
204 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testSetNullCustomAudienceOwnerNonWinType_success()
224 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testSetNullCustomAudienceNameNonWinType_success()
/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStats.java118 public long getTimestamp() { in getTimestamp() method in IoStats
222 return delta.getTimestamp() == getTimestamp() in equals()
234 return "timestamp = " + getTimestamp() + ", stats = " + stringJoiner.toString(); in toString()
/packages/services/Car/car-lib/src/com/android/car/internal/
DCarPropertyEventCallbackController.java173 + " timestampNanos: " + carPropertyValue.getTimestamp()); in shouldCallbackBeInvokedLocked()
181 if (carPropertyValue.getTimestamp() >= nextUpdateTimeNanos) { in shouldCallbackBeInvokedLocked()
185 carPropertyValue.getTimestamp() + updatePeriodNanos); in shouldCallbackBeInvokedLocked()
194 + carPropertyValue.getTimestamp() + " < nextUpdateTimeNanos: " in shouldCallbackBeInvokedLocked()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/common/bluetooth/fastpair/
DTimingLoggerTest.java205 assertThat(end.getTimestamp()).isAtLeast(start.getTimestamp()); in assertPairedTiming()
216 assertThat(t2.getTimestamp()).isAtLeast(t1.getTimestamp()); in assertOrderedTiming()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/common/bluetooth/fastpair/
DTimingLogger.java105 + "ms (" + getRelativeTimestamp(timing.getTimestamp()) + ")"); in dump()
109 timing.getTimestamp()) + ")"); in dump()
195 long getTimestamp() { in getTimestamp() method in TimingLogger.Timing
DEvent.java60 public long getTimestamp() { in getTimestamp() method in Event
135 && this.mTimestamp == that.getTimestamp() in equals()
211 dest.writeLong(getTimestamp()); in writeToParcel()
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DRtpContextParamsTest.java45 assertThat(rtpContextParams.getTimestamp()).isEqualTo(TIMESTAMP); in testConstructorAndGetters()
125 assertEquals(rtpContextParams.getTimestamp(), Long.MAX_VALUE); in testInvalidTimestamp()
135 assertEquals(rtpContextParams.getTimestamp(), INVALID_NUMBER); in testNegativeTimestamp()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DPendingList.java161 long val = a.report.getTimestamp() - b.report.getTimestamp(); in updateState()
264 .setWhen(rec.report.getTimestamp()) in showNotifications()
267 .setSortKey(getSortKey(rec.report.getTimestamp())) in showNotifications()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DConvertUtilsTest.java328 assertThat(appUsageEvent.getTimestamp()).isEqualTo(101L); in convertToAppUsageEvent_returnsExpectedResult()
349 assertThat(appUsageEvent.getTimestamp()).isEqualTo(101L); in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnsExpectedResult()
413 assertThat(appUsageEvent.getTimestamp()).isEqualTo(10001L); in convertToAppUsageEvent_returnExpectedResult()
442 assertThat(appUsageEvent.getTimestamp()).isEqualTo(10001L); in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnExpectedResult()
452 assertThat(batteryEvent.getTimestamp()).isEqualTo(666L); in convertToBatteryEvent_normalCase_returnsExpectedResult()
466 assertThat(batteryEventList.get(0).getTimestamp()).isEqualTo(1691589600000L); in convertToBatteryEventList_normalCase_returnsExpectedResult()
469 assertThat(batteryEventList.get(1).getTimestamp()).isEqualTo(1691596800000L); in convertToBatteryEventList_normalCase_returnsExpectedResult()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DZslImageCaptureCommand.java109 long mostRecentTimestamp = images.get(images.size() - 1).getTimestamp(); in filterImagesWithinMaxLookBack()
112 if (image.getTimestamp() > timestampThreshold) { in filterImagesWithinMaxLookBack()
130 mZslMetadataPool.removeMetadataFuture(image.getTimestamp()); in tryGetZslImage()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java295 getTimestamp(propertyValue), in formSummary()
303 getTimestamp(propertyValue), in formSummary()
315 resourceId, getTimestamp(propertyValue), in formSummary()
322 private String getTimestamp(CarPropertyValue value) { in getTimestamp() method in SensorsTestFragment
326 return Double.toString(value.getTimestamp() / (1000L * 1000L * 1000L)) + " sec"; in getTimestamp()
/packages/apps/Camera2/src/com/android/camera/burst/
DRingBuffer.java54 long timestamp = image.getTimestamp(); in insertImage()
99 mImages.put(image.getTimestamp(), image); in addImage()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java508 propertyValue.getTimestamp(), 1, 0, 0); in createCarSensorEvent()
513 propertyValue.getTimestamp(), 0, 1, 0); in createCarSensorEvent()
518 propertyValue.getTimestamp(), 0, 1, 0); in createCarSensorEvent()
524 propertyValue.getTimestamp(), 0, 0, value.length); in createCarSensorEvent()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DDBHistogramEventData.java80 public abstract Instant getTimestamp(); in getTimestamp() method in DBHistogramEventData
118 .setTimestamp(event.getTimestamp()) in fromHistogramEvent()

123456