/frameworks/base/obex/javax/obex/ |
H A D | PrivateInputStream.java | 49 private int mIndex; field in class:PrivateInputStream 60 mIndex = 0; 76 return mData.length - mIndex; 92 while (mData.length == mIndex) { 97 return (mData[mIndex++] & 0xFF); 116 int currentDataLength = mData.length - mIndex; 122 System.arraycopy(mData, mIndex, b, offset1, currentDataLength); 123 mIndex += currentDataLength; 131 currentDataLength = mData.length - mIndex; 134 System.arraycopy(mData, mIndex, [all...] |
/frameworks/av/drm/common/ |
H A D | DrmInfo.cpp | 70 mDrmInfo(keyIterator.mDrmInfo), mIndex(keyIterator.mIndex) { 75 return (mIndex < mDrmInfo->mAttributes.size()); 79 const String8& key = mDrmInfo->mAttributes.keyAt(mIndex); 80 mIndex++; 86 mIndex = keyIterator.mIndex; 92 : mDrmInfo(iterator.mDrmInfo), mIndex(iterator.mIndex) { 98 mIndex [all...] |
H A D | DrmInfoRequest.cpp | 64 mIndex(keyIterator.mIndex) { 69 return (mIndex < mDrmInfoRequest->mRequestInformationMap.size()); 73 const String8& key = mDrmInfoRequest->mRequestInformationMap.keyAt(mIndex); 74 mIndex++; 81 mIndex = keyIterator.mIndex; 87 mDrmInfoRequest(iterator.mDrmInfoRequest), mIndex(iterator.mIndex) { 93 mIndex [all...] |
H A D | DrmConstraints.cpp | 62 return mIndex < mDrmConstraints->mConstraintMap.size(); 66 const String8& key = mDrmConstraints->mConstraintMap.keyAt(mIndex); 67 mIndex++; 77 mIndex(keyIterator.mIndex) { 83 mIndex = keyIterator.mIndex; 94 mIndex(iterator.mIndex) { 100 mIndex [all...] |
H A D | DrmMetadata.cpp | 65 return mIndex < mDrmMetadata->mMetadataMap.size(); 69 const String8& key = mDrmMetadata->mMetadataMap.keyAt(mIndex); 70 mIndex++; 80 mIndex(keyIterator.mIndex) { 87 mIndex = keyIterator.mIndex; 98 mIndex(iterator.mIndex) { 105 mIndex [all...] |
H A D | DrmSupportInfo.cpp | 116 mIndex(iterator.mIndex) { 123 mIndex = iterator.mIndex; 128 return mIndex < mDrmSupportInfo->mFileSuffixVector.size(); 132 String8& value = mDrmSupportInfo->mFileSuffixVector.editItemAt(mIndex); 133 mIndex++; 140 mIndex(iterator.mIndex) { 147 mIndex [all...] |
/frameworks/base/include/androidfw/ |
H A 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; 63 : mTypeVariant(tv), mIndex(index) {} 65 uint32_t mIndex; member in class:android::TypeVariant::iterator [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioGainConfig.java | 29 private final int mIndex; field in class:AudioGainConfig 37 mIndex = index; 50 return mIndex;
|
H A D | AudioGain.java | 60 private final int mIndex; field in class:AudioGain 75 mIndex = index; 157 return new AudioGainConfig(mIndex, this, mode, channelMask, values, rampDurationMs);
|
/frameworks/base/libs/androidfw/ |
H A D | TypeWrappers.cpp | 22 mIndex++; 23 if (mIndex > dtohl(mTypeVariant->data->entryCount)) { 24 mIndex = dtohl(mTypeVariant->data->entryCount); 32 if (mIndex >= entryCount) { 45 const uint32_t entryOffset = dtohl(entryIndices[mIndex]); 51 ALOGE("Index %u points to entry with unaligned offset 0x%08x", mIndex, entryOffset); 58 ALOGE("Entry offset at index %u points outside the Type's boundaries", mIndex); 61 ALOGE("Entry at index %u extends beyond Type's boundaries", mIndex); 64 ALOGE("Entry at index %u is too small (%u)", mIndex, dtohs(entry->size));
|
/frameworks/base/core/java/android/util/ |
H A D | FastImmutableArraySet.java | 45 it.mIndex = 0; 57 int mIndex; field in class:FastImmutableArraySet.FastIterator 65 return mIndex != mContents.length; 70 return mContents[mIndex++];
|
H A D | MapCollections.java | 40 int mIndex; field in class:MapCollections.ArrayIterator 50 return mIndex < mSize; 55 Object res = colGetEntry(mIndex, mOffset); 56 mIndex++; 66 mIndex--; 69 colRemoveAt(mIndex); 75 int mIndex; field in class:MapCollections.MapIterator 80 mIndex = -1; 85 return mIndex < mEnd; 90 mIndex [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | ContentValuesVerifier.java | 29 private int mIndex; field in class:ContentValuesVerifier 46 AndroidTestCase.assertTrue(mIndex < mContentValuesVerifierElemList.size()); 47 mContentValuesVerifierElemList.get(mIndex).onEntryCreated(entry); 48 mIndex++;
|
H A D | PropertyNodesVerifier.java | 32 private int mIndex; field in class:PropertyNodesVerifier 79 AndroidTestCase.assertTrue(mIndex < mPropertyNodesVerifierElemList.size()); 84 mPropertyNodesVerifierElemList.get(mIndex).verify(getCurrentVNode()); 86 mIndex++;
|
/frameworks/av/include/drm/ |
H A D | DrmInfo.h | 59 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} 72 unsigned int mIndex; member in class:android::DrmInfo::KeyIterator 83 : mDrmInfo(const_cast <DrmInfo*> (drmInfo)), mIndex(0) {} 96 unsigned int mIndex; member in class:android::DrmInfo::Iterator
|
H A D | DrmInfoRequest.h | 73 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {} 86 unsigned int mIndex; member in class:android::DrmInfoRequest::KeyIterator 97 : mDrmInfoRequest(const_cast <DrmInfoRequest*> (drmInfoRequest)), mIndex(0) {} 110 unsigned int mIndex; member in class:android::DrmInfoRequest::Iterator
|
H A D | DrmMetadata.h | 38 KeyIterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {} 51 unsigned int mIndex; member in class:android::DrmMetadata::KeyIterator 60 Iterator(DrmMetadata* drmMetadata) : mDrmMetadata(drmMetadata), mIndex(0) {} 73 unsigned int mIndex; member in class:android::DrmMetadata::Iterator
|
H A D | DrmSupportInfo.h | 41 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} 53 unsigned int mIndex; member in class:android::DrmSupportInfo::MimeTypeIterator 64 : mDrmSupportInfo(drmSupportInfo), mIndex(0) {} 76 unsigned int mIndex; member in class:android::DrmSupportInfo::FileSuffixIterator
|
H A D | DrmConstraints.h | 74 : mDrmConstraints(drmConstraints), mIndex(0) {} 87 unsigned int mIndex; member in class:android::DrmConstraints::KeyIterator 97 : mDrmConstraints(drmConstraints), mIndex(0) {} 110 unsigned int mIndex; member in class:android::DrmConstraints::Iterator
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | MapCollections.java | 38 int mIndex; field in class:MapCollections.ArrayIterator 48 return mIndex < mSize; 53 Object res = colGetEntry(mIndex, mOffset); 54 mIndex++; 64 mIndex--; 67 colRemoveAt(mIndex); 73 int mIndex; field in class:MapCollections.MapIterator 78 mIndex = -1; 83 return mIndex < mEnd; 88 mIndex [all...] |
/frameworks/base/location/java/android/location/ |
H A D | GpsStatus.java | 37 int mIndex = 0; field in class:GpsStatus.SatelliteIterator 44 for (int i = mIndex; i < mSatellites.length; i++) { 53 while (mIndex < mSatellites.length) { 54 GpsSatellite satellite = mSatellites[mIndex++];
|
/frameworks/base/core/java/android/hardware/ |
H A D | LegacySensorManager.java | 375 private int mIndex; field in class:LegacySensorManager.LmsFilter 378 mIndex = COUNT; 384 float v1 = mV[mIndex]; 394 mIndex++; 395 if (mIndex >= COUNT*2) 396 mIndex = COUNT; 397 mV[mIndex] = v; 398 mT[mIndex] = time; 399 mV[mIndex-COUNT] = v; 400 mT[mIndex [all...] |
/frameworks/base/core/java/android/app/usage/ |
H A D | UsageEvents.java | 146 private int mIndex = 0; field in class:UsageEvents 160 mIndex = in.readInt(); 199 return mIndex < mEventCount; 211 if (mIndex >= mEventCount) { 217 mIndex++; 218 if (mIndex >= mEventCount) { 232 mIndex = 0; 309 dest.writeInt(mIndex);
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedTextSRTSource.cpp | 38 mIndex(0) { 57 mIndex = 0; 246 mIndex = mid; 250 if (mIndex >= mTextVector.size()) { 254 const TextInfo &info = mTextVector.valueAt(mIndex); 255 *startTimeUs = mTextVector.keyAt(mIndex); 257 mIndex++;
|
/frameworks/native/libs/binder/ |
H A D | BufferedTextOutput.cpp | 143 , mIndex(allocBufferIndex()) 152 freeBufferIndex(mIndex); 266 while (ts->states.size() <= (size_t)mIndex) ts->states.add(NULL); 267 BufferState* bs = ts->states[mIndex].get(); 270 ts->states.editItemAt(mIndex) = new BufferState(mIndex); 271 bs = ts->states[mIndex].get();
|