Home
last modified time | relevance | path

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

12

/tools/asuite/aidegen/lib/
Dclion_project_file_gen_unittest.py105 content = hfile.read()
114 self.assertEqual(content, expected)
131 content = hfile.read()
135 self.assertEqual(content, expected)
148 content = hfile.read()
150 self.assertEqual(content, expected)
164 content = hfile.read()
170 self.assertEqual(content, expected)
183 content = hfile.read()
185 self.assertEqual(content, expected)
[all …]
Dproject_file_gen.py192 content = self._remove_debugger_token(templates.XML_MODULES)
193 content = content.replace(_MODULE_TOKEN, module)
195 common_util.file_generate(target_path, content)
197 def _remove_debugger_token(self, content): argument
215 content = content.replace(_ENABLE_DEBUGGER_MODULE_TOKEN, '')
216 return content
324 content = common_util.read_file_content(target_path)
325 content = content.replace(_ENABLE_DEBUGGER_MODULE_TOKEN, replace_string)
326 common_util.file_generate(target_path, content)
Dconfig.py208 content = templates.XML_ENABLE_DEBUGGER.format(
210 common_util.file_generate(self.DEBUG_ENABLED_FILE_PATH, content)
/tools/platform-compat/java/android/compat/testing/app/
DSharedLibraryInfoDeviceTest.java22 import android.content.Context;
23 import android.content.pm.SharedLibraryInfo;
77 ImmutableList.Builder<String> content = ImmutableList.builder(); in collectSharedLibraryPaths() local
80 content.add(String.format(Locale.US, "%s %d %d %s", in collectSharedLibraryPaths()
89 ImmutableList<String> lines = content.build(); in collectSharedLibraryPaths()
/tools/platform-compat/java/com/android/annotationvisitor/
DAnnotationHandler.java34 Map<String, String> content = new HashMap<String, String>(); in stringifyAnnotationProperties() local
38 content.put(prop.getNameString(), prop.getValue().stringifyValue()); in stringifyAnnotationProperties()
41 return content; in stringifyAnnotationProperties()
/tools/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAttestationApplicationId.java27 import android.content.Context;
28 import android.content.pm.PackageInfo;
29 import android.content.pm.PackageManager;
30 import android.content.pm.PackageManager.NameNotFoundException;
31 import android.content.pm.Signature;
/tools/asuite/atest/
Dasuite_metrics.py67 content = response.read()
68 if content != _METRICS_RESPONSE:
69 raise Exception('Unexpected metrics response: %s' % content)
Datest_utils.py607 content = target.read()
608 return hashlib.md5(content).hexdigest()
641 content = json.load(_file)
642 for filename, md5 in content.items():
860 content = ''
867 content = content + '\n'
872 content = content + line.decode()
875 return content
877 def matched_tf_error_log(content): argument
892 if re.search(reg, content):
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java19 import android.content.BroadcastReceiver;
20 import android.content.Context;
21 import android.content.Intent;
22 import android.content.IntentFilter;
/tools/asuite/asuite_plugin/src/java/com/android/atest/widget/
DAtestNotification.java34 public AtestNotification(@NotNull String content) { in AtestNotification() argument
35 super(ATEST_GROUP_ID, ATEST_TITLE, content, NotificationType.ERROR); in AtestNotification()
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessor.java88 List<String> content = new ArrayList<>(); in process() local
96 content.add(annotationIndex); in process()
101 if (content.isEmpty()) { in process()
112 content.forEach(outputStream::println); in process()
/tools/test/connectivity/acts/framework/acts/libs/
Dyaml_writer.py43 def safe_dump(content, file): argument
46 yaml.safe_dump(content, file, **_DUMP_KWARGS)
/tools/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/
DAtestToolWindowFactory.java21 import com.intellij.ui.content.Content;
22 import com.intellij.ui.content.ContentFactory;
/tools/security/fuzzing/orphans/libexif/
Dlibexif_fuzzer.cpp25 static void data_func(ExifContent *content, void *) { in data_func() argument
26 exif_content_foreach_entry(content, dump_value, NULL); in data_func()
/tools/platform-compat/java/android/compat/testing/
DClasspaths.java86 String content; in getSharedLibraryInfos() local
88 content = device.pullFileContents(remoteFile); in getSharedLibraryInfos()
92 return SharedLibraryInfo.getSharedLibraryInfos(content); in getSharedLibraryInfos()
/tools/apksig/src/test/java/com/android/apksig/internal/util/
DFileChannelDataSourceTest.java108 private RandomAccessFile createRaf(byte[] content) throws Exception { in createRaf() argument
112 fos.write(content); in createRaf()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt96 fun writeDocOverview(pkg: PackageItem, content: String) { in <lambda>()
97 if (content.isBlank()) { in <lambda>()
112 overviewWriter.println(content) in <lambda>()
/tools/test/connectivity/acts/framework/acts/
Drecords.py41 def dump(self, content, entry_type): argument
46 new_content = collections.OrderedDict(copy.deepcopy(content))
/tools/test/graphicsbenchmark/functional_tests/java/src/com/android/game/qualification/tests/
DTestUtils.java18 import android.content.pm.PackageManager;
DChoreoTestActivity.java20 import android.content.Context;
DSurfaceFlingerTestActivity.java20 import android.content.Context;
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/
DContentInfo.java35 public Asn1OpaqueObject content; field in ContentInfo
DEncapsulatedContentInfo.java39 public ByteBuffer content; field in EncapsulatedContentInfo
/tools/asuite/aidegen/idea/
Diml.py236 content = templates.IML.format(FACET=self._facet,
241 common_util.file_generate(self._iml_path, content)
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py1089 content = class_file.read()
1090 matches = re.findall(_JAVA_METHODS_RE, content)
1111 content = class_file.read()
1113 matches = re.findall(_CC_CLASS_METHOD_RE, content)
1121 matches = re.findall(_PARA_CC_CLASS_RE, content)

12