Home
last modified time | relevance | path

Searched refs:contents (Results 1 – 24 of 24) sorted by relevance

/test/vts-testcase/kernel/api/proc/
DProcSimpleFileTests.py30 def parse_contents(self, contents): argument
45 def parse_contents(self, contents): argument
46 return self.parse_line("{:d}\n", contents)[0]
60 def parse_contents(self, contents): argument
61 return self.parse_line("{:d}\n", contents)[0]
76 def parse_contents(self, contents): argument
89 def parse_contents(self, contents): argument
105 def parse_contents(self, contents): argument
106 return self.parse_line("{:d}\n", contents)[0]
122 def parse_contents(self, contents): argument
[all …]
DProcFsFileTests.py43 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 map(lambda x: x.split(), contents.split('\n')[:-1])
DProcUidCpuPowerTests.py29 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)]
DProcCmdlineTest.py23 def parse_contents(self, contents): argument
24 if len(contents) == 0 or contents[-1] != '\n':
26 return contents[:-1].split(' ')
DProcVersionTest.py24 def parse_contents(self, contents): argument
25 return self.parse_line("{} version {} ({}@{}) ({}) {}\n", contents)
DProcModulesTest.py30 def parse_contents(self, contents): argument
44 for line in contents.splitlines():
DProcMemInfoTest.py78 def parse_contents(self, contents): argument
79 lines = contents.split('\n')
DProcQtaguidCtrlTest.py28 def parse_contents(self, contents): argument
30 lines = contents.split('\n')
DProcMapsTest.py56 def parse_contents(self, contents): argument
58 lines = contents.split('\n')
DProcCpuFileTests.py81 def parse_contents(self, contents): argument
82 return self.parse_line("{:f} {:f} {:f} {:d}/{:d} {:d}\n", contents)
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
DVtsMultiDeviceTestResultParserTest.java66 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 …]
DVtsFuzzTestResultParserTest.java76 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/
DBowTest.cpp477 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/
DVtsKernelCheckpointTest.py41 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-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py120 contents = target_file_utils.ReadFileContent(state, self.shell).strip()
121 asserts.assertTrue(contents in
/test/vts/utils/python/library/
DREADME.md11 https://refspecs.linuxfoundation.org/elf/gabi4+/contents.html
/test/vti/test_serving/configs/infra/prod/vtslab-config-prod/
Dservices.cfg7 # This file is sensitive. These services may receive contents of any config
/test/vti/test_serving/configs/infra/test/vtslab-config-test/
Dservices.cfg7 # This file is sensitive. These services may receive contents of any config
/test/mlts/models/assets/asr_float/
DLICENSE269 portion of the contents of the database;
272 contents in a database in which You have Sui Generis Database
274 Rights (but not its individual contents) is Adapted Material; and
277 all or a substantial portion of the contents of the database.
/test/vts/proto/
DComponentSpecificationMessage.proto326 // for actual contents.
347 optional bytes contents = 2; field
/test/vts/hals/light/bullhead/
DNOTICE128 wherever such third-party notices normally appear. The contents
/test/mlts/benchmark/
DLICENSE115 wherever such third-party notices normally appear. The contents
/test/mlts/models/
DLICENSE115 wherever such third-party notices normally appear. The contents
/test/suite_harness/tools/dex-tools/dex/
Dclasses0.out.dex67366 private byte[] contents
93397 org.bouncycastle.asn1.DERString contents