/tools/metalava/ |
D | README.md | 10 * Allow extracting the API (into signature text files, into stub API files 44 signature files, the SDK stub files, external annotations etc. 75 signature files for the framework as doclava1. 78 means we can regenerate signature files etc for older versions according to 83 IntelliJ external annotations data as well as signature files containing 98 ignores) block comments in the signature files.) 101 files. This is vital now that some of these annotations become part of the 107 their nullness contract, the signature files would very quickly become 133 annotations are not included in signature files) use just the simple name 151 * Support for generating documentation into the stubs files (so we can run [all …]
|
D | FORMAT.md | 8 1. The format emitted by doclava, and used for Android's signature files up 10 over time, so older signature files vary a bit (many of these changes were 37 That means the annotations should be part of the signature files too -- such 55 New signature files (v2+) generally include a file header comment which states 57 signature files. For example, in v3 the type "String" means "@NonNull String", 157 With these changes, these lines from v1 signature files: 180 The v1 signature files uses raw types in some places but not others. Note that 251 This doesn't currently apply to the SDK, but the signature files are also used 268 syntax. Therefore, we need to also capture properties in the signature files. If 276 it will get recorded in the signature files like this: [all …]
|
D | API-LINT.md | 40 Metalava also has support for "baselines", which are files which record all the 46 baseline files with any new errors it comes across instead of reporting 86 Untracked files: 93 In the near future the build system will not allow source files to be modified 110 API lint) by inspecting the baseline files in the source tree, but to get a
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | AppSetupTest.java | 107 List<VersionedFile> files = new ArrayList<>(); in testSetup_failToInstall() local 110 files.add(new VersionedFile(tmpFile, "1")); in testSetup_failToInstall() 111 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files); in testSetup_failToInstall() 132 List<VersionedFile> files = new ArrayList<>(); in testSetup_aaptCannotParse() local 135 files.add(new VersionedFile(tmpFile, "1")); in testSetup_aaptCannotParse() 136 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files); in testSetup_aaptCannotParse() 166 List<VersionedFile> files = new ArrayList<>(); in testSetup_noPackageName() local 169 files.add(new VersionedFile(tmpFile, "1")); in testSetup_noPackageName() 170 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files); in testSetup_noPackageName() 204 List<VersionedFile> files = new ArrayList<>(); in testSetup_checkMinSdk_failParsing() local [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 93 files = listOf( in <lambda>() 153 files = listOf( in <lambda>() 217 files = listOf( in <lambda>() 255 files = listOf( in <lambda>() 290 files = listOf( in <lambda>() 327 files = listOf( in <lambda>() 376 files = listOf( in <lambda>() 424 files = listOf( in <lambda>() 478 files = listOf( in <lambda>() 518 files = listOf( in <lambda>() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | DeviceFolderBuildInfoTest.java | 57 boolean hasFile(Collection<VersionedFile> files, String version) { in hasFile() argument 58 for (VersionedFile candidate : files) { in hasFile() 74 Collection<VersionedFile> files = mDeviceFolderBuildInfo.getFiles(); in testGetFiles_both() local 76 assertEquals(2, files.size()); in testGetFiles_both() 77 assertTrue(hasFile(files, "foo-version")); in testGetFiles_both() 78 assertTrue(hasFile(files, "img-version")); in testGetFiles_both() 86 Collection<VersionedFile> files = mDeviceFolderBuildInfo.getFiles(); in testGetFiles_none() local 87 assertEquals(0, files.size()); in testGetFiles_none() 94 Collection<VersionedFile> files = mDeviceFolderBuildInfo.getFiles(); in testGetFiles_deviceImages() local 96 assertEquals(1, files.size()); in testGetFiles_deviceImages() [all …]
|
/tools/repohooks/rh/ |
D | hooks_unittest.py | 264 def _test_commit_messages(self, func, accept, msgs, files=None): argument 273 if files: 274 diff = [rh.git.RawDiffEntry(file=x) for x in files] 286 def _test_file_filter(self, mock_check, func, files): argument 300 diff = [rh.git.RawDiffEntry(file=x) for x in files] 603 files=diff_with_current_txt, 618 files=diff_with_experimental_current_txt, 633 files=diff_with_subdir_current_txt, 650 files=diff_without_current_txt, 660 files=diff_with_current_txt, [all …]
|
D | results.py | 32 def __init__(self, hook, project, commit, error, files=(), fixup_func=None): argument 51 self.files = files 69 def __init__(self, hook, project, commit, result, files=(), argument 73 files=files, fixup_func=fixup_func)
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestTest.java | 162 String[] files = new String[] {"test1", "test2"}; in testRun() local 163 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun() 261 String[] files = new String[] {subFolderName}; in testRun_nested() local 262 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_nested() 292 String[] files = new String[] {"test1"}; in doTestFilter() local 293 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in doTestFilter() 376 String[] files = new String[] {testName}; in testCommandTooLong() local 377 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testCommandTooLong() 474 String[] files = new String[] {"test1", "test2"}; in testRunXml() local 475 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRunXml() [all …]
|
D | GoogleBenchmarkTestTest.java | 112 String[] files = new String[] {"test1", "test2"}; in testRun() local 113 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun() 194 String[] files = new String[] {"test1", "test2"}; in testRun_withModuleName() local 195 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_withModuleName() 241 String[] files = new String[] {"test1"}; in testRun_withRunReportName() local 242 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_withRunReportName() 276 String[] files = new String[] {"test1"}; in testRun_exceptionDuringExecShell() local 277 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_exceptionDuringExecShell() 402 String[] files = new String[] {"test1"}; in doTestFilter() local 403 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in doTestFilter() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | AnnotationsMergerTest.kt | 29 fun `Signature files contain annotations`() { in Signature files contain annotations() 137 fun `Merge signature files`() { in Merge signature files() 177 fun `Merge qualifier annotations from Java stub files`() { in Merge qualifier annotations from Java stub files() 219 …fun `Merge qualifier annotations from Java stub files onto stubs that are not in the API signature… in Merge qualifier annotations from Java stub files onto stubs that are not in the API signature file() 291 fun `Merge type use qualifier annotations from Java stub files`() { in Merge type use qualifier annotations from Java stub files() 330 …fun `Merge qualifier annotations from Java stub files making sure they apply to public members of … in Merge qualifier annotations from Java stub files making sure they apply to public members of hidden superclasses() 378 fun `Merge inclusion annotations from Java stub files`() { in Merge inclusion annotations from Java stub files() 437 fun `Merge inclusion annotations from Java stub files using --show-single-annotation`() { in Merge inclusion annotations from Java stub files using --show-single-annotation()
|
D | ApiFileTest.kt | 2025 fun `Package with only hidden classes should be removed from signature files`() { in Package with only hidden classes should be removed from signature files() 3877 fun `Test merging API signature files`() { in Test merging API signature files() 3952 fun `Test merging API signature files, one refer to another`() { in Test merging API signature files, one refer to another() 3960 fun `Test merging API signature files, one refer to another, in reverse order`() { in Test merging API signature files, one refer to another, in reverse order() 3969 fun `Test merging API signature files with reverse dependency`() { in Test merging API signature files with reverse dependency() 3999 fun `Test merging 3 API signature files`() { in Test merging 3 API signature files() 4055 fun `Test cannot merging API signature files with duplicate class`() { in Test cannot merging API signature files with duplicate class() 4077 fun `Test cannot merging API signature files with different file formats`() { in Test cannot merging API signature files with different file formats()
|
/tools/repohooks/ |
D | README.md | 29 There are two types of config files: 35 The merging of these config files control the hooks/checks that get run when 47 These config files will be loaded first before stacking `PREUPLOAD.cfg` 105 * `${PREUPLOAD_FILES}`: List of files to operate on. 106 * `${PREUPLOAD_FILES_PREFIXED}`: A list of files to operate on. 173 * `bpfmt`: Run Blueprint files (.bp) through `bpfmt`. 198 * `android_test_mapping_format`: Validate TEST_MAPPING files in Android source 202 files match in a specific commit, then the hook will be skipped for that commit. 279 * `pylint` should support per-directory pylintrc files. 280 * Some checkers operate on the files as they exist in the filesystem. This is [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Options.kt | 1989 val files = mutableListOf<File>() in <lambda>() constant 1995 files.add(file) in <lambda>() 1997 return FileReadSandbox.allowAccess(files) in <lambda>() 2001 val files = mutableListOf<File>() in <lambda>() constant 2007 files.add(file) in <lambda>() 2010 return FileReadSandbox.allowAccess(files) in <lambda>() 2012 return files in <lambda>() 2016 val files = mutableListOf<File>() in <lambda>() constant 2022 files.add(file) in <lambda>() 2024 return FileReadSandbox.allowAccess(files) in <lambda>() [all …]
|
D | AnnotationsMerger.kt | 88 fun mergeQualifierAnnotations(files: List<File>) { in mergeQualifierAnnotations() 90 files, in mergeQualifierAnnotations() 97 fun mergeInclusionAnnotations(files: List<File>) { in mergeInclusionAnnotations() 99 files, in mergeInclusionAnnotations() 144 val files = file.listFiles() in mergeFileOrDir() constant 145 if (files != null) { in mergeFileOrDir() 146 for (child in files) { in mergeFileOrDir()
|
D | Driver.kt | 888 files = kotlinFiles, in parseSources() 1105 val files = file.listFiles() in skippableDirectory() constant 1106 if (files != null) { in skippableDirectory() 1107 for (child in files) { in skippableDirectory() 1149 val files = file.listFiles() in addHiddenPackages() constant 1150 if (files != null) { in addHiddenPackages() 1151 for (child in files) { in addHiddenPackages()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/ |
D | RustBinaryTestTest.java | 217 final String[] files = new String[] {test1, test2}; in testRun() local 223 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testRun() 287 String[] files = new String[] {subFolderName}; in testRun_nested() local 288 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testRun_nested() 372 String[] files = new String[] {"test1", "test2"}; in testNativeCoverageAllProcesses() local 373 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testNativeCoverageAllProcesses() 473 String[] files = new String[] {"test1", "test2"}; in testNativeCoverageSpecificProcesses() local 474 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in testNativeCoverageSpecificProcesses() 497 final String[] files = new String[] {test1}; in doTestFilter() local 503 EasyMock.expect(mMockITestDevice.getChildren(testPath)).andReturn(files); in doTestFilter()
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/ |
D | plugin.proto | 56 // The .proto files that were explicitly listed on the command-line. The 57 // code generator should generate code only for these files. Each file's 64 // FileDescriptorProtos for all files in files_to_generate and everything 65 // they import. The files will appear in topological order, so each file 83 // This should be used to indicate errors in .proto files which prevent the 98 // file. This allows the generator to break large files into small chunks, 100 // files need not reside completely in memory at one time. Note that as of 102 // CodeGeneratorResponse before writing files to disk. 122 // .pb.h files that it generates:
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/ |
D | MixImageZipPreparer.java | 211 Map<String, InputStreamFactory> files = in setUp() local 221 systemFiles = replaceExistingEntries(systemFiles, files); in setUp() 229 replaceExistingEntries(stubFiles, files); in setUp() 246 resourceFiles = replaceExistingEntries(resourceFiles, files); in setUp() 250 if (files.containsKey(SUPER_IMAGE_NAME) && !filesNotInDeviceBuild.isEmpty()) { in setUp() 291 files.get(SUPER_IMAGE_NAME), in setUp() 294 files.put(SUPER_IMAGE_NAME, new FileInputStreamFactory(mixedSuperImage)); in setUp() 306 mixedImageZip = createZip(files, mCompressionLevel); in setUp()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | GCSBucketUtilFuncTest.java | 155 List<String> files = mBucket.ls(Paths.get(mRemoteRoot)); in testLs_folder() local 156 Assert.assertEquals(expectedFiles.size(), files.size()); in testLs_folder() 160 files.get(i)); in testLs_folder() 168 List<String> files = mBucket.ls(Paths.get(mRemoteRoot, FILE_NAME)); in testLs_file() local 169 Assert.assertEquals(1, files.size()); in testLs_file() 171 String.format("gs://%s/%s/%s", BUCKET_NAME, mRemoteRoot, FILE_NAME), files.get(0)); in testLs_file()
|
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/ |
D | ManagedFileContentProvider.java | 119 File[] files = file.listFiles(); in query() local 120 sortFilesByAbsolutePath(files); in query() 121 final MatrixCursor cursor = new MatrixCursor(COLUMNS, files.length + 1); in query() 122 for (File child : files) { in query() 307 private void sortFilesByAbsolutePath(File[] files) { in sortFilesByAbsolutePath() argument 309 files, in sortFilesByAbsolutePath()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil.java | 198 public static File createZip(List<File> files) throws IOException { in createZip() argument 199 return createZip(files, DEFAULT_FILENAME); in createZip() 210 public static File createZip(List<File> files, String name) throws IOException { in createZip() argument 212 createZip(files, zipFile); in createZip() 223 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip() argument 228 for (File file : files) { in createZip()
|
D | FileUtil.java | 1119 Set<String> files = new HashSet<>(); in findFiles() local 1122 .forEach(path -> files.add(path.toString())); in findFiles() 1123 return files; in findFiles() 1199 Set<File> files = new LinkedHashSet<>(); in findFilesObject() local 1202 .forEach(path -> files.add(path.toFile())); in findFilesObject() 1203 return files; in findFilesObject()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | ApiFile.java | 58 final List<File> files = new ArrayList<>(1); in parseApi() local 59 files.add(file); in parseApi() 60 return parseApi(files, kotlinStyleNulls); in parseApi() 74 public static TextCodebase parseApi(@Nonnull List<File> files, boolean kotlinStyleNulls) in parseApi() argument 76 if (files.size() == 0) { in parseApi() 79 final TextCodebase api = new TextCodebase(files.get(0)); in parseApi() 83 for (File file : files) { in parseApi()
|
/tools/treble/build/sandbox/ |
D | overlay.py | 107 for current_dir_origin, subdirs, files in os.walk(overlay_dir): 117 if '.git' in subdirs or '.git' in files: 135 for current_dir_origin, subdirs, files in os.walk(overlay_dir): 141 if '.git' in subdirs or '.git' in files: 164 for file in files:
|