/frameworks/base/obex/javax/obex/ |
D | PrivateInputStream.java | 49 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/ |
D | DrmInfoRequest.cpp | 64 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()
|
D | DrmInfo.cpp | 70 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()
|
D | DrmMetadata.cpp | 65 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()
|
D | DrmConstraints.cpp | 62 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()
|
D | DrmSupportInfo.cpp | 116 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/include/androidfw/ |
D | TypeWrappers.h | 32 mIndex = rhs.mIndex; 36 return mTypeVariant == rhs.mTypeVariant && mIndex == rhs.mIndex; 40 return mTypeVariant != rhs.mTypeVariant || mIndex != rhs.mIndex; 44 uint32_t prevIndex = mIndex; 54 return mIndex; in index() 63 : mTypeVariant(tv), mIndex(index) {} in iterator() 65 uint32_t mIndex; member
|
/frameworks/base/libs/androidfw/ |
D | TypeWrappers.cpp | 22 mIndex++; in operator ++() 23 if (mIndex > dtohl(mTypeVariant->data->entryCount)) { in operator ++() 24 mIndex = dtohl(mTypeVariant->data->entryCount); in operator ++() 32 if (mIndex >= entryCount) { in operator *() 45 const uint32_t entryOffset = dtohl(entryIndices[mIndex]); in operator *() 51 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset); in operator *() 58 ALOGE("Entry offset at index %u points outside the Type's boundaries", mIndex); in operator *() 61 ALOGE("Entry at index %u extends beyond Type's boundaries", mIndex); in operator *() 64 ALOGE("Entry at index %u is too small (%u)", mIndex, dtohs(entry->size)); in operator *()
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | MapCollections.java | 38 int mIndex; field in MapCollections.ArrayIterator 48 return mIndex < mSize; in hasNext() 53 Object res = colGetEntry(mIndex, mOffset); in next() 54 mIndex++; in next() 64 mIndex--; in remove() 67 colRemoveAt(mIndex); in remove() 73 int mIndex; field in MapCollections.MapIterator 78 mIndex = -1; in MapIterator() 83 return mIndex < mEnd; in hasNext() 88 mIndex++; in next() [all …]
|
/frameworks/base/core/java/android/util/ |
D | MapCollections.java | 40 int mIndex; field in MapCollections.ArrayIterator 50 return mIndex < mSize; in hasNext() 55 Object res = colGetEntry(mIndex, mOffset); in next() 56 mIndex++; in next() 66 mIndex--; in remove() 69 colRemoveAt(mIndex); in remove() 75 int mIndex; field in MapCollections.MapIterator 80 mIndex = -1; in MapIterator() 85 return mIndex < mEnd; in hasNext() 90 mIndex++; in next() [all …]
|
D | FastImmutableArraySet.java | 45 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/base/core/java/android/app/usage/ |
D | UsageEvents.java | 146 private int mIndex = 0; field in UsageEvents 160 mIndex = in.readInt(); in UsageEvents() 199 return mIndex < mEventCount; in hasNextEvent() 211 if (mIndex >= mEventCount) { in getNextEvent() 217 mIndex++; in getNextEvent() 218 if (mIndex >= mEventCount) { in getNextEvent() 232 mIndex = 0; in resetToStart() 309 dest.writeInt(mIndex); in writeToParcel()
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | ContentValuesVerifier.java | 29 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()
|
D | PropertyNodesVerifier.java | 32 private int mIndex; field in PropertyNodesVerifier 79 AndroidTestCase.assertTrue(mIndex < mPropertyNodesVerifierElemList.size()); in onEntryStarted() 84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode()); 86 mIndex++;
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 375 private int mIndex; field in LegacySensorManager.LmsFilter 378 mIndex = COUNT; in LmsFilter() 384 float v1 = mV[mIndex]; in filter() 394 mIndex++; in filter() 395 if (mIndex >= COUNT*2) in filter() 396 mIndex = COUNT; in filter() 397 mV[mIndex] = v; in filter() 398 mT[mIndex] = time; in filter() 399 mV[mIndex-COUNT] = v; in filter() 400 mT[mIndex-COUNT] = time; in filter() [all …]
|
/frameworks/av/include/drm/ |
D | DrmInfoRequest.h | 73 : 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
|
D | DrmInfo.h | 59 : 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
|
D | DrmSupportInfo.h | 41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} in MimeTypeIterator() 53 unsigned int mIndex; variable 64 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} in FileSuffixIterator() 76 unsigned int mIndex; variable
|
D | DrmMetadata.h | 38 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
|
D | DrmConstraints.h | 74 : mDrmConstraints(drmConstraints), mIndex(0) {} in KeyIterator() 87 unsigned int mIndex; variable 97 : mDrmConstraints(drmConstraints), mIndex(0) {} in Iterator() 110 unsigned int mIndex; variable
|
/frameworks/base/media/java/android/media/ |
D | AudioGainConfig.java | 29 private final int mIndex; field in AudioGainConfig 37 mIndex = index; in AudioGainConfig() 50 return mIndex; in index()
|
D | AudioGain.java | 60 private final int mIndex; field in AudioGain 75 mIndex = index; in AudioGain() 157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs); in buildConfig()
|
/frameworks/native/libs/binder/ |
D | BufferedTextOutput.cpp | 143 , 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/av/media/libstagefright/timedtext/ |
D | TimedTextSRTSource.cpp | 38 mIndex(0) { in TimedTextSRTSource() 57 mIndex = 0; in reset() 246 mIndex = mid; in getText() 250 if (mIndex >= mTextVector.size()) { in getText() 254 const TextInfo &info = mTextVector.valueAt(mIndex); in getText() 255 *startTimeUs = mTextVector.keyAt(mIndex); in getText() 257 mIndex++; in getText()
|
/frameworks/native/libs/input/ |
D | VelocityTracker.cpp | 367 mIndex = 0; in clear() 372 BitSet32 remainingIdBits(mMovements[mIndex].idBits.value & ~idBits.value); in clearPointers() 373 mMovements[mIndex].idBits = remainingIdBits; in clearPointers() 378 if (++mIndex == HISTORY_SIZE) { in addMovement() 379 mIndex = 0; in addMovement() 382 Movement& movement = mMovements[mIndex]; in addMovement() 567 uint32_t index = mIndex; in getEstimator() 568 const Movement& newestMovement = mMovements[mIndex]; in getEstimator() 632 if (index == mIndex) { in chooseWeight() 653 float ageMillis = (mMovements[mIndex].eventTime - mMovements[index].eventTime) in chooseWeight() [all …]
|