Home
last modified time | relevance | path

Searched defs:usage (Results 1 – 25 of 32) sorted by relevance

12

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DAllocationCreateAllocationsTest.java36 Allocation[] createAllocationsHelper(int usage, int numAlloc) { in createAllocationsHelper()
43 int usage = Allocation.USAGE_SCRIPT; in testCreateAllocations() local
55 int usage = Allocation.USAGE_IO_INPUT; in testCreateAllocations_USAGE_IO_INPUT() local
74 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testGetProperties() local
101 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testMultipleIoReceive_USAGE_IO_INPUT() local
/cts/tests/camera/src/android/hardware/camera2/cts/rs/
DAllocationInfo.java89 public static AllocationInfo newInstance(Size size, int format, int usage) { in newInstance()
164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance()
176 public AllocationInfo addExtraUsage(int usage) { in addExtraUsage()
192 public AllocationInfo changeFormatAndUsage(int format, int usage) { in changeFormatAndUsage()
226 private AllocationInfo(Element element, Size size, int usage) { in AllocationInfo()
DAllocationCache.java77 public Allocation getOrCreateTyped(Type type, int usage) { in getOrCreateTyped()
122 int usage = allocation.getUsage(); in returnToCache() local
211 public AllocationKey(Type type, int usage) { in AllocationKey()
DScriptGraph.java275 public Builder configureInput(int width, int height, int format, int usage) { in configureInput()
331 public Builder configureInput(Size size, int format, int usage) { in configureInput()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DReadDefaultUris.java57 private void playUri(final Uri uri, long timeToPlayMs, int usage, int contentType) in playUri()
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java45 int format, int layers, long usage); in nativeCreateHardwareBuffer()
142 final long usage = HardwareBuffer.USAGE_CPU_READ_RARELY | (1L << 46); in testInvalidUsage() local
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py8 usage = "Usage: ./SELinuxNeverallowTestGen.py <input policy file> <output cts java source>" variable
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp29 int32_t format, uint64_t usage, in ImageReaderHelper()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioAttributesTest.java308 int usage = AudioAttributes.xsdStringToUsage(AudioUsage.AUDIO_USAGE_MEDIA.toString()); in testXsdStringToUsage_returnsCorrectUsage() local
314 int usage = AudioAttributes.xsdStringToUsage("not a usage"); in testXsdStringToUsage_withUnsupportedString_returnsUnknownUsage() local
DAudioDevicesForAttributesTest.kt48 for (usage in AudioAttributes.getSdkUsages()) { in testGetAudioDevicesForAttributes() variable
DAudioPlaybackCaptureTest.java176 @AttributeUsage int usage) { in createMediaPlayer()
346 private void doTestCaptureMatchingAllowedUsage(int usage) throws Exception { in doTestCaptureMatchingAllowedUsage()
DDirectAudioProfilesForAttributesTest.kt56 for (usage in AudioAttributes.getSdkUsages()) { in <lambda>() method
/cts/tests/camera/src/android/hardware/camera2/cts/
DImageWriterTest.java294 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE; in testWriterBuilderSetImageFormatAndSize() local
324 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testWriterBuilderSetHardwareBufferFormatAndDataSpace() local
353 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testWriterBuilderWithBLOB() local
DImageReaderTest.java767 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testImageReaderBuilderSetHardwareBufferFormatAndDataSpace() local
791 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testImageReaderBuilderWithBLOBAndHEIF() local
816 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testImageReaderBuilderWithBLOBAndJpegR() local
841 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testImageReaderBuilderWithBLOBAndJFIF() local
/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()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_attributes.cpp38 aaudio_usage_t usage, in checkAttributes()
243 for (aaudio_usage_t usage : sUsages) { in checkAttributesUsage() local
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java410 protected void createDefaultImageReader(Size size, int format, int maxNumImages, long usage, in createDefaultImageReader()
454 protected ImageReader createImageReader(Size size, int format, int maxNumImages, long usage, in createImageReader()
DCamera2AndroidTestRule.java482 public void createDefaultImageReader(Size size, int format, int maxNumImages, long usage, in createDefaultImageReader()
526 public ImageReader createImageReader(Size size, int format, int maxNumImages, long usage, in createImageReader()
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp50 uint64_t usage; member
265 uint64_t usage, in ImageReaderTestCase()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecBlockModelTest.java292 long usage = HardwareBuffer.USAGE_CPU_READ_OFTEN; in runEncodeShortVideo() local
/cts/tests/vr/jni/
DVrExtensionsJni.cpp209 static void testExternalBuffer(JNIEnv* env, uint64_t usage, bool write_hwbuffer, in testExternalBuffer()
283 const uint64_t usage = AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN | in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestExternalBuffer() local
/cts/tests/tests/car/src/android/car/cts/
DCarAudioFocusTest.java772 private static String usageToString(int usage) { in usageToString()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DSurfaceViewTests.java543 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE in surfaceViewAppliesTransactionsToFrame() local
DHardwareBufferRendererTests.kt680 val usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE or HardwareBuffer.USAGE_GPU_COLOR_OUTPUT in <lambda>() constant
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp73 void PrintAhbUsage(std::ostream& os, uint64_t usage) { in PrintAhbUsage()

12