|
id: "install_apk_org.videolan.vlc" |
|
name: "Install App VLC" |
|
description: "Install app VLC 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.videolan.vlc" |
|
} |
|
} |
|
} |
|
reset_steps: { |
|
adb_call: { |
|
clear_cache: { |
|
package_name: "org.videolan.vlc" |
|
} |
|
} |
|
} |
|
reset_steps: { |
|
adb_call: { |
|
uninstall_package: { |
|
package_name: "org.videolan.vlc" |
|
} |
|
} |
|
} |
|
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\\.videolan\\.vlc" |
|
} |
|
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 famous \"just works\" video and music player VLC from F-Droid for my phone." |
|
vocabulary: "\"just" |
|
vocabulary: "VLC" |
|
vocabulary: "famous" |
|
vocabulary: "and" |
|
vocabulary: "works\"" |
|
vocabulary: "player" |
|
vocabulary: "music" |
|
vocabulary: "video" |
|
|