/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 95 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/ |
D | PathMotionTest.java | 33 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/ |
D | CurrentApiHelper.java | 91 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/ |
D | MockMediaParserInputReader.java | 54 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/ |
D | ULP_PDU.java | 104 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/ |
D | MediaMetadataRetrieverTest.java | 49 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
|
D | StagefrightTest.java | 1302 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 …]
|
D | MediaServerCrashTest.java | 99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | NativeDecoderTest.java | 174 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/ |
D | BaseBroadcastTest.java | 266 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/ |
D | MediaPlayerSurfaceStubActivity.java | 61 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in onCreate()
|
D | MediaPlayerRandomTest.java | 108 afd.getLength()); in loadSource()
|
D | MediaPlayerTest.java | 177 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/ |
D | FcpTemplate.java | 126 public int getLength() { in getLength() method in FcpTemplate.Tlv
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesValidConfigTest.java | 170 for (int nodeIdx = 0; nodeIdx < changeNodes.getLength(); ++nodeIdx) { in getExpectedCompatConfig()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | NativeDecoderTest.java | 118 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/ |
D | MediaMuxerTest.java | 732 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()
|
D | NativeMuxerTest.java | 180 infd.getLength(), in testMuxer() 188 infd.getStartOffset(), infd.getLength()); in testMuxer()
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | MediaDrmCodecBlockModelTest.java | 154 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in getMediaExtractorForMimeType()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 169 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/ |
D | XmlEncodingTest.java | 268 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/ |
D | VideoDecodingWrapper.java | 95 assetFd.getFileDescriptor(), assetFd.getStartOffset(), assetFd.getLength()); in VideoDecodingWrapper()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 193 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDescriptionTest.java | 235 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 141 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()
|