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 …]
/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/opt/gamesdk/src/tuningfork/
Dtuningfork_utils.h22 class AAsset; variable
31 AAsset* GetAsset(JNIEnv* env, jobject activity, const char* name);
Dtuningfork_utils.cpp35 AAsset* GetAsset(JNIEnv* env, jobject activity, const char* name) { in GetAsset()
53 AAsset* asset = AAssetManager_open(mgr, name, in GetAsset()
Dtuningfork_internal.h33 class AAsset; variable
Dtuningfork_extra.cpp157 std::vector<AAsset*> fps; in GetFidelityParamsSerialization()
170 AAsset* asset = fps[i]; in GetFidelityParamsSerialization()