Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 123) sorted by relevance

12345

/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java88 String opt; in parseArgs() local
89 while ((opt=nextOption()) != null) { in parseArgs()
90 if (opt.equals("-h") || opt.equals("--help")) { in parseArgs()
93 } else if (opt.equals("-n") || opt.equals("--account-name")) { in parseArgs()
95 } else if (opt.equals("-t") || opt.equals("--account-type")) { in parseArgs()
97 } else if (opt.equals("-a") || opt.equals("--authority")) { in parseArgs()
99 } else if (opt.equals("--is") || opt.equals("--ignore-settings")) { in parseArgs()
101 } else if (opt.equals("--ib") || opt.equals("--ignore-backoff")) { in parseArgs()
103 } else if (opt.equals("--dd") || opt.equals("--discard-deletions")) { in parseArgs()
105 } else if (opt.equals("--nr") || opt.equals("--no-retry")) { in parseArgs()
[all …]
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend() argument
50 forEach(id, ain, aout, null, opt); in blend()
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachClear() argument
71 blend(0, ain, aout, opt); in forEachClear()
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrc() argument
135 public void forEachDst(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDst() argument
165 public void forEachSrcOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrcOver() argument
166 blend(3, ain, aout, opt); in forEachSrcOver()
195 public void forEachDstOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDstOver() argument
196 blend(4, ain, aout, opt); in forEachDstOver()
[all …]
DScriptIntrinsicHistogram.java87 public void forEach(Allocation ain, Script.LaunchOptions opt) { in forEach() argument
101 forEach(0, ain, null, null, opt); in forEach()
188 public void forEach_Dot(Allocation ain, Script.LaunchOptions opt) { in forEach_Dot() argument
199 forEach(1, ain, null, null, opt); in forEach_Dot()
DScriptIntrinsic3DLUT.java98 public void forEach(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEach() argument
99 forEach(0, ain, aout, null, opt); in forEach()
DScriptIntrinsicBlur.java99 public void forEach(Allocation aout, Script.LaunchOptions opt) { in forEach() argument
100 forEach(0, (Allocation) null, aout, null, opt); in forEach()
DScriptIntrinsicResize.java103 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { in forEach_bicubic() argument
104 forEach(0, (Allocation) null, aout, null, opt); in forEach_bicubic()
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java56 Node[] opt = new Node[numBreaks]; in computeBreaks() local
57 opt[0] = new Node(-1, 0, 0, 0, false); in computeBreaks()
58 opt[numBreaks - 1] = new Node(-1, 0, 0, 0, false); in computeBreaks()
72 int lines = opt[pos].mPrevCount; in computeBreaks()
82 finalBreak, p.penalty) + opt[pos].mDemerits; in computeBreaks()
85 bestBreak = new Node(pos, opt[pos].mPrevCount + 1, demerits, in computeBreaks()
89 bestBreak.mPrevCount = opt[pos].mPrevCount + 1; in computeBreaks()
103 opt[i] = bestBreak; in computeBreaks()
110 int lines = opt[lastBreak].mPrevCount; in computeBreaks()
113 opt[breakIndex] = new Node(lastBreak, lines + 1, 0 /*doesn't matter*/, in computeBreaks()
[all …]
/frameworks/base/cmds/am/src/com/android/commands/am/
DAm.java499 public boolean handleOption(String opt, ShellCommand cmd) { in makeIntent()
500 if (opt.equals("-D")) { in makeIntent()
502 } else if (opt.equals("-N")) { in makeIntent()
504 } else if (opt.equals("-W")) { in makeIntent()
506 } else if (opt.equals("-P")) { in makeIntent()
509 } else if (opt.equals("--start-profiler")) { in makeIntent()
512 } else if (opt.equals("--sampling")) { in makeIntent()
514 } else if (opt.equals("-R")) { in makeIntent()
516 } else if (opt.equals("-S")) { in makeIntent()
518 } else if (opt.equals("--track-allocation")) { in makeIntent()
[all …]
/frameworks/compile/mclinker/tools/mcld/
DMain.cpp75 class OptTable : public llvm::opt::OptTable {
81 static const llvm::opt::OptTable::Info InfoTable[];
101 bool TranslateArguments(llvm::opt::InputArgList& args);
125 const llvm::opt::OptTable::Info Driver::OptTable::InfoTable[] = {
129 llvm::opt::Option::KIND ## Class, PARAM, FLAGS, kOpt_ ## GROUP, \
136 : llvm::opt::OptTable(InfoTable) { } in OptTable()
258 bool Driver::TranslateArguments(llvm::opt::InputArgList& args) { in TranslateArguments()
264 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_Color)) { in TranslateArguments()
281 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_Verbose)) { in TranslateArguments()
293 if (llvm::opt::Arg* arg = args.getLastArg(kOpt_ErrorLimit)) { in TranslateArguments()
[all …]
/frameworks/compile/slang/
Drs_cc_options.cpp56 static const llvm::opt::OptTable::Info RSCCInfoTable[] = {
61 PREFIX, NAME, HELPTEXT, METAVAR, OPT_##ID, llvm::opt::Option::KIND##Class, \
72 class RSCCOptTable : public llvm::opt::OptTable {
81 llvm::opt::OptTable *createRSCCOptTable() { return new RSCCOptTable(); } in createRSCCOptTable()
109 std::unique_ptr<llvm::opt::OptTable> OptParser(createRSCCOptTable()); in ParseArguments()
112 llvm::opt::InputArgList Args = in ParseArguments()
122 for (llvm::opt::arg_iterator it = Args.filtered_begin(OPT_UNKNOWN), in ParseArguments()
136 for (llvm::opt::ArgList::const_iterator it = Args.begin(), ie = Args.end(); in ParseArguments()
138 const llvm::opt::Arg *A = *it; in ParseArguments()
139 if (A->getOption().getKind() == llvm::opt::Option::InputClass) in ParseArguments()
[all …]
Dllvm-rs-as.cpp38 static cl::opt<std::string>
41 static cl::opt<std::string>
45 static cl::opt<bool>
48 static cl::opt<bool>
51 static cl::opt<uint32_t>
56 static cl::opt<bool>
59 static cl::opt<bool>
Drs_cc_options.h34 namespace opt {
130 llvm::opt::OptTable *createRSCCOptTable();
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp73 llvm::cl::opt<std::string>
78 llvm::cl::opt<std::string>
82 llvm::cl::opt<std::string>
88 llvm::cl::opt<std::string>
93 llvm::cl::opt<bool>
97 llvm::cl::opt<std::string>
108 llvm::cl::opt<bool>
112 llvm::cl::opt<bool>
116 llvm::cl::opt<bool>
121 llvm::cl::opt<std::string>
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerShellCommand.java200 String opt; in runSuspend() local
201 while ((opt = getNextOption()) != null) { in runSuspend()
202 switch (opt) { in runSuspend()
207 pw.println("Error: Unknown option: " + opt); in runSuspend()
254 String opt; in runInstallWrite() local
255 while ((opt = getNextOption()) != null) { in runInstallWrite()
256 if (opt.equals("-S")) { in runInstallWrite()
259 throw new IllegalArgumentException("Unknown option: " + opt); in runInstallWrite()
292 String opt; in runCompile() local
293 while ((opt = getNextOption()) != null) { in runCompile()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java88 String opt; in runForceStop() local
89 while ((opt = getNextOption()) != null) { in runForceStop()
90 if (opt.equals("--user")) { in runForceStop()
93 pw.println("Error: Unknown option: " + opt); in runForceStop()
104 String opt; in runKill() local
105 while ((opt=getNextOption()) != null) { in runKill()
106 if (opt.equals("--user")) { in runKill()
109 pw.println("Error: Unknown option: " + opt); in runKill()
/frameworks/compile/libbcc/tools/bcc_compat/
DMain.cpp52 llvm::cl::opt<std::string>
56 llvm::cl::opt<std::string>
60 llvm::cl::opt<std::string>
74 llvm::cl::opt<bool>
78 llvm::cl::opt<char>
83 llvm::cl::opt<bool>
92 llvm::cl::opt<std::string>
98 llvm::cl::opt<bool>
/frameworks/compile/libbcc/tests/debuginfo/
Dbuild_test_apk.sh64 opt="$1"
65 case "$opt" in
109 echo "ERROR: Unknown option '$opt', use --help for list of valid ones."
114 PARAMETERS="$opt"
116 PARAMETERS="$PARAMETERS $opt"
/frameworks/base/cmds/pm/src/com/android/commands/pm/
DPm.java441 String opt; in runInstallWrite() local
442 while ((opt = nextOption()) != null) { in runInstallWrite()
443 if (opt.equals("-S")) { in runInstallWrite()
446 throw new IllegalArgumentException("Unknown option: " + opt); in runInstallWrite()
466 String opt; in makeInstallParams() local
467 while ((opt = nextOption()) != null) { in makeInstallParams()
468 switch (opt) { in makeInstallParams()
538 throw new IllegalArgumentException("Unknown option " + opt); in makeInstallParams()
730 String opt; in runSetAppLink() local
731 while ((opt = nextOption()) != null) { in runSetAppLink()
[all …]
/frameworks/base/docs/html/distribute/googleplay/families/
Dstart.jd10 things you need to do <em>before</em> you’ll be ready to opt-in to the Designed for
30 Now that your app is ready to publish, you can opt-in to Designed for
50 Once you're ready, here's how to opt-in to Designed for Families for a specific app:
55 opt-in. Under Pricing and Distribution, scroll down to find <strong>Designed for
56 Families</strong> and the opt-in checkbox.<img src="/images/gp-dff-optin.png" style=
60 <li>Start the opt-in flow and confirm that your app meets the eligibility
83 Once you opt-in your app, it will be thoroughly reviewed before being
93 If you opt-in an app that you're publishing for the first time and it doesn't
96 program requirements <strong>or</strong> you uncheck the opt-in box and pass
101 If you opt-in an app that's already published on Google Play and it doesn't
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/
DDpm.java110 String opt; in parseArgs() local
111 while ((opt = nextOption()) != null) { in parseArgs()
112 if ("--user".equals(opt)) { in parseArgs()
127 } else if (canHaveName && "--name".equals(opt)) { in parseArgs()
130 throw new IllegalArgumentException("Unknown option: " + opt); in parseArgs()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerShellCommand.java74 String opt; in runJob() local
75 while ((opt = getNextOption()) != null) { in runJob()
76 switch (opt) { in runJob()
88 pw.println("Error: unknown option '" + opt + "'"); in runJob()
/frameworks/opt/net/wifi/tests/wifitests/
Dcoverage.sh36 …true make -j32 -C $ANDROID_BUILD_TOP -f build/core/main.mk MODULES-IN-frameworks-opt-net-wifi-tests
58 --source-dir $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/tests/wifitests/src \
59 --source-dir $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/service/java \
/frameworks/base/cmds/ime/src/com/android/commands/ime/
DIme.java89 String opt; in runList() local
92 while ((opt=nextOption()) != null) { in runList()
93 if (opt.equals("-a")) { in runList()
95 } else if (opt.equals("-s")) { in runList()
98 System.err.println("Error: Unknown option: " + opt); in runList()
/frameworks/native/services/surfaceflinger/
DDdmConnection.cpp37 JavaVMOption opt; in start() local
39 opt.optionString = in start()
43 args.options = &opt; in start()
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
DScriptIntrinsicHistogram.java97 public void forEach(Allocation ain, Script.LaunchOptions opt) {
111 forEach(0, ain, null, null, opt);
198 public void forEach_Dot(Allocation ain, Script.LaunchOptions opt) {
209 forEach(1, ain, null, null, opt);

12345