Lines Matching refs:arc
14 from autotest_lib.client.common_lib.cros import arc
126 arc.adb_shell('pm grant %s android.permission.%s' % (
133 arc.adb_shell('am start -W %s' % pipes.quote(self._MICROPHONE_ACTIVITY))
142 arc.adb_shell(
154 arc.adb_cmd('pull %s %s' % (pipes.quote(self._MICROPHONE_RECORD_PATH),
160 arc.adb_shell('rm %s' % pipes.quote(self._MICROPHONE_RECORD_PATH))
194 arc.adb_cmd('push %s %s' % (pipes.quote(file_path),
228 arc.adb_shell('pm grant %s android.permission.%s' % (
247 arc.adb_shell(command)
256 arc.send_keycode(self._KEYCODE_MEDIA_STOP)
262 arc.adb_shell('rm %s' % pipes.quote(path))
302 arc.adb_cmd('push %s %s' % (pipes.quote(file_path),
333 arc.send_keycode(self._KEYCODE_MEDIA_PLAY)
336 tag = lambda : arc.check_android_file_exists(
344 arc.grant_permissions(
354 arc.adb_shell('am start --activity-clear-top '
365 arc.send_keycode(self._KEYCODE_MEDIA_PAUSE)
374 arc.send_keycode(self._KEYCODE_MEDIA_STOP)
380 arc.adb_shell('rm %s' % pipes.quote(path))