Home
last modified time | relevance | path

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

/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp139 if (desc.layers > 1) { in PrintTo()
140 *os << ", " << desc.layers << " layers"; in PrintTo()
150 return a.width == b.width && a.height == b.height && a.layers == b.layers && in operator ==()
182 desc.layers = 1; in TEST()
203 desc.layers = 1; in TEST()
214 desc.layers = 1; in TEST()
230 desc.layers = 1; in TEST()
246 desc.layers = 1; in TEST()
288 desc.layers = 1; in TEST()
336 desc.layers = 1; in TEST()
[all …]
DAHardwareBufferGLTest.cpp235 if (desc.layers <= 1) { in UploadData()
239 for (uint32_t layer = 0; layer < desc.layers; ++layer) { in UploadData()
1270 if (desc.layers > 6) { in SetUpBuffer()
1281 if (desc.layers > 1) { in SetUpBuffer()
1375 AHBFormatAsString(desc.format), desc.width, desc.height, desc.layers, result); in SetUpBuffer()
1483 glUniform1f(u_layer_location, static_cast<float>(GetParam().layers - 1)); in SetUpProgram()
1504 if ((desc.usage & AHARDWAREBUFFER_USAGE_GPU_CUBE_MAP) ? desc.layers > 6 : desc.layers > 1) { in SetUpTexture()
1505 glTexStorage3D(mTexTarget, levels, desc.format, desc.width, desc.height, desc.layers); in SetUpTexture()
1885 if (desc.layers > 1) return; in TEST_P()
1930 if ((desc.stride & kGlFormat) || desc.layers > 1) { in TEST_P()
[all …]
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp31 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument
37 desc.layers = layers; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
DHardwareBufferTestService.cpp54 desc.layers = 1; in createBuffer()
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DTunerFrontendTest.java516 IsdbtFrontendSettings.IsdbtLayerSettings[] layers = settings.getLayerSettings(); in testIsdbtFrontendSettingsWithIntFrequency() local
517 assertEquals(layers.length, 2); in testIsdbtFrontendSettingsWithIntFrequency()
518 assertEquals(layers[0].getModulation(), IsdbtFrontendSettings.MODULATION_MOD_16QAM); in testIsdbtFrontendSettingsWithIntFrequency()
519 assertEquals(layers[0].getCodeRate(), DvbtFrontendSettings.CODERATE_5_6); in testIsdbtFrontendSettingsWithIntFrequency()
520 assertEquals(layers[0].getTimeInterleaveMode(), in testIsdbtFrontendSettingsWithIntFrequency()
522 assertEquals(layers[0].getNumberOfSegments(), 0xFF); in testIsdbtFrontendSettingsWithIntFrequency()
523 assertEquals(layers[1].getModulation(), IsdbtFrontendSettings.MODULATION_MOD_16QAM); in testIsdbtFrontendSettingsWithIntFrequency()
524 assertEquals(layers[1].getCodeRate(), DvbtFrontendSettings.CODERATE_5_6); in testIsdbtFrontendSettingsWithIntFrequency()
525 assertEquals(layers[1].getTimeInterleaveMode(), in testIsdbtFrontendSettingsWithIntFrequency()
527 assertEquals(layers[1].getNumberOfSegments(), 0xFF); in testIsdbtFrontendSettingsWithIntFrequency()
[all …]
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerFrontendTest.java516 IsdbtFrontendSettings.IsdbtLayerSettings[] layers = settings.getLayerSettings(); in testIsdbtFrontendSettingsWithIntFrequency() local
517 assertEquals(layers.length, 2); in testIsdbtFrontendSettingsWithIntFrequency()
518 assertEquals(layers[0].getModulation(), IsdbtFrontendSettings.MODULATION_MOD_16QAM); in testIsdbtFrontendSettingsWithIntFrequency()
519 assertEquals(layers[0].getCodeRate(), DvbtFrontendSettings.CODERATE_5_6); in testIsdbtFrontendSettingsWithIntFrequency()
520 assertEquals(layers[0].getTimeInterleaveMode(), in testIsdbtFrontendSettingsWithIntFrequency()
522 assertEquals(layers[0].getNumberOfSegments(), 0xFF); in testIsdbtFrontendSettingsWithIntFrequency()
523 assertEquals(layers[1].getModulation(), IsdbtFrontendSettings.MODULATION_MOD_16QAM); in testIsdbtFrontendSettingsWithIntFrequency()
524 assertEquals(layers[1].getCodeRate(), DvbtFrontendSettings.CODERATE_5_6); in testIsdbtFrontendSettingsWithIntFrequency()
525 assertEquals(layers[1].getTimeInterleaveMode(), in testIsdbtFrontendSettingsWithIntFrequency()
527 assertEquals(layers[1].getNumberOfSegments(), 0xFF); in testIsdbtFrontendSettingsWithIntFrequency()
[all …]
/cts/tests/vr/jni/
DVrExtensionsJni.cpp121 ASSERT_GT(desc.layers, 1); in testEglImageArray()
146 const GLint num_views = desc.layers; in testEglImageArray()
189 const int layers[] = {2, 4}; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() local
199 for (auto nlayers : layers) { in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
201 desc.layers = nlayers; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray()
215 desc.layers = 1; in testExternalBuffer()
449 desc.layers = 1; in testLinearMagnification()
537 desc.layers = 1; in testFramebufferBlending()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dlayered_filter_f32_helper.rsh61 // Filters target layer when processing layers in pass one from the back-most to
90 // bleeding from layers in front of this layer. Doing visibility test in a
114 // Filters target layer when processing layers in pass one from the back-most to
150 // Filters the target layer when processing layers in pass two from the
Dlayered_filter_fast_f32.rscript13 // 3. The depth values are grouped into several blending layers.
66 // with previous layers.
202 // Distance transform in processing layers in pass one from the back-most to
226 // Distance transform in processing layers in pass two from the front-most to
242 // This pixel has not been completely covered by layers in front of the
250 // Computes integral image for target layer in processing layers in pass one
298 // Filters target layer in processing layers in pass one from the back-most to
331 // Filters target layer in processing layers in pass two from the front-most
Dpixel_format_f32.rsh13 // computed for blending color between layers. "Close enough" means L1 distance
Dlayered_filter_fast_d1new.rscript13 // 3. The depth values are grouped into several blending layers.
64 // with previous layers.
241 // Distance transform in processing layers in pass one from the back-most to
287 // Distance transform in processing layers in pass two from the front-most to
330 // Computes integral image for target layer in processing layers in pass one
399 // Filters target layer in processing layers in pass one from the back-most to
464 // Filters target layer in processing layers in pass two from the front-most
Dlayered_filter_d1new_helper.rsh121 // Filters target layer when processing layers in pass one from the back-most to
150 // bleeding from layers in front of this layer. Doing visibility test in a
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_BasicVulkanGpuTest.cpp83 .layers = 1, in verifyBasicBufferImport()
Dandroid_graphics_cts_ComputeAhbTest.cpp82 .layers = 1, in verifyComputeShaderWrite()
Dandroid_graphics_cts_FrameRateCtsActivity.cpp46 desc.layers = 1; in Buffer()
DVulkanTestHelpers.cpp286 ASSERT(bufferDesc.layers == 1); in init()
656 .layers = 1u, in init()
DVulkanPreTransformTestHelpers.cpp481 .layers = 1, in createFrameBuffers()
/cts/tests/sensor/jni/
DSensorTest.cpp165 .layers = 1, in TestSharedMemory()
/cts/hostsidetests/gputools/src/android/gputools/cts/
DCtsRootlessGpuDebugHostTest.java565 … public String testLayerLoadExternalVulkan(final String APP_NAME, String layers) throws Exception { in testLayerLoadExternalVulkan() argument
570 applySetting("gpu_debug_layers", layers); in testLayerLoadExternalVulkan()
579 String[] layerNames = layers.split(":"); in testLayerLoadExternalVulkan()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java45 int format, int layers, long usage); in nativeCreateHardwareBuffer() argument
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DVulkanDeviceInfo.java1183 JSONArray layers = parent.getJSONArray(KEY_LAYERS); in emitLayers() local
1185 for (int i = 0; i < layers.length(); i++) { in emitLayers()
1186 JSONObject layer = layers.getJSONObject(i); in emitLayers()
/cts/tests/surfacecontrol/jni/
Dandroid_view_cts_ASurfaceControlTest.cpp57 desc.layers = 1; in allocateBuffer()