Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DDeviceFolderBuildInfoTest.java53 boolean hasFile(Collection<VersionedFile> files, String version) { in hasFile() argument
54 for (VersionedFile candidate : files) { in hasFile()
70 Collection<VersionedFile> files = mDeviceFolderBuildInfo.getFiles(); in testGetFiles_both() local
72 assertEquals(2, files.size()); in testGetFiles_both()
73 assertTrue(hasFile(files, "foo-version")); in testGetFiles_both()
74 assertTrue(hasFile(files, "img-version")); in testGetFiles_both()
82 Collection<VersionedFile> files = mDeviceFolderBuildInfo.getFiles(); in testGetFiles_none() local
83 assertEquals(0, files.size()); in testGetFiles_none()
90 Collection<VersionedFile> files = mDeviceFolderBuildInfo.getFiles(); in testGetFiles_deviceImages() local
92 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
68 def __init__(self, hook, project, commit, result, files=(), argument
72 files=files, fixup_func=fixup_func)
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java99 List<VersionedFile> files = new ArrayList<>(); in testSetup_failToInstall() local
102 files.add(new VersionedFile(tmpFile, "1")); in testSetup_failToInstall()
103 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files); in testSetup_failToInstall()
124 List<VersionedFile> files = new ArrayList<>(); in testSetup_aaptCannotParse() local
127 files.add(new VersionedFile(tmpFile, "1")); in testSetup_aaptCannotParse()
128 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files); in testSetup_aaptCannotParse()
155 List<VersionedFile> files = new ArrayList<>(); in testSetup_noPackageName() local
158 files.add(new VersionedFile(tmpFile, "1")); in testSetup_noPackageName()
159 EasyMock.expect(mMockBuildInfo.getAppPackageFiles()).andReturn(files); in testSetup_noPackageName()
190 List<VersionedFile> files = new ArrayList<>(); in testSetup_checkMinSdk_failParsing() local
[all …]
DDefaultTestsZipInstallerTest.java63 Set<File> files = new HashSet<File>(2); in setUp()
64 files.add(SOME_PATH_1); in setUp()
65 files.add(SOME_PATH_2); in setUp()
66 return files; in setUp()
/tools/metalava/src/test/java/com/android/tools/metalava/
DAnnotationsMergerTest.kt28 fun `Signature files contain annotations`() { in Signature files contain annotations()
136 fun `Merge jaif files`() { in Merge jaif files()
177 fun `Merge signature files`() { in Merge signature files()
/tools/test/connectivity/tools/lab/
Dlab_upload_hooks.py25 files = job.run(GIT_MODIFIED_FILES, ignore_status=True).stdout
26 for file in files.split():
/tools/tradefederation/core/src/com/android/tradefed/util/
DZipUtil.java181 public static File createZip(List<File> files) throws IOException { in createZip() argument
182 return createZip(files, DEFAULT_FILENAME); in createZip()
193 public static File createZip(List<File> files, String name) throws IOException { in createZip() argument
195 createZip(files, zipFile); in createZip()
206 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip() argument
211 for (File file : files) { in createZip()
/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')]
D.gitignore2 # Byte-compiled / optimized / DLL files
29 # Usually these files are written by a python script from a template
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp.txt9 apksigner is a tool for signing Android APK files and for checking whether
10 signatures of APK files will verify on Android devices.
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkTestTest.java99 String[] files = new String[] {"test1", "test2"}; in testRun() local
100 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun()
181 String[] files = new String[] {"test1", "test2"}; in testRun_withModuleName() local
182 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_withModuleName()
230 String[] files = new String[] {"test1"}; in testRun_withRunReportName() local
231 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_withRunReportName()
266 String[] files = new String[] {"test1"}; in testRun_exceptionDuringExecShell() local
267 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_exceptionDuringExecShell()
DGTestTest.java141 String[] files = new String[] {"test1", "test2"}; in testRun() local
142 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun()
200 String[] files = new String[] {subFolderName}; in testRun_nested() local
201 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRun_nested()
232 String[] files = new String[] {"test1"}; in doTestFilter() local
233 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in doTestFilter()
305 String[] files = new String[] {"test1"}; in testCommandTooLong() local
306 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testCommandTooLong()
411 String[] files = new String[] {"test1", "test2"}; in testRunXml() local
412 EasyMock.expect(mMockITestDevice.getChildren(nativeTestPath)).andReturn(files); in testRunXml()
/tools/metalava/
DREADME.md9 * Allow extracting the API (into signature text files, into stub API files (which
40 signature files, the SDK stub files, external annotations etc.
72 signature files for the framework as doclava1.
75 we can regenerate signature files etc for older versions according to new formats
80 IntelliJ external annotations data as well as signature files containing
95 comments in the signature files.)
98 files. This is vital now that some of these annotations become part of
104 contract, the signature files would very quickly become bloated with
131 annotations are not included in signature files) use just the simple
150 * Support for generating documentation into the stubs files (so we can run javadoc or
[all …]
/tools/test/connectivity/acts/
D.gitignore2 # Byte-compiled / optimized / DLL files
29 # Usually these files are written by a python script from a template
/tools/test/connectivity/acts/framework/tests/
Dacts_import_unit_test.py79 for root, _, files in os.walk(acts_path):
80 for f in files:
/tools/tradefederation/core/src/com/android/tradefed/build/
DSdkBuildInfo.java205 private void makeExecutable(File[] files) { in makeExecutable() argument
206 if (files != null) { in makeExecutable()
207 for (File file : files) { in makeExecutable()
DLocalDeviceBuildProvider.java234 File[] files = dir.listFiles(new PatternFilenameFilter(regex)); in findFileInDir() local
235 if (files.length == 0) { in findFileInDir()
237 } else if (files.length > 1) { in findFileInDir()
242 return files[0]; in findFileInDir()
/tools/tradefederation/core/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java118 List<File> files = new ArrayList<>(); in findParFiles() local
131 files.add(res); in findParFiles()
133 files.addAll(mBinaries); in findParFiles()
134 return files; in findParFiles()
/tools/tradefederation/core/
D.gitignore5 # Intellij generated files
/tools/external/fat32lib/
DAndroid.mk19 LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java)
/tools/tradefederation/core/tests/test-apps/TradeFedTestApp/
DAndroid.mk21 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/tools/tradefederation/core/util-apps/WifiUtil/
DAndroid.mk20 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/tools/tradefederation/core/tests/test-apps/UITestApp/
DAndroid.mk21 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/tools/tradefederation/core/util-apps/DeviceSetupUtil/
DAndroid.mk21 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/tools/test/connectivity/wts-acts/
DREADME1 Note that this directory contains additional files to be packaged specifically

123