HomeSort by relevance Sort by last modified time
    Searched defs:fileSystem (Results 1 - 25 of 32) sorted by null

1 2

  /external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/fake/example/
SimpleUnixFakeFtpServerTest.java 20 import org.mockftpserver.fake.filesystem.DirectoryEntry;
21 import org.mockftpserver.fake.filesystem.FileEntry;
22 import org.mockftpserver.fake.filesystem.FileSystem;
23 import org.mockftpserver.fake.filesystem.UnixFakeFileSystem;
29 * filesystem.
38 FileSystem fileSystem = new UnixFakeFileSystem();
39 fileSystem.add(new DirectoryEntry("/data"));
40 fileSystem.add(new FileEntry("/data/file1.txt", "abcdef 1234567890"));
    [all...]
SimpleWindowsFakeFtpServerTest.java 20 import org.mockftpserver.fake.filesystem.DirectoryEntry;
21 import org.mockftpserver.fake.filesystem.FileEntry;
22 import org.mockftpserver.fake.filesystem.FileSystem;
23 import org.mockftpserver.fake.filesystem.WindowsFakeFileSystem;
29 * filesystem.
38 FileSystem fileSystem = new WindowsFakeFileSystem();
39 fileSystem.add(new DirectoryEntry("c:\\data"));
40 fileSystem.add(new FileEntry("c:\\data\\file1.txt", "abcdef 1234567890"));
    [all...]
WindowsFakeFileSystemPermissionsTest.java 21 import org.mockftpserver.fake.filesystem.DirectoryEntry;
22 import org.mockftpserver.fake.filesystem.FileEntry;
23 import org.mockftpserver.fake.filesystem.FileSystem;
24 import org.mockftpserver.fake.filesystem.Permissions;
25 import org.mockftpserver.fake.filesystem.WindowsFakeFileSystem;
31 * filesystem, and including file/directory permissions.
44 FileSystem fileSystem = new WindowsFakeFileSystem();
65 fileSystem.add(directoryEntry1);
    [all...]
RemoteFileTest.java 20 import org.mockftpserver.fake.filesystem.FileEntry;
21 import org.mockftpserver.fake.filesystem.FileSystem;
22 import org.mockftpserver.fake.filesystem.UnixFakeFileSystem;
61 FileSystem fileSystem = new UnixFakeFileSystem();
62 fileSystem.add(new FileEntry(FILE, CONTENTS));
63 fakeFtpServer.setFileSystem(fileSystem);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/
FakeFtpServer.java 25 import org.mockftpserver.fake.filesystem.FileSystem;
36 * for most testing and simulation scenarios. You define a filesystem (internal, in-memory) containing
42 * reply messages consistent with its configuration and the contents of its internal filesystem,
51 * <li>Create and configure a <b>FileSystem</b>, and attach to the <b>FakeFtpServer</b> instance.</li>
59 * FileSystem fileSystem = new WindowsFakeFileSystem();
60 * fileSystem.add(new DirectoryEntry("c:\\"));
61 * fileSystem.add(new DirectoryEntry("c:\\data"));
62 * fileSystem.add(new FileEntry("c:\\data\\file1.txt", "abcdef 1234567890"));
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DiskLruCacheTest.java 18 import com.squareup.okhttp.internal.io.FileSystem;
55 private final FaultyFileSystem fileSystem = new FaultyFileSystem(FileSystem.SYSTEM);
70 cache = new DiskLruCache(fileSystem, cacheDir, appVersion, 2, maxSize, executor);
271 assertFalse(fileSystem.exists(k1));
327 assertFalse(fileSystem.exists(cleanFile0));
328 assertFalse(fileSystem.exists(cleanFile1));
329 assertFalse(fileSystem.exists(dirtyFile0));
330 assertFalse(fileSystem.exists(dirtyFile1));
389 BufferedSink sink = Okio.buffer(fileSystem.sink(journalFile))
    [all...]
  /external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
