Home
last modified time | relevance | path

Searched refs:AAsset (Results 1 – 6 of 6) 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 …]
Dimagedecoder.h62 struct AAsset;
196 int AImageDecoder_createFromAAsset(struct AAsset* _Nonnull asset,
/frameworks/base/native/android/
Dasset_manager.cpp50 struct AAsset { struct
53 explicit AAsset(std::unique_ptr<Asset> asset) : mAsset(std::move(asset)) { } in AAsset() argument
66 AAsset* AAssetManager_open(AAssetManager* amgr, const char* filename, int mode) in AAssetManager_open()
91 return new AAsset(std::move(asset)); in AAssetManager_open()
149 int AAsset_read(AAsset* asset, void* buf, size_t count) in AAsset_read()
154 off_t AAsset_seek(AAsset* asset, off_t offset, int whence) in AAsset_seek()
159 off64_t AAsset_seek64(AAsset* asset, off64_t offset, int whence) in AAsset_seek64()
164 void AAsset_close(AAsset* asset) in AAsset_close()
170 const void* AAsset_getBuffer(AAsset* asset) in AAsset_getBuffer()
175 off_t AAsset_getLength(AAsset* asset) in AAsset_getLength()
[all …]
/frameworks/base/native/graphics/jni/
Daassetstreamadaptor.h32 explicit AAssetStreamAdaptor(AAsset*);
48 AAsset* mAAsset;
Daassetstreamadaptor.cpp21 AAssetStreamAdaptor::AAssetStreamAdaptor(AAsset* asset) in AAssetStreamAdaptor()
Dimagedecoder.cpp118 int AImageDecoder_createFromAAsset(AAsset* asset, AImageDecoder** outDecoder) { in AImageDecoder_createFromAAsset()