Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/os/src/android/os/health/cts/
DTimerStatTest.java38 TimerStat timer = new TimerStat(); in testEmptyConstructor() local
40 Assert.assertEquals(0, timer.getCount()); in testEmptyConstructor()
41 Assert.assertEquals(0, timer.getTime()); in testEmptyConstructor()
49 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetCount() local
51 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetCount()
53 timer.setCount(12); in testSetCount()
55 Assert.assertEquals(12, timer.getCount()); in testSetCount()
56 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testSetCount()
64 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetTime() local
66 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9515/
Dpoc.c35 time_t timer = start_timer(); in uaf_worker() local
36 while (timer_active(timer)) { in uaf_worker()
52 time_t timer = start_timer(); in chaos_worker() local
53 while (timer_active(timer)) { in chaos_worker()
82 time_t timer = start_timer(); in main() local
83 while (timer_active(timer)) { in main()
/cts/tests/camera/libctscamera2jni/
Ddng-validate-jni.cpp126 dng_timer timer("Raw image read time"); in dng_validate() local
131 dng_timer timer("Transparency mask read time"); in dng_validate() local
167 dng_timer timer("Linearization time"); in dng_validate() local
188 dng_timer timer("Interpolate time"); in dng_validate() local
196 dng_timer timer("ConvertToProxy time"); in dng_validate() local
207 dng_timer timer("FlattenTransparency time"); in dng_validate() local
242 dng_timer timer(previewIndex == 0 ? "Build thumbnail time" in dng_validate() local
308 dng_timer timer("Write DNG time"); in dng_validate() local
341 dng_timer timer("Render time"); in dng_validate() local
361 dng_timer timer("Write TIFF time"); in dng_validate() local
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DCallNotificationService.java35 Timer timer = new Timer(); in onCreateIncomingConnection() local
36 timer.schedule(new Task(sampleConnection), DURATION_MS); in onCreateIncomingConnection()
DDeviceLockTestPlayerListener.java76 Timer timer = new Timer(); in onEventsMediaItemTransition() local
77 timer.schedule(new Task(), LOCK_DURATION_MS); in onEventsMediaItemTransition()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java655 Stopwatch timer = new Stopwatch(); in testThumbnail() local
664 timer.start(); in testThumbnail()
666 timer.end(); in testThumbnail()
667 timer.printDuration("getFrameAtTime"); in testThumbnail()
784 Stopwatch timer = new Stopwatch(); in testThumbnailWithRotation() local
796 timer.start(); in testThumbnailWithRotation()
798 timer.end(); in testThumbnailWithRotation()
799 timer.printDuration("getFrameAtTime"); in testThumbnailWithRotation()
1284 Stopwatch timer = new Stopwatch(); in testGetImage() local
1321 timer.start(); in testGetImage()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9539/
Dpoc.cpp134 time_t timer = start_timer(); in main() local
135 while (timer_active(timer)) { in main()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockVoiceService.java138 MockCallStateTimerTask(Timer timer, int callId, int event) { in MockCallStateTimerTask() argument
139 mTimer = timer; in MockCallStateTimerTask()
393 Timer timer = new Timer(false); in addCallStateTimerTask() local
394 MockCallStateTimerTask timerTask = new MockCallStateTimerTask(timer, callId, event); in addCallStateTimerTask()
395 if (timer != null && timerTask != null) { in addCallStateTimerTask()
396 timer.schedule(timerTask, duration); in addCallStateTimerTask()
399 mTimerList.add(timer); in addCallStateTimerTask()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DRobustnessPath.java84 Timer timer = new Timer(); in startChangingTargetRotation() local
85 timer.scheduleAtFixedRate(new TimerTask() { in startChangingTargetRotation()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DContentTest.java220 Timer timer = new Timer(); in testCanObserveAcrossProfiles() local
221 timer.schedule(new TimerTask() { in testCanObserveAcrossProfiles()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCtsWindowInfoUtils.java400 var timer = new Timer(); in waitForStableWindowGeometry() local
436 timer.schedule(task[0], 200 * HW_TIMEOUT_MULTIPLIER); in waitForStableWindowGeometry()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java824 Thread timer = new Thread(() -> { in testSetNextMediaPlayer() local
845 timer.start(); in testSetNextMediaPlayer()
/cts/common/device-side/bedstead/btest/
Dbtest858 if self.args.timer == "btest":