Home
last modified time | relevance | path

Searched refs:AAsset (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/include/android/
Dasset_manager.h66 struct AAsset;
73 typedef struct AAsset AAsset; typedef
102 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
131 int AAsset_read(AAsset* asset, void* buf, size_t count);
139 off_t AAsset_seek(AAsset* asset, off_t offset, int whence)
151 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
156 void AAsset_close(AAsset* asset);
163 const void* AAsset_getBuffer(AAsset* asset);
168 off_t AAsset_getLength(AAsset* asset)
175 off64_t AAsset_getLength64(AAsset* asset);
[all …]
/frameworks/base/native/android/
Dasset_manager.cpp48 struct AAsset { struct
51 explicit AAsset(Asset* asset) : mAsset(asset) { } in AAsset() argument
52 ~AAsset() { delete mAsset; } in ~AAsset() argument
87 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) in AAssetManager_open()
113 return new AAsset(asset); in AAssetManager_open()
171 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
176 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
181 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
186 void AAsset_close(AAsset* asset) in AAsset_close()
192 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
[all …]