Home
last modified time | relevance | path

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

123

/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.java91 if (nodes != null && nodes.getLength() > 0) { in getPublicApis()
94 for (int i = 0; i < nodes.getLength(); ++i) { in getPublicApis()
142 if (nodeList != null && nodeList.getLength() > 0) { in getChildElementByName()
143 for (int i = 0; i < nodeList.getLength(); ++i) { in getChildElementByName()
155 if (nodes != null && nodes.getLength() > 0) { in getParamTypes()
156 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/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.java1302 mp.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testStagefright_cve_2018_9474()
2219 fd.getLength()); in doStagefrightTestMediaPlayer()
2284 fd.getLength()); in testStagefright_cve_2019_2129()
2358 fd.getLength()); in doStagefrightTestMediaCodec()
2383 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec()
2560 fd.getLength()); in doStagefrightTestMediaMetadataRetriever()
2585 … retriever.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaMetadataRetriever()
2715 byte[] frameInfo = new byte[(int) fd.getLength()]; in getFrameSizes()
2730 byte[] frameInfo = new byte[(int) fd.getLength()]; in getFrameInfo()
2805 fd.getLength()); in doStagefrightTestRawBlob()
[all …]
DMediaServerCrashTest.java99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DNativeDecoderTest.java174 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testDecoder()
176 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testDecoder()
178 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), wrapFd, in testDecoder()
181 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), wrapFd, in testDecoder()
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBaseBroadcastTest.java266 if (Array.getLength(actualValue) != Array.getLength(expectedValue)) { in compareExtras()
269 for (int i = 0; i < Array.getLength(expectedValue); ++i) { in compareExtras()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerSurfaceStubActivity.java61 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in onCreate()
DMediaPlayerRandomTest.java108 afd.getLength()); in loadSource()
DMediaPlayerTest.java177 afd.getLength(), MediaPlayer.MEDIA_MIMETYPE_TEXT_SUBRIP); in loadSubtitleSource()
190 afd.getLength()); in loadResource()
230 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
251 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); in testVorbisCrash()
260 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testVorbisCrash()
438 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
579 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in runMidiTest()
769 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer()
995 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless()
1006 mp2.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DFcpTemplate.java126 public int getLength() { in getLength() method in FcpTemplate.Tlv
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/
DCompatChangesValidConfigTest.java170 for (int nodeIdx = 0; nodeIdx < changeNodes.getLength(); ++nodeIdx) { in getExpectedCompatConfig()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DNativeDecoderTest.java118 fd.getStartOffset(), fd.getLength()); in testPssh()
123 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testPssh()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java732 srcFd.getLength()); in cloneMediaUsingMuxer()
857 testFd.getStartOffset(), testFd.getLength()); in verifyAttributesMatch()
939 testFd.getStartOffset(), testFd.getLength()); in verifySamplesMatch()
1004 srcFd.getLength()); in simulateVideoFramesDropIssuesAndMux()
1109 srcFd.getStartOffset(), srcFd.getLength()); in verifyAFewSamplesTimestamp()
1175 srcFd.getLength()); in cloneMediaWithSamplesDropAndStartOffsets()
1290 srcFd.getStartOffset(), srcFd.getLength()); in verifyTSWithSamplesDropAndStartOffset()
DNativeMuxerTest.java180 infd.getLength(), in testMuxer()
188 infd.getStartOffset(), infd.getLength()); in testMuxer()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecBlockModelTest.java154 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in getMediaExtractorForMimeType()
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/
DCameraDeviceInfo.java169 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeStreamConfigurationMap()
172 for (int si = 0; si < Array.getLength(sizes); si++) { in storeStreamConfigurationMap()
366 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeMultiResStreamConfigurationMap()
384 for (int fi = 0; fi < Array.getLength(inputFmts); fi++) { in storeMultiResStreamConfigurationMap()
501 int arrayLen = Array.getLength(keyValue); in storeArrayEntry()
/cts/tests/tests/util/src/android/util/cts/
DXmlEncodingTest.java268 mVec.add(atts.getLength() + STR_EMPTY); in startElement()
269 for (int i = 0; i < atts.getLength(); i++) { in startElement()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DVideoDecodingWrapper.java95 assetFd.getFileDescriptor(), assetFd.getStartOffset(), assetFd.getLength()); in VideoDecodingWrapper()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptorTest.java193 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DGestureDescriptionTest.java235 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
/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()
410 int arrayLen = Array.getLength(keyValue); in serializeArrayEntry()

123