Searched refs:data (Results 276 - 300 of 1158) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/
H A DUtils.cpp122 const void *data; local
124 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
127 const uint8_t *ptr = (const uint8_t *)data;
161 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
162 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
191 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4);
192 memcpy(buffer->data() + buffer->size() + 4, ptr, length);
202 } else if (meta->findData(kKeyESDS, &type, &data, &size)) {
203 ESDS esds((const char *)data, size);
213 memcpy(buffer->data(), codec_specific_dat
[all...]
H A DAVIExtractor.cpp188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size);
246 memmove(mBuffer->base(), mBuffer->data(), mBuffer->size());
257 memcpy(newBuffer->data(), mBuffer->data(), mBuffer->size());
265 memcpy(mBuffer->data() + mBuffer->size(),
266 (const uint8_t *)buffer->data() + buffer->range_offset(),
279 uint32_t firstHeader = U32_AT(mBuffer->data() + offset);
295 uint32_t header = U32_AT(mBuffer->data() + subsequentOffset);
310 memmove(mBuffer->data(),
311 mBuffer->data()
605 const uint8_t *data = buffer->data(); local
695 const uint8_t *data = buffer->data(); local
779 const uint8_t *data = buffer->data(); local
[all...]
H A DFileSource.cpp87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
106 return readAtDRM(offset, data, size);
114 return ::read(mFd, data, size);
158 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument
166 /* Use buffered data */
167 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size);
170 /* Buffer new data */
177 memcpy(data, (void*)mDrmBuf, dataRead);
184 return mDrmManagerClient->pread(mDecryptHandle, data, size, offset + mOffset);
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java43 * application and Android's data backup infrastructure. An application that wishes
56 * <a href="{@docRoot}guide/topics/data/backup.html">Data Backup</a> developer guide.</p></div>
60 * When the application makes changes to data that it wishes to keep backed up,
69 * there is a previously-saved data set available for the application being installed, and if so,
70 * begins an immediate restore pass to deliver the backup data as part of the installation
83 * A backup data set consists of one or more "entities," flattened binary data
84 * records that are each identified with a key string unique within the data set. Adding a
85 * record to the active data set or updating an existing record is done by simply
86 * writing new entity data unde
177 onBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) argument
211 onRestore(BackupDataInput data, int appVersionCode, ParcelFileDescriptor newState) argument
219 onFullBackup(FullBackupDataOutput data) argument
410 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
479 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
508 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
535 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument
571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp95 char* data = NULL; local
96 data = new char[bufferSize];
97 memcpy(data, licenseString.string(), bufferSize);
98 const DrmBuffer* buffer = new DrmBuffer(data, bufferSize);
150 char* data = NULL; local
151 data = new char[length];
152 memcpy(data, dataString.string(), length);
154 DrmBuffer(data, length), drmInfoRequest->getMimeType());
223 char* data = NULL; local
224 data
[all...]
/frameworks/base/libs/androidfw/
H A DCursorWindow.cpp33 void* data, size_t size, bool readOnly) :
34 mName(name), mAshmemFd(ashmemFd), mData(data), mSize(size), mReadOnly(readOnly) {
54 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); local
55 if (data == MAP_FAILED) {
61 data, size, false /*readOnly*/);
76 ::munmap(data, size);
100 void* data = ::mmap(NULL, size, PROT_READ, MAP_SHARED, dupAshmemFd, 0); local
101 if (data == MAP_FAILED) {
105 data, size, true /*readOnly*/);
300 fieldSlot->data
32 CursorWindow(const String8& name, int ashmemFd, void* data, size_t size, bool readOnly) argument
[all...]
/frameworks/rs/driver/
H A DrsdShaderCache.cpp42 UniformData *data, const char* logTag,
46 if (data[ct].slot >= 0 && data[ct].arraySize > 1) {
50 data[ct].arraySize = (uint32_t)uniformList[ui]->arraySize;
58 prog->getUniformName(ct).string(), data[ct].slot, data[ct].arraySize);
63 void RsdShaderCache::populateUniformData(RsdShader *prog, uint32_t linkedID, UniformData *data) { argument
65 data[ct].slot = glGetUniformLocation(linkedID, prog->getUniformName(ct));
66 data[ct].arraySize = prog->getUniformArraySize(ct);
71 UniformData *data local
41 updateUniformArrayData(const Context *rsc, RsdShader *prog, uint32_t linkedID, UniformData *data, const char* logTag, UniformQueryData **uniformList, uint32_t uniListSize) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_frame.cpp55 jbyteArray data,
59 if (frame && data) {
60 jbyte* bytes = env->GetByteArrayElements(data, NULL);
65 env->ReleaseByteArrayElements(data, bytes, JNI_ABORT);
77 const uint8_t* data = frame->Data(); local
78 if (!data || size > frame->Size())
81 env->SetByteArrayRegion(result, 0, size, reinterpret_cast<const jbyte*>(data));
92 char* data = reinterpret_cast<char*>(frame->MutableData()); local
93 return ToJBool(AttachDataToJBuffer(env, buffer, data, frame->Size()));
121 const uint8_t* data local
53 Java_android_filterfw_core_NativeFrame_setNativeData(JNIEnv* env, jobject thiz, jbyteArray data, jint offset, jint length) argument
155 const uint8_t* data = frame->Data(); local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebHistoryItemClassic.java29 // A point to a native WebHistoryItem instance which contains the actual data
33 // The pre-flattened data used for saving the state.
41 // Custom client data that is not flattened or read by native code.
64 * Construct a new WebHistoryItem with initial flattened data.
65 * @param data The pre-flattened data coming from restoreState.
67 /*package*/ WebHistoryItemClassic(byte[] data) { argument
68 mFlattenedData = data;
142 * Return the custom data provided by the client.
150 * Set the custom data fiel
155 setCustomData(Object data) argument
212 inflate(int nativeFrame, byte[] data) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_nio_utils.cpp34 void *data; local
47 data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0);
49 return (void *) ((char *) data + offset);
53 void android::nio_releasePointer(JNIEnv *_env, jarray array, void *data, argument
55 _env->ReleasePrimitiveArrayCritical(array, data,
/frameworks/support/v4/java/android/support/v4/content/
H A DLoader.java45 * it to the Loader to have the loader re-load its data when the observer
48 * to take care of executing an update when the cursor's backing data changes.
68 * loading its data. You do not normally need to implement this yourself;
79 * @param data the result of the load
81 public void onLoadComplete(Loader<D> loader, D data); argument
99 * @param data the result of the load
101 public void deliverResult(D data) { argument
103 mListener.onLoadComplete(this, data);
162 * loader <em>must not</em> report any new data, and <em>must</em> keep
163 * its last reported data vali
340 dataToString(D data) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_image.c69 data pointer to macroblock data to be written, 256 values for
80 void h264bsdWriteMacroblock(image_t *image, u8 *data) argument
94 ASSERT(data);
95 ASSERT(!((u32)data&0x3));
108 ptr = (u32*)data;
153 writing the data to the image
156 data pointer to macroblock prediction data, 256 values for
159 residual pointer to residual data, 1
171 h264bsdWriteOutputBlocks(image_t *image, u32 mbNum, u8 *data, i32 residual[][16]) argument
[all...]
H A Dh264bsd_inter_prediction.c181 pMbLayer pointer to current macroblock data from stream
185 data pointer where predicted macroblock will be stored
190 data prediction is stored here
198 dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data)
235 refImage.data = pMb->refAddr[0];
237 h264bsdPredictSamples(data, pMb->mv, &refImage,
244 refImage.data = pMb->refAddr[0];
246 h264bsdPredictSamples(data, pMb->mv, &refImage,
249 refImage.data = pMb->refAddr[2];
251 h264bsdPredictSamples(data, pM
197 h264bsdInterPrediction(mbStorage_t *pMb, macroblockLayer_t *pMbLayer, dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) argument
360 h264bsdInterPrediction(mbStorage_t *pMb, macroblockLayer_t *pMbLayer, dpbStorage_t *dpb, u32 mbNum, image_t *currImage, u8 *data) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DIconLoader.java176 * @param data byte [] containing Image Instance descriptor as defined in
232 * @param data The raw data
236 public static Bitmap parseToBnW(byte[] data, int length){ argument
238 int width = data[valueIndex++] & 0xFF;
239 int height = data[valueIndex++] & 0xFF;
248 // reassign data and index for every byte (8 bits).
250 currentByte = data[valueIndex++];
280 * @param data The raw data
286 parseToRGB(byte[] data, int length, boolean transparency, byte[] clut) argument
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DPowerProfile.java221 Object data = sPowerMap.get(type);
222 if (data instanceof Double[]) {
223 return ((Double[])data)[0];
237 * If there is no data for multiple levels, the level is ignored.
242 Object data = sPowerMap.get(type);
243 if (data instanceof Double[]) {
244 final Double[] values = (Double[]) data;
253 return (Double) data;
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
H A DPlaybackActivity.java89 RunData data = null;
93 data = (RunData) in.readObject();
100 return data;
104 protected void onPostExecute(RunData data) { argument
105 if (data == null) {
111 mPlaybackView.setData(data);
113 mFrameMax = data.frames.length - 1;
/frameworks/compile/libbcc/runtime/lib/
H A Dgcc_personality_v0.c63 #define DW_EH_PE_omit 0xff /* no data follows */
85 static uintptr_t readULEB128(const uint8_t** data) argument
90 const uint8_t* p = *data;
96 *data = p;
101 static uintptr_t readEncodedPointer(const uint8_t** data, uint8_t encoding) argument
103 const uint8_t* p = *data;
155 result += (uintptr_t)(*data);
172 *data = p;
/frameworks/rs/cpp/
H A DAllocation.h89 void copy1DRangeFromUnchecked(uint32_t off, size_t count, const void *data, size_t dataLen);
94 void copy1DRangeFrom(uint32_t off, size_t count, const Allocation *data, uint32_t dataOff);
97 const int32_t *data, size_t dataLen);
99 const int16_t *data, size_t dataLen);
101 const int8_t *data, size_t dataLen);
103 const float *data, size_t dataLen);
105 const Allocation *data, size_t dataLen,
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp32 * @param data pointer to the compressed audio data
33 * @param offset offset in bytes relative to data of where the frame is supposed to start
34 * @param size the size in bytes of the data block starting at data
38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
47 const uint8_t *syncword = data + offset;
53 const uint8_t protectionAbsent = data[offset+1] & 0x1;
55 const uint8_t* header = data + offset + 3;
76 * @param data pointe
83 validateBufferStartEndOnFrameBoundaries(void* data, size_t size) argument
[all...]
/frameworks/native/libs/utils/
H A DLooper.cpp53 int SimpleLooperCallback::handleEvent(int fd, int events, void* data) { argument
54 return mCallback(fd, events, data);
92 memset(& eventItem, 0, sizeof(epoll_event)); // zero out unused members of data field union
94 eventItem.data.fd = mWakeReadPipeFd;
166 void* data = response.request.data; local
169 "fd=%d, events=0x%x, data=%p",
170 this, ident, fd, events, data);
174 if (outData != NULL) *outData = data;
248 int fd = eventItems[i].data
316 void* data = response.request.data; local
396 addFd(int fd, int ident, int events, ALooper_callbackFunc callback, void* data) argument
400 addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) argument
[all...]
/frameworks/rs/
H A DrsAllocation.cpp76 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument
77 uint32_t count, const void *data, size_t sizeBytes) {
87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
91 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
92 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) {
96 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
104 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
108 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
110 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) {
114 uint32_t count, void *data, size_
113 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
127 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
141 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument
146 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
174 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
289 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
497 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
504 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
510 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument
516 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
522 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
528 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
561 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
583 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/
H A DrsAllocation.cpp71 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t lod, argument
72 uint32_t count, const void *data, size_t sizeBytes) {
82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes);
86 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, argument
87 uint32_t w, uint32_t h, const void *data, size_t sizeBytes) {
91 //ALOGE("data2d %p, %i %i %i %i %i %i %p %i", this, xoff, yoff, lod, face, w, h, data, sizeBytes);
99 rsc->mHal.funcs.allocation.data2D(rsc, this, xoff, yoff, lod, face, w, h, data, sizeBytes);
103 void Allocation::data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, argument
105 uint32_t w, uint32_t h, uint32_t d, const void *data, size_t sizeBytes) {
109 uint32_t count, void *data, size_
108 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
122 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, void *data, size_t sizeBytes) argument
136 read(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, uint32_t d, void *data, size_t sizeBytes) argument
141 elementData(Context *rsc, uint32_t x, const void *data, uint32_t cIdx, size_t sizeBytes) argument
169 elementData(Context *rsc, uint32_t x, uint32_t y, const void *data, uint32_t cIdx, size_t sizeBytes) argument
270 unpackVec3Allocation(Context *rsc, const void *data, size_t dataSize) argument
435 rsi_AllocationCopyToBitmap(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
442 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
448 rsi_Allocation2DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t y, uint32_t lod, RsAllocationCubemapFace face, const void *data, size_t sizeBytes, size_t eoff) argument
454 rsi_Allocation1DElementData(Context *rsc, RsAllocation va, uint32_t x, uint32_t lod, const void *data, size_t sizeBytes, size_t eoff) argument
460 rsi_Allocation2DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, uint32_t w, uint32_t h, const void *data, size_t sizeBytes) argument
466 rsi_AllocationRead(Context *rsc, RsAllocation va, void *data, size_t sizeBytes) argument
499 rsi_AllocationCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
521 rsi_AllocationCubeCreateFromBitmap(Context *rsc, RsType vtype, RsAllocationMipmapControl mips, const void *data, size_t sizeBytes, uint32_t usages) argument
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp79 uint8_t *out = buffer->data();
141 uint8_t nalType = nal->data()[0] & 0x1f;
174 uint8_t *out = csd->data();
178 memcpy(out, profileLevelID->data(), 3);
195 memcpy(out, nal->data(), nal->size());
213 memcpy(out, nal->data(), nal->size());
218 // hexdump(csd->data(), csd->size());
231 const uint8_t *data = config->data(); local
232 uint32_t x = data[
282 const uint8_t *data = config->data(); local
[all...]
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp58 uint16_t const * src = (uint16_t const *)base->data;
59 uint16_t* dst = (uint16_t*)cur.data;
81 uint16_t const * src = (uint16_t const *)base->data;
82 uint16_t* dst = (uint16_t*)cur.data;
101 uint32_t const * src = (uint32_t const *)base->data;
102 uint32_t* dst = (uint32_t*)cur.data;
137 uint8_t const * src = (uint8_t const *)base->data;
138 uint8_t* dst = (uint8_t*)cur.data;
157 uint16_t const * src = (uint16_t const *)base->data;
158 uint16_t* dst = (uint16_t*)cur.data;
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAdnRecordLoader.java133 byte data[];
158 data = adn.buildAdnString(recordSize[0]);
160 if(data == null) {
166 data, pin2, obtainMessage(EVENT_UPDATE_RECORD_DONE));
182 data = (byte[])(ar.result);
192 + "\n" + IccUtils.bytesToHexString(data));
195 adn = new AdnRecord(ef, recordNumber, data);
213 data = (byte[])(ar.result);
223 + "\n" + IccUtils.bytesToHexString(data));
225 adn.appendExtRecord(data);
[all...]

Completed in 327 milliseconds

<<11121314151617181920>>