/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | MostRecentImageSaver.java | 49 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/ |
D | RtpContextParamsTest.cpp | 12 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/ |
D | ForwardingImageProxy.java | 84 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()
|
D | AndroidImageProxy.java | 109 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/ |
D | FrequencyCapDaoTest.java | 372 .getTimestamp() in testInsertNonWinHistogramEventAddsNewIdentifierAndData() 404 .getTimestamp() in testInsertWinHistogramEventAddsNewIdentifierAndData() 417 .getTimestamp() in testInsertWinHistogramEventAddsNewIdentifierAndData() 599 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 612 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 630 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 643 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 709 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerTotalMax() 721 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerTotalMax() 801 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerPerBuyerMax() [all …]
|
D | DBHistogramEventDataTest.java | 60 assertThat(originalEventData.getTimestamp()) in testBuildValidEventData_success() 80 assertThat(originalEventData.getTimestamp()) in testBuildUnsetRowId_success() 155 assertThat(originalEventData.getTimestamp()) in testCreateValidEventData_success() 175 assertThat(originalEventData.getTimestamp()) in testCreateNullRowId_success() 203 assertThat(originalEventData.getTimestamp()) in testFromHistogramEvent_success() 204 .isEqualTo(HistogramEventFixture.VALID_HISTOGRAM_EVENT.getTimestamp()); in testFromHistogramEvent_success()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.h | 96 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/ |
D | HalPropValue.java | 53 public abstract long getTimestamp(); in getTimestamp() method in HalPropValue 223 if (other.getTimestamp() != getTimestamp()) { in equals() 224 Slogf.i(TAG, "Timestamp mismatch, got " + other.getTimestamp() + " want " in equals() 225 + getTimestamp()); in equals() 262 debugStringJoiner.add("ElapsedRealtimeNanos: " + getTimestamp()); in toString() 288 long timestampNanos = getTimestamp(); in toCarPropertyValue() 340 long timestampNanos = getTimestamp(); in toMixedCarPropertyValue()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.cpp | 49 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/common/ |
D | UserProfileIdManagerTest.java | 73 when(mUserProfileIdDao.getTimestamp()).thenReturn(TIME_INITIAL); in testDeleteId_aDayHasElapsed_deleted() 76 verify(mUserProfileIdDao).getTimestamp(); in testDeleteId_aDayHasElapsed_deleted() 83 when(mUserProfileIdDao.getTimestamp()).thenReturn(TIME_INITIAL); in testDeleteId_aDayHasNotElapsed_notDeleted() 86 verify(mUserProfileIdDao).getTimestamp(); in testDeleteId_aDayHasNotElapsed_notDeleted()
|
/packages/services/Car/car-lib/src/com/android/car/internal/property/ |
D | OnChangeCarPropertyEventTracker.java | 51 if (carPropertyValue.getTimestamp() < mPreviousEventTimeNanos) { in hasUpdate() 55 carPropertyValue, carPropertyValue.getTimestamp(), in hasUpdate() 60 mPreviousEventTimeNanos = carPropertyValue.getTimestamp(); in hasUpdate()
|
D | ContCarPropertyEventTracker.java | 122 carPropertyValue.getTimestamp(), in sanitizeCarPropertyValueByResolution() 129 if (carPropertyValue.getTimestamp() < mNextUpdateTimeNanos) { in hasUpdate() 133 carPropertyValue, carPropertyValue.getTimestamp(), mNextUpdateTimeNanos)); in hasUpdate() 137 mNextUpdateTimeNanos = carPropertyValue.getTimestamp() + mUpdatePeriodNanos; in hasUpdate()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | dynamic_language_model_probability_utils.h | 44 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/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/common/ |
D | UserProfileIdDaoSharedPreferencesImplTest.java | 72 assertEquals(TIME_INITIAL, mUserProfileIdDao.getTimestamp()); in testSetAndReadId() 87 assertEquals(TIME_INITIAL, mUserProfileIdDao.getTimestamp()); in testSetId_idExist_overrideExistingId() 97 assertEquals(TIME_INITIAL + 100, mUserProfileIdDao.getTimestamp()); in testSetId_idExist_overrideExistingId() 117 assertEquals(0, mUserProfileIdDao.getTimestamp()); in testDeleteStorage()
|
/packages/modules/Profiling/service/java/com/android/os/profiling/ |
D | RateLimiter.java | 400 if (entry.getTimestamp() > currentTimeMillis - mPastRunsHour.mTimeRangeMs) { in setupFromPersistedData() 401 mPastRunsHour.add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in setupFromPersistedData() 403 if (entry.getTimestamp() > currentTimeMillis - mPastRunsDay.mTimeRangeMs) { in setupFromPersistedData() 404 mPastRunsDay.add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in setupFromPersistedData() 406 if (entry.getTimestamp() > currentTimeMillis - mPastRunsWeek.mTimeRangeMs) { in setupFromPersistedData() 407 mPastRunsWeek.add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in setupFromPersistedData() 685 if (entry.getTimestamp() > currentTimeMillis - mTimeRangeMs) { in populateFromProto() 686 add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in populateFromProto()
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | IoStats.java | 112 public long getTimestamp() { in getTimestamp() method in IoStats 211 return delta.getTimestamp() == getTimestamp() in equals() 223 return "timestamp = " + getTimestamp() + ", stats = " + stringJoiner.toString(); in toString()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | HistogramEventTest.java | 58 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildValidHistogramEvent_success() 124 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildUnsetCustomAudienceOwnerWithNonWinType_success() 160 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildUnsetCustomAudienceNameWithNonWinType_success() 232 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testSetNullCustomAudienceOwnerNonWinType_success() 254 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testSetNullCustomAudienceNameNonWinType_success()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarNightService.java | 113 && value.getTimestamp() > mLastSensorEventTime) { in onNightModeCarPropertyEventLocked() 114 mLastSensorEventTime = value.getTimestamp(); in onNightModeCarPropertyEventLocked() 218 if (propertyValue != null && propertyValue.getTimestamp() != 0) { in init() 219 mLastSensorEventTime = propertyValue.getTimestamp(); in init()
|
/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/ |
D | RtpContextParamsTest.java | 45 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/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | ConvertUtilsTest.java | 429 assertThat(appUsageEvent.getTimestamp()).isEqualTo(101L); in convertToAppUsageEvent_returnsExpectedResult() 450 assertThat(appUsageEvent.getTimestamp()).isEqualTo(101L); in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnsExpectedResult() 517 assertThat(appUsageEvent.getTimestamp()).isEqualTo(10001L); in convertToAppUsageEvent_returnExpectedResult() 549 assertThat(appUsageEvent.getTimestamp()).isEqualTo(10001L); in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnExpectedResult() 559 assertThat(batteryEvent.getTimestamp()).isEqualTo(666L); in convertToBatteryEvent_normalCase_returnsExpectedResult() 576 assertThat(batteryEventList.get(0).getTimestamp()).isEqualTo(1691589600000L); in convertToBatteryEventList_normalCase_returnsExpectedResult() 579 assertThat(batteryEventList.get(1).getTimestamp()).isEqualTo(1691596800000L); in convertToBatteryEventList_normalCase_returnsExpectedResult() 597 assertThat(batteryEventList.get(0).getTimestamp()).isEqualTo(1713909600000L); in convertToBatteryEventList_multipleDays_returnsExpectedResult() 600 assertThat(batteryEventList.get(1).getTimestamp()).isEqualTo(1713916800000L); in convertToBatteryEventList_multipleDays_returnsExpectedResult() 603 assertThat(batteryEventList.get(2).getTimestamp()).isEqualTo(1713924000000L); in convertToBatteryEventList_multipleDays_returnsExpectedResult()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
D | PendingList.java | 161 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/services/Car/car-lib/src/android/car/hardware/ |
D | CarSensorManager.java | 459 propertyValue.getTimestamp(), 1, 0, 0); in createCarSensorEvent() 464 propertyValue.getTimestamp(), 0, 1, 0); in createCarSensorEvent() 469 propertyValue.getTimestamp(), 0, 1, 0); in createCarSensorEvent() 475 propertyValue.getTimestamp(), 0, 0, value.length); in createCarSensorEvent()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/extensions/ |
D | Flow.kt | 77 LocalDateTime.ofEpochSecond((before.media.getTimestamp() / 1000), 0, ZoneOffset.UTC) in insertMonthSeparators() 79 LocalDateTime.ofEpochSecond((after.media.getTimestamp() / 1000), 0, ZoneOffset.UTC) in insertMonthSeparators()
|
/packages/apps/Camera2/src/com/android/camera/burst/ |
D | RingBuffer.java | 54 long timestamp = image.getTimestamp(); in insertImage() 99 mImages.put(image.getTimestamp(), image); in addImage()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/ |
D | ZslImageCaptureCommand.java | 109 long mostRecentTimestamp = images.get(images.size() - 1).getTimestamp(); in filterImagesWithinMaxLookBack() 112 if (image.getTimestamp() > timestampThreshold) { in filterImagesWithinMaxLookBack() 130 mZslMetadataPool.removeMetadataFuture(image.getTimestamp()); in tryGetZslImage()
|