mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	workloads/androbench: Fix extracting results with small resolutions
Previously the workload assumed that all the scores were visible on a single screen however for devices with smaller displays the results need to scrolled.
This commit is contained in:
		| @@ -90,12 +90,20 @@ public class UiAutomation extends BaseUiAutomation { | ||||
|             mDevice.findObject(selector.text("SQLite Update").fromParent(selector.index(1))); | ||||
|         UiObject sqlDelete = | ||||
|             mDevice.findObject(selector.text("SQLite Delete").fromParent(selector.index(1))); | ||||
|  | ||||
|         UiScrollable scrollView = new UiScrollable(new UiSelector().scrollable(true)); | ||||
|         Log.d(TAG, "Sequential Read Score " + seqRead.getText()); | ||||
|         scrollView.scrollIntoView(seqWrite); | ||||
|         Log.d(TAG, "Sequential Write Score " + seqWrite.getText()); | ||||
|         scrollView.scrollIntoView(ranRead); | ||||
|         Log.d(TAG, "Random Read Score " + ranRead.getText()); | ||||
|         scrollView.scrollIntoView(ranWrite); | ||||
|         Log.d(TAG, "Random Write Score " + ranWrite.getText()); | ||||
|         scrollView.scrollIntoView(sqlInsert); | ||||
|         Log.d(TAG, "SQL Insert Score " + sqlInsert.getText()); | ||||
|         scrollView.scrollIntoView(sqlUpdate); | ||||
|         Log.d(TAG, "SQL Update Score " + sqlUpdate.getText()); | ||||
|         scrollView.scrollIntoView(sqlDelete); | ||||
|         Log.d(TAG, "SQL Delete Score " + sqlDelete.getText()); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user