INNER CODE UNIT · Python
launchGlitchTest
google/oboe · apps/OboeTester/scripts/dsp_timing.py:51
def launchGlitchTest():
command = ["adb", "shell", "am", \
"start", "-n", "com.mobileer.oboetester/.MainActivity", \
"--es", "test", "glitch", \
"--es", "file", gOutputFile, \
"--es", "in_perf", "lowlat", \
"--es", "out_perf", "lowlat", \
"--es", "in_sharing", "exclusive", \
"--es", "out_sharing", "exclusive", \
"--ei", "buffer_bursts", "1"]
return subprocess.check_output(command)
def setAndroidProperty(property, value):
return subprocess.check_output(["adb", "shell", "setprop", property, value])
def getAndroidProperty(property):
return subprocess.check_output(["adb", "shell", "getprop", property])