Home
last modified time | relevance | path

Searched refs:setTimestamp (Results 1 – 25 of 64) 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()
183 .setTimestamp(100L) in clearEvenHourEvent_normalFlow_expectedBehavior()
[all …]
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/service/adselection/
DHistogramEventTest.java43 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildValidHistogramEvent_success()
66 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdCounterKey_throws()
81 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetBuyer_throws()
96 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceOwnerWithWinType_throws()
109 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceOwnerWithNonWinType_success()
132 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceNameWithWinType_throws()
145 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetCustomAudienceNameWithNonWinType_success()
168 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdEventType_throws()
199 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetSourceApp_throws()
217 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testSetNullCustomAudienceOwnerNonWinType_success()
[all …]
DAdCounterHistogramUpdaterImplTest.java308 .setTimestamp(validDbAdSelection.getCreationTimestamp()) in testUpdateWinHistogram_withAdCounterKeysPersists()
418 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists()
461 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists_auctionServerOff()
508 .setTimestamp(CommonFixture.FIXED_NOW) in testUpdateNonWinHistogram_withAdCounterKeysPersists_auctionServerOn()
556 .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/protectedaudience/src/com/android/adservices/data/adselection/
DDBHistogramEventDataTest.java46 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildValidEventData_success()
66 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetRowId_success()
87 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetForeignKey_throws()
99 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdEventType_throws()
124 .setTimestamp(CommonFixture.FIXED_NOW_TRUNCATED_TO_MILLI) in testBuildUnsetAdCounterKey_throws()
132 () -> DBHistogramEventData.builder().setTimestamp(null)); in testSetNullTimestamp_throws()
/packages/services/Car/tests/CarServiceTest/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()
/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()
DDataProcessorTest.java2266 .setTimestamp(50) in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2270 .setTimestamp(166) in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2274 .setTimestamp(188) in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2278 .setTimestamp(280) in excludePowerConnectedTime_startEndNotCharging_returnExpectedResult()
2298 .setTimestamp(50) in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2302 .setTimestamp(80) in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2306 .setTimestamp(120) in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2310 .setTimestamp(150) in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2314 .setTimestamp(160) in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
2318 .setTimestamp(180) in excludePowerConnectedTime_startEndInCharging_returnExpectedResult()
[all …]
/packages/modules/Nfc/NfcNci/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/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/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/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
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/
DRangingData.java128 .setRssi(data.mRssi).setTimestamp(data.mTimestamp) in fromBuilt()
169 public Builder setTimestamp(Duration timestamp) { in setTimestamp() method in RangingData.Builder

123