/external/webkit/Source/WebCore/fileapi/ |
ErrorCallback.h | 42 class ErrorCallback : public RefCounted<ErrorCallback> { 44 virtual ~ErrorCallback() { }
|
ErrorCallback.idl | 35 ] ErrorCallback {
|
Entry.h | 46 class ErrorCallback; 54 void getMetadata(PassRefPtr<MetadataCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0); 55 void moveTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const; 56 void copyTo(PassRefPtr<DirectoryEntry> parent, const String& name = String(), PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const; 57 void remove(PassRefPtr<VoidCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const; 58 void getParent(PassRefPtr<EntryCallback> successCallback = 0, PassRefPtr<ErrorCallback> errorCallback = 0) const [all...] |
DirectoryReader.idl | 36 void readEntries(in [Callback] EntriesCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
|
DOMFileSystemBase.h | 49 class ErrorCallback; 79 bool getMetadata(const EntryBase*, PassRefPtr<MetadataCallback>, PassRefPtr<ErrorCallback>); 80 bool move(const EntryBase* source, EntryBase* parent, const String& name, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>); 81 bool copy(const EntryBase* source, EntryBase* parent, const String& name, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>); 82 bool remove(const EntryBase*, PassRefPtr<VoidCallback>, PassRefPtr<ErrorCallback>); 83 bool removeRecursively(const EntryBase*, PassRefPtr<VoidCallback>, PassRefPtr<ErrorCallback>); 84 bool getParent(const EntryBase*, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>); 85 bool getFile(const EntryBase*, const String& path, PassRefPtr<WebKitFlags>, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>); 86 bool getDirectory(const EntryBase*, const String& path, PassRefPtr<WebKitFlags>, PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>); 87 bool readDirectory(PassRefPtr<DirectoryReaderBase>, const String& path, PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>); [all...] |
Entry.cpp | 38 #include "ErrorCallback.h" 54 void Entry::getMetadata(PassRefPtr<MetadataCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) 56 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 57 if (!m_fileSystem->getMetadata(this, successCallback, errorCallback)) 58 filesystem()->scheduleCallback(errorCallback.release(), FileError::create(FileError::INVALID_MODIFICATION_ERR)); 61 void Entry::moveTo(PassRefPtr<DirectoryEntry> parent, const String& name, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) const 63 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 64 if (!m_fileSystem->move(this, parent.get(), name, successCallback, errorCallback)) [all...] |
FileSystemCallbacks.h | 49 class ErrorCallback; 78 // For ErrorCallback. 82 FileSystemCallbacksBase(PassRefPtr<ErrorCallback> errorCallback); 83 RefPtr<ErrorCallback> m_errorCallback; 90 static PassOwnPtr<EntryCallbacks> create(PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DOMFileSystemBase>, const String& expectedPath, bool isDirectory); 94 EntryCallbacks(PassRefPtr<EntryCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DOMFileSystemBase>, const String& expectedPath, bool isDirectory); 103 static PassOwnPtr<EntriesCallbacks> create(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath); 108 EntriesCallbacks(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback>, PassRefPtr<DirectoryReaderBase>, const String& basePath); 117 static PassOwnPtr<FileSystemCallbacks> create(PassRefPtr<FileSystemCallback>, PassRefPtr<ErrorCallback>, ScriptExecutionContext*) [all...] |
DirectoryEntry.h | 47 class ErrorCallback; 59 void getFile(const String& path, PassRefPtr<WebKitFlags> = 0, PassRefPtr<EntryCallback> = 0, PassRefPtr<ErrorCallback> = 0); 60 void getDirectory(const String& path, PassRefPtr<WebKitFlags> = 0, PassRefPtr<EntryCallback> = 0, PassRefPtr<ErrorCallback> = 0); 61 void removeRecursively(PassRefPtr<VoidCallback> successCallback = 0, PassRefPtr<ErrorCallback> = 0) const;
|
FileEntry.idl | 38 void createWriter(in [Callback] FileWriterCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 39 void file(in [Callback] FileCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
|
FileEntry.cpp | 37 #include "ErrorCallback.h" 49 void FileEntry::createWriter(PassRefPtr<FileWriterCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 51 filesystem()->createWriter(this, successCallback, errorCallback); 54 void FileEntry::file(PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 56 filesystem()->createFile(this, successCallback, errorCallback);
|
FileEntry.h | 51 void createWriter(PassRefPtr<FileWriterCallback>, PassRefPtr<ErrorCallback> = 0); 52 void file(PassRefPtr<FileCallback>, PassRefPtr<ErrorCallback> = 0);
|
DirectoryEntry.cpp | 38 #include "ErrorCallback.h" 54 void DirectoryEntry::getFile(const String& path, PassRefPtr<WebKitFlags> flags, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) 56 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 57 if (!m_fileSystem->getFile(this, path, flags, successCallback, errorCallback)) 58 filesystem()->scheduleCallback(errorCallback.release(), FileError::create(FileError::INVALID_MODIFICATION_ERR)); 61 void DirectoryEntry::getDirectory(const String& path, PassRefPtr<WebKitFlags> flags, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallbackRef) 63 RefPtr<ErrorCallback> errorCallback(errorCallbackRef); 64 if (!m_fileSystem->getDirectory(this, path, flags, successCallback, errorCallback)) [all...] |
DirectoryEntry.idl | 39 [Custom] void getFile(in [ConvertUndefinedOrNullToNullString] DOMString path, in [Optional] WebKitFlags flags, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 40 [Custom] void getDirectory(in [ConvertUndefinedOrNullToNullString] DOMString path, in [Optional] WebKitFlags flags, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 41 void removeRecursively(in [Optional, Callback] VoidCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback);
|
Entry.idl | 43 void getMetadata(in [Optional, Callback] MetadataCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 44 void moveTo(in DirectoryEntry parent, in [Optional, ConvertUndefinedOrNullToNullString] DOMString name, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 45 void copyTo(in DirectoryEntry parent, in [Optional, ConvertUndefinedOrNullToNullString] DOMString name, in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 47 void remove(in [Optional, Callback] VoidCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); 48 void getParent(in [Optional, Callback] EntryCallback successCallback, in [Optional, Callback] ErrorCallback errorCallback); [all...] |
DirectoryReader.h | 46 class ErrorCallback; 55 void readEntries(PassRefPtr<EntriesCallback>, PassRefPtr<ErrorCallback> = 0);
|
DirectoryReader.cpp | 38 #include "ErrorCallback.h" 48 void DirectoryReader::readEntries(PassRefPtr<EntriesCallback> entriesCallback, PassRefPtr<ErrorCallback> errorCallback) 54 filesystem()->readDirectory(this, m_fullPath, entriesCallback, errorCallback);
|
FileSystemCallbacks.cpp | 45 #include "ErrorCallback.h" 59 FileSystemCallbacksBase::FileSystemCallbacksBase(PassRefPtr<ErrorCallback> errorCallback) 60 : m_errorCallback(errorCallback) 114 PassOwnPtr<EntryCallbacks> EntryCallbacks::create(PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DOMFileSystemBase> fileSystem, const String& expectedPath, bool isDirectory) 116 return adoptPtr(new EntryCallbacks(successCallback, errorCallback, fileSystem, expectedPath, isDirectory)); 119 EntryCallbacks::EntryCallbacks(PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback, PassRefPtr<DOMFileSystemBase> fileSystem, const String& expectedPath, bool isDirectory) 120 : FileSystemCallbacksBase(errorCallback) [all...] |
DOMFileSystem.cpp | 39 #include "ErrorCallback.h" 103 void DOMFileSystem::createWriter(const FileEntry* fileEntry, PassRefPtr<FileWriterCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 111 OwnPtr<FileWriterBaseCallbacks> callbacks = FileWriterBaseCallbacks::create(fileWriter, conversionCallback, errorCallback); 119 static PassOwnPtr<GetPathCallback> create(PassRefPtr<DOMFileSystem> filesystem, const String& path, PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 121 return adoptPtr(new GetPathCallback(filesystem, path, successCallback, errorCallback)); 133 GetPathCallback(PassRefPtr<DOMFileSystem> filesystem, const String& path, PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 134 : FileSystemCallbacksBase(errorCallback) [all...] |
DOMFileSystemBase.cpp | 43 #include "ErrorCallback.h" 106 bool DOMFileSystemBase::getMetadata(const EntryBase* entry, PassRefPtr<MetadataCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 109 m_asyncFileSystem->readMetadata(platformPath, MetadataCallbacks::create(successCallback, errorCallback)); 153 bool DOMFileSystemBase::move(const EntryBase* source, EntryBase* parent, const String& newName, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 161 m_asyncFileSystem->move(sourcePlatformPath, destinationPlatformPath, EntryCallbacks::create(successCallback, errorCallback, this, destinationPath, source->isDirectory())); 165 bool DOMFileSystemBase::copy(const EntryBase* source, EntryBase* parent, const String& newName, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) 173 m_asyncFileSystem->copy(sourcePlatformPath, destinationPlatformPath, EntryCallbacks::create(successCallback, errorCallback, this, destinationPath, source->isDirectory())) [all...] |
LocalFileSystem.h | 43 class ErrorCallback;
|
DOMFileSystem.h | 62 void createWriter(const FileEntry*, PassRefPtr<FileWriterCallback>, PassRefPtr<ErrorCallback>); 63 void createFile(const FileEntry*, PassRefPtr<FileCallback>, PassRefPtr<ErrorCallback>);
|
SyncCallbackHelper.h | 40 #include "ErrorCallback.h" 89 PassRefPtr<ErrorCallback> errorCallback() { return m_errorCallback; } 118 class ErrorCallbackImpl : public ErrorCallback {
|
/packages/apps/Camera/src/com/android/camera/ |
CameraErrorCallback.java | 22 implements android.hardware.Camera.ErrorCallback {
|
/frameworks/base/media/java/android/media/ |
AudioSystem.java | 133 /* Command sucessful or Media server restarted. see ErrorCallback */ 135 /* Command failed or unspecified audio error. see ErrorCallback */ 137 /* Media server died. see ErrorCallback */ 140 private static ErrorCallback mErrorCallback; 145 public interface ErrorCallback 161 public static void setErrorCallback(ErrorCallback cb) 175 ErrorCallback errorCallback = null; 178 errorCallback = mErrorCallback; 181 if (errorCallback != null) [all...] |
/external/webkit/Source/WebCore/workers/ |
WorkerContext.h | 55 class ErrorCallback; 136 void webkitRequestFileSystem(int type, long long size, PassRefPtr<FileSystemCallback> successCallback, PassRefPtr<ErrorCallback>); 138 void webkitResolveLocalFileSystemURL(const String& url, PassRefPtr<EntryCallback> successCallback, PassRefPtr<ErrorCallback>);
|