Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DAssetManagerTest.java31 final AssetManager[] assetManager = {AssetManager.class.newInstance()}; in testCloseThenFinalize() local
32 parser[0] = assetManager[0].openXmlResourceParser( in testCloseThenFinalize()
34 assetManager[0].close(); in testCloseThenFinalize()
35 assetManager[0] = null; in testCloseThenFinalize()
DX509CertChainBuildingTest.java162 AssetManager assetManager = getContext().getAssets(); in loadCertificate() local
165 in = assetManager.open(new File(CERT_ASSET_DIR, file).toString()); in loadCertificate()
/cts/hostsidetests/media/app/MediaExtractorTest/src/android/media/cts/
DMediaExtractorDeviceSideTest.java55 AssetManager assetManager = in testEntryPointSdk() local
57 try (AssetFileDescriptor fileDescriptor = assetManager.openFd(SAMPLE_PATH)) { in testEntryPointSdk()
95 AssetManager assetManager = in assertMediaExtractorAcceptsLogSessionId() local
97 try (AssetFileDescriptor fileDescriptor = assetManager.openFd(SAMPLE_PATH)) { in assertMediaExtractorAcceptsLogSessionId()
109 AssetManager assetManager, String assetPath, boolean withAttachedJvm); in extractUsingNdkMediaExtractor() argument
/cts/hostsidetests/media/app/MediaExtractorTest/jni/
DMediaExtractorDeviceSideTestNative.cpp25 JNIEnv* env, jobject, jobject assetManager, jstring assetPath, jboolean withAttachedJvm) { in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor() argument
28 AAssetManager* nativeAssetManager = AAssetManager_fromJava(env, assetManager); in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor()
/cts/tests/openglperf2/jni/reference/
DGLReference.cpp26 JNIEnv* env, jclass /*clazz*/, jobject assetManager, jobject surface, jint numFrames, in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark() argument
29 GLUtils::setEnvAndAssetManager(env, assetManager); in Java_android_opengl2_cts_reference_GLGameActivity_startBenchmark()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCACertWriter.java40 Context applicationContext, AssetManager assetManager) { in extractCertToDownloads() argument
54 is = assetManager.open(CERT_ASSET_NAME); in extractCertToDownloads()
/cts/tests/openglperf2/jni/graphics/
DGLUtils.h27 static void setEnvAndAssetManager(JNIEnv* env, jobject assetManager);
DGLUtils.cpp28 void GLUtils::setEnvAndAssetManager(JNIEnv* env, jobject assetManager) { in setEnvAndAssetManager() argument
30 sAssetManager = assetManager; in setEnvAndAssetManager()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBasicVulkanGpuTest.java66 private static native void verifyBasicBufferImport(AssetManager assetManager, int format, in verifyBasicBufferImport() argument
DMediaVulkanGpuTest.java52 private static native void loadMediaAndVerifyFrameImport(AssetManager assetManager, in loadMediaAndVerifyFrameImport() argument
DCameraVulkanGpuTest.java80 private static native void loadCameraAndVerifyFrameImport(AssetManager assetManager); in loadCameraAndVerifyFrameImport() argument
/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.h79 VkTestResult init(JNIEnv* env, jobject assetManager);
/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp259 AAssetManager* assetManager = AAssetManager_fromJava(env, jAssetManager); in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile() local
275 AAsset* asset = AAssetManager_open(assetManager, "model_data.bin", AASSET_MODE_BUFFER); in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile()