/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 56 AHardwareBuffer* abuffer, const AHardwareBuffer_Desc& desc) { in CheckAHardwareBufferMatchesDesc() argument 59 if (bufferDesc.width != desc.width) in CheckAHardwareBufferMatchesDesc() 60 return BuildFailureMessage(desc.width, bufferDesc.width, "widths"); in CheckAHardwareBufferMatchesDesc() 61 if (bufferDesc.height != desc.height) in CheckAHardwareBufferMatchesDesc() 62 return BuildFailureMessage(desc.height, bufferDesc.height, "heights"); in CheckAHardwareBufferMatchesDesc() 63 if (bufferDesc.layers != desc.layers) in CheckAHardwareBufferMatchesDesc() 64 return BuildFailureMessage(desc.layers, bufferDesc.layers, "layers"); in CheckAHardwareBufferMatchesDesc() 65 if (bufferDesc.usage != desc.usage) in CheckAHardwareBufferMatchesDesc() 66 return BuildHexFailureMessage(desc.usage, bufferDesc.usage, "usage"); in CheckAHardwareBufferMatchesDesc() 67 if (bufferDesc.format != desc.format) in CheckAHardwareBufferMatchesDesc() [all …]
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/suite/ |
D | ModuleRepoSuiteTest.java | 72 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchInclude() local 75 desc.setMetaData(metadata); in testMetadataFilter_matchInclude() 88 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchInclude_mismatchValue() local 91 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchValue() 104 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchInclude_mismatchKey() local 107 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchKey() 120 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchExclude() local 123 desc.setMetaData(metadata); in testMetadataFilter_matchExclude() 136 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchExclude_mismatchKey() local 139 desc.setMetaData(metadata); in testMetadataFilter_noMatchExclude_mismatchKey() [all …]
|
/cts/tests/tests/hardware/jni/ |
D | android_hardware_cts_HardwareBufferTest.cpp | 30 AHardwareBuffer_Desc desc = {}; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() local 32 desc.width = width; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() 33 desc.height = height; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() 34 desc.layers = layers; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() 35 desc.usage = usage; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() 36 desc.format = format; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() 37 int res = AHardwareBuffer_allocate(&desc, &buffer); in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer()
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 98 static void testEglImageArray(JNIEnv* env, AHardwareBuffer_Desc desc, in testEglImageArray() argument 100 ASSERT_GT(desc.layers, 1); in testEglImageArray() 102 int error = AHardwareBuffer_allocate(&desc, &hwbuffer); in testEglImageArray() 125 const GLint num_views = desc.layers; in testEglImageArray() 163 AHardwareBuffer_Desc desc = {}; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() local 164 desc.width = 32; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() 165 desc.height = 32; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() 166 desc.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() 178 desc.layers = nlayers; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() 179 desc.format = format; in Java_android_vr_cts_VrExtensionBehaviorTest_nativeTestEglImageArray() [all …]
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AuthenticatorDescriptionTest.java | 11 private AuthenticatorDescription desc; field in AuthenticatorDescriptionTest 15 desc = new AuthenticatorDescription(accountType, packageName, 1, 1, 1, 1, true); in setUp() 41 assertEquals(0, desc.describeContents()); in testDescribeContents() 45 AuthenticatorDescription desc = AuthenticatorDescription.newKey(accountType); in testNewKey() local 46 assertEquals(desc.type, accountType); in testNewKey()
|
/cts/tests/core/runner/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 160 private static Description filterDescription(Description desc, Filter filter) { in filterDescription() argument 161 if (!filter.shouldRun(desc)) { // XX: Does the filter itself do the recursion? in filterDescription() 165 Description newDesc = desc.childlessCopy(); in filterDescription() 168 if (!descriptionHasChildren(desc)) { in filterDescription() 173 for (Description child : desc.getChildren()) { in filterDescription() 230 private static boolean descriptionHasChildren(Description desc) { in descriptionHasChildren() argument 233 return desc != null && desc.getChildren() != null && !desc.getChildren().isEmpty(); in descriptionHasChildren()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | DeviceJUnit4ClassRunnerWithParameters.java | 84 Description desc = Description.createSuiteDescription(getTestClass().getJavaClass()); in getDescription() local 86 desc.addChild(describeChild(method)); in getDescription() 88 return desc; in getDescription() 96 Description desc = describeChild(method); in getChildren() local 97 if (desc.getAnnotation(Ignore.class) == null) { in getChildren()
|
/cts/tests/tests/media/assets/ |
D | hls.m3u8 | 4 #EXTINF:10, no desc 6 #EXTINF:10, no desc
|
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/ |
D | ModuleRepoTest.java | 534 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchInclude() local 537 desc.setMetaData(metadata); in testMetadataFilter_matchInclude() 550 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchInclude_mismatchValue() local 553 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchValue() 566 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchInclude_mismatchKey() local 569 desc.setMetaData(metadata); in testMetadataFilter_noMatchInclude_mismatchKey() 582 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_matchExclude() local 585 desc.setMetaData(metadata); in testMetadataFilter_matchExclude() 598 ConfigurationDescriptor desc = config.getConfigurationDescription(); in testMetadataFilter_noMatchExclude_mismatchKey() local 601 desc.setMetaData(metadata); in testMetadataFilter_noMatchExclude_mismatchKey() [all …]
|
/cts/tools/dasm/src/dasm/ |
D | parser.cup | 419 DFIELD access:a Word:name Word:desc SIGNATURE Str:sig optional_default:v SEP 420 {: dAsm.addField((short)a.int_val, name.str_val, desc.str_val, 423 DFIELD access:a Word:name Word:desc optional_default:v SEP 424 {: dAsm.addField((short)a.int_val, name.str_val, desc.str_val, 440 field_start ::= access:a Word:name Word:desc optional_default:v SEP 442 desc.str_val, v.variant_val); :} 607 // .var <num> is <name> <desc> from StartLab to EndLab 608 // .var <num> is <name> <desc> signature <sign> from StartLab to EndLab 611 Int:reg IS Word:name Word:desc optional_signature:sign FROM Word:slab TO Word:elab 613 desc.str_val, sign.str_val, reg.int_val); :} [all …]
|
D | DAsm.java | 201 void addVar(String startLab, String endLab, String name, String desc, in addVar() argument 206 void addVar(int startOffset, int endOffset, String name, String desc, in addVar() argument 345 void beginField(short access, String name, String desc, Object value) in beginField() argument 362 void addField(short access, String name, String desc, String sig, in addField() argument 365 System.out.println("addField(" + name + ", " + desc + ", " + sig in addField() 369 CstNat nat = new CstNat(new CstString(name), new CstString(desc)); in addField()
|
/cts/tests/sensor/jni/ |
D | SensorTest.cpp | 162 AHardwareBuffer_Desc desc = { in TestSharedMemory() local 172 if (AHardwareBuffer_allocate(&desc, &mHardwareBuffer) == 0) { in TestSharedMemory()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioEffectTest.java | 76 AudioEffect.Descriptor[] desc = AudioEffect.queryEffects(); in test0_0QueryEffects() local 78 assertTrue("test0_0QueryEffects: number of effects < MIN_NUMBER_EFFECTS: "+desc.length, in test0_0QueryEffects() 79 (desc.length >= MIN_NUMBER_EFFECTS)); in test0_0QueryEffects() 83 for (int i = 0; i < desc.length; i++) { in test0_0QueryEffects() 84 if (desc[i].type.equals(AudioEffect.EFFECT_TYPE_EQUALIZER)) { in test0_0QueryEffects()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 262 String desc = (isEncoder ? "encoders" : "decoders") + " for " in verifyNumCodecs() local 265 desc = (isGoog ? "Google " : "non-Google ") + desc; in verifyNumCodecs() 269 assertTrue("test can only verify " + count + " " + desc + "; found " + codecs.length + ": " in verifyNumCodecs()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | UiBot.java | 199 final UiObject2 object = waitForObject(By.desc(contentDescription)); in assertShownByContentDescription()
|