Home
last modified time | relevance | path

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

12345

/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkTest.java60 assertThat(chunk.getLength()).isEqualTo(CHUNK_A_LENGTH); in testReadFromProto_readsCorrectly()
77 assertThat(chunk.getLength()).isEqualTo(CHUNK_A_LENGTH); in testReadFromProto_whenFieldsWrittenInReversedOrder_readsCorrectly()
87 assertThat(chunk.getLength()).isEqualTo(0); in testReadFromProto_whenEmptyProto_returnsEmptyHash()
101 assertThat(chunk.getLength()).isEqualTo(0); in testReadFromProto_whenOnlyHashSet_returnsChunkWithOnlyHash()
115 assertThat(chunk.getLength()).isEqualTo(CHUNK_A_LENGTH); in testReadFromProto_whenOnlyLengthSet_returnsChunkWithOnlyLength()
DChunkListingMapTest.java110 assertThat(entryA.getLength()).isEqualTo(CHUNK_A_LENGTH); in testGetChunkEntry_returnsEntryWithCorrectLength()
111 assertThat(entryB.getLength()).isEqualTo(CHUNK_B_LENGTH); in testGetChunkEntry_returnsEntryWithCorrectLength()
112 assertThat(entryC.getLength()).isEqualTo(CHUNK_C_LENGTH); in testGetChunkEntry_returnsEntryWithCorrectLength()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/chunk/
DChunkListingMap.java52 entries.put(new ChunkHash(chunk.getHash()), new Entry(start, chunk.getLength())); in readFromProto()
53 start += chunk.getLength(); in readFromProto()
100 public int getLength() { in getLength() method in ChunkListingMap.Entry
DChunk.java47 public int getLength() { in getLength() method in Chunk
/frameworks/base/core/jni/android/graphics/
DUtils.cpp37 size_t AssetStreamAdaptor::getLength() const { in getLength() function in AssetStreamAdaptor
38 return fAsset->getLength(); in getLength()
126 const off64_t size = asset->getLength(); in CopyAssetToStream()
DPathMeasure.cpp81 static jfloat getLength(JNIEnv* env, jobject clazz, jlong pairHandle) { in getLength() function in android::SkPathMeasureGlue
83 return static_cast<jfloat>(SkScalarToFloat(pair->fMeasure.getLength())); in getLength()
149 {"native_getLength", "(J)F", (void*) SkPathMeasureGlue::getLength },
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/
DUsbDescriptorParser.java314 Log.w(TAG, "Unrecognized Interface l: " + descriptor.getLength() in getInterfaceDescriptorsForClass()
337 Log.w(TAG, "Unrecognized Audio Interface l: " + descriptor.getLength() in getACInterfaceDescriptors()
375 Log.w(TAG, "Undefined Audio Input terminal l: " + descriptor.getLength() in hasInput()
413 Log.w(TAG, "Undefined Audio Input terminal l: " + descriptor.getLength() in hasOutput()
443 Log.w(TAG, "Undefined Audio Input terminal l: " + descriptor.getLength() in hasMic()
469 Log.w(TAG, "Undefined Audio Output terminal l: " + descriptor.getLength() in hasSpeaker()
518 Log.w(TAG, "Undefined Audio Class Interface l: " + descriptor.getLength() in hasMIDIInterface()
589 Log.w(TAG, "Undefined Audio Output terminal l: " + descriptor.getLength() in getOutputHeadsetProbability()
DUsbDescriptor.java147 public int getLength() { in getLength() method in UsbDescriptor
262 + " Len: " + getLength(); in report()
278 + " Len: " + getLength(); in shortReport()
DUsbMSMidiOutputJack.java45 + " Length: " + getLength()); in report()
DUsbMSMidiInputJack.java45 + " Length: " + getLength()); in report()
DUsbMSMidiHeader.java45 + " Length: " + getLength()); in report()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
DEdgeLight.java55 mLength = sourceLight.getLength(); in EdgeLight()
70 public float getLength() { in getLength() method in EdgeLight
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DValueParser.java116 int length = ctlv.getLength(); in retrieveItem()
193 int numOfItems = ctlv.getLength() - 1; in retrieveItemsIconId()
224 int length = ctlv.getLength(); in retrieveTextAttribute()
284 int length = ctlv.getLength(); in retrieveAlphaId()
328 int textLen = ctlv.getLength(); in retrieveTextString()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DMoSerializerTest.java89 assertEquals(element.getChildNodes().getLength(), 1); in testShouldReturnValidElementForCreateNodeForUrn()
112 assertEquals(element.getChildNodes().getLength(), 1); in testShouldReturnValidElementForCreateNode()
131 assertEquals(element.getChildNodes().getLength(), 2); in testShouldReturnValidElementForCreateNodeForValue()
/frameworks/base/graphics/java/android/graphics/
DPathMeasure.java71 public float getLength() { in getLength() method in PathMeasure
126 float length = getLength(); in getSegment()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduComposer.java345 int len = start.getLength(); in appendEncodedString()
555 int flen = fstart.getLength(); in appendHeader()
638 int expiryLength = expiryStart.getLength(); in appendHeader()
908 int ctLength = ctStart.getLength(); in makeMessageBody()
970 int contentTypeLength = contentTypeBegin.getLength(); in makeMessageBody()
995 int headerLength = attachment.getLength(); in makeMessageBody()
1030 if (dataLength != (attachment.getLength() - headerLength)) { in makeMessageBody()
1060 int getLength() { in getLength() method in PduComposer.PositionMarker
/frameworks/base/libs/androidfw/include/androidfw/
DAsset.h95 virtual off64_t getLength(void) const = 0;
265 virtual off64_t getLength(void) const { return mLength; } in getLength() function
321 virtual off64_t getLength(void) const { return mUncompressedLen; } in getLength() function
/frameworks/base/core/java/android/content/
DDefaultDataHandler.java152 int attrLen = atts.getLength(); in startElement()
161 int attrLen = atts.getLength(); in startElement()
181 int attrLen = atts.getLength() - 2; in startElement()
/frameworks/base/core/java/android/accessibilityservice/
DGestureDescription.java259 if (mPathMeasure.getLength() == 0) { in StrokeDescription()
277 mTimeToLengthConversion = getLength() / duration; in StrokeDescription()
364 float getLength() { in getLength() method in GestureDescription.StrokeDescription
365 return mPathMeasure.getLength(); in getLength()
377 return mPathMeasure.getPosTan(getLength(), pos, null); in getPosForTime()
/frameworks/minikin/libs/minikin/
DLayout.cpp51 const uint32_t count = range.getLength(); in doLayout()
90 piece.getStart() - context.getStart(), piece.getLength(), in doLayoutRunCached()
91 context.getLength(), isRtl, paint, piece.getStart() - dstStart, in doLayoutRunCached()
/frameworks/base/core/java/android/content/res/
DAssetFileDescriptor.java135 public long getLength() { in getLength() method in AssetFileDescriptor
211 mRemaining = (int)fd.getLength(); in AutoCloseInputStream()
300 mRemaining = (int)fd.getLength(); in AutoCloseOutputStream()
/frameworks/base/obex/javax/obex/
DOperation.java164 long getLength(); in getLength() method
/frameworks/base/core/java/android/app/admin/
DFreezePeriod.java93 int getLength() { in getLength() method in FreezePeriod
269 if (current.getLength() > SystemUpdatePolicy.FREEZE_PERIOD_MAX_LENGTH) { in validatePeriods()
271 + "period " + current + " is too long: " + current.getLength() + " days"); in validatePeriods()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunking/
DByteRangeTest.java36 int length = byteRange.getLength(); in getLength_includesEnd()
/frameworks/base/native/android/
Dasset_manager.cpp177 return asset->mAsset->getLength(); in AAsset_getLength()
182 return asset->mAsset->getLength(); in AAsset_getLength64()

12345