Home
last modified time | relevance | path

Searched refs:TEST_TIMESTAMP (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DDiagnosticHalServiceTest.java51 private static final long TEST_TIMESTAMP = 1L; field in DiagnosticHalServiceTest
123 /*areaId=*/0, /*timestamp=*/TEST_TIMESTAMP, /*status=*/0, in getTestFreezeFrame()
140 /*areaId=*/0, /*timestamp=*/TEST_TIMESTAMP, /*status=*/0, in getTestLiveFrame()
146 .setTimeStamp(TEST_TIMESTAMP) in getTestFreezeEvent()
154 .setTimeStamp(TEST_TIMESTAMP) in getTestLiveEvent()
355 new long[]{TEST_TIMESTAMP, TEST_TIMESTAMP2}); in testGetFreezeFrameTimestamps_ok()
359 new long[]{TEST_TIMESTAMP, TEST_TIMESTAMP2}); in testGetFreezeFrameTimestamps_ok()
381 VehicleProperty.OBD2_FREEZE_FRAME, 0, TEST_TIMESTAMP); in testGetFreezeFrame_ok()
384 assertThat(mService.getFreezeFrame(TEST_TIMESTAMP)).isEqualTo(getTestFreezeEvent()); in testGetFreezeFrame_ok()
391 assertThat(mService.getFreezeFrame(TEST_TIMESTAMP)).isNull(); in testGetFreezeFrame_ServiceSpecificException()
[all …]
DHalPropValueTest.java31 private static final long TEST_TIMESTAMP = 1; field in HalPropValueTest
55 hidlValue.timestamp = TEST_TIMESTAMP; in getTestHidlPropValue()
71 aidlValue.timestamp = TEST_TIMESTAMP; in getTestAidlPropValue()
90 assertThat(value.getTimestamp()).isEqualTo(TEST_TIMESTAMP); in testBuildFromHidlValue()
110 assertThat(value.getTimestamp()).isEqualTo(TEST_TIMESTAMP); in testBuildFromAidlValue()
257 HalPropValue value = builder.build(TEST_PROP, TEST_AREA_ID, TEST_TIMESTAMP, TEST_STATUS, in testBuildFromMixedHidl()
267 assertThat(value.getTimestamp()).isEqualTo(TEST_TIMESTAMP); in testBuildFromMixedHidl()
439 HalPropValue value = builder.build(TEST_PROP, TEST_AREA_ID, TEST_TIMESTAMP, TEST_STATUS, in testBuildFromMixedAidl()
449 assertThat(value.getTimestamp()).isEqualTo(TEST_TIMESTAMP); in testBuildFromMixedAidl()
459 hidlValue.timestamp = TEST_TIMESTAMP; in testToCarPropertyValueFromHidlBool()
[all …]
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DUwbRadarSweepDataTest.java38 private static final long TEST_TIMESTAMP = 1000; field in UwbRadarSweepDataTest
47 TEST_TIMESTAMP, in testInitializeUwbRadarSweepData()
52 assertEquals(uwbRadarSweepData.timestamp, TEST_TIMESTAMP); in testInitializeUwbRadarSweepData()
61 + TEST_TIMESTAMP in testInitializeUwbRadarSweepData()
DUwbRadarDataTest.java49 private static final long TEST_TIMESTAMP = 1000; field in UwbRadarDataTest
62 TEST_TIMESTAMP, in testInitializeUwbRadarData_withUwbRadarSweepData()
DUwbRangingDataTest.java79 private static final long TEST_TIMESTAMP = 500_000L; field in UwbRangingDataTest
179 TEST_AOA_ELEVATION_Q97_FORMAT, TEST_AOA_ELEVATION_FOM, TEST_RSSI, TEST_TIMESTAMP, in testInitializeUwbRangingData_withUwbDlTDoAMeasurement()
180 TEST_TIMESTAMP, TEST_ANCHOR_CFO, TEST_CFO, TEST_INTIATOR_REPLY_TIME, in testInitializeUwbRangingData_withUwbDlTDoAMeasurement()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/download/
DMddLoggerTest.java66 private static final long TEST_TIMESTAMP = 1L; field in MddLoggerTest
129 when(mMockMddFileGroupStatus.getGroupAddedTimestampInSeconds()).thenReturn(TEST_TIMESTAMP); in mddLoggerTest_logFileGroupStatusComplete()
131 .thenReturn(TEST_TIMESTAMP); in mddLoggerTest_logFileGroupStatusComplete()
142 /* group_added_timestamp default value */ eq(TEST_TIMESTAMP), in mddLoggerTest_logFileGroupStatusComplete()
143 /* group_downloaded_timestamp default value */ eq(TEST_TIMESTAMP), in mddLoggerTest_logFileGroupStatusComplete()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbTestUtils.java110 private static final long TEST_TIMESTAMP = 500_000L; field in UwbTestUtils
212 TEST_AOA_ELEVATION_FOM, TEST_RSSI, TEST_TIMESTAMP, TEST_TIMESTAMP, in generateDlTDoAMeasurementRangingData()
339 .setTxTimestamp(TEST_TIMESTAMP) in buildRangingReport()
340 .setRxTimestamp(TEST_TIMESTAMP) in buildRangingReport()
377 TEST_TIMESTAMP, in generateRadarSweepSamplesUwbRadarData()
/packages/services/Car/tests/CarLibUnitTest/src/android/car/hardware/property/
DCarPropertyManagerUnitTest.java132 private static final long TEST_TIMESTAMP = 1234; field in CarPropertyManagerUnitTest
490 CarPropertyValue.STATUS_UNAVAILABLE, TEST_TIMESTAMP, 17.0f); in testGetProperty_returnsValueWithUnavailableStatusBeforeU()
496 CarPropertyValue.STATUS_UNAVAILABLE, TEST_TIMESTAMP, 17.0f)); in testGetProperty_returnsValueWithUnavailableStatusBeforeU()
503 CarPropertyValue.STATUS_UNAVAILABLE, TEST_TIMESTAMP, 17.0f); in testGetProperty_valueWithUnavailableStatusThrowsAfterU()
515 CarPropertyValue.STATUS_ERROR, TEST_TIMESTAMP, 17.0f); in testGetProperty_returnsValueWithErrorStatusBeforeU()
521 CarPropertyValue.STATUS_ERROR, TEST_TIMESTAMP, 17.0f)); in testGetProperty_returnsValueWithErrorStatusBeforeU()
528 CarPropertyValue.STATUS_ERROR, TEST_TIMESTAMP, 17.0f); in testGetProperty_valueWithErrorStatusThrowsAfterU()
540 /*unknown status=*/999, TEST_TIMESTAMP, 17.0f); in testGetProperty_returnsValueWithUnknownStatusBeforeU()
546 TEST_TIMESTAMP, 17.0f)); in testGetProperty_returnsValueWithUnknownStatusBeforeU()
553 /*unknown status=*/999, TEST_TIMESTAMP, 17.0f); in testGetProperty_valueWithUnknownStatusThrowsAfterU()
[all …]