/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 | 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/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/tests/media/src/android/media/cts/ |
D | NativeDecoderTest.java | 198 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 …]
|
D | MediaPlayerSurfaceStubActivity.java | 56 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in onCreate()
|
D | MediaMuxerTest.java | 717 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()
|
D | MediaPlayerTestBase.java | 123 afd.getLength()); in loadResource() 147 afd.getLength(), MediaPlayer.MEDIA_MIMETYPE_TEXT_SUBRIP); in loadSubtitleSource()
|
D | MediaPlayerTest.java | 164 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()
|
D | DecoderTestAacFormat.java | 119 testFd.getLength()); in decodeUpdateFormat()
|
D | MediaRandomTest.java | 173 afd.getLength()); in loadSource()
|
D | DecoderConformanceTest.java | 151 testFd.getLength()); in decodeTestVector()
|
/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 | 1314 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 …]
|
D | MediaServerCrashTest.java | 99 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in testIfMediaServerDied()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesValidConfigTest.java | 117 for (int nodeIdx = 0; nodeIdx < changeNodes.getLength(); ++nodeIdx) { in getExpectedCompatConfig()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | FcpTemplate.java | 126 public int getLength() { in getLength() method in FcpTemplate.Tlv
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptorTest.java | 183 assertEquals(LENGTH, mAssetFileDes.getLength()); in testMiscMethod()
|
/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/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/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | GestureDescriptionTest.java | 232 assertEquals(50, (int) measure.getLength()); in testStrokeDescriptionGetters_workAsExpected()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | MediaTranscodingTestUtil.java | 78 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/ |
D | CameraMetadataGetter.java | 310 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/ |
D | CameraDeviceInfo.java | 162 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()
|