/frameworks/av/media/libstagefright/foundation/ |
ABitReader.cpp | 24 : mData(data), 43 mReservoir = (mReservoir << 8) | *mData; 45 ++mData; 119 --mData; 132 return mData - (mNumBitsLeft + 7) / 8; 150 const uint8_t *data = mData; 181 bool isEmulationPreventionByte = (mNumZeros >= 2 && *mData == 3); 183 if (*mData == 0) { 191 mReservoir = (mReservoir << 8) | *mData; 195 ++mData; [all...] |
MediaBuffer.cpp | 39 mData(data), 51 mData(NULL), 60 mData = malloc(size); 68 mData = malloc(size); 69 if (mData == NULL) { 74 mData = (uint8_t *)mMemory->pointer() + sizeof(SharedControl); 75 ALOGV("Allocated shared mem buffer of size %zu @ %p", size, mData); 83 mData(NULL), 96 mData(buffer->data()), 146 return mData; [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/ |
PeopleOptionsItemView.java | 47 private final PeopleOptionsItemData mData; 52 mData = DataModel.get().createPeopleOptionsItemData(context); 63 mHostInterface.onOptionsItemViewClicked(mData, !mData.getChecked()); 71 mData.bind(cursor, otherParticipant, columnIndex); 74 mTitle.setText(mData.getTitle()); 75 final String subtitle = mData.getSubtitle(); 83 if (mData.getCheckable()) { 85 mSwitch.setChecked(mData.getChecked()); 90 final boolean enabled = mData.getEnabled() [all...] |
/hardware/ti/omap4-aah/libtiutils/ |
DebugUtils.cpp | 61 const int newSize = (mData.get() ? mData->threads.size() : 0) + size; 67 if ( mData.get() ) 68 newData->threads.insertVectorAt(mData->threads, 0); 75 mData = newData;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
DspBufferMath.java | 78 ((DspBufferDouble) x).mData[i] + ((DspBufferDouble) y).mData[i]; 93 ((DspBufferComplex) x).mReal[i] + ((DspBufferDouble) y).mData[i]; 102 ((DspBufferDouble) r).mData[i] = 103 ((DspBufferDouble) x).mData[i] + ((DspBufferDouble) y).mData[i]; 108 ((DspBufferDouble) r).mData[i] = 114 ((DspBufferDouble) r).mData[i] = 115 ((DspBufferComplex) x).mReal[i] + ((DspBufferDouble) y).mData[i]; 150 ((DspBufferDouble) x).mData[i] * ((DspBufferDouble) y).mData[i] [all...] |
/frameworks/av/media/ndk/ |
NdkMediaExtractor.cpp | 61 AMediaExtractor *mData = new AMediaExtractor(); 62 mData->mImpl = new NuMediaExtractor(); 63 return mData; 67 media_status_t AMediaExtractor_delete(AMediaExtractor *mData) { 69 delete mData; 74 media_status_t AMediaExtractor_setDataSourceFd(AMediaExtractor *mData, int fd, off64_t offset, 77 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); 81 media_status_t AMediaExtractor_setDataSource(AMediaExtractor *mData, const char *location) { 119 status_t err = mData->mImpl->setDataSource(httpService, location, NULL); 125 size_t AMediaExtractor_getTrackCount(AMediaExtractor *mData) { [all...] |
NdkMediaFormat.cpp | 47 AMediaFormat* mData = new AMediaFormat(); 48 mData->mFormat = *((sp<AMessage>*)data); 49 if (mData->mFormat == NULL) { 51 mData->mFormat = new AMessage; 53 return mData; 56 void AMediaFormat_getFormat(const AMediaFormat* mData, void* dest) { 57 *((sp<AMessage>*)dest) = mData->mFormat; 72 media_status_t AMediaFormat_delete(AMediaFormat *mData) { 74 delete mData; 80 const char* AMediaFormat_toString(AMediaFormat *mData) { [all...] |
/hardware/libhardware/modules/camera/ |
Metadata.cpp | 31 mData(NULL) 42 if (m == mData) { 46 if (mData) 47 free_camera_metadata(mData); 48 mData = m; 139 if (NULL == mData) { 143 entry_capacity = get_camera_metadata_entry_count(mData) + 1; 144 data_capacity = get_camera_metadata_data_count(mData) + size; 148 if (mData && !add_camera_metadata_entry(mData, tag, tag_data, count) [all...] |
/packages/apps/Camera2/src/com/android/camera/data/ |
VideoItem.java | 85 return mData.getDimensions().getWidth(); 94 return mData.getDimensions().getHeight(); 125 MediaStore.Video.VideoColumns._ID + "=" + mData.getContentId(), null); 135 TimeUnit.MILLISECONDS.toSeconds(mData.getVideoDurationMillis())); 143 return mVideoItemFactory.get(mData.getUri()); 172 videoClickedCallback.playVideo(mData.getUri(), mData.getTitle()); 178 mDateFormatter.format(mData.getLastModifiedDate()))); 195 mGlideManager.loadScreen(mData.getUri(), generateSignature(mData), mSuggestedSize [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
ConversationListItemView.java | 93 final String previewType = mData.getShowDraft() ? 94 mData.getDraftPreviewContentType() : mData.getPreviewContentType(); 98 final Uri previewUri = mData.getShowDraft() ? 99 mData.getDraftPreviewUri() : mData.getPreviewUri(); 101 final Uri imagesUri = mData.getShowDraft() ? 102 MessagingContentProvider.buildDraftImagesUri(mData.getConversationId()) : 104 .buildConversationImagesUri(mData.getConversationId()); 114 private final ConversationListItemData mData; [all...] |
ShareIntentAdapter.java | 74 private final ConversationListItemData mData = new ConversationListItemData(); 78 return mData.getIcon() == null ? null : Uri.parse(mData.getIcon()); 83 return mData.getName(); 88 final String conversationName = mData.getName(); 90 mData.getOtherParticipantNormalizedDestination()); 124 mData.bind(cursor); 130 mHostInterface.onConversationClicked(mData);
|
/frameworks/base/obex/javax/obex/ |
PrivateInputStream.java | 47 private byte[] mData; 59 mData = new byte[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); 131 currentDataLength = mData.length - mIndex; 134 System.arraycopy(mData, mIndex, b, offset1, remainReadLength); 149 int length = (body.length - start) + (mData.length - mIndex) [all...] |
/frameworks/base/tools/aapt/tests/ |
MockDirectoryWalker.h | 25 : mPos(0), mBasePath(path), mData(data) { 44 if (mPos >= mData.size()) 52 for (i; i < mData[mPos].first.size(); ++i) 53 mEntry.d_name[i] = mData[mPos].first[i]; 58 mStats.st_mtime = mData[mPos].second; 82 Vector< pair<String8,time_t> > mData;
|
/frameworks/base/tools/aapt2/util/ |
ImmutableMap.h | 32 std::vector<std::pair<TKey, TValue>> mData; 34 explicit ImmutableMap(std::vector<std::pair<TKey, TValue>> data) : mData(std::move(data)) { 38 using const_iterator = typename decltype(mData)::const_iterator; 66 auto iter = std::lower_bound(mData.begin(), endIter, key, cmp); 74 return mData.begin(); 78 return mData.end();
|
/system/extras/tests/sdcard/ |
stopwatch.cpp | 55 : mName(strdup(name)), mNum(0), mData(NULL), mDataLen(0), mCapacity(capacity * 2), 64 mData = (Measurement *) malloc(mCapacity * sizeof(Measurement)); 73 free(mData); 81 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 82 mData[mDataLen].mIsStart = true; 85 mStart = mData[mDataLen].mTime; // mDataLen should be 0 95 clock_gettime(CLOCK_MONOTONIC, &mData[mDataLen].mTime); 96 mData[mDataLen].mIsStart = false; 114 if (mDataLen > 0 && mData[mDataLen - 1].mIsStart) 136 long second = mData[i * 2].mTime.tv_sec - mStart.tv_sec [all...] |
/frameworks/base/rs/java/android/renderscript/ |
FieldPacker.java | 34 mData = new byte[len]; 43 mData = data; 66 mData[mPos++] = 0; 107 mData[mPos++] = v; 112 return mData[--mPos]; 117 mData[mPos++] = (byte)(v & 0xff); 118 mData[mPos++] = (byte)(v >> 8); 124 v = (short)((mData[--mPos] & 0xff) << 8); 125 v = (short)(v | (short)(mData[--mPos] & 0xff)); 132 mData[mPos++] = (byte)(v & 0xff) [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
FieldPacker.java | 35 mData = new byte[len]; 44 mData = data; 67 mData[mPos++] = 0; 108 mData[mPos++] = v; 113 return mData[--mPos]; 118 mData[mPos++] = (byte)(v & 0xff); 119 mData[mPos++] = (byte)(v >> 8); 125 v = (short)((mData[--mPos] & 0xff) << 8); 126 v = (short)(v | (short)(mData[--mPos] & 0xff)); 133 mData[mPos++] = (byte)(v & 0xff) [all...] |
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 351 if (info->read(mData)) 369 return mData.getAUInt32(); 386 if (info->read(mData)) 408 return mData.getAUInt32(); 427 if (info->read(mData)) 443 return mData.getData(&outLength); 461 mData.reset(); 462 mData.putUInt32(info->mStorageID); 463 mData.putUInt16(info->mFormat); 464 mData.putUInt16(info->mProtectionStatus) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
TestMediaDataSource.java | 34 private byte[] mData; 61 mData = data; 75 if (position >= mData.length) { 78 if (position + size > mData.length) { 79 size -= (position + size) - mData.length; 81 System.arraycopy(mData, (int)position, buffer, offset, size); 94 Log.v(TAG, "getSize: " + mData.length); 95 return mData.length;
|
/frameworks/base/drm/java/android/drm/ |
ProcessedData.java | 28 private final byte[] mData; 39 mData = data; 51 mData = data; 62 return mData;
|
/frameworks/base/media/java/android/media/ |
SubtitleData.java | 49 private byte[] mData; 70 return mData; 82 mData = new byte[parcel.readInt()]; 83 parcel.readByteArray(mData);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Mesh.h | 41 float* mData; 43 VertexArray(float* data, size_t stride) : mData(data), mStride(stride) { } 46 return *reinterpret_cast<TYPE*>(&mData[index*mStride]); 49 return *reinterpret_cast<TYPE const*>(&mData[index*mStride]);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_check_dims.java | 26 int mData[]; 52 mData = new int[X*Y]; 54 mData[i] = Pattern; 56 mA.copyFrom(mData);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSetSlidingWindow.java | 59 private final AlbumSetEntry mData[]; 98 mData = new AlbumSetEntry[cacheSize]; 125 return mData[slotIndex % mData.length]; 168 if (!(start <= end && end - start <= mData.length && end <= mSize)) { 170 start, end, mData.length, mSize); 173 AlbumSetEntry data[] = mData; 212 AlbumSetEntry entry = mData[slotIndex % mData.length]; 219 AlbumSetEntry entry = mData[slotIndex % mData.length] [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
Buffer.cpp | 30 mData = new char[capacity]; 31 //LOGV("Buffer %d data %x", capacity, (unsigned int)mData); 33 ASSERT(((long)mData & 0x3) == 0); 36 memset(mData, 0, capacity); 41 delete[] mData; 48 int16_t* data = reinterpret_cast<int16_t*>(mData); 103 file.read(buffer->mData, size); //TODO handle read error 123 file.write(mData, mSize); 144 if (mData[i] != b.mData[i]) [all...] |