Lines Matching refs:shell
337 cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
451 shell=True,
458 shell=True,
614 ad.adb.shell("settings put global airplane_mode_on {}".format(
632 ad.adb.shell("dumpsys battery unplug")
633 ad.adb.shell("dumpsys deviceidle enable")
634 if (ad.adb.shell("dumpsys deviceidle force-idle") !=
639 adb_shell_result = ad.adb.shell("dumpsys deviceidle step")
645 ad.adb.shell("dumpsys battery").decode('utf-8'),
646 ad.adb.shell("dumpsys deviceidle").decode('utf-8')))
662 ad.adb.shell("dumpsys deviceidle disable")
663 ad.adb.shell("dumpsys battery reset")
664 adb_shell_result = ad.adb.shell("dumpsys deviceidle step")
669 ad.adb.shell("dumpsys battery").decode('utf-8'),
670 ad.adb.shell("dumpsys deviceidle").decode('utf-8')))
683 ad.adb.shell("settings put secure doze_enabled {}".format(1 if new_state
694 ad.adb.shell("settings put system screen_brightness_mode {}".format(
705 ad.adb.shell("settings put system accelerometer_rotation {}".format(
719 ad.adb.shell("settings put secure location_providers_allowed +gps")
720 ad.adb.shell("settings put secure location_providers_allowed +network")
722 ad.adb.shell("settings put secure location_providers_allowed -gps")
723 ad.adb.shell("settings put secure location_providers_allowed -network")
735 ad.adb.shell("settings put global mobile_data_always_on {}".format(