OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:argParser
(Results
1 - 8
of
8
) sorted by null
/development/tools/bugreport/src/com/android/bugreport/
Options.java
19
import com.android.bugreport.util.
ArgParser
;
82
final
ArgParser
argParser
= new
ArgParser
(args);
83
while ((flag =
argParser
.nextFlag()) != null) {
85
if (result.monkey != null || !
argParser
.hasData(1)) {
86
return new Options(args,
argParser
.pos(),
89
result.monkey = new File(
argParser
.nextData());
91
if (result.html != null || !
argParser
.hasData(1)) {
92
return new Options(args,
argParser
.pos()
[
all
...]
/frameworks/av/media/libaaudio/examples/input_monitor/src/
input_monitor_callback.cpp
31
AAudioArgsParser
argParser
;
46
if (
argParser
.parseArgs(argc, argv)) {
50
result = recorder.open(
argParser
,
60
argParser
.compareWithStream(aaudioStream);
72
argParser
.getDurationSeconds());
73
loopsNeeded =
argParser
.getDurationSeconds() * displayRateHz;
109
argParser
.getDurationSeconds());
125
argParser
.compareWithStream(aaudioStream);
input_monitor.cpp
35
AAudioArgsParser
argParser
;
64
if (
argParser
.parseArgs(argc, argv)) {
68
result = recorder.open(
argParser
);
75
argParser
.compareWithStream(aaudioStream);
124
framesToRecord = actualSampleRate *
argParser
.getDurationSeconds();
204
argParser
.compareWithStream(aaudioStream);
/tools/dexter/dexter/
dexter_tests.py
10
argParser
= argparse.ArgumentParser(description = 'dexter end-to-end test driver')
11
argParser
.add_argument('-cmd', default = 'dexter')
12
argParser
.add_argument('-root', help = 'Root location of the test data files')
13
argParser
.add_argument('-update', action = 'store_true', help = 'Update the expected files')
14
args =
argParser
.parse_args()
/frameworks/av/media/libaaudio/examples/write_sine/src/
write_sine_callback.cpp
36
* @param
argParser
39
static aaudio_result_t testOpenPlayClose(AAudioArgsParser &
argParser
,
56
result = player.open(
argParser
,
64
argParser
.compareWithStream(player.getStream());
90
durationSeconds =
argParser
.getDurationSeconds();
108
argParser
.getDurationSeconds(), (loopIndex + 1), loopCount);
212
AAudioArgsParser
argParser
;
226
if (
argParser
.parseArg(arg)) {
227
// Handle options that are not handled by the
ArgParser
254
while((result = testOpenPlayClose(
argParser
, loopCount, prefixToneMsec, forceUnderruns)
[
all
...]
write_sine.cpp
35
AAudioArgsParser
argParser
;
62
if (
argParser
.parseArgs(argc, argv)) {
66
result = player.open(
argParser
);
74
argParser
.compareWithStream(aaudioStream);
118
framesToPlay = actualSampleRate *
argParser
.getDurationSeconds();
/frameworks/av/media/libaaudio/examples/loopback/src/
loopback.cpp
330
AAudioArgsParser
argParser
;
361
if (
argParser
.parseArg(arg)) {
362
// Handle options that are not handled by the
ArgParser
406
int32_t requestedDuration =
argParser
.getDurationSeconds();
435
result = player.open(
argParser
, MyDataCallbackProc, MyErrorCallbackProc, &loopbackData);
453
argParser
.compareWithStream(outputStream);
457
argParser
.setNumberOfBursts(AAUDIO_UNSPECIFIED);
458
argParser
.setFormat(requestedInputFormat);
459
argParser
.setPerformanceMode(inputPerformanceLevel);
460
argParser
.setChannelCount(requestedInputChannelCount)
[
all
...]
/frameworks/av/media/libaaudio/tests/
test_aaudio_monkey.cpp
63
AAudioMonkey(int index, AAudioArgsParser *
argParser
)
64
: mArgParser(
argParser
)
234
AAudioArgsParser
argParser
;
249
if (
argParser
.parseArg(arg)) {
250
// Handle options that are not handled by the
ArgParser
277
monkeys.emplace_back(m, &
argParser
);
Completed in 165 milliseconds