Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/util/
DEventUtils.java32 MotionEvent.PointerProperties[] pp = new MotionEvent.PointerProperties[1]; in generateMouseEvent() local
33 pp[0] = new MotionEvent.PointerProperties(); in generateMouseEvent()
34 pp[0].id = 0; in generateMouseEvent()
35 pp[0].toolType = MotionEvent.TOOL_TYPE_MOUSE; in generateMouseEvent()
37 return MotionEvent.obtain(0, SystemClock.uptimeMillis(), action, 1, pp, in generateMouseEvent()
/cts/tests/mediapc/src/android/mediapc/cts/
DMultiCodecPerfTestBase.java285 for (PerformancePoint pp : pps) { in checkAndGetMaxSupportedInstancesForCodecCombinations()
286 if (pp.covers(PPRes)) { in checkAndGetMaxSupportedInstancesForCodecCombinations()
288 if (pp.getMaxMacroBlockRate() > maxMacroBlockRates[loopCount]) { in checkAndGetMaxSupportedInstancesForCodecCombinations()
289 maxMacroBlockRates[loopCount] = (int) pp.getMaxMacroBlockRate(); in checkAndGetMaxSupportedInstancesForCodecCombinations()
290 maxFrameRates[loopCount] = pp.getMaxFrameRate(); in checkAndGetMaxSupportedInstancesForCodecCombinations()
293 if (height > 1080 && pp.covers(PPRes1080p)) { in checkAndGetMaxSupportedInstancesForCodecCombinations()
295 if (pp.getMaxMacroBlockRate() > maxMacroBlockRates1080p[loopCount]) { in checkAndGetMaxSupportedInstancesForCodecCombinations()
296 maxMacroBlockRates1080p[loopCount] = (int) pp.getMaxMacroBlockRate(); in checkAndGetMaxSupportedInstancesForCodecCombinations()
297 maxFrameRates1080p[loopCount] = pp.getMaxFrameRate(); in checkAndGetMaxSupportedInstancesForCodecCombinations()
DVideoCodecRequirementsTest.java117 for (PerformancePoint pp : pps) { in get4k60HwCodecSet()
118 if (pp.covers(PP4k60)) { in get4k60HwCodecSet()
241 for (PerformancePoint pp : pps) { in testAV1EncoderRequirements()
242 if (pp.covers(PPRes)) { in testAV1EncoderRequirements()
243 fps = max(fps, pp.getMaxFrameRate()); in testAV1EncoderRequirements()
/cts/tests/media/src/android/mediav2/cts/
DVideoDecoderAvailabilityTest.java328 static Size estimateVideoSizeFromPerformancePoint(PerformancePoint pp) { in estimateVideoSizeFromPerformancePoint() argument
356 if (pp.covers(new PerformancePoint(size.getWidth(), size.getHeight(), in estimateVideoSizeFromPerformancePoint()
357 pp.getMaxFrameRate()))) { in estimateVideoSizeFromPerformancePoint()
369 String info = pp.toString(); in estimateVideoSizeFromPerformancePoint()
417 for (PerformancePoint pp : pps) { in getCodecTestFormatList()
418 Size videoSize = estimateVideoSizeFromPerformancePoint(pp); in getCodecTestFormatList()
419 int maxFrameRate = pp.getMaxFrameRate(); in getCodecTestFormatList()
684 for (PerformancePoint pp : pps) {
692 Size videoSize = estimateVideoSizeFromPerformancePoint(pp);
695 format.setInteger(MediaFormat.KEY_FRAME_RATE, pp.getMaxFrameRate());
[all …]
DVideoEncoderAvailabilityTest.java611 for (MediaCodecInfo.VideoCapabilities.PerformancePoint pp : pps) {
612 Size videoSize = estimateVideoSizeFromPerformancePoint(pp);
615 .setHeight(videoSize.getHeight()).setFrameRate(pp.getMaxFrameRate())
625 Assert.fail("For performance point " + pp + " and codec : " + mCodecName
DNativeAMediaCodecInfoTest.java416 MediaCodecInfo.VideoCapabilities.PerformancePoint pp = ppList.get(i); in testAMediaCodecInfoGetPerformancePointNative() local
417 if (pp.covers(format)) { in testAMediaCodecInfoGetPerformancePointNative()
420 if (pp.covers(point)) { in testAMediaCodecInfoGetPerformancePointNative()
423 if (pp.equals(point)) { in testAMediaCodecInfoGetPerformancePointNative()
/cts/tests/video/src/android/video/cts/
DVideoCodecClaimsPerformanceTestBase.java104 for (PerformancePoint pp : pps) { in deviceClaimsPerformanceSupported()
105 if (pp.covers(PPReq)) { in deviceClaimsPerformanceSupported()
DCodecPerformanceTestBase.java335 for (MediaCodecInfo.VideoCapabilities.PerformancePoint pp : pps) { in getMaxOperatingRate()
336 if (pp.covers(cpp)) { in getMaxOperatingRate()
337 maxOperatingRate = Math.max(Math.min(pp.getMaxFrameRate(), in getMaxOperatingRate()
338 (int) pp.getMaxMacroBlockRate() / macroblocks), maxOperatingRate); in getMaxOperatingRate()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCodecListTest.java846 for (VideoCapabilities.PerformancePoint pp : points) { in verifyPerformancePoints()
847 if (standardPoints.contains(pp)) { in verifyPerformancePoints()
855 + " for media type " + mediaType + " covers standard " + pp, in verifyPerformancePoints()
856 pp2 != pp && pp2.covers(pp)); in verifyPerformancePoints()
862 if (pp.covers(spp)) { in verifyPerformancePoints()
874 assertTrue(pp + " for " + info.getCanonicalName() + " for media type " in verifyPerformancePoints()
884 + " for media type " + mediaType + " covers " + pp, in verifyPerformancePoints()
885 pp2 != pp && pp2.covers(pp)); in verifyPerformancePoints()
/cts/tests/credentials/src/android/credentials/cts/
DCtsDevicePolicyTest.java129 PackagePolicy pp = in setCredentialManagerPolicy_policyIsSet() local
133 dpc(sDeviceState).devicePolicyManager().setCredentialManagerPolicy(pp); in setCredentialManagerPolicy_policyIsSet()
136 .isEqualTo(pp); in setCredentialManagerPolicy_policyIsSet()
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DUtils.java222 for (PerformancePoint pp : pps) { in meetsAvcCodecPreconditions()
223 if (pp.covers(pp1080p)) { in meetsAvcCodecPreconditions()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java652 for (PostProcessor pp : processors) {
653 decoder.setPostProcessor(pp);
654 assertSame(pp, decoder.getPostProcessor());
876 final PostProcessorWithSize pp = new PostProcessorWithSize();
877 pp.width = record.width / 2;
878 pp.height = record.height / 2;
883 decoder.setTargetSize(pp.width, pp.height);
884 decoder.setPostProcessor(pp);
886 assertEquals(pp.width, drawable.getIntrinsicWidth());
887 assertEquals(pp.height, drawable.getIntrinsicHeight());
/cts/tests/media/jni/
DNativeAMediaCodecInfoUnitTest.cpp137 bool validatePerformancePoint(const ACodecPerformancePoint* pp, const T* arg,
1066 const ACodecPerformancePoint* pp, const T* arg, in validatePerformancePoint() argument
1076 got = func(pp, nullptr); in validatePerformancePoint()
1082 got = func(pp, arg); in validatePerformancePoint()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java378 List<MediaCodecInfo.VideoCapabilities.PerformancePoint> pp = in canDecode() local
382 for (MediaCodecInfo.VideoCapabilities.PerformancePoint point : pp) { in canDecode()
/cts/tests/tests/security/res/raw/
Ddrm_uaf.dm55 �ӀWy�y�:�[5w��D~�XĆb�<6�{:����*��TmT�5q��h������pp<�-#�X���z�>+��iw��F��5�C�<r���>�/j�M…