Home
last modified time | relevance | path

Searched refs:mIndex (Results 1 – 25 of 49) sorted by relevance

12

/frameworks/base/obex/javax/obex/
DPrivateInputStream.java49 private int mIndex; field in PrivateInputStream
60 mIndex = 0; in PrivateInputStream()
76 return mData.length - mIndex; in available()
92 while (mData.length == mIndex) { in read()
97 return (mData[mIndex++] & 0xFF); in read()
116 int currentDataLength = mData.length - mIndex; in read()
122 System.arraycopy(mData, mIndex, b, offset1, currentDataLength); in read()
123 mIndex += currentDataLength; in read()
131 currentDataLength = mData.length - mIndex; in read()
134 System.arraycopy(mData, mIndex, b, offset1, remainReadLength); in read()
[all …]
/frameworks/av/drm/common/
DDrmInfoRequest.cpp64 mIndex(keyIterator.mIndex) { in KeyIterator()
69 return (mIndex < mDrmInfoRequest->mRequestInformationMap.size()); in hasNext()
73 const String8& key = mDrmInfoRequest->mRequestInformationMap.keyAt(mIndex); in next()
74 mIndex++; in next()
81 mIndex = keyIterator.mIndex; in operator =()
87 mDrmInfoRequest(iterator.mDrmInfoRequest), mIndex(iterator.mIndex) { in Iterator()
93 mIndex = iterator.mIndex; in operator =()
98 return mIndex < mDrmInfoRequest->mRequestInformationMap.size(); in hasNext()
102 String8& value = mDrmInfoRequest->mRequestInformationMap.editValueAt(mIndex); in next()
103 mIndex++; in next()
DDrmMetadata.cpp65 return mIndex < mDrmMetadata->mMetadataMap.size(); in hasNext()
69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex); in next()
70 mIndex++; in next()
80 mIndex(keyIterator.mIndex) { in KeyIterator()
87 mIndex = keyIterator.mIndex; in operator =()
98 mIndex(iterator.mIndex) { in Iterator()
105 mIndex = iterator.mIndex; in operator =()
110 return mIndex < mDrmMetadata->mMetadataMap.size(); in hasNext()
114 String8 value = String8(mDrmMetadata->mMetadataMap.editValueAt(mIndex)); in next()
115 mIndex++; in next()
DDrmInfo.cpp70 mDrmInfo(keyIterator.mDrmInfo), mIndex(keyIterator.mIndex) { in KeyIterator()
75 return (mIndex < mDrmInfo->mAttributes.size()); in hasNext()
79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex); in next()
80 mIndex++; in next()
86 mIndex = keyIterator.mIndex; in operator =()
92 : mDrmInfo(iterator.mDrmInfo), mIndex(iterator.mIndex) { in Iterator()
98 mIndex = iterator.mIndex; in operator =()
103 return mIndex < mDrmInfo->mAttributes.size(); in hasNext()
107 String8& value = mDrmInfo->mAttributes.editValueAt(mIndex); in next()
108 mIndex++; in next()
DDrmConstraints.cpp62 return mIndex < mDrmConstraints->mConstraintMap.size(); in hasNext()
66 const String8& key = mDrmConstraints->mConstraintMap.keyAt(mIndex); in next()
67 mIndex++; in next()
77 mIndex(keyIterator.mIndex) { in KeyIterator()
83 mIndex = keyIterator.mIndex; in operator =()
94 mIndex(iterator.mIndex) { in Iterator()
100 mIndex = iterator.mIndex; in operator =()
105 return mIndex < mDrmConstraints->mConstraintMap.size(); in hasNext()
109 String8 value = String8(mDrmConstraints->mConstraintMap.editValueAt(mIndex)); in next()
110 mIndex++; in next()
DDrmSupportInfo.cpp116 mIndex(iterator.mIndex) { in FileSuffixIterator()
123 mIndex = iterator.mIndex; in operator =()
128 return mIndex < mDrmSupportInfo->mFileSuffixVector.size(); in hasNext()
132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); in next()
133 mIndex++; in next()
140 mIndex(iterator.mIndex) { in MimeTypeIterator()
147 mIndex = iterator.mIndex; in operator =()
152 return mIndex < mDrmSupportInfo->mMimeTypeVector.size(); in hasNext()
156 String8& value = mDrmSupportInfo->mMimeTypeVector.editItemAt(mIndex); in next()
157 mIndex++; in next()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java20 private int mIndex; field in MediaCodecInfo
23 mIndex = index; in MediaCodecInfo()
30 return MediaCodecList.getCodecName(mIndex); in getName()
37 return MediaCodecList.isEncoder(mIndex); in isEncoder()
44 return MediaCodecList.getSupportedTypes(mIndex); in getSupportedTypes()
211 return MediaCodecList.getCodecCapabilities(mIndex, type); in getCapabilitiesForType()
/frameworks/base/core/java/android/util/
DFastImmutableArraySet.java45 it.mIndex = 0; in iterator()
57 int mIndex; field in FastImmutableArraySet.FastIterator
65 return mIndex != mContents.length; in hasNext()
70 return mContents[mIndex++]; in next()
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DContentValuesVerifier.java29 private int mIndex; field in ContentValuesVerifier
46 AndroidTestCase.assertTrue(mIndex < mContentValuesVerifierElemList.size()); in onEntryCreated()
47 mContentValuesVerifierElemList.get(mIndex).onEntryCreated(entry); in onEntryCreated()
48 mIndex++; in onEntryCreated()
DPropertyNodesVerifier.java32 private int mIndex; field in PropertyNodesVerifier
79 AndroidTestCase.assertTrue(mIndex < mPropertyNodesVerifierElemList.size()); in onEntryStarted()
84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode());
86 mIndex++;
/frameworks/av/media/libstagefright/timedtext/
DTimedTextSRTSource.cpp38 mIndex(0) { in TimedTextSRTSource()
58 mIndex = 0; in reset()
228 mIndex = 0; in getText()
256 mIndex = mid; in getText()
260 if (mIndex >= mTextVector.size()) { in getText()
263 const TextInfo &info = mTextVector.valueAt(mIndex); in getText()
264 *startTimeUs = mTextVector.keyAt(mIndex); in getText()
266 mIndex++; in getText()
/frameworks/support/v4/java/android/support/v4/app/
DFragment.java50 final int mIndex; field in FragmentState
65 mIndex = frag.mIndex; in FragmentState()
77 mIndex = in.readInt(); in FragmentState()
103 mInstance.setIndex(mIndex); in instantiate()
125 dest.writeInt(mIndex); in writeToParcel()
182 int mIndex = -1; field in Fragment
417 mIndex = index; in setIndex()
418 mWho = "android:fragment:" + mIndex; in setIndex()
443 if (mIndex >= 0) { in toString()
445 sb.append(mIndex); in toString()
[all …]
DBackStackRecord.java33 final int mIndex; field in BackStackState
56 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; in BackStackState()
65 mOps[pos++] = op.removed.get(i).mIndex; in BackStackState()
75 mIndex = bse.mIndex; in BackStackState()
87 mIndex = in.readInt(); in BackStackState()
128 bse.mIndex = mIndex; in instantiate()
147 dest.writeInt(mIndex); in writeToParcel()
209 int mIndex; field in BackStackRecord
218 writer.print(" mIndex="); writer.print(mIndex); in dump()
296 return mIndex; in getId()
[all …]
/frameworks/base/core/java/android/app/
DFragment.java50 final int mIndex; field in FragmentState
65 mIndex = frag.mIndex; in FragmentState()
77 mIndex = in.readInt(); in FragmentState()
103 mInstance.setIndex(mIndex); in instantiate()
124 dest.writeInt(mIndex); in writeToParcel()
370 int mIndex = -1; field in Fragment
606 mIndex = index; in setIndex()
607 mWho = "android:fragment:" + mIndex; in setIndex()
632 if (mIndex >= 0) { in toString()
634 sb.append(mIndex); in toString()
[all …]
DBackStackRecord.java33 final int mIndex; field in BackStackState
56 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; in BackStackState()
65 mOps[pos++] = op.removed.get(i).mIndex; in BackStackState()
75 mIndex = bse.mIndex; in BackStackState()
87 mIndex = in.readInt(); in BackStackState()
128 bse.mIndex = mIndex; in instantiate()
147 dest.writeInt(mIndex); in writeToParcel()
209 int mIndex; field in BackStackRecord
218 writer.print(" mIndex="); writer.print(mIndex); in dump()
296 return mIndex; in getId()
[all …]
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java375 private int mIndex; field in LegacySensorManager.LmsFilter
378 mIndex = COUNT; in LmsFilter()
385 float v1 = mV[mIndex]; in filter()
395 mIndex++; in filter()
396 if (mIndex >= COUNT*2) in filter()
397 mIndex = COUNT; in filter()
398 mV[mIndex] = v; in filter()
399 mT[mIndex] = t; in filter()
400 mV[mIndex-COUNT] = v; in filter()
401 mT[mIndex-COUNT] = t; in filter()
[all …]
/frameworks/av/include/drm/
DDrmInfo.h59 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} in KeyIterator()
72 unsigned int mIndex; variable
83 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} in Iterator()
96 unsigned int mIndex; variable
DDrmInfoRequest.h73 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {} in KeyIterator()
86 unsigned int mIndex; variable
97 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {} in Iterator()
110 unsigned int mIndex; variable
DDrmSupportInfo.h41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} in MimeTypeIterator()
53 unsigned int mIndex; variable
64 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} in FileSuffixIterator()
76 unsigned int mIndex; variable
DDrmMetadata.h38 KeyIterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {} in KeyIterator()
51 unsigned int mIndex; variable
60 Iterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {} in Iterator()
73 unsigned int mIndex; variable
DDrmConstraints.h74 : mDrmConstraints(drmConstraints), mIndex(0) {} in KeyIterator()
87 unsigned int mIndex; variable
97 : mDrmConstraints(drmConstraints), mIndex(0) {} in Iterator()
110 unsigned int mIndex; variable
/frameworks/native/libs/utils/
DBufferedTextOutput.cpp143 , mIndex(allocBufferIndex()) in BufferedTextOutput()
152 freeBufferIndex(mIndex); in ~BufferedTextOutput()
266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL); in getBuffer()
267 BufferState* bs = ts->states[mIndex].get(); in getBuffer()
270 ts->states.editItemAt(mIndex) = new BufferState(mIndex); in getBuffer()
271 bs = ts->states[mIndex].get(); in getBuffer()
/frameworks/base/libs/androidfw/
DVelocityTracker.cpp368 mIndex = 0; in clear()
373 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers()
374 mMovements[mIndex].idBits = remainingIdBits; in clearPointers()
379 if (++mIndex == HISTORY_SIZE) { in addMovement()
380 mIndex = 0; in addMovement()
383 Movement& movement = mMovements[mIndex]; in addMovement()
568 uint32_t index = mIndex; in getEstimator()
569 const Movement& newestMovement = mMovements[mIndex]; in getEstimator()
633 if (index == mIndex) { in chooseWeight()
654 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight()
[all …]
/frameworks/base/location/java/android/location/
DGpsStatus.java37 int mIndex = 0; field in GpsStatus.SatelliteIterator
44 for (int i = mIndex; i < mSatellites.length; i++) { in hasNext()
53 while (mIndex < mSatellites.length) { in next()
54 GpsSatellite satellite = mSatellites[mIndex++]; in next()
/frameworks/native/libs/ui/
DGraphicBuffer.cpp39 mInitCheck(NO_ERROR), mIndex(-1) in GraphicBuffer()
52 mInitCheck(NO_ERROR), mIndex(-1) in GraphicBuffer()
68 mInitCheck(NO_ERROR), mIndex(-1) in GraphicBuffer()
81 mInitCheck(NO_ERROR), mIndex(-1), mWrappedBuffer(buffer) in GraphicBuffer()
269 mIndex = index; in setIndex()
273 return mIndex; in getIndex()

12