class IoDelegate
Defined at line 30 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h
Public Methods
bool GetAbsolutePath (const std::string & path, std::string * absolute_path)
Stores an absolute version of |path| to |*absolute_path|,
possibly prefixing it with the current working directory.
Returns false and does not set |*absolute_path| on error.
std::string CleanPath (const std::string & path)
Remove leading "./" from |path|.
std::unique_ptr<std::string> GetFileContents (const std::string & filename, const std::string & content_suffix)
Returns a unique_ptr to the contents of |filename|.
Will append the optional |content_suffix| to the returned contents.
bool FileIsReadable (const std::string & path)
std::unique_ptr<CodeWriter> GetCodeWriter (const std::string & file_path)
void IoDelegate ()
Defined at line 32 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h
void ~IoDelegate ()
Defined at line 33 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h
void IoDelegate (const IoDelegate & )
Defined at line 35 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h
void IoDelegate (IoDelegate && )
Defined at line 36 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h
android::base::Result<std::vector<std::string>> ListFiles (const std::string & dir)
IoDelegate & operator= (const IoDelegate & )
Defined at line 37 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h
IoDelegate & operator= (IoDelegate && )
Defined at line 38 of file ../../third_party/android/platform/system/tools/aidl/io_delegate.h