/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++];
|
/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/services/audiopolicy/engineconfigurable/src/ |
H A D | Stream.cpp | 74 __FUNCTION__, getName().c_str(), category, i, points[i].mIndex, 111 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - 112 curve[Volume::VOLMIN].mIndex; 123 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds 125 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { 127 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { 129 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { 137 ((float)(volIdx - curve[segment].mIndex)) * 140 ((float)(curve[segment+1].mIndex - 141 curve[segment].mIndex)) ); [all...] |
/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/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
H A D | Cube.java | 53 mIndex = Arrays.copyOf(src.mIndex, src.mIndex.length);
92 mIndex = new int[]{
106 for (int i = 0; i < mIndex.length; i++) {
107 mIndex[i] *= 3;
|
/frameworks/av/media/libstagefright/ |
H A D | FrameRenderTracker.cpp | 70 if (renderInfo->mIndex >= 0) { 85 renderInfo->mIndex = index; 117 if (it->mIndex < 0) { 163 if (it->mIndex > index) { 164 --(it->mIndex); 179 (long long)it->mMediaTimeUs, it->mIndex, (long long)it->mRenderTimeNs); 180 } else if (it->mIndex < 0) { 186 it->mGraphicBuffer->handle, (long long)it->mMediaTimeUs, it->mIndex);
|
/frameworks/av/include/media/stagefright/ |
H A D | FrameRenderTracker.h | 40 // queue fence (read fence). mIndex is negative, and mRenderTimeNs is invalid. 41 // Key characteristics: mFence is not NULL and mIndex is negative. 43 // 2. dequeued frame: mFence is updated with the dequeue fence (write fence). mIndex is set. 44 // Key characteristics: mFence is not NULL and mIndex is non-negative. mRenderTime is still 58 ssize_t getIndex() const { return mIndex; } 64 mIndex(-1), 73 mIndex(-1), 81 ssize_t mIndex; // to be used by client member in struct:android::FrameRenderTracker::Info
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioGain.h | 35 int mIndex; member in class:android::AudioGain
|
/frameworks/av/services/audiopolicy/enginedefault/src/ |
H A D | Gains.cpp | 207 int nbSteps = 1 + curve[Volume::VOLMAX].mIndex - 208 curve[Volume::VOLMIN].mIndex; 214 if (volIdx < curve[Volume::VOLMIN].mIndex) { // out of bounds 216 } else if (volIdx < curve[Volume::VOLKNEE1].mIndex) { 218 } else if (volIdx < curve[Volume::VOLKNEE2].mIndex) { 220 } else if (volIdx <= curve[Volume::VOLMAX].mIndex) { 228 ((float)(volIdx - curve[segment].mIndex)) * 231 ((float)(curve[segment+1].mIndex - 232 curve[segment].mIndex)) ); 235 curve[segment].mIndex, volId [all...] |
/frameworks/base/location/java/android/location/ |
H A D | GpsStatus.java | 41 private int mIndex = 0; field in class:GpsStatus.SatelliteIterator 49 for (; mIndex < mSatellitesCount; ++mIndex) { 50 GpsSatellite satellite = mSatellites.valueAt(mIndex); 59 while (mIndex < mSatellitesCount) { 60 GpsSatellite satellite = mSatellites.valueAt(mIndex); 61 ++mIndex;
|