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.cpp444 jint access_mode) { in NativeOpenAsset() argument
453 if (access_mode != Asset::ACCESS_UNKNOWN && access_mode != Asset::ACCESS_RANDOM && in NativeOpenAsset()
454 access_mode != Asset::ACCESS_STREAMING && access_mode != Asset::ACCESS_BUFFER) { in NativeOpenAsset()
461 assetmanager->Open(asset_path_utf8.c_str(), static_cast<Asset::AccessMode>(access_mode)); in NativeOpenAsset()
489 jstring asset_path, jint access_mode) { in NativeOpenNonAsset() argument
499 if (access_mode != Asset::ACCESS_UNKNOWN && access_mode != Asset::ACCESS_RANDOM && in NativeOpenNonAsset()
500 access_mode != Asset::ACCESS_STREAMING && access_mode != Asset::ACCESS_BUFFER) { in NativeOpenNonAsset()
509 static_cast<Asset::AccessMode>(access_mode)); in NativeOpenNonAsset()
512 static_cast<Asset::AccessMode>(access_mode)); in NativeOpenNonAsset()