Home
last modified time | relevance | path

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

/external/deqp/framework/platform/android/
DtcuAndroidAssets.cpp47 , m_asset (DE_NULL) in AssetResource()
49 m_asset = AAssetManager_open(assetMgr, name, AASSET_MODE_RANDOM); in AssetResource()
50 TCU_CHECK(m_asset); in AssetResource()
55 AAsset_close(m_asset); in ~AssetResource()
60 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes); in read()
65 return (int)AAsset_getLength(m_asset) - (int)AAsset_getRemainingLength(m_asset); in getPosition()
70 TCU_CHECK(AAsset_seek(m_asset, position, SEEK_SET) == position); in setPosition()
75 return AAsset_getRemainingLength(m_asset) <= 0; in isFinished()
80 return (int)AAsset_getLength(m_asset); in getSize()
DtcuAndroidAssets.hpp64 AAsset* m_asset; member in tcu::Android::AssetResource