Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/jni/
Dandroid_uirendering_cts_AImageDecoderTest.cpp77 static jlong openAsset(JNIEnv* env, jobject, jobject jAssets, jstring jFile) { in openAsset() argument
79 const char* file = env->GetStringUTFChars(jFile, nullptr); in openAsset()
86 env->ReleaseStringUTFChars(jFile, file); in openAsset()
199 static void testNullFrameInfo(JNIEnv* env, jobject, jobject jAssets, jstring jFile) { in testNullFrameInfo() argument
211 auto asset = openAsset(env, nullptr, jAssets, jFile); in testNullFrameInfo()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp76 static AAsset* openAsset(JNIEnv* env, jobject jAssets, jstring jFile, int mode) { in openAsset() argument
78 const char* file = env->GetStringUTFChars(jFile, nullptr); in openAsset()
85 env->ReleaseStringUTFChars(jFile, file); in openAsset()
89 static void testNullDecoder(JNIEnv* env, jclass, jobject jAssets, jstring jFile) { in testNullDecoder() argument
90 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_BUFFER); in testNullDecoder()
210 static jlong openAssetNative(JNIEnv* env, jclass, jobject jAssets, jstring jFile) { in openAssetNative() argument
213 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_UNKNOWN); in openAssetNative()
277 static void testCreateIncomplete(JNIEnv* env, jclass, jobject jAssets, jstring jFile, in testCreateIncomplete() argument
279 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_UNKNOWN); in testCreateIncomplete()
292 static void testCreateUnsupported(JNIEnv* env, jclass, jobject jAssets, jstring jFile) { in testCreateUnsupported() argument
[all …]