/
meta.json
144 lines (144 loc) · 4.47 KB
/
meta.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"apk": {
"name": "com.google.android.apps.photos"
},
"backup_data_uid": "359cdc36e3384682",
"ck_to_env": {
"CK_WA_SCRIPTS_PATH": "script:39157fb314f399ae"
},
"clean_dirs": [
"wa_output"
],
"data_name": "WA workload: googlephotos",
"deps": {
"wa": {
"env_key": "WA",
"force_target_as_host": "yes",
"local": "yes",
"name": "ARM Workload Automation",
"sort": 10,
"tags": "tool,wa"
}
},
"no_compile": "yes",
"no_target_file": "yes",
"params": {
"check_abi": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, workload will check that the APK matches the target device ABI, otherwise any APK found will be used.",
"mandatory": null,
"type": "boolean"
},
"check_apk": {
"allowed_values": null,
"default": true,
"desc": "When set to True the APK file on the host will be prefered if it is a valid version and ABI, if not it will fall back to the version on the targer. When set to False the target version is prefered.",
"mandatory": null,
"type": "boolean"
},
"clean_assets": {
"allowed_values": null,
"default": false,
"desc": "If ``True`` pushed assets will be deleted at the end of each iteration",
"mandatory": null,
"type": "boolean"
},
"force_install": {
"allowed_values": null,
"default": false,
"desc": "Always re-install the APK, even if matching version is found already installed on the device. Runs ``adb install -r`` to ensure existing APK is replaced. When this is set, check_apk is ignored.",
"mandatory": null,
"type": "boolean"
},
"force_push_assets": {
"allowed_values": null,
"default": false,
"desc": "If ``True`` always push assets on each iteration, even if the assets already exists in the device path",
"mandatory": null,
"type": "boolean"
},
"install_timeout": {
"allowed_values": null,
"default": 300,
"desc": "Timeout for the installation of the apk.",
"mandatory": null,
"type": "integer"
},
"markers_enabled": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, UX_PERF action markers will be emitted to logcat during the test run.",
"mandatory": null,
"type": "boolean"
},
"modules": {
"allowed_values": null,
"default": null,
"desc": "Lists the modules to be loaded by this extension. A module is a plug-in that further extends functionality of an extension.",
"mandatory": null,
"type": "list"
},
"test_images": {
"allowed_values": null,
"default": [
"uxperf_1200x1600.png",
"uxperf_1600x1200.jpg",
"uxperf_2448x3264.png",
"uxperf_3264x2448.jpg"
],
"desc": "A list of four JPEG and/or PNG files to be pushed to the device. Absolute file paths may be used but tilde expansion must be escaped.",
"mandatory": null,
"type": "list_of_strs"
},
"uninstall_apk": {
"allowed_values": null,
"default": false,
"desc": "If ``True``, will uninstall workload's APK as part of teardown.",
"mandatory": null,
"type": "boolean"
}
},
"print_files_after_run": [
"tmp-output2.tmp",
"wa_output/status.txt",
"wa_output/googlephotos_1_1/result.txt"
],
"process_in_tmp": "yes",
"program": "yes",
"required_device_access_type": [
"wa_android",
"wa_linux"
],
"run_cmds": {
"default": {
"ignore_return_code": "no",
"run_time": {
"fine_grain_timer_file": "tmp-ck-timer.json",
"post_process_cmds": [
"python $<<CK_WA_SCRIPTS_PATH>>$$#dir_sep#$postprocess_workload.py"
],
"post_process_via_ck": "yes",
"pre_process_via_ck": {
"data_uoa": "process-wa",
"module_uoa": "script",
"script_name": "preprocess_workload"
},
"run_cmd_main": "wa run $<<CK_WA_CMD>>$",
"run_cmd_out1": "tmp-output1.tmp",
"run_cmd_out2": "tmp-output2.tmp",
"run_output_files": []
}
}
},
"run_via_third_party": "yes",
"tags": [
"wa",
"workload-automation",
"googlephotos"
],
"template": "yes",
"template_type": "Arm workload automation workflow",
"wa_alias": "googlephotos",
"wa_desc": "A workload to perform standard productivity tasks with Google Photos. The workload carries out various tasks, such as browsing images, performing zooms, and post-processing the image"
}