/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | AllocationCache.java | 77 public Allocation getOrCreateTyped(Type type, int usage) { in getOrCreateTyped() argument 82 AllocationKey key = new AllocationKey(type, usage); in getOrCreateTyped() 90 "Cache HIT (%d): type = '%s', usage = '%x'", sDebugHits, type, usage)); in getOrCreateTyped() 97 "Cache MISS (%d): type = '%s', usage = '%x'", sDebugMisses, type, usage)); in getOrCreateTyped() 100 return Allocation.createTyped(mRS, type, usage); in getOrCreateTyped() 122 int usage = allocation.getUsage(); in returnToCache() local 123 AllocationKey key = new AllocationKey(allocation.getType(), usage); in returnToCache() 130 if ((usage & Allocation.USAGE_IO_INPUT) != 0) { in returnToCache() 133 if ((usage & Allocation.USAGE_IO_OUTPUT) != 0) { in returnToCache() 211 public AllocationKey(Type type, int usage) { in AllocationKey() argument [all …]
|
D | AllocationInfo.java | 89 public static AllocationInfo newInstance(Size size, int format, int usage) { in newInstance() argument 105 return new AllocationInfo(element, size, usage); in newInstance() 164 public static AllocationInfo newInstance(Element element, Size size, int usage) { in newInstance() argument 165 return new AllocationInfo(element, size, usage); in newInstance() 176 public AllocationInfo addExtraUsage(int usage) { in addExtraUsage() argument 177 return new AllocationInfo(mElement, mSize, mUsage | usage); in addExtraUsage() 192 public AllocationInfo changeFormatAndUsage(int format, int usage) { in changeFormatAndUsage() argument 193 return newInstance(getSize(), format, usage); in changeFormatAndUsage() 226 private AllocationInfo(Element element, Size size, int usage) { in AllocationInfo() argument 232 mUsage = usage; in AllocationInfo()
|
D | ScriptGraph.java | 244 public Builder configureInput(int width, int height, int format, int usage) { in configureInput() argument 245 return configureInput(new Size(width, height), format, usage); in configureInput() 300 public Builder configureInput(Size size, int format, int usage) { in configureInput() argument 305 mUsage = usage | Allocation.USAGE_SCRIPT; in configureInput()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | AllocationCreateAllocationsTest.java | 36 Allocation[] createAllocationsHelper(int usage, int numAlloc) { in createAllocationsHelper() argument 39 return Allocation.createAllocations(mRS, t, usage, numAlloc); in createAllocationsHelper() 43 int usage = Allocation.USAGE_SCRIPT; in testCreateAllocations() local 47 allocArray = createAllocationsHelper(usage, numAlloc); in testCreateAllocations() 55 int usage = Allocation.USAGE_IO_INPUT; in testCreateAllocations_USAGE_IO_INPUT() local 60 allocArray = createAllocationsHelper(usage, MAX_NUM_IO_ALLOC + 1); in testCreateAllocations_USAGE_IO_INPUT() 65 allocArray = createAllocationsHelper(usage, numAlloc); in testCreateAllocations_USAGE_IO_INPUT() 74 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testGetProperties() local 75 Allocation[] allocArray = createAllocationsHelper(usage, numAlloc); in testGetProperties() 101 int usage = Allocation.USAGE_SCRIPT | Allocation.USAGE_IO_INPUT; in testMultipleIoReceive_USAGE_IO_INPUT() local [all …]
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 65 if (bufferDesc.usage != desc.usage) in CheckAHardwareBufferMatchesDesc() 66 return BuildHexFailureMessage(desc.usage, bufferDesc.usage, "usage"); in CheckAHardwareBufferMatchesDesc() 99 desc.usage = AHARDWAREBUFFER_USAGE_CPU_READ_RARELY; in testAHardwareBuffer_allocate_BlobFormatRequiresHeight1() 120 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in testAHardwareBuffer_allocate_Succeeds() 131 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in testAHardwareBuffer_allocate_Succeeds() 146 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in testAHardwareBuffer_describe_Succeeds() 188 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in testAHardwareBuffer_SendAndRecv_Succeeds() 236 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_CPU_READ_RARELY; in testAHardwareBuffer_Lock_and_Unlock_Succeed() 265 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in testAHardwareBufferSupportsLayeredBuffersForVr() 276 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE; in testAHardwareBufferSupportsLayeredBuffersForVr()
|
/cts/tests/tests/hardware/jni/ |
D | android_hardware_cts_HardwareBufferTest.cpp | 28 jint width, jint height, jint format, jint layers, jlong usage) { in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() argument 35 desc.usage = usage; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | FragmentTestActivity.java | 16 package android.app.usage.cts; 20 import android.app.usage.cts.R;
|
D | Activities.java | 16 package android.app.usage.cts;
|
D | FragmentTest.java | 16 package android.app.usage.cts; 20 import android.app.usage.cts.R;
|
D | UsageStatsTest.java | 17 package android.app.usage.cts; 21 import android.app.usage.UsageEvents; 22 import android.app.usage.UsageStats; 23 import android.app.usage.UsageStatsManager;
|
D | NetworkUsageStatsTest.java | 17 package android.app.usage.cts; 20 import android.app.usage.NetworkStatsManager; 21 import android.app.usage.NetworkStats;
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 166 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() 186 static void testExternalBuffer(JNIEnv* env, uint64_t usage, bool write_hwbuffer, in testExternalBuffer() argument 194 desc.usage = usage; in testExternalBuffer() 259 const uint64_t usage = AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN | in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestExternalBuffer() local 266 testExternalBuffer(env, usage, false, test_string); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestExternalBuffer() 267 testExternalBuffer(env, usage, true, test_string); in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestExternalBuffer()
|
/cts/suite/audio_quality/executable/src/ |
D | main.cpp | 54 void usage(char* bin) in usage() function 76 usage(argv[0]); in main() 81 usage(argv[0]); in main()
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | ReadDefaultUris.java | 57 private void playUri(final Uri uri, long timeToPlayMs, int usage, int contentType) in playUri() argument 63 new AudioAttributes.Builder().setUsage(usage).setContentType(contentType).build()); in playUri()
|
/cts/tools/dasm/src/java_cup/ |
D | Main.java | 212 protected static void usage(String message) in usage() method in Main 260 usage("-package must have a name argument"); in parse_args() 270 usage("-parser must have a name argument"); in parse_args() 279 usage("-input must have a name argument"); in parse_args() 289 usage("-symbols must have a name argument"); in parse_args() 303 usage("-expect must have a name argument"); in parse_args() 309 usage("-expect must be followed by a decimal integer"); in parse_args() 316 usage("-out must have a path argument"); in parse_args() 326 usage("-out argument must be a valid existing path"); in parse_args() 341 usage("Unrecognized option \"" + argv[i] + "\""); in parse_args()
|
/cts/tests/tests/media/libimagereaderjni/ |
D | AImageReaderCts.cpp | 55 uint64_t usage; member 269 uint64_t usage, in ImageReaderTestCase() argument 275 mUsage(usage), in ImageReaderTestCase() 405 if ((outDesc.usage & mUsage) != mUsage) { in HandleImageAvailable() 407 outDesc.usage, mUsage); in HandleImageAvailable() 514 kTestImageWidth, kTestImageHeight, combination.format, combination.usage, in Java_android_media_cts_NativeImageReaderTest_testSucceedsWithSupportedUsageFormatNative() 518 combination.format, combination.usage); in Java_android_media_cts_NativeImageReaderTest_testSucceedsWithSupportedUsageFormatNative()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerUsageTest.java | 23 import android.app.usage.UsageEvents; 24 import android.app.usage.UsageEvents.Event; 25 import android.app.usage.UsageStatsManager;
|
/cts/hostsidetests/usage/app/src/android/app/usage/app/ |
D | TestActivity.java | 17 package android.app.usage.app;
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 7 usage = "Usage: ./SELinuxNeverallowTestGen.py <input policy file> <output cts java source>" variable 81 print usage
|
/cts/hostsidetests/usage/ |
D | Android.mk | 26 LOCAL_CTS_TEST_PACKAGE := android.host.app.usage
|
/cts/hostsidetests/usage/src/android/app/usage/cts/ |
D | AppIdleHostTest.java | 17 package android.app.usage.cts;
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | StorageTest.java | 32 import android.app.usage.StorageStats; 33 import android.app.usage.StorageStatsManager;
|
/cts/hostsidetests/appsecurity/test-apps/StorageStatsApp/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 39 import android.app.usage.ExternalStorageStats; 40 import android.app.usage.StorageStats; 41 import android.app.usage.StorageStatsManager;
|
/cts/tests/sensor/jni/ |
D | SensorTest.cpp | 166 .usage = AHARDWAREBUFFER_USAGE_SENSOR_DIRECT_DATA in TestSharedMemory()
|
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_CameraGpuCtsActivity.cpp | 286 ImageReaderHelper(int32_t width, int32_t height, int32_t format, uint64_t usage, in ImageReaderHelper() argument 288 : mWidth(width), mHeight(height), mFormat(format), mUsage(usage), mMaxImages(maxImages) {} in ImageReaderHelper()
|