/packages/modules/StatsD/framework/test/src/android/util/ |
D | StatsEventTest.java | 47 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testNoFields() 49 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testNoFields() 92 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testOnlyAtomId() 97 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testOnlyAtomId() 135 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testIntBooleanIntInt() 144 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testIntBooleanIntInt() 205 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testStringFloatByteArray() 213 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testStringFloatByteArray() 270 final long minTimestamp = SystemClock.elapsedRealtimeNanos(); in testAttributionChainLong() 277 final long maxTimestamp = SystemClock.elapsedRealtimeNanos(); in testAttributionChainLong() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDrivingRestrictionsTest.java | 102 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChange() 112 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChange() 122 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChange() 134 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChange() 150 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChange() 169 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChange() 192 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChangeForMalformedInputs() 202 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChangeForMalformedInputs() 212 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChangeForMalformedInputs() 230 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testDrivingStateChangeForMalformedInputs()
|
D | CarPropertyServiceTest.java | 71 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest() 75 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest() 79 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest() 83 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build()); in CarPropertyServiceTest()
|
D | CarHvacManagerTest.java | 197 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent() 210 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent() 223 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent() 250 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testUnregisterCallback() 288 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertySubscribe()
|
D | CarDiagnosticManagerTest.java | 96 long timestamp = SystemClock.elapsedRealtimeNanos(); in addNewEvent() 299 long time = SystemClock.elapsedRealtimeNanos(); in testLiveFrameEvent() 382 long timestamp = SystemClock.elapsedRealtimeNanos(); in testSecondaryAirStatus() 419 long timestamp = SystemClock.elapsedRealtimeNanos(); in testIgnitionMonitors() 509 long timestamp = SystemClock.elapsedRealtimeNanos(); in testFuelType() 533 long timestamp = SystemClock.elapsedRealtimeNanos(); in testDiagnosticJson() 590 long time = SystemClock.elapsedRealtimeNanos(); in testMultipleListeners()
|
D | CarCabinManagerTest.java | 154 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent() 168 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent() 202 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertySubscribe()
|
D | CarProjectionManagerTest.java | 133 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendVoiceKey() 151 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendVoiceKey()
|
D | CarPropertyManagerTest.java | 580 firstFakeValueDriveSide.timestamp = SystemClock.elapsedRealtimeNanos(); in testOnChangeEventWithSameAreaId() 585 secFakeValueDriveSide.timestamp = SystemClock.elapsedRealtimeNanos(); in testOnChangeEventWithSameAreaId() 610 fakeValueDriveSide.timestamp = SystemClock.elapsedRealtimeNanos(); in testOnChangeEventWithDifferentAreaId() 616 fakeValuePsgSide.timestamp = SystemClock.elapsedRealtimeNanos(); in testOnChangeEventWithDifferentAreaId()
|
D | CarVendorExtensionManagerTest.java | 183 new Random(SystemClock.elapsedRealtimeNanos()) in testLargeByteArrayProperty() 277 Random r = new Random(SystemClock.elapsedRealtimeNanos()); in generateRandomString()
|
D | CarUxRestrictionsManagerServiceTest.java | 338 SystemClock.elapsedRealtimeNanos()).build(); in testGetCurrentUxRestrictions_UnknownDisplayId_ReturnsFullRestrictions() 371 SystemClock.elapsedRealtimeNanos()).build(); in testGetCurrentUxRestrictions_UnreportedVirtualDisplay_UseDefaultDisplayRestriction() 432 SystemClock.elapsedRealtimeNanos()).build(); in testGetCurrentUxRestrictions_ReportedVirtualDisplay_ReturnsRestrictionsForPort()
|
/packages/modules/NetworkStack/src/android/net/util/ |
D | Stopwatch.java | 46 mStartTimeNs = SystemClock.elapsedRealtimeNanos(); in start() 55 mStartTimeNs = SystemClock.elapsedRealtimeNanos(); in restart() 66 mStopTimeNs = SystemClock.elapsedRealtimeNanos(); in stop() 79 return (SystemClock.elapsedRealtimeNanos() - mStartTimeNs) / 1000; in lap()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | PropertyHalServiceIdsTest.java | 72 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build(); 77 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build(); 81 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build(); 85 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build(); 89 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build(); 93 .setTimestamp(SystemClock.elapsedRealtimeNanos()).build();
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | DnsTest.java | 199 long startTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() 216 long endTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() 237 long startTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf() 259 long endTime = SystemClock.elapsedRealtimeNanos(); in skiptestDnsPerf()
|
/packages/providers/MediaProvider/tests/utils/src/com/android/providers/media/tests/utils/ |
D | Timer.java | 48 start = SystemClock.elapsedRealtimeNanos(); in start() 57 currentRunDuration = (SystemClock.elapsedRealtimeNanos() - start); in stop()
|
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/ |
D | CarPropertyTest.java | 376 values[2] = propertyValue.getTimestamp() + SystemClock.elapsedRealtimeNanos(); in injectEventFromVehicleSide() 379 values[1] = propertyValue.getTimestamp() + SystemClock.elapsedRealtimeNanos(); in injectEventFromVehicleSide() 386 values[2] = propertyValue.getTimestamp() + SystemClock.elapsedRealtimeNanos(); in injectEventFromVehicleSide()
|
D | E2ePerformanceTest.java | 153 long start = SystemClock.elapsedRealtimeNanos(); in benchmarkSetGetFromSingleClient() 160 while (SystemClock.elapsedRealtimeNanos() < start + TEST_DURATION_NANO) { in benchmarkSetGetFromSingleClient()
|
D | Obd2FreezeFrameTest.java | 77 assertTrue(SystemClock.elapsedRealtimeNanos() in testFreezeFrame()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 211 long elapsedTime = SystemClock.elapsedRealtimeNanos(); in testLoadsLocationWithHeadlessSystemUser() 325 long elapsedTime = SystemClock.elapsedRealtimeNanos(); in testStoresLocationUponShutdownPrepare() 473 SystemClock.elapsedRealtimeNanos())); in testDeletesCacheFileWhenDrivingStateBecomesMoving()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | Clock.java | 53 return SystemClock.elapsedRealtimeNanos(); in getElapsedSinceBootNanos()
|
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/ |
D | TemporaryFile.java | 46 mFile = File.createTempFile(prefix, String.valueOf(SystemClock.elapsedRealtimeNanos())); in TemporaryFile()
|
D | TemporaryDirectory.java | 71 prefix += String.valueOf(SystemClock.elapsedRealtimeNanos()); in TemporaryDirectory()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/power/ |
D | CarPowerManagementTest.java | 393 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertyGet() 484 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendPowerState()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | LogUtils.java | 93 return (SystemClock.elapsedRealtimeNanos() - startNanos) / 1000; in getLatencyMicros()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarUxRestrictionsService.java | 56 SystemClock.elapsedRealtimeNanos()) in createCarUxRestrictions()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 642 SystemClock.elapsedRealtimeNanos()); in dump() 802 v.timestamp = SystemClock.elapsedRealtimeNanos() + TimeUnit.SECONDS.toNanos(delayTime); in injectVhalEvent() 839 v.timestamp = SystemClock.elapsedRealtimeNanos() in injectContinuousVhalEvent()
|