/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | ProcSimpleFileTests.py | 32 def parse_contents(self, contents): argument 47 def parse_contents(self, contents): argument 48 return self.parse_line("{:d}\n", contents)[0] 62 def parse_contents(self, contents): argument 63 return self.parse_line("{:d}\n", contents)[0] 78 def parse_contents(self, contents): argument 91 def parse_contents(self, contents): argument 107 def parse_contents(self, contents): argument 108 return self.parse_line("{:d}\n", contents)[0] 124 def parse_contents(self, contents): argument [all …]
|
D | ProcFsFileTests.py | 43 def parse_contents(self, contents): argument 44 if len(contents) == 0 or contents[-1] != '\n': 47 for line in contents.split('\n')[:-1]: 76 def parse_contents(self, contents): argument 77 if len(contents) == 0 or contents[-1] != '\n': 81 for line in contents.split('\n')[:-1]: 103 def parse_contents(self, contents): argument 104 if len(contents) == 0 or contents[-1] != '\n': 106 return list(map(lambda x: x.split(), contents.split('\n')[:-1]))
|
D | ProcUidCpuPowerTests.py | 26 def parse_contents(self, contents): argument 28 … return [struct.unpack_from('I', contents.encode(), i)[0] for i in range(0, len(contents), size)] 51 def parse_contents(self, contents): argument 53 … return [struct.unpack_from('I', contents.encode(), i)[0] for i in range(0, len(contents), size)] 76 def parse_contents(self, contents): argument 78 … return [struct.unpack_from('I', contents.encode(), i)[0] for i in range(0, len(contents), size)]
|
D | ProcCmdlineTest.py | 23 def parse_contents(self, contents): argument 24 if len(contents) == 0 or contents[-1] != '\n': 26 return contents[:-1].split(' ')
|
D | ProcVersionTest.py | 24 def parse_contents(self, contents): argument 25 return self.parse_line("{} version {} ({}@{}) ({}) {}\n", contents)
|
D | ProcModulesTest.py | 29 def parse_contents(self, contents): argument 43 for line in contents.splitlines():
|
D | ProcMemInfoTest.py | 78 def parse_contents(self, contents): argument 79 lines = contents.split('\n')
|
D | ProcCpuFileTests.py | 81 def parse_contents(self, contents): argument 82 return self.parse_line("{:f} {:f} {:f} {:d}/{:d} {:d}\n", contents)
|
D | ProcMapsTest.py | 56 def parse_contents(self, contents): argument 58 lines = contents.split('\n')
|
D | ProcQtaguidCtrlTest.py | 30 def parse_contents(self, contents): argument 32 lines = contents.split('\n')
|
/test/vts-testcase/kernel/api/proc/ |
D | ProcSimpleFileTests.py | 31 def parse_contents(self, contents): argument 46 def parse_contents(self, contents): argument 47 return self.parse_line("{:d}\n", contents)[0] 61 def parse_contents(self, contents): argument 62 return self.parse_line("{:d}\n", contents)[0] 77 def parse_contents(self, contents): argument 90 def parse_contents(self, contents): argument 106 def parse_contents(self, contents): argument 107 return self.parse_line("{:d}\n", contents)[0] 123 def parse_contents(self, contents): argument [all …]
|
D | ProcFsFileTests.py | 44 def parse_contents(self, contents): argument 45 if len(contents) == 0 or contents[-1] != '\n': 48 for line in contents.split('\n')[:-1]: 77 def parse_contents(self, contents): argument 78 if len(contents) == 0 or contents[-1] != '\n': 82 for line in contents.split('\n')[:-1]: 104 def parse_contents(self, contents): argument 105 if len(contents) == 0 or contents[-1] != '\n': 107 return map(lambda x: x.split(), contents.split('\n')[:-1])
|
D | ProcUidCpuPowerTests.py | 29 def parse_contents(self, contents): argument 31 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)] 53 def parse_contents(self, contents): argument 55 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)] 77 def parse_contents(self, contents): argument 79 return [struct.unpack_from('I', contents, i)[0] for i in range(0, len(contents), size)]
|
D | ProcCmdlineTest.py | 23 def parse_contents(self, contents): argument 24 if len(contents) == 0 or contents[-1] != '\n': 26 return contents[:-1].split(' ')
|
D | ProcVersionTest.py | 24 def parse_contents(self, contents): argument 25 return self.parse_line("{} version {} ({}@{}) ({}) {}\n", contents)
|
D | ProcModulesTest.py | 30 def parse_contents(self, contents): argument 44 for line in contents.splitlines():
|
D | ProcMemInfoTest.py | 78 def parse_contents(self, contents): argument 79 lines = contents.split('\n')
|
D | ProcQtaguidCtrlTest.py | 28 def parse_contents(self, contents): argument 30 lines = contents.split('\n')
|
D | ProcCpuFileTests.py | 81 def parse_contents(self, contents): argument 82 return self.parse_line("{:f} {:f} {:f} {:d}/{:d} {:d}\n", contents)
|
D | ProcMapsTest.py | 56 def parse_contents(self, contents): argument 58 lines = contents.split('\n')
|
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ |
D | VtsMultiDeviceTestResultParserTest.java | 66 String[] contents = getOutput(OUTPUT_FILE_2); in testRunTimeoutInput() local 67 long totalTime = getTotalTime(contents); in testRunTimeoutInput() 85 resultParser.processNewLines(contents); in testRunTimeoutInput() 95 String[] contents = getOutput(OUTPUT_FILE_1); in testRunNormalInput() local 96 long totalTime = getTotalTime(contents); in testRunNormalInput() 113 resultParser.processNewLines(contents); in testRunNormalInput() 123 String[] contents = getOutput(OUTPUT_FILE_3); in testRunErrorInput() local 124 long totalTime = getTotalTime(contents); in testRunErrorInput() 134 resultParser.processNewLines(contents); in testRunErrorInput() 142 private long getTotalTime(String[] contents) { in getTotalTime() argument [all …]
|
D | VtsFuzzTestResultParserTest.java | 76 String[] contents = readInFile(VTS_FUZZ_OUTPUT_FILE_1); in testParsePassedFile() local 84 resultParser.processNewLines(contents); in testParsePassedFile() 92 String[] contents = readInFile(VTS_FUZZ_OUTPUT_FILE_2); in testParseFailedFile() local 103 resultParser.processNewLines(contents); in testParseFailedFile()
|
/test/vts-testcase/kernel/bow/ |
D | BowTest.cpp | 477 std::string contents; in TEST_F() local 478 std::ifstream(MOUNT_POINT "/file") >> contents; in TEST_F() 479 EXPECT_EQ(contents, std::string("Changed")); in TEST_F() 500 std::string contents; in TEST_F() local 501 std::ifstream(MOUNT_POINT "/file") >> contents; in TEST_F() 502 EXPECT_EQ(contents, std::string("Original")); in TEST_F()
|
/test/vts-testcase/kernel/checkpoint/ |
D | VtsKernelCheckpointTest.py | 41 contents = self.dut.adb.shell("cat " + filename + extension, no_except = True) 42 if contents[const.EXIT_CODE] != 0: 45 return contents[const.STDOUT]
|
/test/vts/utils/python/library/ |
D | README.md | 11 https://refspecs.linuxfoundation.org/elf/gabi4+/contents.html
|