Home
last modified time | relevance | path

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

/frameworks/native/include/android/
Dasset_manager.h31 struct AAsset;
32 typedef struct AAsset AAsset; typedef
57 AAsset* AAssetManager_open(AAssetManager* mgr, const char* filename, int mode);
86 int AAsset_read(AAsset* asset, void* buf, size_t count);
94 off_t AAsset_seek(AAsset* asset, off_t offset, int whence);
105 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence);
110 void AAsset_close(AAsset* asset);
117 const void* AAsset_getBuffer(AAsset* asset);
122 off_t AAsset_getLength(AAsset* asset);
128 off64_t AAsset_getLength64(AAsset* asset);
[all …]
/frameworks/base/native/android/
Dasset_manager.cpp48 struct AAsset { struct
51 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 …]