/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathMeasureTest.java | 94 assertEquals(0f, mPathMeasure.getLength(), 0.0f); in testGetLength() 97 assertEquals(8.0f, mPathMeasure.getLength(), 0.0f); in testGetLength() 127 assertEquals(0f, mPathMeasure.getLength(), 0.0f); in testGetSegment() 130 assertEquals(8f, mPathMeasure.getLength(), 0.0f); in testGetSegment() 132 assertTrue(mPathMeasure.getSegment(0, mPathMeasure.getLength(), dst, true)); in testGetSegment() 133 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 | 87 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/media/src/android/media/cts/ |
D | NativeEncoderTest.java | 80 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), in testEncode() 116 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), in testEncodeDynamicSyncFrame() 152 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), in testEncodeDynamicBitrate() 188 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), in testEncodePersistentSurface()
|
D | NativeDecoderTest.java | 120 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testExtractor() 122 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testExtractor() 197 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testExtractorFileDurationNative() 200 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testExtractorFileDurationNative() 276 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in testDecoder() 278 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength(), wrapFd, in testDecoder() 479 fd.getParcelFileDescriptor().getFd(), fd.getStartOffset(), fd.getLength()); in testVideoPlayback() 548 infd.getParcelFileDescriptor().getFd(), infd.getStartOffset(), infd.getLength(), in testMuxer() 554 infd.getStartOffset(), infd.getLength()); in testMuxer() 664 fd.getStartOffset(), fd.getLength()); in testPssh() [all …]
|
D | MediaPlayerSurfaceStubActivity.java | 46 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in onCreate()
|
D | MediaMetadataRetrieverTest.java | 93 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd() 247 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testThumbnail() 391 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetFrameAt() 435 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetScaledFrameAtTime() 574 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetScaledFrameAtTime() 649 retriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetImage() 716 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGetImage()
|
D | MediaPlayer2TestBase.java | 164 .setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()) in createMediaPlayer2() 332 .setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()) in loadResource() 357 .setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()) in createDataSourceDesc() 369 afd.getLength(), MediaPlayer2.MEDIA_MIMETYPE_TEXT_SUBRIP); in loadSubtitleSource()
|
D | MediaPlayerTestBase.java | 112 afd.getLength()); in loadResource() 136 afd.getLength(), MediaPlayer.MEDIA_MIMETYPE_TEXT_SUBRIP); in loadSubtitleSource()
|
D | MediaMuxerTest.java | 269 srcFd.getLength()); in cloneMediaUsingMuxer() 390 testFd.getStartOffset(), testFd.getLength()); in verifyAttributesMatch() 436 testFd.getStartOffset(), testFd.getLength()); in verifySamplesMatch()
|
D | MediaRandomTest.java | 170 afd.getLength()); in loadSource()
|
D | DecoderConformanceTest.java | 138 … mExtractor.setDataSource(testFd.getFileDescriptor(), testFd.getStartOffset(), testFd.getLength()); in decodeTestVector()
|
D | MediaPlayerTest.java | 152 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied() 172 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); in testVorbisCrash() 181 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testVorbisCrash() 305 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 423 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testPlayMidi() 597 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer() 826 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless() 837 mp2.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testGapless()
|
D | AudioTrackSurroundTest.java | 161 long masterLength = masterFd.getLength(); in loadRawResourceBytes() 174 long masterLength = masterFd.getLength(); in loadRawResourceShorts()
|
/cts/tests/tests/location/src/android/location/cts/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 | 50 … mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in setDataSourceFd()
|
D | StagefrightTest.java | 1091 fd.getLength()); in doStagefrightTestMediaPlayer() 1141 fd.getLength()); in doStagefrightTestMediaCodec() 1166 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec() 1308 fd.getLength()); in doStagefrightTestMediaMetadataRetriever() 1333 … retriever.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaMetadataRetriever() 1400 byte[] frameInfo = new byte[(int) fd.getLength()]; in getFrameSizes() 1452 fd.getLength()); in doStagefrightTestRawBlob() 1473 byte [] blob = new byte[(int)fd.getLength()]; in doStagefrightTestRawBlob() 1567 fd.getLength()); in doStagefrightTestRawBlob() 1588 byte [] blob = new byte[(int)fd.getLength()]; in doStagefrightTestRawBlob() [all …]
|
D | MediaServerCrashTest.java | 103 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
|
/cts/tests/tests/net/src/android/net/rtp/cts/ |
D | AudioGroupTest.java | 81 assertEquals(packet.getLength(), length); in assertPacket()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 183 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDescriptionTest.java | 202 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | XmlEncodingTest.java | 262 mVec.add(atts.getLength() + STR_EMPTY); in startElement() 263 for (int i = 0; i < atts.getLength(); i++) { in startElement()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | CameraDeviceInfo.java | 143 for (int fi = 0; fi < Array.getLength(fmts); fi++) { in storeStreamConfigurationMap() 146 for (int si = 0; si < Array.getLength(sizes); si++) { in storeStreamConfigurationMap() 303 int arrayLen = Array.getLength(keyValue); in storeArrayEntry()
|
/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() 381 int arrayLen = Array.getLength(keyValue); in serializeArrayEntry()
|
/cts/tools/utils/ |
D | DescriptionGenerator.java | 355 for (int i = 0; i < nodelist.getLength(); i++) { in getUnmutableChildNodes() 407 for (int i = 0; i < children.getLength(); i++) { in getSuiteChildren()
|