Home
last modified time | relevance | path

Searched refs:elapsedRealtimeNanos (Results 1 – 25 of 48) sorted by relevance

12

/packages/modules/StatsD/framework/test/src/android/util/
DStatsEventTest.java47 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/
DCarDrivingRestrictionsTest.java102 .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()
DCarPropertyServiceTest.java71 .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()
DCarHvacManagerTest.java197 .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()
DCarDiagnosticManagerTest.java96 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()
DCarCabinManagerTest.java154 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
168 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in testEvent()
202 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertySubscribe()
DCarProjectionManagerTest.java133 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendVoiceKey()
151 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendVoiceKey()
DCarPropertyManagerTest.java580 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()
DCarVendorExtensionManagerTest.java183 new Random(SystemClock.elapsedRealtimeNanos()) in testLargeByteArrayProperty()
277 Random r = new Random(SystemClock.elapsedRealtimeNanos()); in generateRandomString()
DCarUxRestrictionsManagerServiceTest.java338 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/
DStopwatch.java46 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/
DPropertyHalServiceIdsTest.java72 .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/
DDnsTest.java199 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/
DTimer.java48 start = SystemClock.elapsedRealtimeNanos(); in start()
57 currentRunDuration = (SystemClock.elapsedRealtimeNanos() - start); in stop()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarPropertyTest.java376 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()
DE2ePerformanceTest.java153 long start = SystemClock.elapsedRealtimeNanos(); in benchmarkSetGetFromSingleClient()
160 while (SystemClock.elapsedRealtimeNanos() < start + TEST_DURATION_NANO) { in benchmarkSetGetFromSingleClient()
DObd2FreezeFrameTest.java77 assertTrue(SystemClock.elapsedRealtimeNanos() in testFreezeFrame()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarLocationServiceTest.java211 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/
DClock.java53 return SystemClock.elapsedRealtimeNanos(); in getElapsedSinceBootNanos()
/packages/services/Car/tests/common_utils/src/com/android/car/test/utils/
DTemporaryFile.java46 mFile = File.createTempFile(prefix, String.valueOf(SystemClock.elapsedRealtimeNanos())); in TemporaryFile()
DTemporaryDirectory.java71 prefix += String.valueOf(SystemClock.elapsedRealtimeNanos()); in TemporaryDirectory()
/packages/services/Car/tests/carservice_test/src/com/android/car/power/
DCarPowerManagementTest.java393 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in onPropertyGet()
484 .setTimestamp(SystemClock.elapsedRealtimeNanos()) in sendPowerState()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DLogUtils.java93 return (SystemClock.elapsedRealtimeNanos() - startNanos) / 1000; in getLatencyMicros()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarUxRestrictionsService.java56 SystemClock.elapsedRealtimeNanos()) in createCarUxRestrictions()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java642 SystemClock.elapsedRealtimeNanos()); in dump()
802 v.timestamp = SystemClock.elapsedRealtimeNanos() + TimeUnit.SECONDS.toNanos(delayTime); in injectVhalEvent()
839 v.timestamp = SystemClock.elapsedRealtimeNanos() in injectContinuousVhalEvent()

12