Searched refs:_android_shell (Results 1 – 3 of 3) sorted by relevance
44 arc._android_shell('mkdir -p %s' % (_EXEC_DIRECTORY))45 arc._android_shell('mv %s %s' % (_SDCARD_EXEC, _ANDROID_EXEC))46 arc._android_shell('chmod o+rwx %s' % (_ANDROID_EXEC))50 arc._android_shell('rm -rf %s' % (_EXEC_DIRECTORY))56 stdout = arc._android_shell(cmd)
78 return _android_shell('getprop ro.boot.partial_boot') == '1'83 return _android_shell('getprop ro.data_mounted') == '1'113 _android_shell('restorecon ' + pipes.quote(_ANDROID_ADB_KEYS_PATH))116 _android_shell('setprop sys.usb.config mtp,adb')252 log = _android_shell(344 def _android_shell(cmd, **kwargs): function666 _android_shell('iptables -I OUTPUT -j REJECT')667 _android_shell('iptables -I OUTPUT -p tcp -s 100.115.92.2 --sport 5555 '669 _android_shell('iptables -I OUTPUT -p tcp -d localhost -j ACCEPT')679 _android_shell('iptables -D OUTPUT -p tcp -d localhost -j ACCEPT')[all …]
405 def _android_shell(self, command): member in TradefedTest421 self._android_shell(android_cmd)434 self._android_shell('restorecon ' + pipes.quote(_ANDROID_ADB_KEYS_PATH))441 self._android_shell('setprop sys.usb.config mtp,adb')444 self._android_shell('setprop persist.sys.usb.config mtp,adb')