1[ 2 { 3 "DEVICE_1":[1], 4 "DEVICE_2":[1], 5 "return-x-y":[210, 1240], 6 "recent-x-y":[515, 1240], 7 "home-x-y":[360, 1240], 8 "recent_del-x-y":[360, 1170], 9 "permisson_ok-x-y":[575, 700], 10 "permisson_no-x-y":[140, 700], 11 "take_photos-x-y":[360, 1095], 12 "convert_to_video-x-y":[430, 980], 13 "convert_to_photos-x-y":[200, 1095], 14 "photos-x-y":[590, 40], 15 "stop_video-x-y":[320, 1095], 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 "crash_check":["ls /data/log/faultlog/temp/ -al | wc -l", ""], 28 "clear_faultlog":["rm /data/log/faultlog/temp/*"], 29 "all_actions": [ 30 [1, "remount"], [1, "process_crash_check", "foundation"], [1, "process_crash_check", "render_service"], [1, "process_crash_check", "appspawn"], [1, "compress_file_recv"], [1, "get_file_from_dev", "/data/log/faultlog/temp/crash_log.tar"] 31 ] 32 }, 33 { 34 "app_name": "notification_bar", 35 "entry": "", 36 "pull_down_cmd":["uinput -T -m 500 0 550 30"], 37 "swipe_up_cmd":["uinput -T -m 500 500 550 300"], 38 "compress_log":["cd /data/log/hilog && tar -cf notification_bar.tar *"], 39 "all_actions": [ 40 [2, "pull_down_cmd"], [2, "pull_down_cmd"], [2, "pull_down_cmd"], [2, "pull_down_cmd"], 41 [2, "shot_cmd"], [2, "cmp_cmd-level"], [1, "swipe_up_cmd"], [1, "swipe_up_cmd"], [1, "stop_hilog"], [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/notification_bar.tar"] 42 ] 43 }, 44 { 45 "app_name": "wifi_connect", 46 "entry": "", 47 "check_ping_baidu":["ping www.baidu.com", "64 bytes from"], 48 "compress_log":["cd /data/log/hilog && tar -cf wifi_connect_log.tar *"], 49 "all_actions": [[2, "connect_wifi"], [1, "check_ping_baidu"], [1, "stop_hilog"], [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/wifi_connect_log.tar"]] 50 }, 51 { 52 "app_name": "video_test", 53 "entry": "", 54 "mk_test_dir":["mkdir -p /data/app/el1/bundle/public/ohos.acts.multimedia.video.videoplayer/ohos.acts.multimedia.video.videoplayer/assets/entry/resources/rawfile"], 55 "close_auto_log":["hilog -w stop;rm /data/log/hilog/*"], 56 "start_video_log":["hilog -r;hilog -Q pidoff;hilog -G 512M;hilog -w start -l 400000000 -m none"], 57 "start_test":["aa start -a ohos.acts.multimedia.video.videoplayer.MainAbility -b ohos.acts.multimedia.video.videoplayer"], 58 "check_result":["cd /data/log/hilog && grep -nr 'total cases'", "failure 0,error 0,pass 1"], 59 "compress_log":["cd /data/log/hilog && tar -cf video_log.tar *"], 60 "clear_log":["rm /data/log/hilog/*"], 61 "all_actions": [ 62 [1,"close_auto_log"], [1,"start_video_log"], [2, "install_hap", "vediotest/ActsVideoPlayerJsTest.hap"], [1, "mk_test_dir"], [1, "remount"], 63 [1, "send_file_to_dev", "vediotest/H264_AAC.mp4", "/data/app/el1/bundle/public/ohos.acts.multimedia.video.videoplayer/ohos.acts.multimedia.video.videoplayer/assets/entry/resources/rawfile/"], 64 [15, "start_test"], [1, "stop_hilog"], [1, "check_result"], [1, "compress_log"], 65 [1, "get_file_from_dev", "/data/log/hilog/video_log.tar"], [2, "recent-x-y"], [2, "recent_del-x-y"], [2, "home-x-y"], [2, "recent-x-y"], [2, "recent_del-x-y"] 66 ] 67 }, 68 { 69 "app_name": "audio_render", 70 "entry": "", 71 "remount":["mount -o rw,remount /"], 72 "chmodfile1":["chmod 777 /data/audio_renderer_unit_test"], 73 "audio_render_test":["cd /data && ./audio_renderer_unit_test --gtest_filter=AudioRendererUnitTest.Audio_Renderer_Playback_001 && rm *.xml", "[ PASSED ] 1 test"], 74 "compress_log":["cd /data/log/hilog && tar -cf audio_render_log.tar *"], 75 "all_actions": [ 76 [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"], 77 [5, "audio_render_test"], [1, "stop_hilog"], [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/audio_render_log.tar"] 78 ] 79 }, 80 { 81 "app_name": "photos", 82 "entry": "aa start -a com.ohos.photos.MainAbility -b com.ohos.photos", 83 "compress_log":["cd /data/log/hilog && tar -cf photos_log.tar *"], 84 "all_actions": [ 85 [2, "shot_cmd"], [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "cmp_cmd-level"], [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "stop_hilog"], [1, "compress_log"], 86 [1, "get_file_from_dev", "/data/log/hilog/photos_log.tar"], [1, "process_check", "com.ohos.medialibrary.medialibrarydata"] 87 ] 88 }, 89 { 90 "app_name": "camera", 91 "entry": "", 92 "check_result":["cd /data/log/hilog && grep -nr PreviewOutputCallback", "OnFrameStarted"], 93 "compress_log":["cd /data/log/hilog && tar -cf camera_log.tar *"], 94 "close_auto_log":["hilog -w stop;rm /data/log/hilog/*"], 95 "open_camera_log":["hilog -b X;hilog -b D -T CAMERA;hilog -r"], 96 "start_camera":["aa start -a com.ohos.camera.MainAbility -b com.ohos.camera"], 97 "recover_log":["cd data/log/hilog/;hilog -x > camera_log.txt;hilog -b D"], 98 "all_actions": [ 99 [1, "close_auto_log"], [1, "open_camera_log"], [5, "start_camera"], [2, "take_photos-x-y"], [2, "take_photos-x-y"], [1, "recover_log"], [1, "check_result"], [1, "shot_cmd"], 100 [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/camera_log.tar"] 101 ] 102 }, 103 { 104 "app_name": "jump_to_photos", 105 "entry": "aa start -a com.ohos.camera.MainAbility -b com.ohos.camera", 106 "compress_log":["cd /data/log/hilog && tar -cf jump_to_photos_log.tar *"], 107 "all_actions": [ 108 [3, "convert_to_photos-x-y"], [3, "convert_to_photos-x-y"], [3, "convert_to_photos-x-y"], [2, "photos-x-y"], [2, "photos-x-y"], [2, "photos-x-y"], [2, "shot_cmd"], [2, "recent-x-y"], [2, "recent_del-x-y"], 109 [1, "stop_hilog"], [1, "compress_log"],[1, "get_file_from_dev", "/data/log/hilog/jump_to_photos_log.tar"] 110 ] 111 }, 112 { 113 "app_name": "settings", 114 "entry": "aa start -a com.ohos.settings.MainAbility -b com.ohos.settings", 115 "compress_log":["cd /data/log/hilog && tar -cf settings_log.tar *"], 116 "all_actions": [ 117 [2, "shot_cmd", "settings"], [1, "cmp_cmd-level"], [2, "recent-x-y"], [2, "recent_del-x-y"], [2, "home-x-y"], [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "stop_hilog"], 118 [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/settings_log.tar"] 119 ] 120 }, 121 { 122 "app_name": "note", 123 "entry": "aa start -a MainAbility -b com.ohos.note", 124 "compress_log":["cd /data/log/hilog && tar -cf note_log.tar *"], 125 "all_actions": [ 126 [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "permisson_ok-x-y"], [2, "shot_cmd"], [2, "recent-x-y"], [2, "recent_del-x-y"], [2, "home-x-y"], 127 [2, "recent-x-y"], [2, "recent_del-x-y"], [1, "cmp_cmd-level"], [1, "stop_hilog"], [1, "compress_log"], [1, "get_file_from_dev", "/data/log/hilog/note_log.tar"] 128 ] 129 } 130] 131