/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 | 31 std::string cmdline; in fs_mgr_get_boot_config_from_kernel_cmdline() local 33 if (android::base::ReadFileToString("/proc/cmdline", &cmdline)) { in fs_mgr_get_boot_config_from_kernel_cmdline() 34 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { in fs_mgr_get_boot_config_from_kernel_cmdline()
|
D | fs_mgr_avb.cpp | 142 std::string cmdline; in Create() local 143 if (!android::base::ReadFileToString("/proc/cmdline", &cmdline)) { in Create() 156 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 | 79 static const char* cmdline = nullptr; variable 444 const char* cmdline) { in load_bootable_image() argument 451 if (cmdline) bootimg_set_cmdline((boot_img_hdr*) kdata, cmdline); in load_bootable_image() 481 if (cmdline) bootimg_set_cmdline((boot_img_hdr*) bdata, cmdline); in load_bootable_image() 1551 cmdline = optarg; in main() 1752 data = load_bootable_image(kernel, ramdisk, second_stage, &sz, cmdline); in main() 1781 data = load_bootable_image(kernel, ramdisk, second_stage, &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 | 241 std::string cmdline; in import_kernel_cmdline() local 242 android::base::ReadFileToString("/proc/cmdline", &cmdline); in import_kernel_cmdline() 244 for (const auto& entry : android::base::Split(android::base::Trim(cmdline), " ")) { in import_kernel_cmdline()
|
/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/libhidl/transport/ |
D | ServiceManagement.cpp | 87 std::string cmdline; in binaryName() local 91 ifs >> cmdline; in binaryName() 93 size_t idx = cmdline.rfind("/"); in binaryName() 95 cmdline = cmdline.substr(idx + 1); in binaryName() 98 return cmdline; in binaryName()
|
/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/extras/simpleperf/ |
D | environment.cpp | 530 std::string cmdline; in WaitForAppProcess() local 531 if (!android::base::ReadFileToString("/proc/" + std::to_string(pid) + "/cmdline", &cmdline)) { in WaitForAppProcess() 535 cmdline = android::base::Basename(cmdline); in WaitForAppProcess() 536 if (cmdline == package_name) { in WaitForAppProcess()
|
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_dumprecord.cpp | 204 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in DumpFeatureSection() local 205 PrintIndented(1, "cmdline: %s\n", android::base::Join(cmdline, ' ').c_str()); in DumpFeatureSection()
|
D | cmd_record.cpp | 1025 std::vector<std::string> cmdline; in DumpAdditionalFeatures() local 1026 cmdline.push_back(exec_path); in DumpAdditionalFeatures() 1027 cmdline.push_back("record"); in DumpAdditionalFeatures() 1028 cmdline.insert(cmdline.end(), args.begin(), args.end()); in DumpAdditionalFeatures() 1029 if (!record_file_writer_->WriteCmdlineFeature(cmdline)) { in DumpAdditionalFeatures()
|
D | cmd_report.cpp | 716 std::vector<std::string> cmdline = record_file_reader_->ReadCmdlineFeature(); in ReadFeaturesFromRecordFile() local 717 if (!cmdline.empty()) { in ReadFeaturesFromRecordFile() 718 record_cmdline_ = android::base::Join(cmdline, ' '); in ReadFeaturesFromRecordFile() 721 for (size_t i = 0; i < cmdline.size(); i++) { in ReadFeaturesFromRecordFile() 722 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/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/perfprofd/quipper/original-kernel-headers/tools/perf/util/ |
D | header.h | 80 char *cmdline; member
|