Searched refs:optionIndex (Results 1 – 9 of 9) sorted by relevance
/aosp12/frameworks/native/cmds/dumpsys/ |
H A D | dumpsys.cpp | 144 int optionIndex = 0; in main() local 146 c = getopt_long(argc, argv, "+t:T:l", longOptions, &optionIndex); in main() 154 if (!strcmp(longOptions[optionIndex].name, "skip")) { in main() 156 } else if (!strcmp(longOptions[optionIndex].name, "proto")) { in main() 158 } else if (!strcmp(longOptions[optionIndex].name, "help")) { in main() 161 } else if (!strcmp(longOptions[optionIndex].name, "priority")) { in main() 168 } else if (!strcmp(longOptions[optionIndex].name, "pid")) { in main() 170 } else if (!strcmp(longOptions[optionIndex].name, "thread")) { in main()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/common/src/ |
H A D | VehicleHalManager.cpp | 598 size_t optionIndex = 1; in parseSetPropOptions() local 600 if (!safelyParseInt(fd, optionIndex, options[optionIndex], &propValue)) { in parseSetPropOptions() 601 dprintf(fd, "property value: \"%s\" is not a valid int\n", options[optionIndex].c_str()); in parseSetPropOptions() 607 optionIndex++; in parseSetPropOptions() 610 while (optionIndex < options.size()) { in parseSetPropOptions() 611 std::string type = options[optionIndex]; in parseSetPropOptions() 612 optionIndex++; in parseSetPropOptions() 613 size_t currentIndex = optionIndex; in parseSetPropOptions() 614 std::vector<std::string> values = getOptionValues(options, &optionIndex); in parseSetPropOptions()
|
/aosp12/system/extras/boottime_tools/bootio/ |
H A D | bootio.cpp | 115 int optionIndex = 0; in main() local 124 while ((opt = getopt_long(argc, argv, "hlpr:", longOptions, &optionIndex)) != -1) { in main() 127 const std::string option_name = longOptions[optionIndex].name; in main()
|
/aosp12/frameworks/native/libs/ui/tools/ |
H A D | lutgen.cpp | 124 int optionIndex = handleCommandLineArgments(argc, argv); in main() local 125 int numArgs = argc - optionIndex; in main() 134 string filename(argv[optionIndex]); in main()
|
/aosp12/system/libvintf/ |
H A D | main.cpp | 110 int optionIndex; 112 int c = getopt_long(argc, argv, shortOptions.c_str(), longOptions.get(), &optionIndex);
|
H A D | check_vintf.cpp | 192 int optionIndex; in parseArgs() local 210 int c = getopt_long(argc, argv, "hcD:", longopts.data(), &optionIndex); in parseArgs()
|
/aosp12/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 1077 int optionIndex = 0; in main() local 1078 int ic = getopt_long(argc, argv, "", longOptions, &optionIndex); in main()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessStatsService.java | 554 int optionIndex = optionStrList.indexOf(sectionStr); 555 if (optionIndex != -1) { 556 res |= ProcessStats.OPTIONS[optionIndex];
|
/aosp12/frameworks/native/cmds/lshal/ |
H A D | ListCommand.cpp | 1058 int optionIndex; 1063 shortOptions.c_str(), longOptions.get(), &optionIndex);
|