Home
last modified time | relevance | path

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

123

/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/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
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/tests/tests/provider/src/android/provider/cts/
DMediaStorePendingTest.java108 final String displayName = "cts" + System.nanoTime(); in verifySuccessfulImageInsertion()
157 final String displayName = "cts" + System.nanoTime(); in testSimple_Abandoned()
195 final String displayName = "cts" + System.nanoTime(); in testDuplicates()
220 final String displayName = "cts" + System.nanoTime(); in testMimeTypes()
244 final String displayName = "cts" + System.nanoTime(); in testMimeTypes_Forced()
250 final String displayName = "cts" + System.nanoTime() + ".png"; in testMimeTypes_Forced()
256 final String displayName = "cts" + System.nanoTime() + ".jpg"; in testMimeTypes_Forced()
265 final String displayName = "cts" + System.nanoTime(); in testDirectories()
338 final String displayName = "cts" + System.nanoTime(); in testDirectories_Defaults()
344 final String displayName = "cts" + System.nanoTime(); in testDirectories_Defaults()
[all …]
DMediaStore_FilesTest.java140 values.put(MediaColumns.DATA, b + "/testing" + System.nanoTime()); in testGetContentUri()
167 final String name = "Test-" + System.nanoTime() + ".Mp3"; in testCaseSensitivity()
190 "/system/media/" + System.nanoTime() + ".ogg", in testAccessInternal()
201 "/data/media/" + System.nanoTime() + ".jpg", in testAccessInternal()
204 new File(Environment.getExternalStorageDirectory(), System.nanoTime() + ".jpg") in testAccessInternal()
221 path + "/" + System.nanoTime() + ".jpg", in testAccess()
222 path + "/DCIM/" + System.nanoTime() + ".jpg", in testAccess()
236 "/data/media/" + System.nanoTime() + ".jpg", in testAccess()
259 "test" + System.nanoTime() + ".mp3"); in testUpdateMediaType()
288 "test" + System.nanoTime() + ".mp3"); in testDateAddedFrozen()
[all …]
DMediaStore_DownloadsTest.java148 final String displayName = "cts" + System.nanoTime(); in testMediaInDownloadsDir()
151 final String displayName2 = "cts" + System.nanoTime(); in testMediaInDownloadsDir()
173 final String displayName = "cts" + System.nanoTime(); in testInsertDownload()
223 final String displayName = "cts" + System.nanoTime(); in testUpdateDownload()
259 final String displayName = "cts" + System.nanoTime(); in testDeleteDownload()
300 final String displayName = "cts" + System.nanoTime(); in testNotifyChange()
DMediaStorePlacementTest.java120 final String name = "CTS" + System.nanoTime() + ".JPEG"; in testDisplayName_SameMime()
138 final String name = "cts" + System.nanoTime() + ".png"; in testDisplayName_DifferentMime()
203 "Android", "media", "android.provider.cts", System.nanoTime() + ".jpg")); in testDirectory_InsideSandbox()
DMediaStore_Images_ThumbnailsTest.java193 stringUrl = Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), null); in testQueryExternalMiniThumbnails()
227 stringUrl = Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), null); in testQueryExternalMiniThumbnails()
304 Uri uri = Uri.parse(Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), in testThumbnailGenerationAndCleanup()
320 uri = Uri.parse(Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), in testThumbnailGenerationAndCleanup()
370 Media.insertImage(mContentResolver, src, "cts" + System.nanoTime(), null)); in testThumbnailOrderedQuery()
421 final String displayName = "cts" + System.nanoTime(); in testInsertUpdateDelete()
DMediaStore_Images_MediaTest.java100 final long unique1 = System.nanoTime(); in testInsertImageWithImagePath()
103 final long unique2 = System.nanoTime(); in testInsertImageWithImagePath()
178 final long unique3 = System.nanoTime(); in testInsertImageWithBitmap()
227 new File(dir, "cts" + System.nanoTime() + ".jpg")); in testStoreImagesMediaExternal()
310 final String displayName = "cts" + System.nanoTime();
390 final String displayName = "cts" + System.nanoTime();
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackSurroundTest.java220 return "(pos = " + timestamp.framePosition + ", nanos = " + timestamp.nanoTime + ")"; in timestampToString()
231 && timestamp.nanoTime != mPreviousTimestamp.nanoTime in addTimestamp()
251 timestamp.nanoTime >= previous.nanoTime); in checkIndividualTimestamps()
259 long elapsedNanos = timestamp.nanoTime - previous.nanoTime; in checkIndividualTimestamps()
307 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/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/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/vr/src/android/vr/cts/
DVrDisplayTest.java66 long startNanos = System.nanoTime(); in testRefreshRateIsAtLeast60Hz()
68 long endNanos = System.nanoTime(); in testRefreshRateIsAtLeast60Hz()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java123 "cts" + System.nanoTime()); in doSandboxed()
138 "cts" + System.nanoTime()); in doSandboxed()
331 values.put(MediaColumns.DISPLAY_NAME, "cts" + System.nanoTime()); in doMediaEscalation_Update()
398 final String displayName = "cts" + System.nanoTime(); in createAudio()
413 final String displayName = "cts" + System.nanoTime(); in createVideo()
428 final String displayName = "cts" + System.nanoTime(); in createImage()
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DShortcutManagerBackupTest.java171 final long TIMEOUT = System.nanoTime() + in waitUntilBroadcastsDrain()
178 while (System.nanoTime() < TIMEOUT) { in waitUntilBroadcastsDrain()
210 final long TIMEOUT = System.nanoTime() + in waitUntilPackagesGone()
213 while (System.nanoTime() < TIMEOUT) { in waitUntilPackagesGone()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java112 long start = System.nanoTime(); in eventually()
119 if (System.nanoTime() - start < TimeUnit.NANOSECONDS.convert(timeout, in eventually()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DSetTimeTest.java145 mStartTimeElapsedNanos = System.nanoTime(); in saveTime()
152 TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - mStartTimeElapsedNanos); in restoreTime()
/cts/tests/tests/permission/src/android/permission/cts/
DPermissionGroupChange.java78 long startTime = System.nanoTime(); in eventually()
84 if (System.nanoTime() - startTime < TimeUnit.SECONDS.toNanos(timeoutSec)) { in eventually()
/cts/tests/tests/view/src/android/view/cts/
DChoreographerTest.java200 long postTimeNanos = System.nanoTime(); in testPostFrameCallbackWithoutDelay()
223 postTimeNanos = System.nanoTime(); in testPostFrameCallbackWithoutDelay()
247 long postTimeNanos = System.nanoTime(); in testPostFrameCallbackWithDelay()
/cts/tests/tests/widget/src/android/widget/cts/
DZoomButtonTest.java142 final long startTime = System.nanoTime(); in testSetZoomSpeed()
180 mTimeOfFirstClick = System.nanoTime(); in onClick()
/cts/hostsidetests/backup/src/android/cts/backup/
DBackupPreparer.java154 long tryUntilNanos = System.nanoTime() in waitForBackupInitialization()
156 while (System.nanoTime() < tryUntilNanos) { in waitForBackupInitialization()

123