Home
last modified time | relevance | path

Searched refs:cmdLine (Results 1 – 2 of 2) sorted by relevance

/system/extras/ioblame/
DandroidFsParser.py34 def __init__(self, cmdLine, filename, numBytes): argument
35 self.cmdLine = cmdLine
57 .format(self.cmdLine, mode, to_kib(self.totalBytes), smallFileCnt,
62 self.cmdLine, mode, to_kib(self.totalBytes)))
83 def __init__(self, uid, cmdLine, filename, numBytes): argument
87 self.traceByProcess = {cmdLine: ProcessTrace(cmdLine, filename, numBytes)}
89 def add_process_trace(self, cmdLine, filename, numBytes): argument
91 if cmdLine in self.traceByProcess:
92 self.traceByProcess[cmdLine].add_file_trace(filename, numBytes)
94 self.traceByProcess[cmdLine] = ProcessTrace(cmdLine, filename, numBytes)
[all …]
/system/chre/host/common/
Dchre_aidl_hal_client.cc687 std::string cmdLine = kv_pair.first + " " + kv_pair.second.argsFormat; in printUsage() local
688 std::cout << std::setw(kCommandLength) << cmdLine; in printUsage()
689 if (cmdLine.size() > kCommandLength) { in printUsage()
698 const std::vector<std::string> &cmdLine, in parseCommand() argument
700 if (cmdLine.empty() || in parseCommand()
701 supportedCommandMap.find(cmdLine[0]) == supportedCommandMap.end()) { in parseCommand()
704 auto cmdInfo = supportedCommandMap.at(cmdLine[0]); in parseCommand()
705 return cmdLine.size() == cmdInfo.numOfArgs ? cmdInfo.cmd : unsupported; in parseCommand()
708 void executeCommand(std::vector<std::string> cmdLine) { in executeCommand() argument
709 switch (parseCommand(cmdLine, kAllCommands)) { in executeCommand()
[all …]