Searched refs:filepath (Results 1 – 4 of 4) sorted by relevance
/test/vts/tests/kernel_proc_file_api_test/ |
D | vts_kernel_proc_file_api_test.py | 144 filepath = "/proc/pagetypeinfo" 147 "cat %s | incident_helper -s 2001" % filepath) 150 "Failed to parse %s." % filepath) 206 filepath = "/proc/uid_procstat/set" 210 self.dut.shell.Execute("echo %d %s > %s" % (root_uid, state, filepath)) 234 for filepath in filepaths: 235 self.assertTrue(self.dut.Exists(filepath), 236 '%s does not exist.' % filepath) 237 permission = self.dut.GetPermission(filepath) 239 file_content = self.dut.ReadFileContent(filepath) [all …]
|
D | proc_utils.py | 80 def GetPermission(self, filepath): argument 82 out, err, r_code = self.shell.Execute('stat -c %%a %s' % filepath) 85 (filepath, out, err)) 145 def ReadFileContent(self, filepath): argument 154 cmd = "cat %s" % filepath 160 % (filepath, err))
|
D | vts_kernel_proc_sysrq_trigger_test.py | 36 filepath = "/proc/sysrq-trigger" 40 self.dut.shell.Execute("echo u > %s" % filepath) 43 self.dut.shell.Execute("echo b > %s" % filepath)
|
/test/vts-testcase/kernel/pagesize_16kb/ |
D | Vts16KPageSizeTest.cpp | 39 static ssize_t MaxPageSize(const std::string& filepath) { in MaxPageSize() argument 44 if (!android::elf64::Elf64Parser::ParseElfFile(filepath, elf)) { in MaxPageSize()
|