| id: "install_apk_org.gateshipone.malp" | |
| name: "Install App M.A.L.P." | |
| description: "Install app M.A.L.P. from F-Droid" | |
| setup_steps: { | |
| adb_call: { | |
| rotate: { | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| adb_call: { | |
| force_stop: { | |
| package_name: "org.fdroid.fdroid" | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| adb_call: { | |
| force_stop: { | |
| package_name: "org.gateshipone.malp" | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| adb_call: { | |
| clear_cache: { | |
| package_name: "org.gateshipone.malp" | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| adb_call: { | |
| uninstall_package: { | |
| package_name: "org.gateshipone.malp" | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| success_condition: { | |
| num_retries: 3 | |
| wait_for_app_screen: { | |
| app_screen: { | |
| activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity" | |
| } | |
| timeout_sec: 10.0 | |
| } | |
| } | |
| adb_call: { | |
| start_activity: { | |
| full_activity: "org.fdroid.fdroid/org.fdroid.fdroid.views.main.MainActivity" | |
| } | |
| } | |
| } | |
| max_num_steps: 500 | |
| event_sources: { | |
| log_event: { | |
| filters: "installd:V" | |
| pattern: " END .*org\\.gateshipone\\.malp" | |
| } | |
| id: 1 | |
| } | |
| event_slots: { | |
| score_listener: { | |
| type: OR | |
| events: { | |
| event: { | |
| } | |
| } | |
| } | |
| reward_listener: { | |
| type: OR | |
| events: { | |
| event: { | |
| events: { | |
| id: 1 | |
| } | |
| transformation: "y = 1." | |
| } | |
| } | |
| } | |
| episode_end_listener: { | |
| events: { | |
| id: 1 | |
| } | |
| transformation: "y = True" | |
| } | |
| extra_listener: { | |
| type: OR | |
| events: { | |
| event: { | |
| } | |
| } | |
| } | |
| json_extra_listener: { | |
| type: OR | |
| events: { | |
| event: { | |
| } | |
| } | |
| } | |
| instruction_listener: { | |
| type: OR | |
| events: { | |
| event: { | |
| } | |
| } | |
| } | |
| } | |
| command: "Install MPD client on Android M.A.L.P. from F-Droid for my phone." | |
| vocabulary: "Android" | |
| vocabulary: "M.A.L.P." | |
| vocabulary: "MPD" | |
| vocabulary: "on" | |
| vocabulary: "client" | |