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

Unified Diff: build/android/pylib/gtest/test_package_apk.py

Issue 358993003: [Android] Switch to DeviceUtils versions of file functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/android/pylib/forwarder.py ('k') | build/android/pylib/gtest/test_package_exe.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/test_package_apk.py
diff --git a/build/android/pylib/gtest/test_package_apk.py b/build/android/pylib/gtest/test_package_apk.py
index 6374f637f85458cecf64e030575325f7bab13e8a..429cd2b073fd739d8f289016a9651d1c34d91227 100644
--- a/build/android/pylib/gtest/test_package_apk.py
+++ b/build/android/pylib/gtest/test_package_apk.py
@@ -44,7 +44,7 @@ class TestPackageApk(TestPackage):
# GTest expects argv[0] to be the executable path.
command_line_file.write(self.suite_name + ' ' + options)
command_line_file.flush()
- device.old_interface.PushIfNeeded(
+ device.PushChangedFiles(
command_line_file.name,
self._package_info.cmdline_file)
@@ -60,7 +60,7 @@ class TestPackageApk(TestPackage):
def _WatchFifo(self, device, timeout, logfile=None):
for i in range(10):
- if device.old_interface.FileExistsOnDevice(self._GetFifo()):
+ if device.FileExists(self._GetFifo()):
logging.info('Fifo created.')
break
time.sleep(i)
« no previous file with comments | « build/android/pylib/forwarder.py ('k') | build/android/pylib/gtest/test_package_exe.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698