/tools/asuite/aidegen/lib/ |
D | clion_project_file_gen_unittest.py | 105 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 …]
|
D | project_file_gen.py | 192 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)
|
D | config.py | 208 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/ |
D | SharedLibraryInfoDeviceTest.java | 22 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/ |
D | AnnotationHandler.java | 34 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/ |
D | AttestationApplicationId.java | 27 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/ |
D | asuite_metrics.py | 67 content = response.read() 68 if content != _METRICS_RESPONSE: 69 raise Exception('Unexpected metrics response: %s' % content)
|
D | atest_utils.py | 607 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/ |
D | GameQualificationTest.java | 19 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/ |
D | AtestNotification.java | 34 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/ |
D | UnsupportedAppUsageProcessor.java | 88 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/ |
D | yaml_writer.py | 43 def safe_dump(content, file): argument 46 yaml.safe_dump(content, file, **_DUMP_KWARGS)
|
/tools/asuite/asuite_plugin/src/java/com/android/atest/toolWindow/ |
D | AtestToolWindowFactory.java | 21 import com.intellij.ui.content.Content; 22 import com.intellij.ui.content.ContentFactory;
|
/tools/security/fuzzing/orphans/libexif/ |
D | libexif_fuzzer.cpp | 25 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/ |
D | Classpaths.java | 86 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/ |
D | FileChannelDataSourceTest.java | 108 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/ |
D | StubWriter.kt | 96 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/ |
D | records.py | 41 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/ |
D | TestUtils.java | 18 import android.content.pm.PackageManager;
|
D | ChoreoTestActivity.java | 20 import android.content.Context;
|
D | SurfaceFlingerTestActivity.java | 20 import android.content.Context;
|
/tools/apksig/src/main/java/com/android/apksig/internal/pkcs7/ |
D | ContentInfo.java | 35 public Asn1OpaqueObject content; field in ContentInfo
|
D | EncapsulatedContentInfo.java | 39 public ByteBuffer content; field in EncapsulatedContentInfo
|
/tools/asuite/aidegen/idea/ |
D | iml.py | 236 content = templates.IML.format(FACET=self._facet, 241 common_util.file_generate(self._iml_path, content)
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 1089 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)
|