Home
last modified time | relevance | path

Searched refs:getLength (Results 1 – 25 of 48) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DPathMeasureTest.java95 assertEquals(0f, mPathMeasure.getLength(), 0.0f); in testGetLength()
98 assertEquals(8.0f, mPathMeasure.getLength(), 0.0f); in testGetLength()
128 assertEquals(0f, mPathMeasure.getLength(), 0.0f); in testGetSegment()
131 assertEquals(8f, mPathMeasure.getLength(), 0.0f); in testGetSegment()
133 assertTrue(mPathMeasure.getSegment(0, mPathMeasure.getLength(), dst, true)); in testGetSegment()
134 assertFalse(mPathMeasure.getSegment(mPathMeasure.getLength(), 0, dst, true)); in testGetSegment()
/cts/tests/tests/transition/src/android/transition/cts/
DPathMotionTest.java33 float expectedLength = expectedMeasure.getLength(); in assertPathMatches()
34 assertEquals("Lengths differ", expectedLength, pathMeasure.getLength(), 0.01f); in assertPathMatches()
36 float minLength = Math.min(expectedLength, pathMeasure.getLength()); in assertPathMatches()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelper.java87 if (nodes != null && nodes.getLength() > 0) { in getPublicApis()
90 for (int i = 0; i < nodes.getLength(); ++i) { in getPublicApis()
137 if (nodeList != null && nodeList.getLength() > 0) { in getChildElementByName()
138 for (int i = 0; i < nodeList.getLength(); ++i) { in getChildElementByName()
150 if (nodes != null && nodes.getLength() > 0) { in getParamTypes()
151 int paramCount = nodes.getLength(); in getParamTypes()
/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMockMediaParserInputReader.java54 public long getLength() { in getLength() method in MockMediaParserInputReader
55 return mFakeExtractorInput.getLength(); in getLength()
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java198 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testExtractor()
200 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testExtractor()
297 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testExtractorFileDurationNative()
300 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testExtractorFileDurationNative()
405 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testDecoder()
407 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testDecoder()
409 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), wrapFd, in testDecoder()
412 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), wrapFd, in testDecoder()
611 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testVideoPlayback()
688 infd.getParcelFileDescriptor().getFd(), infd.getStartOffset(), infd.getLength(), in testMuxer()
[all …]
DMediaPlayerSurfaceStubActivity.java56 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in onCreate()
DMediaMuxerTest.java717 srcFd.getLength()); in cloneMediaUsingMuxer()
817 testFd.getStartOffset(), testFd.getLength()); in verifyAttributesMatch()
899 testFd.getStartOffset(), testFd.getLength()); in verifySamplesMatch()
964 srcFd.getLength()); in simulateVideoFramesDropIssuesAndMux()
1069 srcFd.getStartOffset(), srcFd.getLength()); in verifyAFewSamplesTimestamp()
1135 srcFd.getLength()); in cloneMediaWithSamplesDropAndStartOffsets()
1250 srcFd.getStartOffset(), srcFd.getLength()); in verifyTSWithSamplesDropAndStartOffset()
DMediaPlayerTestBase.java123 afd.getLength()); in loadResource()
147 afd.getLength(), MediaPlayer.MEDIA_MIMETYPE_TEXT_SUBRIP); in loadSubtitleSource()
DMediaPlayerTest.java164 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
184 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); in testVorbisCrash()
193 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testVorbisCrash()
331 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
459 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in runMidiTest()
634 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer()
864 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless()
875 mp2.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless()
DDecoderTestAacFormat.java119 testFd.getLength()); in decodeUpdateFormat()
DMediaRandomTest.java173 afd.getLength()); in loadSource()
DDecoderConformanceTest.java151 testFd.getLength()); in decodeTestVector()
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ulp/
DULP_PDU.java104 public ULP_PDU.lengthType getLength() { in getLength() method in ULP_PDU
175 return getLength() != null; in getComponents()
187 return getLength(); in getComponents()
210 + getLength().toIndentedString(indent); in getComponents()
/cts/tests/tests/security/src/android/security/cts/
DMediaMetadataRetrieverTest.java49 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
DStagefrightTest.java1314 mp.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testStagefright_cve_2018_9474()
2141 fd.getLength()); in doStagefrightTestMediaPlayer()
2206 fd.getLength()); in testStagefright_cve_2019_2129()
2280 fd.getLength()); in doStagefrightTestMediaCodec()
2305 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec()
2466 fd.getLength()); in doStagefrightTestMediaMetadataRetriever()
2491 … retriever.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaMetadataRetriever()
2614 byte[] frameInfo = new byte[(int) fd.getLength()]; in getFrameSizes()
2629 byte[] frameInfo = new byte[(int) fd.getLength()]; in getFrameInfo()
2691 fd.getLength()); in doStagefrightTestRawBlob()
[all …]
DMediaServerCrashTest.java99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesValidConfigTest.java117 for (int nodeIdx = 0; nodeIdx < changeNodes.getLength(); ++nodeIdx) { in getExpectedCompatConfig()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DFcpTemplate.java126 public int getLength() { in getLength() method in FcpTemplate.Tlv
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java183 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
/cts/tests/tests/util/src/android/util/cts/
DXmlEncodingTest.java262 mVec.add(atts.getLength() + STR_EMPTY); in startElement()
263 for (int i = 0; i < atts.getLength(); i++) { in startElement()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsSerializer.java141 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in serializeStreamConfigurationMap()
144 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap()
157 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap()
381 int arrayLen = Array.getLength(keyValue); in serializeArrayEntry()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDescriptionTest.java232 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java78 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in extractVideoFileInfo()
188 fileFd.getLength()); in decodeMp4ToYuv()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraMetadataGetter.java310 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in serializeStreamConfigurationMap()
313 for (int si = 0; si < Array.getLength(sizes); si++) { in serializeStreamConfigurationMap()
535 int arrayLen = Array.getLength(keyValue); in serializeArrayEntry()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java162 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeStreamConfigurationMap()
165 for (int si = 0; si < Array.getLength(sizes); si++) { in storeStreamConfigurationMap()
375 int arrayLen = Array.getLength(keyValue); in storeArrayEntry()

12