| /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/protectedaudience/src/com/android/adservices/data/adselection/ |
| D | FrequencyCapDaoTest.java | 352 .getTimestamp() in testInsertNonWinHistogramEventAddsNewIdentifierAndData() 384 .getTimestamp() in testInsertWinHistogramEventAddsNewIdentifierAndData() 397 .getTimestamp() in testInsertWinHistogramEventAddsNewIdentifierAndData() 579 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 592 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 610 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 623 .getTimestamp() in testInsertSameHistogramEventTwiceDoesNotThrow() 689 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerTotalMax() 701 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerTotalMax() 781 .getTimestamp())) in testInsertHistogramEventEvictsOldestEventsToLowerPerBuyerMax() [all …]
|
| D | DBHistogramEventDataTest.java | 55 assertThat(originalEventData.getTimestamp()) in testBuildValidEventData_success() 75 assertThat(originalEventData.getTimestamp()) in testBuildUnsetRowId_success() 150 assertThat(originalEventData.getTimestamp()) in testCreateValidEventData_success() 170 assertThat(originalEventData.getTimestamp()) in testCreateNullRowId_success() 198 assertThat(originalEventData.getTimestamp()) in testFromHistogramEvent_success() 199 .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/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 | 72 when(mUserProfileIdDao.getTimestamp()).thenReturn(TIME_INITIAL); in testDeleteId_aDayHasElapsed_deleted() 75 verify(mUserProfileIdDao).getTimestamp(); in testDeleteId_aDayHasElapsed_deleted() 82 when(mUserProfileIdDao.getTimestamp()).thenReturn(TIME_INITIAL); in testDeleteId_aDayHasNotElapsed_notDeleted() 85 verify(mUserProfileIdDao).getTimestamp(); in testDeleteId_aDayHasNotElapsed_notDeleted()
|
| /packages/services/Car/car-lib/src/com/android/car/internal/property/ |
| D | OnChangeCarPropertyEventTracker.java | 50 if (carPropertyValue.getTimestamp() < mPreviousEventTimeNanos) { in hasUpdate() 55 carPropertyValue, carPropertyValue.getTimestamp(), in hasUpdate() 60 mPreviousEventTimeNanos = carPropertyValue.getTimestamp(); in hasUpdate()
|
| D | ContCarPropertyEventTracker.java | 120 carPropertyValue.getTimestamp(), in sanitizeCarPropertyValueByResolution() 127 if (carPropertyValue.getTimestamp() < mNextUpdateTimeNanos) { in hasUpdate() 132 carPropertyValue, carPropertyValue.getTimestamp(), mNextUpdateTimeNanos); in hasUpdate() 136 mNextUpdateTimeNanos = carPropertyValue.getTimestamp() + mUpdatePeriodNanos; in hasUpdate()
|
| /packages/services/Car/service/src/com/android/car/hal/ |
| D | HalPropValue.java | 57 public abstract long getTimestamp(); in getTimestamp() method in HalPropValue 233 long timestampNanos = getTimestamp(); in toCarPropertyValue() 274 if (other.getTimestamp() != getTimestamp()) { in equals() 275 Slogf.i(TAG, "Timestamp mismatch, got " + other.getTimestamp() + " want " in equals() 276 + getTimestamp()); in equals() 336 debugStringJoiner.add("ElapsedRealtimeNanos: " + getTimestamp()); in toString()
|
| /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 | 67 assertThat(mUserProfileIdDao.getTimestamp()).isEqualTo(TIME_INITIAL_MS); in testSetAndReadId() 82 assertThat(mUserProfileIdDao.getTimestamp()).isEqualTo(TIME_INITIAL_MS); in testSetId_idExist_overrideExistingId() 92 assertThat(mUserProfileIdDao.getTimestamp()).isEqualTo(TIME_INITIAL_MS + 100); in testSetId_idExist_overrideExistingId() 113 assertThat(mUserProfileIdDao.getTimestamp()).isEqualTo(0); in testDeleteStorage()
|
| /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/Profiling/service/java/com/android/os/profiling/ |
| D | RateLimiter.java | 414 if (entry.getTimestamp() > currentTimeMillis - mPastRunsHour.mTimeRangeMs) { in setupFromPersistedData() 415 mPastRunsHour.add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in setupFromPersistedData() 417 if (entry.getTimestamp() > currentTimeMillis - mPastRunsDay.mTimeRangeMs) { in setupFromPersistedData() 418 mPastRunsDay.add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in setupFromPersistedData() 420 if (entry.getTimestamp() > currentTimeMillis - mPastRunsWeek.mTimeRangeMs) { in setupFromPersistedData() 421 mPastRunsWeek.add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in setupFromPersistedData() 702 if (entry.getTimestamp() > currentTimeMillis - mTimeRangeMs) { in populateFromProto() 703 add(entry.getUid(), entry.getCost(), entry.getTimestamp()); in populateFromProto()
|
| /packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/ |
| D | HistogramEventTest.java | 52 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildValidHistogramEvent_success() 118 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildUnsetCustomAudienceOwnerWithNonWinType_success() 154 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testBuildUnsetCustomAudienceNameWithNonWinType_success() 226 assertThat(event.getTimestamp()).isEqualTo(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI); in testSetNullCustomAudienceOwnerNonWinType_success() 248 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/Nfc/framework/java/android/nfc/cardemulation/ |
| D | PollingFrame.java | 219 public long getTimestamp() { in getTimestamp() method in PollingFrame 258 frame.putLong(KEY_POLLING_LOOP_TIMESTAMP, getTimestamp()); in toBundle() 267 + ", timestamp: " + Long.toUnsignedString(getTimestamp()) in toString()
|
| /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 | 433 assertThat(appUsageEvent.getTimestamp()).isEqualTo(101L); in convertToAppUsageEvent_returnsExpectedResult() 454 assertThat(appUsageEvent.getTimestamp()).isEqualTo(101L); in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnsExpectedResult() 521 assertThat(appUsageEvent.getTimestamp()).isEqualTo(10001L); in convertToAppUsageEvent_returnExpectedResult() 553 assertThat(appUsageEvent.getTimestamp()).isEqualTo(10001L); in convertToAppUsageEvent_emptyInstanceIdAndRootName_returnExpectedResult() 563 assertThat(batteryEvent.getTimestamp()).isEqualTo(666L); in convertToBatteryEvent_normalCase_returnsExpectedResult() 580 assertThat(batteryEventList.get(0).getTimestamp()).isEqualTo(1691589600000L); in convertToBatteryEventList_normalCase_returnsExpectedResult() 583 assertThat(batteryEventList.get(1).getTimestamp()).isEqualTo(1691596800000L); in convertToBatteryEventList_normalCase_returnsExpectedResult() 601 assertThat(batteryEventList.get(0).getTimestamp()).isEqualTo(1713909600000L); in convertToBatteryEventList_multipleDays_returnsExpectedResult() 604 assertThat(batteryEventList.get(1).getTimestamp()).isEqualTo(1713916800000L); in convertToBatteryEventList_multipleDays_returnsExpectedResult() 607 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/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()
|
| /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()
|