Home
last modified time | relevance | path

Searched refs:content (Results 1 – 25 of 78) sorted by relevance

1234

/test/vts/utils/python/archive/
Darchive_parser_test.py52 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)
Darchive_parser.py79 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/utils/python/coverage/
Dparser_test.py45 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 …]
DREADME.md13 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/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java50 String content = getDevice().pullFileContents(state).trim(); in testAndroidUSB() local
53 assertTrue(possibles.contains(content)); in testAndroidUSB()
68 String content = getDevice().pullFileContents(filePath).trim(); in testCpuOnlineFormat() local
69 assertTrue(content.matches("(\\d+(-\\d+)?)(,\\d+(-\\d+)?)*")); in testCpuOnlineFormat()
75 String content = getDevice().pullFileContents(filePath).trim(); in isReadOnlyAndIntegerContent() local
77 Integer.parseInt(content); in isReadOnlyAndIntegerContent()
83 String content = getDevice().pullFileContents(filePath).trim(); in isReadWriteAndIntegerContent() local
85 Integer.parseInt(content); in isReadWriteAndIntegerContent()
113 String content; in testPerCpuCpufreq() local
134 content = getDevice().pullFileContents(f).trim(); in testPerCpuCpufreq()
[all …]
/test/app_compat/csuite/tools/csuite_test/
Dcsuite_test_test.go102 content := android.ContentFromFileRuleForTests(t, module.Output("config/plan_name.xml"))
103 if strings.Contains(content, "{") || strings.Contains(content, "}") {
104 t.Errorf("The generated plan name contains a placeholder: %s", content)
119 content := android.ContentFromFileRuleForTests(t, module.Output("config/plan_name.xml"))
120 if !strings.Contains(content, "plan_name") {
121 t.Errorf("The plan name is missing from the generated plan: %s", content)
136 content := android.ContentFromFileRuleForTests(t, module.Output("config/plan_name.xml"))
137 if !strings.Contains(content, "config/plan_name.xml.template") {
138 t.Errorf("The template path is missing from the generated plan: %s", content)
168 content := android.ContentFromFileRuleForTests(t, module.Output("config/plan_name.xml"))
[all …]
Dcsuite_test.go72 content := strings.Replace(planTemplate, "{planName}", planName, -1)
73 content = strings.Replace(content, "{templatePath}", configTemplatePath, -1)
74 content = strings.Replace(content, "{planInclude}", planIncludePath, -1)
76 android.WriteFileRule(ctx, genPath, content)
/test/vti/dashboard/src/main/webapp/css/
Dtest_acknowledgments.css20 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 …]
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/
DModuleGeneratorTest.java160 String content = "hello placeholder%s%s world"; in split_templateContainsPlaceholders_replacesPlaceholdersInOutput() local
167 String.format(content, PACKAGE_PLACEHOLDER, PACKAGE_PLACEHOLDER)) in split_templateContainsPlaceholders_replacesPlaceholdersInOutput()
173 .isEqualTo(String.format(content, TEST_PACKAGE_NAME1, TEST_PACKAGE_NAME1)); in split_templateContainsPlaceholders_replacesPlaceholdersInOutput()
175 .isEqualTo(String.format(content, TEST_PACKAGE_NAME2, TEST_PACKAGE_NAME2)); in split_templateContainsPlaceholders_replacesPlaceholdersInOutput()
181 String content = "no placeholder"; in split_templateDoesNotContainPlaceholder_outputsTemplateContent() local
187 .setTemplateContent(content) in split_templateDoesNotContainPlaceholder_outputsTemplateContent()
192 assertThatModuleConfigFileContent(testsDir, TEST_PACKAGE_NAME1).isEqualTo(content); in split_templateDoesNotContainPlaceholder_outputsTemplateContent()
193 assertThatModuleConfigFileContent(testsDir, TEST_PACKAGE_NAME2).isEqualTo(content); in split_templateDoesNotContainPlaceholder_outputsTemplateContent()
199 String content = ""; in split_templateContentIsEmpty_outputsTemplateContent() local
205 .setTemplateContent(content) in split_templateContentIsEmpty_outputsTemplateContent()
[all …]
/test/app_compat/csuite/instrumentation/launch/src/main/java/com/android/compatibilitytest/
DAppCompatibility.java27 import android.content.Context;
28 import android.content.Intent;
29 import android.content.pm.PackageManager;
30 import android.content.pm.ResolveInfo;
31 import android.content.res.Configuration;
236 String content = entry.getText(4096); in checkDropbox() local
237 if (content != null) { in checkDropbox()
238 if (content.contains(processName)) { in checkDropbox()
239 addProcessError(processName, "dropbox:" + tag, content); in checkDropbox()
/test/cts-root/tests/stats/src/android/stats/cts_root/
DStatsHelperTest.java22 import android.content.BroadcastReceiver;
23 import android.content.Context;
24 import android.content.Intent;
25 import android.content.IntentFilter;
/test/vti/dashboard/src/main/webapp/js/
Dcommon.js36 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);
Dtest_results.js38 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/mlts/benchmark/src/com/android/nn/crashtest/core/
DCrashTestCoordinator.java19 import android.content.ComponentName;
20 import android.content.Context;
21 import android.content.Intent;
22 import android.content.ServiceConnection;
DCrashTest.java19 import android.content.Context;
20 import android.content.Intent;
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_gcs_log.jsp61 $(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/vts/testcases/host/selinux_test/src/com/android/tests/selinux/
DKernelSelinuxFileApiTest.java66 String content = FileUtil.readStringFromFile(selinuxTmpFile); in testSelinuxCheckReqProt() local
67 assertTrue("Results not valid!", "0".equals(content) || "1".equals(content)); in testSelinuxCheckReqProt()
/test/cts-root/tests/usage/src/android/usage/cts_root/
DStorageStatsManagerLocalTest.java24 import android.content.Context;
25 import android.content.pm.PackageInfo;
26 import android.content.pm.PackageStats;
/test/vts/drivers/libdrivercomm/
DVtsDriverFileUtil.cpp30 string content((istreambuf_iterator<char>(ifs)), in ReadFile() local
32 return content; in ReadFile()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DBenchmarkTestBase.java20 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/
DNoOpCrashTest.java19 import android.content.Context;
20 import android.content.Intent;
DCrashingCrashTest.java19 import android.content.Context;
20 import android.content.Intent;
/test/vti/dashboard/src/main/java/com/android/vts/job/
DVtsPerformanceJobServlet.java115 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/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DFileBasedPackageNameProviderTest.java111 private Path createPackagesFile(String content) throws IOException { in createPackagesFile() argument
113 Files.write(tempFile, content.getBytes()); in createPackagesFile()
/test/vts-testcase/kernel/ltp/
DKernelLtpTest.py144 content = ''
146 content = f.read()
147 content_replaced = content
151 if content_replaced != content:

1234