Home
last modified time | relevance | path

Searched refs:mFiles (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DExecutionFiles.java46 private final ConcurrentMap<String, File> mFiles = new ConcurrentHashMap<>(); field in ExecutionFiles
62 return mFiles.put(key, value); in put()
74 return mFiles.put(key.toString(), value); in put()
88 File f = mFiles.put(key.toString(), value); in put()
110 return mFiles.putIfAbsent(key, value); in putIfAbsent()
120 mFiles.putAll(properties); in putAll()
131 mFiles.putAll(copyFrom.getAll()); in putAll()
138 return mFiles.isEmpty(); in isEmpty()
150 return mFiles.get(key); in get()
161 return mFiles.get(key.toString()); in get()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DSizeLimitedOutputStream.java49 private final File[] mFiles; field in SizeLimitedOutputStream
69 mFiles = new File[numFiles]; in SizeLimitedOutputStream()
96 for (int i = 0; i < mFiles.length; i++) { in getData()
98 int currentPos = (mCurrentFilePos + i + 1) % mFiles.length; in getData()
99 if (mFiles[currentPos] != null) { in getData()
101 FileInputStream fStream = new FileInputStream(mFiles[currentPos]); in getData()
138 for (int i = 0; i < mFiles.length; i++) { in delete()
139 FileUtil.deleteFile(mFiles[i]); in delete()
140 mFiles[i] = null; in delete()
166 FileUtil.deleteFile(mFiles[mCurrentFilePos]); in generateNextFile()
[all …]
DFileIdleMonitor.java40 private final Set<File> mFiles; field in FileIdleMonitor
65 mFiles = Sets.newHashSet(files); in FileIdleMonitor()
90 return mFiles.stream().map(File::lastModified).max(Long::compare).orElse(0L); in getTimestamp()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFakeTestsZipFolderTest.java33 private Map<String, ItemType> mFiles; field in FakeTestsZipFolderTest
38 mFiles = new HashMap<String, ItemType>(); in setUp()
39 mFiles.put("app/AndroidCommonTests.apk", ItemType.FILE); in setUp()
40 mFiles.put("app/GalleryTests.apk", ItemType.FILE); in setUp()
41 mFiles.put("testinfo", ItemType.DIRECTORY); in setUp()
45 FakeTestsZipFolder fakeStuff = new FakeTestsZipFolder(mFiles); in testFakeTestsZipFolder()
52 for (String fileName : mFiles.keySet()) { in testFakeTestsZipFolder()
54 ItemType type = mFiles.get(fileName); in testFakeTestsZipFolder()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestFilePushSetupTest.java45 private Map<String, ItemType> mFiles; field in TestFilePushSetupTest
57 mFiles = new HashMap<String, ItemType>(); in setUp()
58 mFiles.put("app/AndroidCommonTests.apk", ItemType.FILE); in setUp()
59 mFiles.put("app/GalleryTests.apk", ItemType.FILE); in setUp()
60 mFiles.put("testinfo", ItemType.DIRECTORY); in setUp()
61 mFiles.put(ALT_FILENAME1, ItemType.FILE); in setUp()
62 mFakeTestsZipFolder = new FakeTestsZipFolder(mFiles); in setUp()
65 for (String file : mFiles.keySet()) { in setUp()
91 assertFalse(mFiles.isEmpty()); in testSetup()
111 for (String file : mFiles.keySet()) { in testSetup()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRemoveSystemAppPreparer.java36 private List<String> mFiles= new ArrayList<String>(); field in RemoveSystemAppPreparer
46 for (String file : mFiles) { in setUp()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...