• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2    {
3        "DEVICE_1":[1, 2, 3, 8, 10, 12],
4        "DEVICE_2":[4, 5, 6, 7, 9, 11],
5        "recent-x-y":[515, 1240],
6        "recent_del-x-y":[360, 1170],
7        "permisson_ok-x-y":[500, 1130],
8        "note_content-x-y":[500, 310],
9        "take_photos-x-y":[360, 1095],
10        "convert_to_video-x-y":[430, 980],
11        "convert_to_photos-x-y":[200, 1095],
12        "last_photos-x-y":[100, 220],
13        "stop_video-x-y":[320, 1095],
14        "phone-x-y":[645, 1060],
15        "screenshot-x-y":[115,480],
16        "shot_cmd":[""],
17        "remount":["mount -o rw,remount"],
18        "stop_hilog":["hilog -w stop"],
19        "cmp_cmd-level":["", 443200],
20        "get_file_from_dev":[""],
21        "send_file_to_dev":["", ""]
22    },
23    {
24        "app_name": "crash_check",
25        "entry": "",
26        "compress_file_recv":["cd /data/log/faultlog/temp && tar -cf crash_log.tar cppcrash*"],
27        "all_actions": [
28            [1, "remount"], [1, "process_crash_check", "foundation"], [1, "process_crash_check", "render_service"], [1, "process_crash_check", "appspawn"], [1, "compress_file_recv"],
29            [1, "get_file_from_dev", "/data/log/faultlog/temp/crash_log.tar"]
30        ]
31    },
32    {
33        "app_name": "notification_bar",
34        "entry": "",
35        "pull_down_cmd":["uinput -T -m 500 0 550 30"],
36        "swipe_up_cmd":["uinput -T -m 500 500 550 300"],
37        "all_actions": [
38            [2, "pull_down_cmd"], [2, "pull_down_cmd"], [2, "shot_cmd"], [2, "cmp_cmd-level"], [1, "swipe_up_cmd"], [1, "swipe_up_cmd"]
39        ]
40    },
41    {
42        "app_name": "wifi_connect",
43        "entry": "",
44        "check_ping_baidu":["ping www.baidu.com", "64 bytes from"],
45        "all_actions": [
46            [2, "connect_wifi"], [1, "check_ping_baidu"]
47        ]
48    },
49    {
50        "app_name": "video_test",
51        "entry": "",
52        "mk_test_dir":["mkdir -p /data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files"],
53        "start_video_log":["rm /data/log/hilog/* && hilog -r && hilog -Q pidoff;hilog -G 512M;hilog -w start -l 400000000 -m none"],
54        "start_test":["aa test -p ohos.acts.multimedia.video.videoplayer -b ohos.acts.multimedia.video.videoplayer -s unittest OpenHarmonyTestRunner -w 2000000 -s timeout 60000", "Failure: 0, Error: 0, Pass: 1"],
55        "compress_log":["cd /data/log/hilog && tar -cf video_log.tar *"],
56        "kill_video": ["killall ohos.acts.multimedia.video.videoplayer"],
57        "all_actions": [
58          [1,"start_video_log"], [2, "install_hap", "vediotest/ActsVideoPlayerJsTest.hap"], [1, "mk_test_dir"], [1, "remount"],
59          [1, "send_file_to_dev", "vediotest/H264_AAC.mp4", "/data/app/el2/100/base/ohos.acts.multimedia.video.videoplayer/haps/entry/files/"],
60          [5, "start_test"], [1, "stop_hilog"], [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/video_log.tar"], [1, "kill_video"]
61        ]
62    },
63    {
64        "app_name": "camera",
65        "entry": "",
66        "check_result":["cd /data/log/hilog && grep -nr PreviewOutputCallback", "OnFrameStarted"],
67        "compress_log":["cd /data/log/hilog && tar -cf camera_log.tar *"],
68        "open_camera_log":["rm /data/log/hilog/* && hilog -b X;hilog -b D -T CAMERA;hilog -r"],
69        "start_camera":["aa start -a com.ohos.camera.MainAbility -b com.ohos.camera"],
70        "recover_log":["cd data/log/hilog/;hilog -x > camera_log.txt;hilog -b D"],
71        "kill_camera": ["killall com.ohos.camera"],
72        "kill_photos": ["killall com.ohos.photos"],
73        "all_actions": [
74            [1, "open_camera_log"], [5, "start_camera"], [3, "take_photos-x-y"], [2, "convert_to_video-x-y"], [3, "take_photos-x-y"], [2, "stop_video-x-y"], [6, "convert_to_photos-x-y"],
75            [2, 670, 40], [1, "recover_log"], [1, "check_result"], [1, "shot_cmd", "camera_to_photos"], [1, "cmp_cmd-level", 1900000], [1, "compress_log"],
76            [1, "get_file_from_dev", "/data/log/hilog/camera_log.tar"], [1, "kill_camera"], [1, "kill_photos"]
77        ]
78    },
79    {
80        "app_name": "audio_render",
81        "entry": "",
82        "remount":["mount -o rw,remount /"],
83        "chmodfile1":["chmod 777 /data/audio_renderer_unit_test"],
84        "audio_render_test":["cd /data && ./audio_renderer_unit_test --gtest_filter=AudioRendererUnitTest.Audio_Renderer_Playback_001 && rm *.xml", "[  PASSED  ] 1 test"],
85        "all_actions": [
86            [1, "remount"], [1, "send_file_to_dev", "audiotest/audio_renderer_unit_test", "/data/"], [1, "send_file_to_dev", "audiotest/test_44100_2.wav", "/data/"], [2, "chmodfile1"],
87            [5, "audio_render_test"]
88        ]
89    },
90    {
91        "app_name": "photos",
92        "entry": "",
93        "pull_down_cmd":["uinput -T -m 500 0 550 30"],
94        "start_screenshot": ["aa start -a com.ohos.screenshot.ServiceExtAbility -b com.ohos.screenshot"],
95        "start_photos": ["aa start -a com.ohos.photos.MainAbility -b com.ohos.photos"],
96        "kill_photos": ["killall com.ohos.photos"],
97        "all_actions": [
98            [2, "pull_down_cmd"], [5, "screenshot-x-y"], [5, "start_photos"], [2, "last_photos-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"],
99            [1, "get_file_from_dev", "/data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/rdb/media_library.db"],
100            [1, "get_file_from_dev", "/data/app/el2/100/database/com.ohos.medialibrary.medialibrarydata/rdb/media_library.db-wal"],
101            [2, "photo_check"], [1, "process_check", "com.ohos.medialibrary.medialibrarydata"], [2, "sandbox_path_check"], [1, "kill_photos"]
102        ]
103    },
104    {
105        "app_name": "settings",
106        "entry": "aa start -a com.ohos.settings.MainAbility -b com.ohos.settings",
107        "kill_settings": ["killall com.ohos.settings"],
108        "all_actions": [
109            [2, "shot_cmd", "settings"], [1, "cmp_cmd-level"], [1, "kill_settings"]
110        ]
111    },
112    {
113        "app_name": "note",
114        "entry": "aa start -a MainAbility -b com.ohos.note",
115        "kill_note": ["killall com.ohos.note"],
116        "all_actions": [
117            [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [5, "note_content-x-y"], [2, "note_content-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"], [2, "recent-x-y"], [1, "recent_del-x-y"]
118        ]
119    },
120    {
121        "app_name": "contacts",
122        "entry": "aa start -a com.ohos.contacts.MainAbility -b com.ohos.contacts",
123        "kill_contacts": ["killall com.ohos.contacts"],
124        "all_actions": [
125            [2, "phone-x-y"], [2, "phone-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level"], [1, "kill_contacts"]
126
127        ]
128    },
129    {
130        "app_name": "mms",
131        "entry": "aa start -a com.ohos.mms.MainAbility -b com.ohos.mms",
132        "kill_mms": ["killall com.ohos.mms"],
133        "all_actions": [
134            [2, "shot_cmd"], [1, "cmp_cmd-level"], [1, "kill_mms"]
135        ]
136    },
137    {
138        "app_name": "distributedmusicplayer",
139        "entry": "aa start -a ohos.samples.distributedmusicplayer.MainAbility -b ohos.samples.distributedmusicplayer",
140        "kill_distributedmusicplayer": ["killall ohos.samples.distributedmusicplayer"],
141        "all_actions": [
142            [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "shot_cmd"], [1, "cmp_cmd-level", 960000], [1, "kill_distributedmusicplayer"]
143        ]
144    }
145]
146