Documentation
¶
Overview ¶
Package screenlatency contains functionality to communicate with a companion Android app to measure the latency between a simulated key press and when it's actually drawn on screen.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommunicateWithCompanionApp ¶
func CommunicateWithCompanionApp(ctx context.Context, s *testing.State, ln net.Listener, keyboard *input.KeyboardEventWriter)
CommunicateWithCompanionApp starts listening for commands from a companion Android app, and calculates the latency once the OCR results are available.
Note: the function only logs the latency. It does not fail because of the latency value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.