/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
D | DexoptOptionsTests.java | 45 DexoptOptions opt = new DexoptOptions(mPackageName, mCompilerFilter, /*flags*/ 0); in testCreateDexoptOptionsEmpty() local 46 assertEquals(mPackageName, opt.getPackageName()); in testCreateDexoptOptionsEmpty() 47 assertEquals(mCompilerFilter, opt.getCompilerFilter()); in testCreateDexoptOptionsEmpty() 48 assertEquals(null, opt.getSplitName()); in testCreateDexoptOptionsEmpty() 49 assertFalse(opt.isBootComplete()); in testCreateDexoptOptionsEmpty() 50 assertFalse(opt.isCheckForProfileUpdates()); in testCreateDexoptOptionsEmpty() 51 assertFalse(opt.isDexoptOnlySecondaryDex()); in testCreateDexoptOptionsEmpty() 52 assertFalse(opt.isDexoptOnlySharedDex()); in testCreateDexoptOptionsEmpty() 53 assertFalse(opt.isDowngrade()); in testCreateDexoptOptionsEmpty() 54 assertFalse(opt.isForce()); in testCreateDexoptOptionsEmpty() [all …]
|
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/ |
D | RequestSync.java | 154 String opt; in parseArgs() local 155 while ((opt=nextOption()) != null) { in parseArgs() 156 if (opt.equals("-h") || opt.equals("--help")) { in parseArgs() 159 } else if (opt.equals("-n") || opt.equals("--account-name")) { in parseArgs() 161 } else if (opt.equals("-t") || opt.equals("--account-type")) { in parseArgs() 163 } else if (opt.equals("-a") || opt.equals("--authority")) { in parseArgs() 165 } else if (opt.equals("--is") || opt.equals("--ignore-settings")) { in parseArgs() 167 } else if (opt.equals("--ib") || opt.equals("--ignore-backoff")) { in parseArgs() 169 } else if (opt.equals("--dd") || opt.equals("--discard-deletions")) { in parseArgs() 171 } 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 …]
|
/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 | 108 String opt; in runList() local 109 while ((opt = getNextOption()) != null) { in runList() 110 switch (opt) { in runList() 115 err.println("Error: Unknown option: " + opt); in runList() 151 String opt; in runEnableDisable() local 152 while ((opt = getNextOption()) != null) { in runEnableDisable() 153 switch (opt) { in runEnableDisable() 158 err.println("Error: Unknown option: " + opt); in runEnableDisable() 172 String opt; in runEnableExclusive() local 173 while ((opt = getNextOption()) != null) { in runEnableExclusive() [all …]
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerShellCommand.java | 137 String opt; in runJob() local 138 while ((opt = getNextOption()) != null) { in runJob() 139 switch (opt) { in runJob() 151 pw.println("Error: unknown option '" + opt + "'"); in runJob() 184 String opt; in timeout() local 185 while ((opt = getNextOption()) != null) { in timeout() 186 switch (opt) { in timeout() 193 pw.println("Error: unknown option '" + opt + "'"); in timeout() 219 String opt; in cancelJob() local 220 while ((opt = getNextOption()) != null) { in cancelJob() [all …]
|
/frameworks/base/cmds/am/src/com/android/commands/am/ |
D | Am.java | 154 String opt; in runInstrument() local 155 while ((opt=nextOption()) != null) { in runInstrument() 156 if (opt.equals("-p")) { in runInstrument() 158 } else if (opt.equals("-w")) { in runInstrument() 160 } else if (opt.equals("-r")) { in runInstrument() 162 } else if (opt.equals("-m")) { in runInstrument() 164 } else if (opt.equals("-f")) { in runInstrument() 168 } else if (opt.equals("-e")) { in runInstrument() 172 } else if (opt.equals("--no_window_animation") in runInstrument() 173 || opt.equals("--no-window-animation")) { in runInstrument() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerShellCommand.java | 308 public boolean handleOption(String opt, ShellCommand cmd) { in makeIntent() 309 if (opt.equals("-D")) { in makeIntent() 311 } else if (opt.equals("-N")) { in makeIntent() 313 } else if (opt.equals("-W")) { in makeIntent() 315 } else if (opt.equals("-P")) { in makeIntent() 318 } else if (opt.equals("--start-profiler")) { in makeIntent() 321 } else if (opt.equals("--sampling")) { in makeIntent() 323 } else if (opt.equals("--streaming")) { in makeIntent() 325 } else if (opt.equals("--attach-agent")) { in makeIntent() 333 } else if (opt.equals("--attach-agent-bind")) { in makeIntent() [all …]
|
/frameworks/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/support/jetifier/jetifier/standalone/src/main/kotlin/com/android/tools/build/jetifier/standalone/ |
D | Main.kt | 121 Log.setLevel(cmd.getOptionValue(OPTION_LOG_LEVEL.opt)) in run() 123 val inputLibrary = File(cmd.getOptionValue(OPTION_INPUT.opt)) in run() 124 val output = cmd.getOptionValue(OPTION_OUTPUT.opt) in run() 125 val rebuildTopOfTree = cmd.hasOption(OPTION_REBUILD_TOP_OF_TREE.opt) in run() 135 val config = if (cmd.hasOption(OPTION_CONFIG.opt)) { in run() 136 val configPath = Paths.get(cmd.getOptionValue(OPTION_CONFIG.opt)) in run() 148 val versionSetName = cmd.getOptionValue(OPTION_VERSIONS.opt) in run() 149 val isReversed = cmd.hasOption(OPTION_REVERSED.opt) in run() 150 val isStrict = cmd.hasOption(OPTION_STRICT.opt) in run()
|
/frameworks/compile/slang/ |
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>
|
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 …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerShellCommand.java | 454 String opt; in runListInstrumentation() local 455 while ((opt = getNextArg()) != null) { in runListInstrumentation() 456 switch (opt) { in runListInstrumentation() 461 if (opt.charAt(0) != '-') { in runListInstrumentation() 462 targetPackage = opt; in runListInstrumentation() 464 pw.println("Error: Unknown option: " + opt); in runListInstrumentation() 540 String opt; in runListPackages() local 541 while ((opt = getNextOption()) != null) { in runListPackages() 542 switch (opt) { in runListPackages() 581 pw.println("Error: Unknown option: " + opt); in runListPackages() [all …]
|
/frameworks/compile/libbcc/tools/bcc/ |
D | Main.cpp | 74 llvm::cl::opt<std::string> 79 llvm::cl::opt<std::string> 83 llvm::cl::opt<std::string> 89 llvm::cl::opt<std::string> 94 llvm::cl::opt<bool> 98 llvm::cl::opt<std::string> 109 llvm::cl::opt<bool> 113 llvm::cl::opt<bool> 117 llvm::cl::opt<bool> 122 llvm::cl::opt<std::string> [all …]
|
/frameworks/opt/net/lowpan/build/ |
D | lowpan.mk | 16 include frameworks/opt/net/lowpan/build/lowpan-service.mk 17 include frameworks/opt/net/lowpan/build/lowpan-hal-default.mk 18 include frameworks/opt/net/lowpan/build/wpantund.mk
|
/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/tests/JankBench/app/src/main/jni/ |
D | test.cpp | 90 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestBandwidth() argument 92 return b->runMemoryBandwidthTest(opt); in Java_com_android_benchmark_synthetic_TestInterface_nMemTestBandwidth() 96 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nGFlopsTest() argument 98 return b->runGFlopsTest(opt); in Java_com_android_benchmark_synthetic_TestInterface_nGFlopsTest() 102 JNIEnv *_env, jobject _this, jlong _b, jlong opt) { in Java_com_android_benchmark_synthetic_TestInterface_nMemTestLatency() argument 104 return b->runMemoryLatencyTest(opt); in Java_com_android_benchmark_synthetic_TestInterface_nMemTestLatency()
|
/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/support/jetifier/jetifier/preprocessor/src/main/kotlin/com/android/tools/build/jetifier/preprocessor/ |
D | Main.kt | 66 Log.setLevel(cmd.getOptionValue(OPTION_LOG_LEVEL.opt)) in run() 68 val inputLibraries = cmd.getOptionValues(OPTION_INPUT_LIBS.opt).map { File(it) } in run() 69 val inputConfigPath = Paths.get(cmd.getOptionValue(OPTION_INPUT_CONFIG.opt)) in run() 70 val outputConfigPath = Paths.get(cmd.getOptionValue(OPTION_OUTPUT_CONFIG.opt)) in run()
|
/frameworks/base/cmds/incident_helper/src/ |
D | main.cpp | 85 int opt; in main() local 87 while ((opt = getopt(argc, argv, "hs:")) != -1) { in main() 88 switch (opt) { in main()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsShellCommand.java | 109 String opt; in parseArgs() local 110 while ((opt = getNextOption()) != null) { in parseArgs() 111 if ("--old".equals(opt)) { in parseArgs() 113 } else if ("--user".equals(opt)) { in parseArgs() 116 getErrPrintWriter().println("Unknown option: " + opt); in parseArgs()
|
/frameworks/base/cmds/dpm/src/com/android/commands/dpm/ |
D | Dpm.java | 138 String opt; in parseArgs() local 139 while ((opt = nextOption()) != null) { in parseArgs() 140 if ("--user".equals(opt)) { in parseArgs() 155 } else if (canHaveName && "--name".equals(opt)) { in parseArgs() 158 throw new IllegalArgumentException("Unknown option: " + opt); in parseArgs()
|
/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()
|