Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
S2-group
GitHub Repository: S2-group/android-runner
Path: blob/master/examples/android/config_web_root_charging_disabled.json
907 views
1
{
2
"type": "web",
3
"devices": {
4
"Pixel 6": {
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
"chrome"
14
],
15
"paths": [
16
"https://google.com/",
17
"https://apple.com/",
18
"https://wikipedia.com/"
19
],
20
"profilers": {
21
"android": {
22
"subject_aggregation": "none",
23
"experiment_aggregation": "Scripts/aggregate_android.py",
24
"sample_interval": 100,
25
"data_points": [
26
"cpu",
27
"mem"
28
]
29
}
30
},
31
"scripts": {
32
"before_experiment": "Scripts/before_experiment.py",
33
"before_run": "Scripts/before_run.py",
34
"after_launch": "Scripts/after_launch.py",
35
"interaction": [
36
{
37
"type": "python3",
38
"path": "Scripts/interaction.py",
39
"timeout": 500,
40
"logcat_regex": "some keyword"
41
}
42
],
43
"before_close": "Scripts/before_close.py",
44
"after_run": "Scripts/after_run.py",
45
"after_experiment": "Scripts/after_experiment.py"
46
},
47
"time_between_run": 100
48
}
49
50