Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Dict Str Str Num Num Dict Str Str Num Num Assign NameStore ListLoad Call NameLoad Str keyword NameLoad keyword Num keyword Lambda arguments args NameParam defaults CompareGt NameLoad Num keyword Str Call NameLoad Str keyword NameLoad keyword ListLoad Str Str Str Str keyword Str Call NameLoad Str keyword Str keyword NameLoad keyword Str Call NameLoad Str keyword NameLoad keyword BinOpMult Num Num keyword Str Assign NameStore ListLoad Call NameLoad Str keyword Str Call NameLoad Str keyword Str Call NameLoad Str keyword Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareIn Str NameLoad body Raise Call NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Num Assign NameStore ListLoad With Call NameLoad AttributeLoad NameLoad attr NameStore body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad While NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr While Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Assign NameStore Call AttributeLoad Str attr NameLoad orelse Assign NameStore Str For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpDiv SubscriptLoad NameLoad Index Str Num Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str NameLoad NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore ListLoad AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Pass If NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body AugAssignAdd AttributeStore NameLoad attr Str For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad NameLoad Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr ListLoad Str Str AttributeLoad AttributeLoad NameLoad attr attr Str orelse Assign AttributeStore NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr While UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body If Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad ListLoad Num If NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr If BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ division N/A os N/A re N/A time N/A select N/A json N/A threading N/A subprocess wlauto ApkWorkload Parameter Alias wlauto.exceptions WorkloadError N/A DELAY 2 N/A OLD_RESULT_START_REGEX N/A N/A re compile I/TfwActivity\s*\(\s*\d+\):\s+\S+\s+result: { N/A NEW_RESULT_START_REGEX N/A N/A re compile [\d\s:.-]+I\sTfwActivity(\s*\(\s*\d+\))?:\s+\S+\s+result: { N/A OLD_PREAMBLE_REGEX N/A N/A re compile I/TfwActivity\s*\(\s*\d+\):\s+ N/A NEW_PREAMBLE_REGEX N/A N/A re compile [\d\s:.-]+I\sTfwActivity(\s*\(\s*\d+\))?: GlbCorp N/A ApkWorkload N/A N/A name glb_corporate N/A description 
    GFXBench GL (a.k.a. GLBench) v3.0 Corporate version.

    This is a version of GLBench available through a corporate license (distinct
    from the version available in Google Play store).

     N/A package net.kishonti.gfxbench N/A activity net.kishonti.benchui.TestActivity N/A result_start_regex None N/A preamble_regex None N/A valid_test_ids N/A gl_alu gl_alu_off gl_blending gl_blending_off gl_driver gl_driver_off gl_fill gl_fill_off gl_manhattan gl_manhattan_off gl_trex gl_trex_battery gl_trex_off gl_trex_qmatch gl_trex_qmatch_highp N/A supported_resolutions N/A 720p 1080p N/A -ei -w -ei -h 1280 720 N/A -ei -w -ei -h 1920 1080 N/A parameters N/A N/A Parameter times kind int default 1 constraint N/A N/A N/A x N/A N/A x 0 description Specifies the number of times the benchmark will be run in a "tight loop", i.e. without performaing setup/teardown inbetween. N/A Parameter resolution default None allowed_values N/A 720p 1080p 720 1080 description Explicitly specifies the resultion under which the benchmark will be run. If not specfied, device's native resoution will used. N/A Parameter test_id default gl_manhattan_off allowed_values valid_test_ids description ID of the GFXBench test to be run. N/A Parameter run_timeout kind int default N/A 10 60 description 
                  Time out for workload execution. The workload will be killed if it hasn't completed
                  withint this period.
                   N/A aliases N/A N/A Alias manhattan test_id gl_manhattan N/A Alias manhattan_off test_id gl_manhattan_off N/A Alias manhattan_offscreen test_id gl_manhattan_off setup N/A N/A self context N/A N/A N/A N/A N/A N/A super GlbCorp self setup context N/A N/A self command N/A N/A self _build_command N/A N/A self monitor N/A GlbRunMonitor N/A self device N/A N/A N/A N/A self monitor start N/A launch_package N/A N/A self N/A N/A N/A N/A run N/A N/A self context N/A N/A N/A _ N/A xrange N/A self times N/A N/A result N/A N/A N/A self device execute N/A self command timeout N/A self run_timeout N/A N/A FAILURE result N/A N/A N/A WorkloadError result N/A N/A N/A N/A N/A self logger debug result N/A N/A N/A time sleep DELAY N/A N/A N/A N/A self monitor wait_for_run_end N/A self run_timeout N/A update_result N/A N/A self context N/A N/A N/A N/A N/A N/A super GlbCorp self update_result context N/A N/A N/A N/A self monitor stop N/A iteration 0 N/A results N/A N/A N/A open N/A self logcat_log fh N/A N/A N/A N/A line N/A N/A fh next N/A result_lines N/A N/A True N/A N/A N/A N/A OLD_RESULT_START_REGEX search line N/A N/A N/A self preamble_regex OLD_PREAMBLE_REGEX N/A N/A self result_start_regex OLD_RESULT_START_REGEX N/A N/A N/A N/A NEW_RESULT_START_REGEX search line N/A N/A N/A self preamble_regex NEW_PREAMBLE_REGEX N/A N/A self result_start_regex NEW_RESULT_START_REGEX N/A N/A N/A self result_start_regex N/A N/A N/A self result_start_regex search line N/A N/A N/A N/A result_lines append { N/A line N/A N/A fh next N/A N/A N/A N/A self preamble_regex search line N/A N/A N/A N/A result_lines append N/A N/A N/A self preamble_regex sub line N/A line N/A N/A fh next N/A N/A N/A result N/A N/A json loads N/A N/A join result_lines N/A N/A N/A results append result N/A iteration N/A N/A suffix N/A N/A _{} format iteration N/A N/A suffix N/A sub_result N/A result N/A results N/A N/A frames N/A sub_result N/A score N/A elapsed_time N/A N/A sub_result N/A elapsed_time 1000 N/A fps N/A frames elapsed_time N/A N/A N/A N/A context result add_metric N/A score suffix frames frames N/A N/A N/A N/A context result add_metric N/A fps suffix fps N/A N/A N/A ValueError N/A N/A N/A N/A N/A self logger warning N/A N/A Could not parse result for iteration {} format iteration N/A result_lines N/A N/A iteration 1 N/A line N/A N/A fh next N/A N/A N/A StopIteration N/A N/A N/A results N/A N/A outfile N/A N/A N/A os path join N/A context output_directory glb-results.json N/A N/A open outfile wb wfh N/A N/A N/A N/A json dump results wfh indent 4 N/A _build_command N/A N/A self N/A N/A N/A command_params N/A N/A N/A N/A command_params append N/A N/A -e test_ids "{}" format N/A self test_id N/A N/A self resolution N/A N/A N/A N/A N/A N/A self resolution endswith p N/A N/A N/A self resolution p N/A N/A k v N/A N/A N/A N/A self supported_resolutions N/A N/A self resolution iteritems N/A N/A N/A N/A command_params append N/A N/A {} {} format k v N/A N/A N/A am start -W -S -n {}/{} {} format N/A self package N/A self activity N/A N/A join command_params N/A N/A GlbRunMonitor N/A N/A threading Thread N/A N/A old_regex N/A N/A re compile I/Runner\s+\(\s*\d+\): finished: N/A new_regex N/A N/A re compile I Runner\s*:\s*finished: __init__ N/A N/A self device N/A N/A N/A N/A N/A N/A super GlbRunMonitor self __init__ N/A N/A self device device N/A N/A self daemon True N/A N/A self run_ended N/A N/A threading Event N/A N/A self stop_event N/A N/A threading Event N/A N/A N/A N/A self device execute logcat -c N/A N/A N/A self device adb_name N/A N/A N/A self command N/A adb -s N/A N/A self device adb_name logcat N/A N/A N/A self command N/A adb logcat N/A run N/A N/A self N/A N/A N/A proc N/A N/A subprocess Popen N/A self command stdout N/A subprocess PIPE stderr N/A subprocess PIPE N/A N/A N/A N/A N/A self stop_event is_set N/A N/A N/A N/A N/A self run_ended is_set N/A N/A N/A N/A time sleep DELAY N/A N/A N/A ready _ _ N/A N/A select select N/A N/A proc stdout N/A proc stderr N/A N/A 2 N/A ready N/A N/A line N/A N/A N/A ready N/A 0 readline N/A N/A N/A N/A N/A self new_regex search line N/A N/A N/A self old_regex search line N/A N/A N/A N/A N/A self run_ended set N/A stop N/A N/A self N/A N/A N/A N/A N/A N/A self stop_event set N/A N/A N/A self join N/A wait_for_run_end N/A N/A self timeout N/A N/A N/A N/A N/A N/A self run_ended wait timeout N/A N/A N/A N/A self run_ended clear N/A N/A