Home
last modified time | relevance | path

Searched defs:asset (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DResourcesLoaderTestBase.kt119 val asset = context.assets.openFd("$this.apk") in <lambda>() constant
133 val asset = context.assets.openFd("$this.arsc") in <lambda>() constant
140 val asset = context.assets.openFd("$this.apk") in <lambda>() constant
152 val asset = context.assets.openFd("$this.apk") in <lambda>() constant
160 val asset = context.assets.openFd("$this.arsc") in <lambda>() constant
168 val asset = context.assets.openFd("$this.arsc") in <lambda>() constant
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java155 long asset = nOpenAsset(getAssetManager(), record.name); in testCreateBuffer() local
168 long asset = nOpenAsset(getAssetManager(), record.name); in testCreateFd() local
179 long asset = nOpenAsset(getAssetManager(), record.name); in testCreateAsset() local
249 long asset = nOpenAsset(getAssetManager(), record.name); in testSetFormat() local
271 long asset = nOpenAsset(getAssetManager(), record.name); in testSetUnpremul() local
293 long asset = nOpenAsset(getAssetManager(), record.name); in testGetMinimumStride() local
418 long asset = nOpenAsset(assets, record.name); in testDecode() local
DBitmapColorSpaceTest.java828 final String asset = "blue-16bit-prophoto.png"; in inColorSpaceWith16BitWithDecreasedGamut() local
/cts/hostsidetests/media/app/MediaExtractorTest/jni/
DMediaExtractorDeviceSideTestNative.cpp30 AAsset* asset = AAssetManager_open(nativeAssetManager, scopedPath.c_str(), AASSET_MODE_RANDOM); in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor() local
/cts/tests/tests/neuralnetworks/java_test/jni/
Dandroid_neuralnetworks_cts_ModelAssetTest.cpp113 ANeuralNetworksMemory* createMemoryFromAsset(JNIEnv* env, AAsset* asset) { in createMemoryFromAsset()
128 ANeuralNetworksMemory* createMemoryFromAshmem(JNIEnv* env, AAsset* asset) { in createMemoryFromAshmem()
275 AAsset* asset = AAssetManager_open(assetManager, "model_data.bin", AASSET_MODE_BUFFER); in Java_android_neuralnetworks_cts_ModelAssetTest_nativeTestCompileFromAssetFile() local
/cts/tests/tests/uirendering/jni/
Dandroid_uirendering_cts_AImageDecoderTest.cpp80 AAsset* asset = AAssetManager_open(nativeManager, file, AASSET_MODE_UNKNOWN); in openAsset() local
90 static void closeAsset(JNIEnv*, jobject, jlong asset) { in closeAsset()
94 static jlong createFromAsset(JNIEnv* env, jobject, jlong asset) { in createFromAsset()
211 auto asset = openAsset(env, nullptr, jAssets, jFile); in testNullFrameInfo() local
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_AImageDecoderTest.cpp85 AAsset* asset = AAssetManager_open(nativeManager, file, mode); in openAsset() local
96 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_BUFFER); in testNullDecoder() local
219 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_UNKNOWN); in openAssetNative() local
226 static void closeAsset(JNIEnv*, jclass, jlong asset) { in closeAsset()
230 static jlong createFromAsset(JNIEnv* env, jclass, jlong asset) { in createFromAsset()
249 AAsset* asset = reinterpret_cast<AAsset*>(assetPtr); in createFromAssetFd() local
267 AAsset* asset = reinterpret_cast<AAsset*>(assetPtr); in createFromAssetBuffer() local
285 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_UNKNOWN); in testCreateIncomplete() local
299 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_UNKNOWN); in testCreateUnsupported() local
908 AAsset* asset = openAsset(env, jAssets, jFile, AASSET_MODE_UNKNOWN); in testSetCrop() local
/cts/tests/openglperf2/jni/graphics/
DGLUtils.cpp42 AAsset* asset = loadAsset(path); in openTextFile() local
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java374 protected Uri getAssetUrl(String asset) { in getAssetUrl()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java119 public ImageReaderDecoderTest(String mime, String codecName, MediaAsset asset, int mode, in ImageReaderDecoderTest()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java1136 private void loadAssetUrl(String asset) throws Exception { in loadAssetUrl()