/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/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/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/ |
D | KernelApiSysfsTest.java | 50 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/ |
D | csuite_test_test.go | 102 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 …]
|
D | csuite_test.go | 72 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/ |
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 …]
|
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/config/ |
D | ModuleGeneratorTest.java | 160 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/ |
D | AppCompatibility.java | 27 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/ |
D | StatsHelperTest.java | 22 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/ |
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/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/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/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/cts-root/tests/usage/src/android/usage/cts_root/ |
D | StorageStatsManagerLocalTest.java | 24 import android.content.Context; 25 import android.content.pm.PackageInfo; 26 import android.content.pm.PackageStats;
|
/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/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/app_compat/csuite/harness/src/test/java/com/android/csuite/core/ |
D | FileBasedPackageNameProviderTest.java | 111 private Path createPackagesFile(String content) throws IOException { in createPackagesFile() argument 113 Files.write(tempFile, content.getBytes()); in createPackagesFile()
|
/test/vts-testcase/kernel/ltp/ |
D | KernelLtpTest.py | 144 content = '' 146 content = f.read() 147 content_replaced = content 151 if content_replaced != content:
|