Lines Matching refs:adb_shell
208 adb_shell('pm grant %s android.permission.%s' % (
222 def adb_shell(cmd, **kwargs):
374 output = adb_shell('pgrep -c -f %s' % pipes.quote(process_name))
383 return adb_shell('test -e {} && echo FileExists'.format(
455 adb_shell('rm -f %s' % pipes.quote(filename))
484 a fully consistent Android environment. Prefer adb_shell instead.
512 packages = adb_shell(command).splitlines()
540 output = adb_shell('pm path {}'.format(pipes.quote(package)))
569 adb_shell('dumpsys activity recents'))
590 adb_shell('input keyevent {}'.format(keycode))
657 output = adb_shell('am start -W -a android.settings.SETTINGS')
661 adb_shell('am force-stop com.android.settings')
867 adb_shell('settings put global verifier_verify_adb_installs 0')
904 adb_shell('pm enable ' + _PLAY_STORE_PKG)
905 adb_shell('settings put secure install_non_market_apps 0')
906 adb_shell('settings put global package_verifier_enable 1')
907 adb_shell('settings put secure package_verifier_user_consent 0')
963 adb_shell('am force-stop ' + _PLAY_STORE_PKG)
964 adb_shell('am start -a android.settings.APPLICATION_DETAILS_SETTINGS '
978 adb_shell('am force-stop ' + _SETTINGS_PKG)