-
- All Implemented Interfaces:
-
android.os.IInterface
public interface IFileSystemService implements IInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classIFileSystemService.DefaultDefault implementation for IFileSystemService.
public abstract classIFileSystemService.StubLocal-side IPC implementation stub class.
public classIFileSystemService._Parcel
-
Method Summary
Modifier and Type Method Description abstract IOResultgetCanonicalPath(String path)(err, String) abstract booleanisDirectory(String path)abstract booleanisFile(String path)abstract booleanisHidden(String path)abstract longlastModified(String path)abstract longlength(String path)abstract IOResultcreateNewFile(String path)(err, bool) abstract booleandelete(String path)abstract Array<String>list(String path)abstract booleanmkdir(String path)abstract booleanmkdirs(String path)abstract booleanrenameTo(String path, String dest)abstract booleansetLastModified(String path, long time)abstract booleansetReadOnly(String path)abstract booleansetWritable(String path, boolean writable, boolean ownerOnly)abstract booleansetReadable(String path, boolean readable, boolean ownerOnly)abstract booleansetExecutable(String path, boolean executable, boolean ownerOnly)abstract booleancheckAccess(String path, int access)abstract longgetTotalSpace(String path)abstract longgetFreeSpace(String path)abstract longgetUsableSpace(String path)abstract intgetMode(String path)abstract IOResultcreateLink(String link, String target, boolean soft)(err, bool) abstract voidregister(IBinder client)abstract IOResultopenChannel(String path, int mode, String fifo)(err, int) abstract IOResultopenReadStream(String path, ParcelFileDescriptor fd)(err) abstract IOResultopenWriteStream(String path, ParcelFileDescriptor fd, boolean append)(err) abstract voidclose(int handle)abstract IOResultpread(int handle, int len, long offset)(err, int) abstract IOResultpwrite(int handle, int len, long offset)(err) abstract IOResultlseek(int handle, long offset, int whence)(err, long) abstract IOResultsize(int handle)(err, long) abstract IOResultftruncate(int handle, long length)(err) abstract IOResultsync(int handle, boolean metadata)(err) -
-
Method Detail
-
getCanonicalPath
abstract IOResult getCanonicalPath(String path)
(err, String)
-
isDirectory
abstract boolean isDirectory(String path)
-
lastModified
abstract long lastModified(String path)
-
createNewFile
abstract IOResult createNewFile(String path)
(err, bool)
-
setLastModified
abstract boolean setLastModified(String path, long time)
-
setReadOnly
abstract boolean setReadOnly(String path)
-
setWritable
abstract boolean setWritable(String path, boolean writable, boolean ownerOnly)
-
setReadable
abstract boolean setReadable(String path, boolean readable, boolean ownerOnly)
-
setExecutable
abstract boolean setExecutable(String path, boolean executable, boolean ownerOnly)
-
checkAccess
abstract boolean checkAccess(String path, int access)
-
getTotalSpace
abstract long getTotalSpace(String path)
-
getFreeSpace
abstract long getFreeSpace(String path)
-
getUsableSpace
abstract long getUsableSpace(String path)
-
createLink
abstract IOResult createLink(String link, String target, boolean soft)
(err, bool)
-
openChannel
abstract IOResult openChannel(String path, int mode, String fifo)
(err, int)
-
openReadStream
abstract IOResult openReadStream(String path, ParcelFileDescriptor fd)
(err)
-
openWriteStream
abstract IOResult openWriteStream(String path, ParcelFileDescriptor fd, boolean append)
(err)
-
close
abstract void close(int handle)
-
pread
abstract IOResult pread(int handle, int len, long offset)
(err, int)
-
pwrite
abstract IOResult pwrite(int handle, int len, long offset)
(err)
-
lseek
abstract IOResult lseek(int handle, long offset, int whence)
(err, long)
-
size
abstract IOResult size(int handle)
(err, long)
-
ftruncate
abstract IOResult ftruncate(int handle, long length)
(err)
-
sync
abstract IOResult sync(int handle, boolean metadata)
(err)
-
-
-
-