Home
last modified time | relevance | path

Searched defs:usage (Results 1 – 21 of 21) 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/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.java38 int format, int layers, long usage); in nativeCreateHardwareBuffer()
/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/tools/selinux/
DSELinuxNeverallowTestGen.py8 usage = "Usage: ./SELinuxNeverallowTestGen.py <input policy file> <output cts java source>" variable
/cts/suite/audio_quality/executable/src/
Dmain.cpp54 void usage(char* bin) in usage() function
/cts/tests/tests/media/src/android/media/cts/
DAudioAttributesTest.java270 int usage = AudioAttributes.xsdStringToUsage(AudioUsage.AUDIO_USAGE_MEDIA.toString()); in testXsdStringToUsage_returnsCorrectUsage() local
276 int usage = AudioAttributes.xsdStringToUsage("not a usage"); in testXsdStringToUsage_withUnsupportedString_returnsUnknownUsage() local
DAudioPlaybackCaptureTest.java170 @AttributeUsage int usage) { in createMediaPlayer()
DMediaCodecBlockModelTest.java762 long usage = HardwareBuffer.USAGE_CPU_READ_OFTEN; in runEncodeShortVideo() local
/cts/tests/tests/graphics/jni/
DImageReaderTestHelpers.cpp29 int32_t format, uint64_t usage, in ImageReaderHelper()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2AndroidTestCase.java370 protected void createDefaultImageReader(Size size, int format, int maxNumImages, long usage, in createDefaultImageReader()
414 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/tests/os/src/android/os/cts/
DVibrationAttributesTest.java150 private static AudioAttributes createAudioAttributes(int usage) { in createAudioAttributes()
/cts/tests/tests/media/libimagereaderjni/
DAImageReaderCts.cpp55 uint64_t usage; member
270 uint64_t usage, in ImageReaderTestCase()
/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.cpp71 void PrintAhbUsage(std::ostream& os, uint64_t usage) { in PrintAhbUsage()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapTest.java2910 long usage = HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE; in createTestBuffer() local