Home
last modified time | relevance | path

Searched refs:nanoTime (Results 1 – 25 of 100) sorted by relevance

1234

/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/f32/
DRefocusFilterF32.java84 startnow = System.nanoTime(); in extractResultImage()
86 endnow = System.nanoTime(); in extractResultImage()
156 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
158 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
161 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
163 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
179 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
182 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
188 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
190 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
[all …]
DImageBuffersForRenderScriptF32.java93 startnow = System.nanoTime(); in initializeRenderScript()
96 endnow = System.nanoTime(); in initializeRenderScript()
102 startnow = System.nanoTime(); in initializeRenderScript()
104 endnow = System.nanoTime(); in initializeRenderScript()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/d1new/
DRefocusFilterd1new.java84 startnow = System.nanoTime(); in extractResultImage()
86 endnow = System.nanoTime(); in extractResultImage()
162 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
167 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
170 startnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
174 endnow = System.nanoTime(); in computeLayerMatteBehindFocalDepth()
191 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
194 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
200 startnow = System.nanoTime(); in filterLayerBehindFocalDepth()
204 endnow = System.nanoTime(); in filterLayerBehindFocalDepth()
[all …]
DImageBuffersForRenderScriptd1new.java119 startnow = System.nanoTime(); in initializeRenderScript()
122 endnow = System.nanoTime(); in initializeRenderScript()
128 startnow = System.nanoTime(); in initializeRenderScript()
130 endnow = System.nanoTime(); in initializeRenderScript()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DWakelockLoadTestRunnable.java41 long startTime = System.nanoTime(); in run()
42 while (System.nanoTime() - startTime < sleepTimeNs) {} in run()
44 startTime = System.nanoTime(); in run()
45 while (System.nanoTime() - startTime < sleepTimeNs) {} in run()
/cts/hostsidetests/graphics/framerateoverride/app/src/com/android/cts/graphics/framerateoverride/
DFrameRateOverrideTestActivity.java129 mLastBufferPostTime = System.nanoTime(); in postBufferToSurface()
178 long nowNanos = System.nanoTime(); in waitForPreconditions()
188 nowNanos = System.nanoTime(); in waitForPreconditions()
195 long nowNanos = System.nanoTime(); in waitForPreconditionViolation()
204 nowNanos = System.nanoTime(); in waitForPreconditionViolation()
219 long nowNanos = System.nanoTime(); in waitForEvents()
229 nowNanos = System.nanoTime(); in waitForEvents()
243 long nowNanos = System.nanoTime(); in waitForRefreshRateChange()
252 nowNanos = System.nanoTime(); in waitForRefreshRateChange()
267 nowNanos = System.nanoTime(); in waitForRefreshRateChange()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioInColdStartLatencyActivity.java126 mPreOpenTime = System.nanoTime(); in startAudioTest()
132 mPostOpenTime = System.nanoTime(); in startAudioTest()
141 mPreStartTime = System.nanoTime(); in startAudioTest()
143 mPostStartTime = System.nanoTime(); in startAudioTest()
184 long time = System.nanoTime(); in onDataReady()
DAudioOutColdStartLatencyActivity.java107 long frame0Time = timestamp.nanoTime - frame0Delta; in calcColdStartLatency()
175 mPreOpenTime = System.nanoTime(); in startAudioTest()
181 mPostOpenTime = System.nanoTime(); in startAudioTest()
190 mPreStartTime = System.nanoTime(); in startAudioTest()
192 mPostStartTime = System.nanoTime(); in startAudioTest()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DTimeManagementTest.java56 TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - mStartTimeElapsedNanos); in testSetTime()
83 mStartTimeElapsedNanos = System.nanoTime(); in saveTime()
90 TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - mStartTimeElapsedNanos); in restoreTime()
DAlwaysOnVpnTest.java199 long deadline = System.nanoTime() + CONNECTIVITY_WAIT_TIME_NS; in waitForConnectivity()
200 while (System.nanoTime() < deadline) { in waitForConnectivity()
216 long deadline = System.nanoTime() + CONNECTIVITY_WAIT_TIME_NS; in waitForNoConnectivity()
217 while (System.nanoTime() < deadline) { in waitForNoConnectivity()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSensorToggleRestrictionTest.java94 long deadline = System.nanoTime() + RESTRICTION_WAITING_TIMEOUT_NANO; in testCameraToggle_RestrictionSet_ResetSensorPrivacy()
95 while (System.nanoTime() < deadline) { in testCameraToggle_RestrictionSet_ResetSensorPrivacy()
113 long deadline = System.nanoTime() + RESTRICTION_WAITING_TIMEOUT_NANO; in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy()
114 while (System.nanoTime() < deadline) { in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_FilesTest.java147 values.put(MediaColumns.DATA, b + "/testing" + System.nanoTime()); in testGetContentUri()
177 final String name = "Test-" + System.nanoTime() + ".Mp3"; in testCaseSensitivity()
200 "/system/media/" + System.nanoTime() + ".ogg", in testAccessInternal()
211 "/data/media/" + System.nanoTime() + ".jpg", in testAccessInternal()
214 new File(Environment.getExternalStorageDirectory(), System.nanoTime() + ".jpg") in testAccessInternal()
231 path + "/" + System.nanoTime() + ".jpg", in testAccess()
232 path + "/DCIM/" + System.nanoTime() + ".jpg", in testAccess()
246 "/data/media/" + System.nanoTime() + ".jpg", in testAccess()
269 "test" + System.nanoTime() + ".mp3"); in testUpdateMediaType()
297 "test" + System.nanoTime() + ".txt"); in testInsertDocumentFile()
[all …]
DMediaStorePendingTest.java113 final String displayName = "cts" + System.nanoTime(); in verifySuccessfulImageInsertion()
162 final String displayName = "cts" + System.nanoTime(); in testSimple_Abandoned()
200 final String displayName = "cts" + System.nanoTime(); in testDuplicates()
225 final String displayName = "cts" + System.nanoTime(); in testMimeTypes()
249 final String displayName = "cts" + System.nanoTime(); in testMimeTypes_Forced()
255 final String displayName = "cts" + System.nanoTime() + ".png"; in testMimeTypes_Forced()
261 final String displayName = "cts" + System.nanoTime() + ".jpg"; in testMimeTypes_Forced()
270 final String displayName = "cts" + System.nanoTime(); in testDirectories()
344 final String displayName = "cts" + System.nanoTime(); in testDirectories_Defaults()
350 final String displayName = "cts" + System.nanoTime(); in testDirectories_Defaults()
[all …]
DMediaStorePlacementTest.java134 final String name = "CTS" + System.nanoTime() + ".JPEG"; in testDisplayName_SameMime()
152 final String name = "cts" + System.nanoTime() + ".png"; in testDisplayName_DifferentMime()
217 "Android", "media", "android.provider.cts", System.nanoTime() + ".jpg")); in testDirectory_InsideSandbox()
257 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated()
293 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated_InvalidMime()
309 mValues.put(MediaColumns.DISPLAY_NAME, "edited" + System.nanoTime()); in testRelated_InvalidPath()
323 final String displayName = "cts" + System.nanoTime() + ".jpg"; in stageImageInAudio()
DMediaStore_Audio_PlaylistsTest.java82 values.put(Playlists.NAME, "My favourites " + System.nanoTime()); in testStoreAudioPlaylistsExternal()
115 final String name1 = "Playlist " + System.nanoTime(); in testName()
116 final String name2 = "Playlist " + System.nanoTime(); in testName()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTestCtsActivity.java52 long start = System.nanoTime(); in waitUntilVisible()
53 while (!mIsVisible && (System.nanoTime() - start) < VISIBLE_TIMEOUT) { in waitUntilVisible()
/cts/hostsidetests/devicepolicy/app/SuspensionChecker/src/com/android/cts/suspensionchecker/
DActivityLaunchTest.java52 final long deadline = System.nanoTime() + TimeUnit.MINUTES.toNanos(1); in testWaitForActivityNotLaunchable()
53 while (System.nanoTime() < deadline) { in testWaitForActivityNotLaunchable()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackSurroundTest.java229 return "(pos = " + timestamp.framePosition + ", nanos = " + timestamp.nanoTime + ")"; in timestampToString()
240 && timestamp.nanoTime != mPreviousTimestamp.nanoTime in addTimestamp()
262 timestamp.nanoTime >= previous.nanoTime); in checkIndividualTimestamps()
270 long elapsedNanos = timestamp.nanoTime - previous.nanoTime; in checkIndividualTimestamps()
319 long elapsedNanos = timestamp2.nanoTime - timestamp1.nanoTime; in calculateSampleRate()
DPresentationSyncTest.java157 long startNsec = System.nanoTime(); in runThroughputTest()
167 startNsec = System.nanoTime(); in runThroughputTest()
181 long endNsec = System.nanoTime(); in runThroughputTest()
309 long startNanos = System.nanoTime(); in runChoreographedTest()
313 long durationNanos = System.nanoTime() - startNanos; in runChoreographedTest()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatable2Callback.java70 mStartNs = System.nanoTime(); in onAnimationStart()
80 mEndNs = System.nanoTime(); in onAnimationEnd()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityPreparer.java51 "Created secondary user " + device.createUser("CTS_" + System.nanoTime())); in setUp()
55 "Created secondary user " + device.createUser("CTS_" + System.nanoTime())); in setUp()
/cts/tests/tests/security/src/android/security/cts/
DActivityManagerTest.java112 final long start = System.nanoTime();
117 return System.nanoTime() - start;
/cts/tests/vr/src/android/vr/cts/
DVrDisplayTest.java66 long startNanos = System.nanoTime(); in testRefreshRateIsAtLeast60Hz()
68 long endNanos = System.nanoTime(); in testRefreshRateIsAtLeast60Hz()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DConfigUtils.java124 final String matcherName = "Atom matcher" + System.nanoTime(); in addEventMetric()
125 final String eventName = "Event " + System.nanoTime(); in addEventMetric()
200 final String gaugeName = "Gauge metric " + System.nanoTime(); in addGaugeMetricInternal()
201 final String whatName = "What atom matcher " + System.nanoTime(); in addGaugeMetricInternal()
202 final String triggerName = "Trigger atom matcher " + System.nanoTime(); in addGaugeMetricInternal()
/cts/tests/mediapc/src/android/mediapc/cts/
DEncoderInitializationLatencyTest.java398 long baseTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()
403 long configureTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()
405 long startTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()
414 dequeueTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()
419 enqueueTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()
431 enqueueTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()
438 dequeueTimeStamp = System.nanoTime(); in calculateEncoderInitializationLatency()

1234