Home
last modified time | relevance | path

Searched refs:waltDevice (Results 1 – 9 of 9) sorted by relevance

/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DAudioTest.java178 waltDevice.syncClock(); in doRecordingTestRepetition()
205 waltDevice.syncClock(); in beginPlaybackMeasurement()
206 waltDevice.startListener(); in beginPlaybackMeasurement()
222 waltDevice.setTriggerHandler(playbackTriggerHandler); in beginPlaybackMeasurement()
234 long enqueueTime = getTePlay() - waltDevice.clock.baseTime;
251 traceLogger.log(lastBeepTime + waltDevice.clock.baseTime,
252 enqueueTime + waltDevice.clock.baseTime,
255 traceLogger.log(enqueueTime + waltDevice.clock.baseTime,
256 tmsg.t + waltDevice.clock.baseTime,
287 waltDevice.stopListener();
[all …]
DMidiTest.java144 waltDevice.syncClock(); in setupMidiOut()
145 waltDevice.command(WaltDevice.CMD_MIDI); in setupMidiOut()
146 waltDevice.startListener(); in setupMidiOut()
147 waltDevice.setTriggerHandler(triggerHandler); in setupMidiOut()
180 last_tWalt = tmsg.t + waltDevice.clock.baseTime;
196 waltDevice.command(WaltDevice.CMD_MIDI);
255 waltDevice.stopListener(); in teardownMidiOut()
256 waltDevice.clearTriggerHandler(); in teardownMidiOut()
257 waltDevice.checkDrift(); in teardownMidiOut()
266 s = waltDevice.command(WaltDevice.CMD_NOTE);
[all …]
DScreenResponseFragment.java65 private WaltDevice waltDevice; field in ScreenResponseFragment
116 waltDevice = WaltDevice.getInstance(getContext()); in onCreateView()
190 … WaltDevice.TriggerMessage tmsg = waltDevice.readTriggerMessage(WaltDevice.CMD_SEND_LAST_SCREEN);
193 waltDevice.softReset();
194 waltDevice.syncClock(); // Note, sync also sends CMD_RESET (but not simpleSync).
195 waltDevice.command(WaltDevice.CMD_AUTO_SCREEN_ON);
196 waltDevice.startListener();
202 waltDevice.setTriggerHandler(triggerHandler);
246 lastSetBackgroundTime = waltDevice.clock.micros();
254 lastFrameStartTime = frameTimeNanos / 1000 - waltDevice.clock.baseTime;
[all …]
DDragLatencyFragment.java46 private WaltDevice waltDevice; field in DragLatencyFragment
75 UsMotionEvent eh = new UsMotionEvent(event, waltDevice.clock.baseTime, i);
78 UsMotionEvent e = new UsMotionEvent(event, waltDevice.clock.baseTime);
95 waltDevice = WaltDevice.getInstance(getContext()); in onCreateView()
149 waltDevice.syncClock(); in startMeasurement()
155 waltDevice.setTriggerHandler(triggerHandler); in startMeasurement()
157 waltDevice.command(WaltDevice.CMD_AUTO_LASER_ON); in startMeasurement()
158 waltDevice.startListener(); in startMeasurement()
161 waltDevice.clearTriggerHandler(); in startMeasurement()
176 waltDevice.syncClock(); in restartMeasurement()
[all …]
DTapLatencyFragment.java45 private WaltDevice waltDevice; field in TapLatencyFragment
77 UsMotionEvent tapEvent = new UsMotionEvent(event, waltDevice.clock.baseTime);
86 tapEvent.physicalTime = waltDevice.readLastShockTime();
129 traceLogger.log(tapEvent.physicalTime + waltDevice.clock.baseTime, in traceLogEvent()
130 tapEvent.kernelTime + waltDevice.clock.baseTime, title + " Physical", in traceLogEvent()
132 traceLogger.log(tapEvent.kernelTime + waltDevice.clock.baseTime, in traceLogEvent()
133 tapEvent.createTime + waltDevice.clock.baseTime, title + " App Callback", in traceLogEvent()
148 waltDevice = WaltDevice.getInstance(getContext()); in onCreateView()
218 waltDevice.softReset(); in restartMeasurement()
219 waltDevice.syncClock(); in restartMeasurement()
[all …]
DMainActivity.java76 private WaltDevice waltDevice; field in MainActivity
127 waltDevice.connect(); in onResume()
129 waltDevice.connect(usbDevice); in onResume()
209 waltDevice = WaltDevice.getInstance(this); in onCreate()
348 waltDevice.connect(); in onClickReconnect()
352 long t1 = waltDevice.clock.micros(); in onClickPing()
354 waltDevice.command(WaltDevice.CMD_PING); in onClickPing()
355 long dt = waltDevice.clock.micros() - t1; in onClickPing()
365 if (waltDevice.isListenerStopped()) { in onClickStartListener()
367 waltDevice.startListener(); in onClickStartListener()
[all …]
DTouchCatcherView.java31 private WaltDevice waltDevice; field in TouchCatcherView
50 waltDevice = WaltDevice.getInstance(context); in TouchCatcherView()
89 double normPos = markerPosition(waltDevice.clock.micros(), animationPeriod_us); in onDraw()
DBaseTest.java34 WaltDevice waltDevice; field in BaseTest
40 waltDevice = WaltDevice.getInstance(context); in BaseTest()
DAutoRunFragment.java41 private WaltDevice waltDevice; field in AutoRunFragment
163 waltDevice.setConnectionStateListener(new WaltConnection.ConnectionStateListener() { in doTest()
207 waltDevice = WaltDevice.getInstance(getContext()); in onCreateView()