| id: "install_apk_com.igisw.openmoneybox" | |
| name: "Install App OpenMoneyBox" | |
| description: "Install app OpenMoneyBox 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: "com.igisw.openmoneybox" | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| adb_call: { | |
| clear_cache: { | |
| package_name: "com.igisw.openmoneybox" | |
| } | |
| } | |
| } | |
| reset_steps: { | |
| adb_call: { | |
| uninstall_package: { | |
| package_name: "com.igisw.openmoneybox" | |
| } | |
| } | |
| } | |
| 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 .*com\\.igisw\\.openmoneybox" | |
| } | |
| 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 open-source bill management tool OpenMoneyBox from F-Droid for my phone." | |
| vocabulary: "OpenMoneyBox" | |
| vocabulary: "bill" | |
| vocabulary: "open-source" | |
| vocabulary: "tool" | |
| vocabulary: "management" | |