Home
last modified time | relevance | path

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

/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/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java41 int format, int layers, long usage); in nativeCreateHardwareBuffer()
137 final long usage = HardwareBuffer.USAGE_CPU_READ_RARELY | (1L << 46); in testInvalidUsage() local
/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/tools/selinux/
DSELinuxNeverallowTestGen.py8 usage = "Usage: ./SELinuxNeverallowTestGen.py <input policy file> <output cts java source>" variable
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp27 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp29 int32_t format, uint64_t usage, in ImageReaderHelper()
DVulkanTestHelpers.cpp283 …Image::init(AHardwareBuffer *buffer, bool useExternalFormat, int syncFd, VkImageUsageFlags usage) { in init()
/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.java173 @AttributeUsage int usage) { in createMediaPlayer()
343 private void doTestCaptureMatchingAllowedUsage(int usage) throws Exception { in doTestCaptureMatchingAllowedUsage()
DDirectAudioProfilesForAttributesTest.kt56 for (usage in AudioAttributes.getSdkUsages()) { in <lambda>() method
DVolumeShaperTest.java207 final int usage = allowOffload in createSineAudioTrack() local
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java373 protected void createDefaultImageReader(Size size, int format, int maxNumImages, long usage, in createDefaultImageReader()
417 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/nativemedia/aaudio/jni/
Dtest_aaudio_attributes.cpp38 aaudio_usage_t usage, in checkAttributes()
244 for (aaudio_usage_t usage : sUsages) { in checkAttributesUsage() local
/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
DImageReaderTest.java481 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT; in testImageReaderBuilderSetHardwareBufferFormatAndDataSpace() local
/cts/tests/tests/media/misc/jni/
DAImageReaderCts.cpp55 uint64_t usage; member
270 uint64_t usage, in ImageReaderTestCase()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecBlockModelTest.java276 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/nativehardware/jni/
DAHardwareBufferTest.cpp73 void PrintAhbUsage(std::ostream& os, uint64_t usage) { in PrintAhbUsage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java2938 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE; in createTestBuffer() local