Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
S2-group
GitHub Repository: S2-group/android-runner
Path: blob/master/examples/trepn/config_web_root_charging_disabled.json
907 views
1
{
2
"type": "web",
3
"devices": {
4
"nexus5x": {
5
"root_disable_charging": "True",
6
"charging_disabled_value": 0,
7
"usb_charging_disabled_file": "sys/class/power_supply/battery/charging_enabled"
8
}
9
},
10
"repetitions": 1,
11
"randomization": false,
12
"browsers": [
13
"firefox"
14
],
15
"paths": [
16
"https://google.com/",
17
"https://apple.com/",
18
"https://wikipedia.com/"
19
],
20
"profilers": {
21
"trepn": {
22
"subject_aggregation": "default",
23
"experiment_aggregation": "Scripts/aggregate_trepn.py",
24
"preferences": {
25
"profiling_interval": 100,
26
"battery_power_source_selection": "Direct Power"
27
},
28
"data_points": [
29
"battery_temp",
30
"mem_usage",
31
"battery_power"
32
]
33
}
34
},
35
"scripts": {
36
"before_experiment": "Scripts/before_experiment.py",
37
"before_run": "Scripts/before_run.py",
38
"after_launch": "Scripts/after_launch.py",
39
"interaction": [
40
{
41
"type": "python3",
42
"path": "Scripts/interaction.py",
43
"timeout": 500,
44
"logcat_regex": "some keyword"
45
}
46
],
47
"before_close": "Scripts/before_close.py",
48
"after_run": "Scripts/after_run.py",
49
"after_experiment": "Scripts/after_experiment.py"
50
},
51
"time_between_run": 100
52
}
53
54