OkUrlFactoryTest.java 5 import com.squareup.okhttp.internal.io.FileSystem;
32 private FileSystem fileSystem = new InMemoryFileSystem();
37 client.setCache(new Cache(new File("/cache/"), 10 * 1024 * 1024, fileSystem));
UrlConnectionCacheTest.java 22 import com.squareup.okhttp.internal.io.FileSystem;
86 private final FileSystem fileSystem = new InMemoryFileSystem();
93 cache = new Cache(new File("/cache/"), Integer.MAX_VALUE, fileSystem);
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
DiskLruCache.java 19 import com.squareup.okhttp.internal.io.FileSystem;
45 * A cache that uses a bounded amount of space on a filesystem. Each cache
51 * <p>The cache stores its data in a directory on the filesystem. This
57 * filesystem. When the number of stored bytes exceeds the limit, the cache will
60 * deleted. The limit does not include filesystem overhead or the cache
83 * filesystem, the corresponding entries will be dropped from the cache. If
141 private final FileSystem fileSystem;
187 DiskLruCache(FileSystem fileSystem, File directory, int appVersion, int valueCount, long maxSize
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
CallTest.java 25 import com.squareup.okhttp.internal.io.FileSystem;
93 private FileSystem fileSystem = new InMemoryFileSystem();
97 private Cache cache = new Cache(new File("/cache/"), Integer.MAX_VALUE, fileSystem);
    [all...]
CacheTest.java 22 import com.squareup.okhttp.internal.io.FileSystem;
81 private final FileSystem fileSystem = new InMemoryFileSystem();
88 cache = new Cache(new File("/cache/"), Integer.MAX_VALUE, fileSystem);
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/actions/
AddSupportJarAction.java 36 import org.eclipse.core.filesystem.EFS;
37 import org.eclipse.core.filesystem.IFileStore;
38 import org.eclipse.core.filesystem.IFileSystem;
470 IFileSystem fileSystem = EFS.getLocalFileSystem();
471 IFileStore sourceDir = fileSystem.getStore(libraryPath.toURI());
472 IFileStore destDir = fileSystem.getStore(newProject.getLocationURI());
  /prebuilts/tools/common/m2/repository/com/github/marschall/memoryfilesystem/0.6.4/
memoryfilesystem-0.6.4.jar 
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newproject/
NewProjectCreator.java 48 import org.eclipse.core.filesystem.EFS;
49 import org.eclipse.core.filesystem.IFileInfo;
50 import org.eclipse.core.filesystem.IFileStore;
51 import org.eclipse.core.filesystem.IFileSystem;
646 IFileSystem fileSystem = EFS.getLocalFileSystem();
649 fileSystem.getStore(source.toURI()));
651 fileSystem.getStore(AdtUtils.getAbsolutePath(project)));
    [all...]
  /prebuilts/tools/common/m2/repository/com/google/jimfs/jimfs/1.1/
jimfs-1.1.jar 
  /prebuilts/tools/common/offline-m2/com/google/jimfs/jimfs/1.1/
jimfs-1.1.jar 
  /prebuilts/tools/common/m2/repository/com/squareup/okhttp/okhttp/2.5.0/
okhttp-2.5.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/0.13.1513/
kotlin-compiler-embeddable-0.13.1513.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/0.13.1514/
kotlin-compiler-embeddable-0.13.1514.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.0.0/
kotlin-compiler-embeddable-1.0.0.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.0.0-beta-1103/
kotlin-compiler-embeddable-1.0.0-beta-1103.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.0.0-beta-4584/
kotlin-compiler-embeddable-1.0.0-beta-4584.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.0.0-rc-1036/
kotlin-compiler-embeddable-1.0.0-rc-1036.jar 
  /prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler-embeddable/1.0.2/
kotlin-compiler-embeddable-1.0.2.jar 
  /prebuilts/tools/common/m2/repository/com/android/tools/external/com-intellij/psi-subset/143.1821.5/
psi-subset-143.1821.5.jar 

Completed in 505 milliseconds

1 2