/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13180/ |
D | poc.cpp | 31 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 32 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 35 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers() 39 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers() 63 OMX_PARAM_PORTDEFINITIONTYPE def; in main() local 64 omxUtilsGetParameter(OMX_UTILS_IP_PORT, &def); in main() 66 int inMemorySize = def.nBufferCountActual * def.nBufferSize; in main() 67 int inBufferCount = def.nBufferCountActual; in main() 71 omxUtilsGetParameter(OMX_UTILS_OP_PORT, &def); in main() 73 int outMemorySize = def.nBufferCountActual * def.nBufferSize; in main() [all …]
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0817/ |
D | poc.cpp | 36 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 37 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 40 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers() 65 OMX_PARAM_PORTDEFINITIONTYPE def; in poc() local 66 omxUtilsGetParameter(OMX_UTILS_IP_PORT, &def); in poc() 68 int inMemSize = def.nBufferCountActual * def.nBufferSize / 512; in poc() 69 int inBufferCnt = def.nBufferCountActual; in poc() 75 omxUtilsGetParameter(OMX_UTILS_OP_PORT, &def); in poc() 77 int outMemSize = def.nBufferCountActual * def.nBufferSize; in poc() 78 int outBufferCnt = def.nBufferCountActual; in poc()
|
/cts/hostsidetests/jvmti/base/jni/ |
D | redefine.cpp | 37 jvmtiClassDefinition def; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() local 38 def.klass = target; in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 39 def.class_byte_count = static_cast<jint>(env->GetArrayLength(dex_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 41 jvmtiError res =jvmti_env->Allocate(def.class_byte_count, in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 42 const_cast<unsigned char**>(&def.class_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 46 memcpy(const_cast<unsigned char*>(def.class_bytes), redef_bytes, def.class_byte_count); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() 49 res = jvmti_env->RedefineClasses(1, &def); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
|
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/ |
D | PowerPolicyTestHelper.java | 81 for (PowerPolicyDef def : mSystemCpms.getRegisteredPolicies()) { in checkRegisteredPolicy() 82 if (def.getPolicyId().equals(expectedPolicy.getPolicyId())) { in checkRegisteredPolicy() 83 status = expectedPolicy.equals(def); in checkRegisteredPolicy() 86 CLog.e("PowerPolicyTestHelper got result policy: %s", def.toString()); in checkRegisteredPolicy() 96 for (PowerPolicyDef def : mSystemCpms.getRegisteredPolicies()) { in checkRegisteredPolicy() 97 if (def.getPolicyId().equals(policyId)) { in checkRegisteredPolicy()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-9347/ |
D | poc.cpp | 24 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 25 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 27 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers() 31 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0840/ |
D | poc.cpp | 22 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 23 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 25 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers() 29 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0684/ |
D | poc.cpp | 26 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 27 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 29 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers() 33 auto transStatus = mAllocator->allocate(def.nBufferSize, in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13241/ |
D | poc.cpp | 28 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 29 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 31 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2485/ |
D | poc.cpp | 39 OMX_PARAM_PORTDEFINITIONTYPE def; in allocateHidlPortBuffers() local 40 int err = omxUtilsGetParameter(portIndex, &def); in allocateHidlPortBuffers() 42 for (OMX_U32 i = 0; i < def.nBufferCountActual; ++i) { in allocateHidlPortBuffers()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | SparseArrayMapTest.java | 152 Integer def = Integer.MAX_VALUE; in testGetOrDefault() local 154 assertEquals(i % 2 == 0 ? i : def, sam.getOrDefault(0, KEYS_1[i], def).intValue()); in testGetOrDefault()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | View_FocusHandlingTest.java | 426 View def = activity.findViewById(R.id.focusabledefault); in testFocusAuto() local 433 assertFalse(def.isFocusable()); in testFocusAuto()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 100 Paint def = new Paint(); in testDefaultColor() 101 result.set(def); in testDefaultColor()
|