Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: third_party/android_testrunner/adb_interface.py

Issue 9622010: Move README.chromium and LICENSE in third_party/android/ to correct location (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move to third_party/android_testrunner/ Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/python2.4 1 #!/usr/bin/python2.4
2 # 2 #
3 # 3 #
4 # Copyright 2008, The Android Open Source Project 4 # Copyright 2008, The Android Open Source Project
5 # 5 #
6 # Licensed under the Apache License, Version 2.0 (the "License"); 6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License. 7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at 8 # You may obtain a copy of the License at
9 # 9 #
10 # http://www.apache.org/licenses/LICENSE-2.0 10 # http://www.apache.org/licenses/LICENSE-2.0
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 # press the MENU key, this will disable key guard if runtime is started 498 # press the MENU key, this will disable key guard if runtime is started
499 # with ro.monkey set to 1 499 # with ro.monkey set to 1
500 self.SendShellCommand("input keyevent 82", retry_count=retry_count) 500 self.SendShellCommand("input keyevent 82", retry_count=retry_count)
501 else: 501 else:
502 self.WaitForDevicePm() 502 self.WaitForDevicePm()
503 return output 503 return output
504 504
505 def GetSerialNumber(self): 505 def GetSerialNumber(self):
506 """Returns the serial number of the targeted device.""" 506 """Returns the serial number of the targeted device."""
507 return self.SendCommand("get-serialno").strip() 507 return self.SendCommand("get-serialno").strip()
OLDNEW
« no previous file with comments | « third_party/android_testrunner/README.chromium ('k') | third_party/android_testrunner/am_instrument_parser.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698