API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

File System

File system capabilities under Brew MP are standard: create, enumerate, rename, delete and get properties of directories and files. Each module has its own section of the directory tree that is a home file system space (fs:/~/). Access Control Lists (ACLs) work at the directory or file level and allow modules to specify privileges required to read/write files in their home directory. Just like other privileges, ACL privileges are signed as part of the MIF, and modules with sufficient privileges can access other, module-owned files at fs:/~ /. fs:/shared/ acts as a system-wide shared directory, such that all apps can read from and, with permission, write to it for use in storing user's files, for example. Multimedia Content File (MCFs) are file system aliases that developers can use and OEMs can map to as a location for certain file types (e.g., photos, videos, music) when stored in different places. Apps can register with the file system for notification of external memory devices, in case they need to refresh indexes. OEMs can configure file caching differently among devices and factor it into the overall memory budget.

ClassAEECLSID_DirEnum
AEECLSID_FILEMGR_312
AEECLSID_FILEMGR_313
AEECLSID_FSPathResolve
AEECLSID_FilePort
AEECLSID_FileSystem
AEECLSID_FileSystem2
AEECLSID_FileSystem2 file system access control list (FS ACL
AEECLSID_FileSystem2 open capabilities for directories
AEECLSID_FileSystem2 open capabilities for files
ConstantAEEFS_HOME_DIR
AEEFS_MIF_DIR
AEEFS_MOD_DIR
AEEFS_ROOT_DIR
AEEFS_SYS_DIR
Data structureAEEFS_CARD0_DIR
AEEFS_USB_HOST_MASS_STORAGE1
AEEFS_USB_HOST_MASS_STORAGE2
AEEUTime
AEE_LOCKED_MYFLIX_DIR
AEE_LOCKED_MYPIX_DIR
AEE_LOCKED_MYSOUNDS_DIR
AEE_MYFLIX_DIR
AEE_MYMUSIC_DIR
AEE_MYPIX_DIR
AEE_MYSOUNDS_DIR
FSStat
FSStatEx
FSStatVFS
FSStatVFSEx
File Mode Bits
Filesystem Identifier
Filesystem Information (Flags
Filesystem characterset support
IFSPathResolve Interface ID
IOCtl IDs
Macros To Test File Types
Seek Whence Values
Validation Flags
AEEFileInfoExdeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
AEEFileUseInfodeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
FileAttribdeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
FileInfodeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
FileSeekTypedeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
OpenFileModedeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
ErrorFS AEE Error Codes
GroupAEEGROUPID_USBHMS1
AEEGROUPID_USBHMS2
AEEGROUPID_USBHMS_ACCESS
InterfaceIFSPathResolve
IFilePort
IFilePort1
IFileSystem
IFileSystem2
IUTime
IFiledeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFileMgrdeprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
MethodIFSPathResolve_AddRef()
IFSPathResolve_CanonicalizePath()
IFSPathResolve_IsCanonicalPath()
IFSPathResolve_QueryInterface()
IFSPathResolve_Release()
IFilePort1_AddRef()
IFilePort1_Close()
IFilePort1_Lock()
IFilePort1_QueryInterface()
IFilePort1_Read()
IFilePort1_Readable()
IFilePort1_Release()
IFilePort1_Seek()
IFilePort1_Stat()
IFilePort1_StatVFS()
IFilePort1_Truncate()
IFilePort1_Write()
IFilePort1_Writeable()
IFilePort_AddRef()
IFilePort_Close()
IFilePort_Creat()
IFilePort_GetLastError()
IFilePort_IOCtl()
IFilePort_Lock()
IFilePort_Open()
IFilePort_OpenEx()
IFilePort_QueryInterface()
IFilePort_Read()
IFilePort_Readable()
IFilePort_Release()
IFilePort_Rewind()
IFilePort_Seek()
IFilePort_Stat()
IFilePort_StatVFS()
IFilePort_Truncate()
IFilePort_Write()
IFilePort_Writeable()
IFileSystem2_Access()
IFileSystem2_AddRef()
IFileSystem2_Control()
IFileSystem2_MkDir()
IFileSystem2_Open()
IFileSystem2_QueryInterface()
IFileSystem2_Release()
IFileSystem2_Rename()
IFileSystem2_RmDir()
IFileSystem2_Stat()
IFileSystem2_StatVFS()
IFileSystem2_Truncate()
IFileSystem2_Unlink()
IFileSystem_Access()
IFileSystem_AddRef()
IFileSystem_MkDir()
IFileSystem_QueryInterface()
IFileSystem_Release()
IFileSystem_Rename()
IFileSystem_RmDir()
IFileSystem_Stat()
IFileSystem_StatVFS()
IFileSystem_Truncate()
IFileSystem_Unlink()
IUTime_AddRef()
IUTime_Get()
IUTime_Release()
IUTime_Set()
IFILEMGR_AddRef()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_CheckPathAccess()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_EnumInit()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_EnumNext()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_EnumNextEx()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_GetFileUseInfo()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_GetFreeSpace()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_GetFreeSpaceEx()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_GetInfo()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_GetInfoEx()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_GetLastError()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_MkDir()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_OpenFile()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_Release()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_Remove()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_Rename()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_ResolvePath()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_RmDir()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_SetDescription()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_Test()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_UnUse()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILEMGR_Use()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_AddRef()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Cancel()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_GetInfo()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_GetInfoEx()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Map()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Read()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Readable()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Release()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Seek()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_SetCacheSize()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Truncate()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
IFILE_Write()deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
PrivilegeAEECLSID_CARD0_ACCESS
AEEPRIVID_FileSystemR
AEEPRIVID_FileSystemRW