Home
last modified time | relevance | path

Searched refs:setTimestamp (Results 1 – 25 of 69) sorted by relevance

123

/packages/modules/ImsMedia/tests/unit/src/com/android/telephony/imsmedia/
DRtpContextParamsTest.java75 .setTimestamp(TIMESTAMP) in testNotEqual()
83 .setTimestamp(327753748) in testNotEqual()
91 .setTimestamp(TIMESTAMP) in testNotEqual()
102 .setTimestamp(TIMESTAMP) in testInvalidSsrc()
112 .setTimestamp(TIMESTAMP) in testNegativeSsrc()
122 .setTimestamp(Long.MAX_VALUE) in testInvalidTimestamp()
132 .setTimestamp(INVALID_NUMBER) in testNegativeTimestamp()
142 .setTimestamp(TIMESTAMP) in testInvalidSequenceNumber()
152 .setTimestamp(TIMESTAMP) in testNegativeSequenceNumber()
161 .setTimestamp(TIMESTAMP) in createRtpContextParams()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryEventDaoTest.java67 .setTimestamp(TIMESTAMP1) in getLastFullChargeTimestamp_normalFlow_expectedBehavior()
73 .setTimestamp(TIMESTAMP2) in getLastFullChargeTimestamp_normalFlow_expectedBehavior()
89 .setTimestamp(TIMESTAMP2) in getLastFullChargeTimestamp_noLastFullChargeTime_returns0()
105 .setTimestamp(100L) in getAllAfter_normalFlow_returnExpectedResult()
111 .setTimestamp(200L) in getAllAfter_normalFlow_returnExpectedResult()
131 .setTimestamp(100L) in getAllAfter_filterBatteryTypes_returnExpectedResult()
137 .setTimestamp(200L) in getAllAfter_filterBatteryTypes_returnExpectedResult()
157 .setTimestamp(100L) in getAllAfter_filterTimestamp_returnExpectedResult()
163 .setTimestamp(200L) in getAllAfter_filterTimestamp_returnExpectedResult()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DHistogramEventTest.java49 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildValidHistogramEvent_success()
72 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdCounterKey_throws()
87 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetBuyer_throws()
102 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceOwnerWithWinType_throws()
115 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceOwnerWithNonWinType_success()
138 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceNameWithWinType_throws()
151 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceNameWithNonWinType_success()
174 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdEventType_throws()
205 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetSourceApp_throws()
223 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testSetNullCustomAudienceOwnerNonWinType_success()
[all …]
DAdCounterHistogramUpdaterImplTest.java312 .setTimestamp(validDbAdSelection.getCreationTimestamp()) in testUpdateWinHistogram_withAdCounterKeysPersists()
422 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists()
465 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists_auctionServerOff()
512 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists_auctionServerOn()
560 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists_unifiedFlagOn()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/com/android/adservices/service/adselection/
DHistogramEventFixture.java61 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.minusSeconds(1))
72 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.minusSeconds(1))
78 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.minusSeconds(1))
83 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.plusSeconds(1))
89 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI.plusSeconds(1))
102 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in getValidHistogramEventBuilder()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/adselection/
DDBHistogramEventDataTest.java51 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildValidEventData_success()
71 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetRowId_success()
92 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetForeignKey_throws()
104 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdEventType_throws()
129 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdCounterKey_throws()
137 () -> DBHistogramEventData.builder().setTimestamp(null)); in testSetNullTimestamp_throws()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarPropertyServiceTest.java94 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest()
98 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest()
102 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest()
106 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest()
162 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in testregisterListener()
191 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in testregisterListener_exceptionAndRetry()
230 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in testUnregisterListener()
257 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in testUnregisterListener_exceptionAndRetry()
DCarSensorManagerTest.java165 .setTimestamp(51L) in testEvents()
189 .setTimestamp(1001) in testEvents()
215 .setTimestamp(2001) in testEvents()
272 .setTimestamp(time) in injectIgnitionStateAndAssert()
320 .setTimestamp(time) in injectGearEventAndAssert()
365 .setTimestamp(1001L) in testEventsWithMultipleListeners()
406 .setTimestamp(2001) in testEventsWithMultipleListeners()
447 .setTimestamp(3002) in testEventsWithMultipleListeners()
DCarHvacManagerTest.java198 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
211 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
224 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
252 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testUnregisterCallback()
307 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertySubscribe()
DCarCabinManagerTest.java152 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
166 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
192 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertyGet()
DCarProjectionManagerTest.java133 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendVoiceKey()
151 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendVoiceKey()
/packages/modules/Uwb/service/support_lib/test/
DRadarTests.java205 .setTimestamp(10) in testRadarSweepData_invalidParamsSequenceNumber()
215 .setTimestamp(-10) // Invalid as timestamp must be greater than 0. in testRadarSweepData_invalidParamsTimestamp()
225 .setTimestamp(10) in testRadarSweepData_invalidParamsSampleData()
235 .setTimestamp(TIMESTAMP) in testRadarSweepData()
256 .setTimestamp(TIMESTAMP) in testRadarSweepData()
302 .setTimestamp(TIMESTAMP) in testRadarData()
309 .setTimestamp(TIMESTAMP) in testRadarData()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/
DDBHistogramEventData.java109 .setTimestamp(timestamp) in create()
125 .setTimestamp(event.getTimestamp()) in fromHistogramEvent()
160 public abstract Builder setTimestamp(@NonNull Instant timestamp); in setTimestamp() method in DBHistogramEventData.Builder
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryLevelDataTest.java192 .setTimestamp(1691586000166L) in combine_normalFlow_returnExpectedResult()
197 .setTimestamp(1691589600000L) in combine_normalFlow_returnExpectedResult()
224 .setTimestamp(1691586000166L) in combine_existingBatteryLevelDataIsNull_returnExpectedResult()
229 .setTimestamp(1691589600000L) in combine_existingBatteryLevelDataIsNull_returnExpectedResult()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DMetaBugReport.java145 .setTimestamp("") in builder()
171 .setTimestamp(timestamp)
196 public abstract Builder setTimestamp(String timestamp); in setTimestamp() method in MetaBugReport.Builder
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DNfcEventLogTest.java86 .setTimestamp(localDateTime.format(FORMATTER)) in testLogEvent()
113 .setTimestamp(localDateTime.format(FORMATTER)) in testMultipleLogEvents()
134 .setTimestamp(localDateTime.format(FORMATTER)) in testReadEventsFromLogFile()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/
DBatteryUsageSlotEntity.java79 builder.setTimestamp(contentValues.getAsLong(KEY_TIMESTAMP)); in create()
99 public Builder setTimestamp(final long timestamp) { in setTimestamp() method in BatteryUsageSlotEntity.Builder
DBatteryEventEntity.java84 builder.setTimestamp(contentValues.getAsLong(KEY_TIMESTAMP)); in create()
108 public Builder setTimestamp(final long timestamp) { in setTimestamp() method in BatteryEventEntity.Builder
DAppUsageEventEntity.java120 builder.setTimestamp(contentValues.getAsLong(KEY_TIMESTAMP)); in create()
168 public Builder setTimestamp(final long timestamp) { in setTimestamp() method in AppUsageEventEntity.Builder
DBatteryState.java131 builder.setTimestamp(contentValues.getAsLong("timestamp")); in create()
188 public Builder setTimestamp(long timestamp) { in setTimestamp() method in BatteryState.Builder
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DSimpleDate.java40 setTimestamp(timestamp); in SimpleDate()
45 public void setTimestamp(long timestamp) { in setTimestamp() method in SimpleDate
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DAdCounterHistogramUpdaterImpl.java103 .setTimestamp(dbAdSelection.getCreationTimestamp()) in updateWinHistogram()
139 .setTimestamp(adSelectionInitialization.getCreationInstant()) in updateWinHistogram()
205 .setTimestamp(eventTimestamp) in updateNonWinHistogram()
/packages/services/Car/libs/vehicle-hal-support-lib/src/com/android/car/hal/test/
DHidlVehiclePropValueBuilder.java66 public HidlVehiclePropValueBuilder setTimestamp(long timestamp) { in setTimestamp() method in HidlVehiclePropValueBuilder
72 public HidlVehiclePropValueBuilder setTimestamp() { in setTimestamp() method in HidlVehiclePropValueBuilder
/packages/services/Car/tools/emulator/
Dobd2_to_diagjson.py94 def setTimestamp(self, timestamp): member in Event
149 event.setTimestamp(json.timestamp)
160 event.setTimestamp(self.getTimestamp())
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/radar/
DRadarSweepData.java109 .setTimestamp(bundle.getLong(KEY_TIMESTAMP)) in parseBundleVersion1()
146 public RadarSweepData.Builder setTimestamp(long timestamp) { in setTimestamp() method in RadarSweepData.Builder

123