Searched refs:m_asset (Results 1 – 2 of 2) sorted by relevance
47 , m_asset (DE_NULL) in AssetResource()49 m_asset = AAssetManager_open(assetMgr, name, AASSET_MODE_RANDOM); in AssetResource()51 if (!m_asset) in AssetResource()57 AAsset_close(m_asset); in ~AssetResource()62 TCU_CHECK(AAsset_read(m_asset, dst, numBytes) == numBytes); in read()67 return (int)AAsset_getLength(m_asset) - (int)AAsset_getRemainingLength(m_asset); in getPosition()72 TCU_CHECK(AAsset_seek(m_asset, position, SEEK_SET) == position); in setPosition()77 return AAsset_getRemainingLength(m_asset) <= 0; in isFinished()82 return (int)AAsset_getLength(m_asset); in getSize()
64 AAsset* m_asset; member in tcu::Android::AssetResource