Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dasset_manager.h62 struct AAsset;
69 typedef struct AAsset AAsset; typedef
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);
153 void AAsset_close(AAsset* asset);
160 const void* AAsset_getBuffer(AAsset* asset);
165 off_t AAsset_getLength(AAsset* asset);
172 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() function
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 …]