Description Support startup performance tests on Galaxy S3
The Galaxy S3's build of android is of type 'user' (as one would
expect for a production device). This prevents the use of 'adb root',
even on rooted devices, however one can root an S3 and install an
'su' command on it without changing the android build. The changes
in this commit switch to using the 'su' command in place of 'adb root'.
Since writing to a protected file using su is quite complex they
encapsulate this in a the function SetProtectedFileContents()
and make sure that all calls in the Android test framework that write
to protected files call this.
Also, allow variable wait for logcat entries. This is now needed since
other test changes mean that the 10 second default may not be adequate
in some cases.
BUG=169011, 163336
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=177508
Patch Set 1 #
Total comments: 4
Patch Set 2 : S3 startup performance tests - fixes to file_changer #
Total comments: 2
Patch Set 3 : Run startup tests on S3 - write protected files #
Total comments: 6
Patch Set 4 : Support startup performance tests on Galaxy S3 - code review fixes #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|