/system/core/libcutils/ |
D | trace-dev.c | 69 static bool atrace_is_cmdline_match(const char* cmdline) in atrace_is_cmdline_match() argument 79 if (strcmp(value, cmdline) == 0) { in atrace_is_cmdline_match() 97 char cmdline[4096]; in atrace_is_app_tracing_enabled() local 98 if (fgets(cmdline, sizeof(cmdline), file)) { in atrace_is_app_tracing_enabled() 99 result = atrace_is_cmdline_match(cmdline); in atrace_is_app_tracing_enabled()
|
/system/tools/aidl/tests/ |
D | end_to_end_tests.cpp | 101 const char* cmdline[argc + 1] = { in TEST_F() local 105 auto options = CppOptions::Parse(argc, cmdline); in TEST_F() 126 const char* cmdline[argc + 1] = { in TEST_F() local 130 auto options = CppOptions::Parse(argc, cmdline); in TEST_F() 147 const char* cmdline[argc + 1] = { in TEST_F() local 154 auto options = JavaOptions::Parse(argc, cmdline); in TEST_F()
|
/system/core/fs_mgr/ |
D | fs_mgr_boot_config.cpp | 37 std::string cmdline; in fs_mgr_get_boot_config() local 39 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { in fs_mgr_get_boot_config() 40 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { in fs_mgr_get_boot_config()
|
D | fs_mgr_avb.cpp | 192 std::string cmdline; in Create() local 193 if (!android::base::ReadFileToString("/proc/cmdline", &cmdline)) { in Create() 206 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { in Create()
|
/system/core/libmemtrack/ |
D | memtrack_test.c | 106 char cmdline[256]; in main() local 114 getprocname(pid, cmdline, (int)sizeof(cmdline)); in main() 132 v1, v2, v3, v4, v5, v6, cmdline); in main()
|
/system/core/fastboot/ |
D | bootimg_utils.cpp | 35 void bootimg_set_cmdline(boot_img_hdr* h, const char* cmdline) in bootimg_set_cmdline() argument 37 strcpy((char*) h->cmdline, cmdline); in bootimg_set_cmdline()
|
D | bootimg_utils.h | 36 void bootimg_set_cmdline(boot_img_hdr* h, const char* cmdline);
|
D | fastboot.cpp | 78 static const char* cmdline = nullptr; variable 423 const char* cmdline) { in load_bootable_image() argument 438 if (cmdline) bootimg_set_cmdline((boot_img_hdr*) kdata, cmdline); in load_bootable_image() 479 if (cmdline) bootimg_set_cmdline((boot_img_hdr*) bdata, cmdline); in load_bootable_image() 1482 cmdline = optarg; in main() 1709 data = load_bootable_image(kname, rname, sname, &sz, cmdline); in main() 1747 data = load_bootable_image(kname, rname, sname, &sz, cmdline); in main()
|
/system/core/init/ |
D | bootchart.cpp | 116 std::string cmdline; in log_processes() local 117 android::base::ReadFileToString(StringPrintf("/proc/%d/cmdline", pid), &cmdline); in log_processes() 118 const char* full_name = cmdline.c_str(); // So we stop at the first NUL. in log_processes() 123 if (!cmdline.empty()) { in log_processes()
|
D | util.cpp | 277 std::string cmdline; in import_kernel_cmdline() local 278 android::base::ReadFileToString("/proc/cmdline", &cmdline); in import_kernel_cmdline() 280 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { in import_kernel_cmdline()
|
/system/libhidl/transport/ |
D | ServiceManagement.cpp | 88 std::string cmdline; in binaryName() local 92 ifs >> cmdline; in binaryName() 94 size_t idx = cmdline.rfind("/"); in binaryName() 96 cmdline = cmdline.substr(idx + 1); in binaryName() 99 return cmdline; in binaryName()
|
/system/extras/librank/ |
D | librank.c | 33 char cmdline[MAX_CMDLINE]; member 169 getprocname(pid, process->cmdline, sizeof(process->cmdline)); in get_process() 199 char cmdline[256]; in main() local 415 pi->cmdline, in main()
|
/system/core/mkbootimg/ |
D | bootimg.h | 57 uint8_t cmdline[BOOT_ARGS_SIZE]; member
|
D | mkbootimg | 63 args.output.write(pack('512s', args.cmdline[:512].encode())) 72 args.output.write(pack('1024s', args.cmdline[512:].encode()))
|
/system/extras/ksmutils/ |
D | ksminfo.c | 77 char cmdline[256]; // this must be within the range of int in main() local 143 if (getprocname(*pids, cmdline, sizeof(cmdline)) < 0) { in main() 144 cmdline[0] = '\0'; in main() 146 printf("%s (%u):\n", cmdline, *pids); in main()
|
/system/extras/perfprofd/quipper/kernel-headers/tools/perf/util/ |
D | header.h | 93 char * cmdline; member
|
/system/extras/tests/workloads/ |
D | pwrtest.sh | 186 cmdline="$1" 187 echo Running $cmdline 188 (adb shell "cd $devdir && nohup $cmdline > test.out") &
|
/system/tools/aidl/ |
D | generate_cpp_unittest.cpp | 843 const char* cmdline[argc] = { in GetOptions() local 846 return CppOptions::Parse(argc, cmdline); in GetOptions()
|
/system/extras/simpleperf/ |
D | cmd_dumprecord.cpp | 202 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in DumpFeatureSection() local 203 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str()); in DumpFeatureSection()
|
D | record_file_writer.cpp | 274 bool RecordFileWriter::WriteCmdlineFeature(const std::vector<std::string>& cmdline) { in WriteCmdlineFeature() argument 278 uint32_t arg_count = cmdline.size(); in WriteCmdlineFeature() 282 for (auto& arg : cmdline) { in WriteCmdlineFeature()
|
D | cmd_record.cpp | 951 std::vector<std::string> cmdline; in DumpAdditionalFeatures() local 952 cmdline.push_back(exec_path); in DumpAdditionalFeatures() 953 cmdline.push_back("record"); in DumpAdditionalFeatures() 954 cmdline.insert(cmdline.end(), args.begin(), args.end()); in DumpAdditionalFeatures() 955 if (!record_file_writer_->WriteCmdlineFeature(cmdline)) { in DumpAdditionalFeatures()
|
D | cmd_report.cpp | 696 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in ReadFeaturesFromRecordFile() local 697 if (!cmdline.empty()) { in ReadFeaturesFromRecordFile() 698 record_cmdline_ = android::base::Join(cmdline, ' '); in ReadFeaturesFromRecordFile() 701 for (size_t i = 0; i < cmdline.size(); i++) { in ReadFeaturesFromRecordFile() 702 std::string& s = cmdline[i]; in ReadFeaturesFromRecordFile()
|
D | record_file_reader.cpp | 338 std::vector<std::string> cmdline; in ReadCmdlineFeature() local 346 cmdline.push_back(p); in ReadCmdlineFeature() 349 return cmdline; in ReadCmdlineFeature()
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 80 char *cmdline; member
|
/system/core/logcat/ |
D | logcat.cpp | 1218 std::string cmdline = android::base::GetProperty(QEMU_CMDLINE, ""); in __logcat() local 1219 if (cmdline.empty()) { in __logcat() 1220 android::base::ReadFileToString("/proc/cmdline", &cmdline); in __logcat() 1223 const char* logcatFilter = strstr(cmdline.c_str(), LOGCAT_FILTER); in __logcat() 1237 strstr(cmdline.c_str(), CONSOLE_PIPE_OPTION); in __logcat() 1239 strstr(cmdline.c_str(), CONSOLE_OPTION); in __logcat() 1264 cmdline.erase(); in __logcat()
|