Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp601 jint access_mode) { in NativeOpenAsset() argument
610 if (access_mode != Asset::ACCESS_UNKNOWN && access_mode != Asset::ACCESS_RANDOM && in NativeOpenAsset()
611 access_mode != Asset::ACCESS_STREAMING && access_mode != Asset::ACCESS_BUFFER) { in NativeOpenAsset()
618 assetmanager->Open(asset_path_utf8.c_str(), static_cast<Asset::AccessMode>(access_mode)); in NativeOpenAsset()
646 jstring asset_path, jint access_mode) { in NativeOpenNonAsset() argument
656 if (access_mode != Asset::ACCESS_UNKNOWN && access_mode != Asset::ACCESS_RANDOM && in NativeOpenNonAsset()
657 access_mode != Asset::ACCESS_STREAMING && access_mode != Asset::ACCESS_BUFFER) { in NativeOpenNonAsset()
666 static_cast<Asset::AccessMode>(access_mode)); in NativeOpenNonAsset()
669 static_cast<Asset::AccessMode>(access_mode)); in NativeOpenNonAsset()