/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/ |
D | ProcZoneInfoTest.py | 47 def p_node(self, p): argument 49 p[0] = [p[1], p[2], p[4], p[5], p[6]] 51 def p_populated(self, p): argument 55 if len(p) == 2: 56 p[0] = [] 57 elif len(p) == 6: 58 p[0] = [p[1], p[4], p[5]] 60 p[0] = [p[3], p[4]] 62 def p_pernode(self, p): argument 65 p[0] = [] if len(p) == 2 else [p[1], p[4]] [all …]
|
D | ProcVmallocInfoTest.py | 58 def p_line(self, p): argument 60 p[0] = p[1:] 62 def p_addr_range(self, p): argument 64 p[0] = [p[1], p[3]] 66 def p_module(self, p): argument 69 p[0] = p[1] 71 def p_pages(self, p): argument 74 p[0] = [] if len(p) == 2 else [p[1], p[3]] 76 def p_phys(self, p): argument 79 p[0] = p[1] [all …]
|
D | ProcStatTest.py | 40 def p_stat(self, p): argument 42 p[0] = p[1:] 44 def p_cpu(self, p): argument 46 p[0] = p[1:] 48 def p_intr(self, p): argument 50 p[0] = p[1:] 52 def p_ctxt(self, p): argument 54 p[0] = p[1:] 56 def p_btime(self, p): argument 58 p[0] = p[1:] [all …]
|
D | ProcAsoundTests.py | 36 def p_soundcards(self, p): argument 39 p[0] = [p[4], p[5]] if len(p) == 10 else p[1] 43 def p_driver(self, p): argument 45 p[0] = [p[1], p[2], p[4], p[6], p[8]] 47 def p_description(self, p): argument 50 p[0] = [p[1]] if len(p) == 2 else p[1] + [p[2]] 52 def p_word(self, p): argument 61 p[0] = p[1] 63 def p_id(self, p): argument 65 p[0] = p[2]
|
D | ProcUidConcurrentTimeTests.py | 38 def p_uid_active_time_table(self, p): argument 40 p[0] = p[1:] 42 def p_cpus(self, p): argument 44 p[0] = p[3] 46 def p_uid_active_time(self, p): argument 48 p[0] = [p[1], p[3]] 80 def p_uid_policy_time_table(self, p): argument 82 p[0] = p[1:] 84 def p_header_row(self, p): argument 86 p[0] = sum(int(x) for x in p[1]) [all …]
|
D | ProcCpuFileTests.py | 49 def p_line(self, p): argument 53 if len(p) == 2: 54 p[0] = [] 56 p[0] = [p[1] + [p[2], p[3]], p[5], p[6]] 58 def p_space_item(self, p): argument 60 p[0] = p[2] 62 def p_string_space(self, p): argument 64 p[0] = p[1]
|
D | ProcShowUidStatTest.py | 30 def p_line(self, p): argument 33 if len(p) == 10: 34 p[0] = [p[1], p[4], p[6], p[8]] 36 p[0] = [p[1], p[4], p[6]]
|
D | ProcUidTimeInStateTest.py | 37 def p_uid_time_table(self, p): argument 39 p[0] = p[1:] 41 def p_freqs(self, p): argument 43 p[0] = p[3] 45 def p_uid_time(self, p): argument 47 p[0] = [p[1], p[3]]
|
D | KernelProcFileTestBase.py | 34 def p_multiple(self, p): argument 35 if len(p) == 2 and zero_ok: 36 p[0] = [] 37 elif len(p) == 2: 38 p[0] = [p[1]] 40 p[0] = p[1] + [p[2]] 119 def p_error(self, p): argument 121 (p, p.lexer.lineno)) 123 def p_empty(self, p): argument
|
D | ProcMiscTest.py | 32 def p_line(self, p): argument 34 p[0] = [p[1], p[2]]
|
D | ProcVmstatTest.py | 30 def p_line(self, p): argument 32 p[0] = [p[1], p[2]]
|
D | ProcUidIoStatsTest.py | 31 def p_line(self, p): argument 33 p[0] = p[1:]
|
D | ProcFsFileTests.py | 29 def p_line(self, p): argument 33 p[0] = p[1:]
|
/test/vts/utils/python/coverage/ |
D | sancov_parser_test.py | 47 p = sancov_parser.SancovParser(stream) 49 p.Parse() 60 p = sancov_parser.SancovParser(stream) 61 s = p.Parse() 62 self.assertEqual(32, p._bitness) 73 p = sancov_parser.SancovParser(stream) 74 s = p.Parse() 75 self.assertEqual(64, p._bitness) 82 p = sancov_parser.SancovParser(stream) 83 self.assertEqual(32, p.GetBitness()) [all …]
|
D | parser_test.py | 147 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 148 self.assertEqual(p.format, '<') 156 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 157 self.assertEqual(p.format, '>') 166 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 167 self.assertEqual(p.ReadInt(), integer) 172 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 173 self.assertRaises(parser.FileFormatError, p.ReadInt) 180 p = parser.GcovStreamParserUtil(self.stream, MAGIC) 181 self.assertEqual(number, p.ReadInt64()) [all …]
|
D | sancov_parser.py | 103 p = SancovParser(stream) 104 offsets = p.Parse() 105 return (p._bitness, offsets)
|
/test/vts/runners/target/vts_hal_hidl_target/ |
D | VtsCoreUtil.cpp | 32 FILE* p = popen(cmd, "re"); in checkSubstringInCommandOutput() local 33 if (p) { in checkSubstringInCommandOutput() 39 while (getline(&line, &len, p) > 0) { in checkSubstringInCommandOutput() 46 pclose(p); in checkSubstringInCommandOutput()
|
/test/vts-testcase/kernel/gki/ |
D | generic_boot_image_test.cpp | 89 for (auto& p : recursive_directory_iterator(extracted_ramdisk_path)) { in TEST_F() local 90 if (p.is_directory()) continue; in TEST_F() 91 EXPECT_TRUE(p.is_regular_file()) in TEST_F() 92 << "Unexpected non-regular file " << p.path(); in TEST_F() 93 auto rel_path = p.path().lexically_relative(extracted_ramdisk_path); in TEST_F()
|
/test/vts/runners/target/gtest/ |
D | gtest_main.cpp | 281 char* p = buf; in EnumerateTests() local 283 while (*p != '\0' && isspace(*p)) { in EnumerateTests() 284 ++p; in EnumerateTests() 286 if (*p == '\0') continue; in EnumerateTests() 287 char* start = p; in EnumerateTests() 288 while (*p != '\0' && !isspace(*p)) { in EnumerateTests() 289 ++p; in EnumerateTests() 291 char* end = p; in EnumerateTests() 292 while (*p != '\0' && isspace(*p)) { in EnumerateTests() 293 ++p; in EnumerateTests() [all …]
|
/test/vts/runners/adapters/acts/ |
D | acts_adapter.py | 143 p = subprocess.Popen( 150 for line in iter(p.stdout.readline, b''): 153 p.communicate() 154 if p.returncode: 156 p.returncode)
|
/test/vts/compilation_tools/vtsc/ |
D | VtsCompilerUtils.cpp | 516 char* p; in vts_fs_mkdirs() local 518 for (p = strchr(file_path + 1, '/'); p; p = strchr(p + 1, '/')) { in vts_fs_mkdirs() 519 *p = '\0'; in vts_fs_mkdirs() 522 *p = '/'; in vts_fs_mkdirs() 526 *p = '/'; in vts_fs_mkdirs()
|
/test/vts-testcase/kernel/linux_kselftest/ |
D | LinuxKselftestTest.py | 91 ['-i -e ' + ('"%s"' % p) for p in sed_pattern]) 99 ['-e ' + ('"%s"' % p) for p in grep_pattern])
|
/test/vts/utils/python/web/ |
D | dashboard_rest_client.py | 104 p = subprocess.Popen( 109 output, err = p.communicate() 112 if p.returncode or err:
|
/test/vti/test_serving/gae/testing/ |
D | e2e_test.py | 43 p = subprocess.Popen( 46 stdout, stderr = p.communicate() 47 return (stdout, stderr, p.returncode)
|
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 100 Pattern p = Pattern.compile("(\\d+)(-\\d+)?"); in testPerCpuCpufreq() local 102 Matcher m = p.matcher(range); in testPerCpuCpufreq() 197 Pattern p = Pattern.compile("CONFIG_RTC_HCTOSYS_DEVICE=\"(.*)\""); in testRtcHctosys() local 198 Matcher m = p.matcher(output); in testRtcHctosys() 275 Pattern p = Pattern.compile("Linux version ([0-9]+)\\.([0-9]+)"); in testKfenceSampleRate() local 276 Matcher m = p.matcher(versionStr); in testKfenceSampleRate()
|