1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00

workloads/exoplayer: Support Android 10

Android 10 appears to use a new format in logcat when displaying the
PlayerActivity. Update the regex to suport both formats.
This commit is contained in:
Marc Bonnici 2020-01-27 14:55:51 +00:00 committed by setrofim
parent 6f9856cf2e
commit c6d23ab01f

View File

@ -36,7 +36,7 @@ from devlib.utils.android import grant_app_permissions
# Regexps for benchmark synchronization
REGEXPS = {
'start': '.*Displayed com.google.android.exoplayer2.demo/.PlayerActivity',
'start': '.*(Displayed|START).*com.google.android.exoplayer2.demo/.PlayerActivity',
'duration': '.*period \[(?P<duration>[0-9]+.*)\]',
'end': '.*state \[.+, .+, E\]',
'dropped_frames': '.*droppedFrames \[(?P<session_time>[0-9]+\.[0-9]+), (?P<count>[0-9]+)\]'