/frameworks/native/include/android/ |
asset_manager.h | 39 * creating {@link AAsset} objects. 62 struct AAsset; 64 * {@link AAsset} provides access to a read-only asset. 66 * {@link AAsset} objects are NOT thread-safe, and should not be shared across 69 typedef struct AAsset AAsset; 98 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 127 int AAsset_read(AAsset* asset, void* buf, size_t count); 135 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 147 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) [all...] |
/development/ndk/platforms/android-9/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-12/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-12/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-12/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-9/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-9/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r11/platforms/android-12/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r11/platforms/android-12/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r11/platforms/android-12/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r11/platforms/android-9/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r11/platforms/android-9/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/prebuilts/ndk/r11/platforms/android-9/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 101 void AAsset_close(AAsset* asset); 108 const void* AAsset_getBuffer(AAsset* asset); 113 off_t AAsset_getLength(AAsset* asset); 118 off_t AAsset_getRemainingLength(AAsset* asset) [all...] |
/frameworks/base/native/android/ |
asset_manager.cpp | 34 // but AAssetDir and AAsset are actual wrappers for isolation. 48 struct AAsset { 51 explicit AAsset(Asset* asset) : mAsset(asset) { } 52 ~AAsset() { delete mAsset; } 87 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) 113 return new AAsset(asset); 171 int AAsset_read(AAsset* asset, void* buf, size_t count) 176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) 181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) 186 void AAsset_close(AAsset* asset [all...] |
/development/ndk/platforms/android-13/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-13/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-13/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-13/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-14/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-14/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-14/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-15/arch-arm/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-15/arch-mips/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |
/prebuilts/ndk/r10/platforms/android-15/arch-x86/usr/include/android/ |
asset_manager.h | 33 struct AAsset; 34 typedef struct AAsset AAsset; 59 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode); 88 int AAsset_read(AAsset* asset, void* buf, size_t count); 96 off_t AAsset_seek(AAsset* asset, off_t offset, int whence); 107 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence); 112 void AAsset_close(AAsset* asset); 119 const void* AAsset_getBuffer(AAsset* asset); 124 off_t AAsset_getLength(AAsset* asset) [all...] |