Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 133) sorted by relevance

123456

/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceFolderBuildInfoTest.java57 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/
Dresults.py32 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)
Dhooks_unittest.py264 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 …]
Dconfig_test.py59 def check_files(files): argument
61 assert files
104 check_files(opts.files)
/tools/metalava/src/test/java/com/android/tools/metalava/
DAnnotationsMergerTest.kt29 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()
214 …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()
281 fun `Merge type use qualifier annotations from Java stub files`() { in Merge type use qualifier annotations from Java stub files()
320 …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()
365 fun `Merge inclusion annotations from Java stub files`() { in Merge inclusion annotations from Java stub files()
424 fun `Merge inclusion annotations from Java stub files using --show-single-annotation`() { in Merge inclusion annotations from Java stub files using --show-single-annotation()
DFileReadSandboxTest.kt87 fun assertViolationReported(vararg files: File) { in Test sandbox()
88 val fileSet = files.map { it.absolutePath }.toSet() in Test sandbox()
93 fun assertViolationNotReported(vararg files: File) { in Test sandbox()
94 val fileSet = files.map { it.absolutePath }.toSet() in Test sandbox()
DExtractAnnotationsTest.kt513 fun `No typedef signatures in api files`() { in No typedef signatures in api files()
549 fun `Inlining typedef signatures in api files`() { in Inlining typedef signatures in api files()
585 fun `Referencing typedef signatures in api files`() { in Referencing typedef signatures in api files()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java107 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/platform-compat/
DREADME.md14 ├── java # All Java source files; directories follow corresponding java packages
20 │   ├── changeid # Creates compat_config xml files from @ChangeId constants
21 │   └── unsupportedappusage # Creates csv files with source positions for @UnsupportedA…
22 └── javatest # Tests for source files defined under java/
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DNdk.kt27 val files = it.list() in <lambda>() constant
30 if (files.size != 1) { in <lambda>()
34 files.first() in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileIdleMonitor.java52 public FileIdleMonitor(Duration timeout, Runnable callback, File... files) { in FileIdleMonitor() argument
53 this(Executors::newSingleThreadScheduledExecutor, timeout, callback, files); in FileIdleMonitor()
61 File... files) { in FileIdleMonitor() argument
65 mFiles = Sets.newHashSet(files); in FileIdleMonitor()
DRemoteZip.java150 public void downloadFiles(File destDir, List<CentralDirectoryInfo> files) in downloadFiles() argument
157 MergedZipEntryCollection.createCollections(files); in downloadFiles()
160 files.size(), mRemoteFilePath, collections.size()); in downloadFiles()
203 files.size(), in downloadFiles()
/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureFileLoader.kt52 fun loadFiles(files: List<File>, kotlinStyleNulls: Boolean? = null): Codebase { in loadFiles()
53 if (files.isEmpty()) { in loadFiles()
57 return ApiFile.parseApi(files, kotlinStyleNulls ?: false) in loadFiles()
/tools/tradefederation/core/
D.gitignore5 # Intellij generated files
10 # python coverage generated files.
/tools/ndkports/
D.gitignore7 # Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
26 # Generated files
29 # Sensitive or high-churn files
43 # When using Gradle or Maven with auto-import, you should exclude module files,
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSBucketUtilFuncTest.java155 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/metalava/
DREADME.md10 * 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 …]
/tools/test/connectivity/tools/
Dyapf_checker.py42 files = job.run(full_git_command).stdout.splitlines()
43 full_files = [os.path.abspath(f) for f in files if f.endswith('.py')]
/tools/asuite/aidegen/
Daidegen_run_unittests.py40 for dirpath, _, files in os.walk(base_path):
41 for _file in files:
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkTestTest.java112 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/tradefederation/core/atest/
Datest_run_unittests.py40 for dirpath, _, files in os.walk(base_path):
41 for f in files:
/tools/tradefederation/core/atest/asuite_lib_test/
Dasuite_lib_run_test.py37 for dirpath, _, files in os.walk(base_path):
38 for f in files:
/tools/asuite/atest/
Datest_run_unittests.py44 for dirpath, _, files in os.walk(base_path):
45 for f in files:
/tools/doc_generation/
Dswitcher4.py122 for root, dirs, files in os.walk(java_source_abs_path):
125 for file_ in files:
171 for root, dirs, files in os.walk(kotlin_source_abs_path):
174 for file_ in files:
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java119 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()

123456