merge from open-source master
Change-Id: I4bbf0fccef174a7f0eb8241b422f846ea21c3349
This commit is contained in:
@@ -602,6 +602,9 @@ public class Monkey {
|
|||||||
} else if (opt.equals("--pct-trackball")) {
|
} else if (opt.equals("--pct-trackball")) {
|
||||||
int i = MonkeySourceRandom.FACTOR_TRACKBALL;
|
int i = MonkeySourceRandom.FACTOR_TRACKBALL;
|
||||||
mFactors[i] = -nextOptionLong("trackball events percentage");
|
mFactors[i] = -nextOptionLong("trackball events percentage");
|
||||||
|
} else if (opt.equals("--pct-syskeys")) {
|
||||||
|
int i = MonkeySourceRandom.FACTOR_SYSOPS;
|
||||||
|
mFactors[i] = -nextOptionLong("system (key) operations percentage");
|
||||||
} else if (opt.equals("--pct-nav")) {
|
} else if (opt.equals("--pct-nav")) {
|
||||||
int i = MonkeySourceRandom.FACTOR_NAV;
|
int i = MonkeySourceRandom.FACTOR_NAV;
|
||||||
mFactors[i] = -nextOptionLong("nav events percentage");
|
mFactors[i] = -nextOptionLong("nav events percentage");
|
||||||
|
|||||||
Reference in New Issue
Block a user