mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-01 10:52:33 +01:00
Update
This commit is contained in:
@@ -123,7 +123,7 @@ class BBench(Workload):
|
||||
self.device.write_value('/proc/sys/vm/drop_caches', 3)
|
||||
|
||||
#On android 6+ the web browser requires permissions to access the sd card
|
||||
if self.device.os_version["sdk"]() >= 23:
|
||||
if self.device.os_version["sdk"] >= 23:
|
||||
self.device.execute("pm grant com.android.browser android.permission.READ_EXTERNAL_STORAGE")
|
||||
self.device.execute("pm grant com.android.browser android.permission.WRITE_EXTERNAL_STORAGE")
|
||||
|
||||
|
@@ -102,7 +102,7 @@ class Vellamo(AndroidUiAutoBenchmark):
|
||||
filename = None
|
||||
if test == "Browser":
|
||||
result_folder = self.device.path.join(context.device_manager.package_data_directory, self.package, 'files')
|
||||
for result_file in self.device.listdir(result_folder, as_root=True):
|
||||
for result_file in self.device.list_directory(result_folder, as_root=True):
|
||||
if result_file.startswith("Browser"):
|
||||
filename = result_file
|
||||
else:
|
||||
|
Reference in New Issue
Block a user