/test/vts-testcase/kernel/api/sysfs/ |
D | KernelApiSysfsTest.py | 110 content = target_file_utils.ReadFileContent(f, self.shell) 113 return content 134 content = target_file_utils.ReadFileContent(filepath, self.shell) 136 if content.endswith('\n'): 137 content = content[:-1] 138 self.MatchRegex(regex, content) 164 content = self.tryReadFileContent(f, self.shell) 165 if content is not None: 166 self.ConvertToInteger(content) 170 content = self.tryReadFileContent(f, self.shell) [all …]
|
/test/vts/utils/python/archive/ |
D | archive_parser_test.py | 52 content = archive_parser.Archive.GLOBAL_SIG 54 content += file_name + ' ' * (archive_parser.Archive.FILE_ID_LENGTH - 56 content += ' ' * archive_parser.Archive.FILE_TIMESTAMP_LENGTH 57 content += ' ' * archive_parser.Archive.OWNER_ID_LENGTH 58 content += ' ' * archive_parser.Archive.GROUP_ID_LENGTH 59 content += ' ' * archive_parser.Archive.FILE_MODE_LENGTH 63 content += message_size + ' ' * (archive_parser.Archive.CONTENT_SIZE_LENGTH - 65 content += archive_parser.Archive.END_TAG 66 content += message 67 archive = archive_parser.Archive(content)
|
D | archive_parser.py | 79 content = self._content[self._cursor : self._cursor + n] 81 return content 115 content = self.ReadBytes(content_size) 118 names = content.split(self.STRING_TABLE_TERMINATOR) 130 self.files[name] = content
|
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 47 String content = getDevice().pullFileContents(state).trim(); in testAndroidUSB() local 50 assertTrue(possibles.contains(content)); in testAndroidUSB() 64 String content = getDevice().pullFileContents(filePath).trim(); in testCpuOnlineFormat() local 65 assertTrue(content.matches("(\\d+(-\\d+)?)(,\\d+(-\\d+)?)*")); in testCpuOnlineFormat() 71 String content = getDevice().pullFileContents(filePath).trim(); in isReadOnlyAndIntegerContent() local 73 Integer.parseInt(content); in isReadOnlyAndIntegerContent() 79 String content = getDevice().pullFileContents(filePath).trim(); in isReadWriteAndIntegerContent() local 81 Integer.parseInt(content); in isReadWriteAndIntegerContent() 109 String content; in testPerCpuCpufreq() local 130 content = getDevice().pullFileContents(f).trim(); in testPerCpuCpufreq() [all …]
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/ |
D | CertificationSuiteResultReporterTest.java | 111 String content = FileUtil.readStringFromFile(reportFile); in testSuiteVariant() local 112 assertTrue(content.contains("suite_name=\"CTS\"")); in testSuiteVariant() 113 assertTrue(content.contains("suite_variant=\"CTS\"")); in testSuiteVariant() 114 assertTrue(content.contains("suite_version=\"version\"")); in testSuiteVariant() 137 String content = FileUtil.readStringFromFile(reportFile); in testSuiteVariantGSI() local 138 assertTrue(content.contains("suite_name=\"CTS\"")); in testSuiteVariantGSI() 139 assertTrue(content.contains("suite_variant=\"CTS_ON_GSI\"")); in testSuiteVariantGSI() 140 assertTrue(content.contains("suite_version=\"version\"")); in testSuiteVariantGSI() 167 String content = FileUtil.readStringFromFile(reportFile); in testSuiteVariantGSI_R_Compatibility() local 169 assertTrue(content.contains("suite_name=\"VTS\"")); in testSuiteVariantGSI_R_Compatibility() [all …]
|
/test/vts/utils/python/coverage/ |
D | parser_test.py | 45 self.content = struct.pack(format + 'III', magic, version, 0) 60 new_content = stream.content + struct.pack(stream.format + 'I', 63 s.content = new_content 81 new_content = stream.content + struct.pack(stream.format + 'II', lo, 84 s.content = new_content 108 new_content = stream.content + struct.pack( 111 s.content = new_content 125 content = self.content[self.cursor:self.cursor + n_bytes] 127 return content 208 content = struct.pack('<I', word_count + 1) # will cause EOF error [all …]
|
D | README.md | 13 src_file_content: string, the C/C++ source file content. 14 gcov_file_content: string, the raw gcov binary file content. 15 gcda_file_content: string, the raw gcda binary file content.
|
/test/vti/dashboard/src/main/webapp/css/ |
D | test_acknowledgments.css | 20 content: " "; 79 .acknowledgments-modal.modal .modal-content .row .modal-section > .col { 82 .acknowledgments-modal.modal .modal-content h5 { 86 .acknowledgments-modal.modal .modal-content h5 b { 89 .acknowledgments-modal.modal .modal-content .chips { 93 .acknowledgments-modal.modal .modal-content .chips .chip { 101 .acknowledgments-modal.modal .modal-content .chips .chip i.material-icons { 104 .acknowledgments-modal.modal .modal-content .input-container { 107 .acknowledgments-modal.modal .modal-content .input-container .material-icons.add-button { 114 .acknowledgments-modal.modal .modal-content .input-container > input[type=text] { [all …]
|
D | show_table.css | 30 .table-header-content.table-header-legend { 33 .table-header-content {
|
/test/vti/dashboard/src/main/webapp/js/ |
D | common.js | 36 var content = $('<div class="modal-content"></div>'); 37 content.append('<h4>Links</h4>'); 38 content.append('<div class="info-container"></div>'); 39 content.appendTo(modal);
|
D | test_results.js | 38 var content = $('<div class="modal-content"></div>'); 39 content.append('<h4>Links</h4>'); 40 content.append('<div class="info-container"></div>'); 41 content.appendTo(modal); 208 function createClickableIndicator(container, content, classes, click) { argument 214 link.append(content);
|
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/ |
D | VtsVendorConfigFileUtil.java | 83 String content = StreamUtil.getStringFromStream(config); in LoadVendorConfig() local 84 if (content == null) { in LoadVendorConfig() 88 CLog.d("Loaded vendor test config %s", content); in LoadVendorConfig() 89 vendorConfigJson = new JSONObject(content); in LoadVendorConfig()
|
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/ |
D | ResultHandlerTest.java | 261 String content = FileUtil.readStringFromFile(res); in testSerialization() local 262 assertXmlContainsAttribute(content, "Result", "foo1", "bar1"); in testSerialization() 263 assertXmlContainsAttribute(content, "Result", "foo2", "bar2"); in testSerialization() 264 assertXmlContainsAttribute(content, "Result/Build", "run_history", EXAMPLE_RUN_HISTORY); in testSerialization() 265 assertXmlContainsNode(content, "Result/RunHistory"); in testSerialization() 266 assertXmlContainsAttribute(content, "Result/RunHistory/Run", "start", "10000000000000"); in testSerialization() 267 assertXmlContainsAttribute(content, "Result/RunHistory/Run", "end", "10000000000001"); in testSerialization() 268 assertXmlContainsAttribute(content, "Result/RunHistory/Run", "start", "10000000000002"); in testSerialization() 269 assertXmlContainsAttribute(content, "Result/RunHistory/Run", "end", "10000000000003"); in testSerialization() 352 String content = FileUtil.readStringFromFile(res); in testSerialization_whenTestResultWithTestResultHistoryWithoutParsing() local [all …]
|
/test/vts/drivers/libdrivercomm/ |
D | VtsDriverFileUtil.cpp | 30 string content((istreambuf_iterator<char>(ifs)), in ReadFile() local 32 return content; in ReadFile()
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/ |
D | CrashTestCoordinator.java | 19 import android.content.ComponentName; 20 import android.content.Context; 21 import android.content.Intent; 22 import android.content.ServiceConnection;
|
D | CrashTest.java | 19 import android.content.Context; 20 import android.content.Intent;
|
/test/vts/testcases/host/selinux_test/src/com/android/tests/selinux/ |
D | KernelSelinuxFileApiTest.java | 66 String content = FileUtil.readStringFromFile(selinuxTmpFile); in testSelinuxCheckReqProt() local 67 assertTrue("Results not valid!", "0".equals(content) || "1".equals(content)); in testSelinuxCheckReqProt()
|
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/ |
D | show_gcs_log.jsp | 61 $(modal).find('#entry-view-modal-content').text(data.entryContent); 72 $(modal).find('#entry-view-modal-content').text(''); 123 <div class="modal-content"> 125 <div id="entry-list-modal-content"> 158 <!-- Modal For Zip file entry's content --> 160 <div class="modal-content"> 162 <div id="entry-view-modal-content">
|
/test/mlts/benchmark/src/com/android/nn/benchmark/app/ |
D | BenchmarkTestBase.java | 20 import android.content.BroadcastReceiver; 21 import android.content.Context; 22 import android.content.Intent; 23 import android.content.IntentFilter;
|
/test/mlts/benchmark/src/com/android/nn/crashtest/core/test/ |
D | NoOpCrashTest.java | 19 import android.content.Context; 20 import android.content.Intent;
|
D | CrashingCrashTest.java | 19 import android.content.Context; 20 import android.content.Intent;
|
/test/vti/dashboard/src/main/java/com/android/vts/job/ |
D | VtsPerformanceJobServlet.java | 115 for (String content : headerRows) { in getPerformanceSummary() 116 tableHTML += "<tr><td colspan='" + colspan + "'>" + content + "</td></tr>"; in getPerformanceSummary() 122 String content = labels.get(i); in getPerformanceSummary() local 127 tableHTML += ">" + content + "</th>"; in getPerformanceSummary()
|
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/util/ |
D | DynamicConfigFileReaderTest.java | 60 String content = "<dynamicConfig>\n" + in writeDynamicConfigFile() local 68 FileUtil.writeToFile(content, mConfigFile); in writeDynamicConfigFile()
|
/test/vti/test_serving/gae/testing/ |
D | test_e2e.py | 28 assert b'VTS' in r.content
|
/test/vts-testcase/kernel/ltp/ |
D | KernelLtpTest.py | 144 content = '' 146 content = f.read() 147 content_replaced = content 151 if content_replaced != content:
|