mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-04-13 14:20:50 +01:00
Increase wait timeout for views
This commit is contained in:
parent
366925c5c5
commit
636194be3f
Binary file not shown.
@ -68,6 +68,9 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
}
|
||||
|
||||
public void runUiAutomation() throws Exception {
|
||||
// Override superclass value
|
||||
this.waitTimeout = 10000;
|
||||
|
||||
// Get Params
|
||||
Bundle parameters = getParams();
|
||||
String loginName = parameters.getString("my_id");
|
||||
@ -89,10 +92,6 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
videoCallTest(callDuration);
|
||||
} else if ("voice".equalsIgnoreCase(callType)) {
|
||||
voiceCallTest(callDuration);
|
||||
} else {
|
||||
// both ?
|
||||
// voiceCallTest(callDuration);
|
||||
// videoCallTest(callDuration);
|
||||
}
|
||||
overallTimer.end();
|
||||
|
||||
@ -104,8 +103,9 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
private void saveResults(Map<String, Timer> results, String file) throws Exception {
|
||||
BufferedWriter out = new BufferedWriter(new FileWriter(file));
|
||||
long start, finish, duration;
|
||||
Timer timer;
|
||||
for (Map.Entry<String, Timer> entry : results.entrySet()) {
|
||||
Timer timer = entry.getValue();
|
||||
timer = entry.getValue();
|
||||
start = timer.getStart();
|
||||
finish = timer.getFinish();
|
||||
duration = timer.getDuration();
|
||||
@ -183,7 +183,6 @@ public class UiAutomation extends UxPerfUiAutomation {
|
||||
private void makeCall(int duration, boolean video, String testTag) throws Exception {
|
||||
String viewName = "com.skype.android.app.calling.CallActivity";
|
||||
String dumpsysTag = TAG + "_" + testTag;
|
||||
int viewTimeout = 5000;
|
||||
if (video && dumpsysEnabled) {
|
||||
initDumpsysSurfaceFlinger(PACKAGE, viewName);
|
||||
initDumpsysGfxInfo(PACKAGE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user