/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 88 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/ |
D | ScriptIntrinsicBlend.java | 43 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 …]
|
D | ScriptIntrinsicHistogram.java | 87 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()
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | ViewfinderProcessor.java | 190 Script.LaunchOptions opt = new Script.LaunchOptions(); in run() local 191 opt.setX(2, mBlurAllocation.getType().getX() - 2); in run() 192 opt.setY(2, mBlurAllocation.getType().getY() - 2); in run() 193 mScriptCanny.forEach_blur_uchar(mBlurAllocation, opt); in run() 195 opt.setX(3, mBlurAllocation.getType().getX() - 3); in run() 196 opt.setY(3, mBlurAllocation.getType().getY() - 3); in run() 197 mScriptCanny.forEach_edge(mEdgeAllocation, opt); in run() 199 opt.setX(4, mBlurAllocation.getType().getX() - 4); in run() 200 opt.setY(4, mBlurAllocation.getType().getY() - 4); in run() 201 mScriptCanny.forEach_thin(mBlurAllocation, opt); in run() [all …]
|
/frameworks/base/services/core/java/com/android/server/om/ |
D | OverlayManagerShellCommand.java | 102 String opt; in runList() local 103 while ((opt = getNextOption()) != null) { in runList() 104 switch (opt) { in runList() 109 err.println("Error: Unknown option: " + opt); in runList() 144 String opt; in runEnableDisable() local 145 while ((opt = getNextOption()) != null) { in runEnableDisable() 146 switch (opt) { in runEnableDisable() 151 err.println("Error: Unknown option: " + opt); in runEnableDisable() 164 String opt; in runSetPriority() local 165 while ((opt = getNextOption()) != null) { in runSetPriority() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 131 String opt; in runJob() local 132 while ((opt = getNextOption()) != null) { in runJob() 133 switch (opt) { in runJob() 145 pw.println("Error: unknown option '" + opt + "'"); in runJob() 178 String opt; in timeout() local 179 while ((opt = getNextOption()) != null) { in timeout() 180 switch (opt) { in timeout() 187 pw.println("Error: unknown option '" + opt + "'"); in timeout() 210 String opt = getNextArgRequired(); in monitorBattery() local 212 if ("on".equals(opt)) { in monitorBattery() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | OptimizingLineBreaker.java | 56 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/compile/mclinker/tools/mcld/ |
D | Main.cpp | 75 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/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 278 public boolean handleOption(String opt, ShellCommand cmd) { in makeIntent() 279 if (opt.equals("-D")) { in makeIntent() 281 } else if (opt.equals("-N")) { in makeIntent() 283 } else if (opt.equals("-W")) { in makeIntent() 285 } else if (opt.equals("-P")) { in makeIntent() 288 } else if (opt.equals("--start-profiler")) { in makeIntent() 291 } else if (opt.equals("--sampling")) { in makeIntent() 293 } else if (opt.equals("--streaming")) { in makeIntent() 295 } else if (opt.equals("-R")) { in makeIntent() 297 } else if (opt.equals("-S")) { in makeIntent() [all …]
|
/frameworks/compile/slang/ |
D | rs_cc_options.cpp | 56 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 …]
|
D | llvm-rs-as.cpp | 40 static cl::opt<std::string> 43 static cl::opt<std::string> 47 static cl::opt<bool> 50 static cl::opt<bool> 53 static cl::opt<uint32_t> 58 static cl::opt<bool> 61 static cl::opt<bool>
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 198 String opt; in runInstrument() local 199 while ((opt=nextOption()) != null) { in runInstrument() 200 if (opt.equals("-p")) { in runInstrument() 202 } else if (opt.equals("-w")) { in runInstrument() 204 } else if (opt.equals("-r")) { in runInstrument() 206 } else if (opt.equals("-m")) { in runInstrument() 208 } else if (opt.equals("-e")) { in runInstrument() 212 } else if (opt.equals("--no_window_animation") in runInstrument() 213 || opt.equals("--no-window-animation")) { in runInstrument() 215 } else if (opt.equals("--user")) { in runInstrument() [all …]
|
/frameworks/compile/libbcc/tools/bcc/ |
D | Main.cpp | 70 llvm::cl::opt<std::string> 75 llvm::cl::opt<std::string> 79 llvm::cl::opt<std::string> 85 llvm::cl::opt<std::string> 90 llvm::cl::opt<bool> 94 llvm::cl::opt<std::string> 105 llvm::cl::opt<bool> 109 llvm::cl::opt<bool> 113 llvm::cl::opt<bool> 118 llvm::cl::opt<std::string> [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 231 String opt; in runSuspend() local 232 while ((opt = getNextOption()) != null) { in runSuspend() 233 switch (opt) { in runSuspend() 238 pw.println("Error: Unknown option: " + opt); in runSuspend() 285 String opt; in runInstallWrite() local 286 while ((opt = getNextOption()) != null) { in runInstallWrite() 287 if (opt.equals("-S")) { in runInstallWrite() 290 throw new IllegalArgumentException("Unknown option: " + opt); in runInstallWrite() 317 String opt; in runInstallExisting() local 318 while ((opt = getNextOption()) != null) { in runInstallExisting() [all …]
|
/frameworks/compile/libbcc/tools/bcc_compat/ |
D | Main.cpp | 48 llvm::cl::opt<std::string> 52 llvm::cl::opt<std::string> 56 llvm::cl::opt<std::string> 70 llvm::cl::opt<bool> 74 llvm::cl::opt<char> 79 llvm::cl::opt<bool> 88 llvm::cl::opt<std::string> 94 llvm::cl::opt<bool>
|
/frameworks/compile/libbcc/tests/debuginfo/ |
D | build_test_apk.sh | 64 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/services/core/java/com/android/server/ |
D | LockSettingsShellCommand.java | 96 String opt; in parseArgs() local 97 while ((opt = getNextOption()) != null) { in parseArgs() 98 if ("--old".equals(opt)) { in parseArgs() 100 } else if ("--user".equals(opt)) { in parseArgs() 103 getErrPrintWriter().println("Unknown option: " + opt); in parseArgs()
|
/frameworks/rs/rsov/compiler/spirit/ |
D | generate.py | 486 for opt, arg in opts: 487 if opt == "--instructions": 489 elif opt == "--types": 492 elif opt == "--opcodes": 494 elif opt == "--instruction_dispatches": 496 elif opt == "--enum_dispatches": 499 elif opt == "--type_inst_dispatches": 501 elif opt == "--const_inst_dispatches": 503 elif opt == "--factory_methods":
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 110 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/cmds/pm/src/com/android/commands/pm/ |
D | Pm.java | 482 String opt; in runInstallWrite() local 483 while ((opt = nextOption()) != null) { in runInstallWrite() 484 if (opt.equals("-S")) { in runInstallWrite() 487 throw new IllegalArgumentException("Unknown option: " + opt); in runInstallWrite() 507 String opt; in makeInstallParams() local 508 while ((opt = nextOption()) != null) { in makeInstallParams() 509 switch (opt) { in makeInstallParams() 593 throw new IllegalArgumentException("Unknown option " + opt); in makeInstallParams() 786 String opt; in runSetAppLink() local 787 while ((opt = nextOption()) != null) { in runSetAppLink() [all …]
|
/frameworks/native/cmds/surfacereplayer/replayer/ |
D | Main.cpp | 67 int opt = 0; in main() local 68 while ((opt = getopt(argc, argv, "mt:s:nlh?")) != -1) { in main() 69 switch (opt) { in main()
|
/frameworks/opt/net/wifi/tests/wifitests/ |
D | coverage.sh | 36 …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/rs/rsov/compiler/ |
D | bcc_rsov.sh | 28 while getopts "ho:" opt; do 29 case "$opt" in
|
/frameworks/native/services/surfaceflinger/ |
D | DdmConnection.cpp | 39 JavaVMOption opt; in start() local 41 opt.optionString = in start() 45 args.options = &opt; in start()
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
D | Ime.java | 89 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()
|