Searched defs:size (Results 101 - 125 of 557) sorted by relevance

1234567891011>>

/frameworks/base/media/mca/filterfw/jni/
H A Djni_native_buffer.cpp20 char* GetJBufferData(JNIEnv* env, jobject buffer, int* size) { argument
29 if (size) {
30 *size = env->GetIntField(buffer, size_field);
39 bool AttachDataToJBuffer(JNIEnv* env, jobject buffer, char* data, int size) { argument
48 env->SetIntField(buffer, size_field, size);
53 jboolean Java_android_filterfw_core_NativeBuffer_allocate(JNIEnv* env, jobject thiz, jint size) { argument
54 char* data = new char[size];
55 return ToJBool(AttachDataToJBuffer(env, thiz, data, size));
72 int size; local
73 char* source_data = GetJBufferData(env, thiz, &size);
[all...]
H A Djni_vertex_frame.cpp26 jint size) {
27 return ToJBool(WrapObjectInJava(new VertexFrame(size), env, thiz, true));
24 Java_android_filterfw_core_VertexFrame_nativeAllocate(JNIEnv* env, jobject thiz, jint size) argument
/frameworks/base/obex/javax/obex/
H A DPrivateOutputStream.java69 public int size() { method in class:PrivateOutputStream
70 return mArray.size();
86 if (mArray.size() == mMaxPacketSize) {
110 while ((mArray.size() + remainLength) >= mMaxPacketSize) {
111 int bufferLeft = mMaxPacketSize - mArray.size();
124 * @param size the size of the array to return
127 public synchronized byte[] readBytes(int size) { argument
128 if (mArray.size() > 0) {
131 byte[] result = new byte[size];
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java56 public void onRestoreFile(ParcelFileDescriptor data, long size, argument
84 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h78 return map.size();
92 if (map.size() > index) {
152 int size = map.size(); local
154 for (int i = 0; i < size; i++) {
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4READER_3gpCom.h84 M4OSA_UInt32 size; /**< the size in bytes of the buffer */ member in struct:__anon165
H A DM4SYS_AccessUnit.h37 (size cannot be 0)*/
39 error somewhere in the fragment (size cannot be 0)*/
40 M4SYS_kFragAttrLost = 03 /**< The fragment is lost, so the size must be 0.*/
48 M4OSA_UInt32 size; /**< The size of the fragment. It must be 0 if fragment is member in struct:__anon178
64 M4OSA_MemAddr32 dataAddress; /**< The data pointer. The size of this block
65 (allocated size) must be a 32-bits integer multiple*/
66 M4OSA_UInt32 size; /**< The size in bytes of the dataAddress. The size ma member in struct:__anon179
[all...]
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c42 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */
171 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */
181 LVM_INT16 j, size; local
199 * The temp buffer will always be NumSamples in size regardless of MONO or *
461 size = (LVM_INT16)(NumSamples << 1);
466 size);
473 size);
478 size);
/frameworks/av/media/libmedia/
H A DIEffectClient.cpp69 int size = cmdSize; local
71 size = 0;
73 data.writeInt32(size);
74 if (size) {
75 data.write(pCmdData, size);
77 size = replySize;
79 size = 0;
81 data.writeInt32(size);
82 if (size) {
83 data.write(pReplyData, size);
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp99 const uint8_t uuid[16], const void *data, size_t size) {
110 return mFactory->createPlugin(uuid, data, size, &mPlugin);
98 createPlugin( const uint8_t uuid[16], const void *data, size_t size) argument
H A DHDCP.cpp100 const void *inData, size_t size, uint32_t streamCTR,
110 return mHDCPModule->encrypt(inData, size, streamCTR, outInputCTR, outData);
99 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/
H A DMP4Source.cpp36 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { argument
72 while (total < size) {
74 (uint8_t *)data + total, size - total, &extra);
/frameworks/av/media/libstagefright/
H A DESDS.cpp27 ESDS::ESDS(const void *data, size_t size) argument
28 : mData(new uint8_t[size]),
29 mSize(size),
34 memcpy(mData, data, size);
58 status_t ESDS::getCodecSpecificInfo(const void **data, size_t *size) const {
64 *size = mDecoderSpecificLength;
70 size_t offset, size_t size,
72 if (size == 0) {
77 --size;
82 if (size
69 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument
123 parseESDescriptor(size_t offset, size_t size) argument
191 parseDecoderConfigDescriptor(size_t offset, size_t size) argument
[all...]
H A DFileSource.cpp87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
99 if ((int64_t)size > numAvailable) {
100 size = numAvailable;
106 return readAtDRM(offset, data, size);
114 return ::read(mFd, data, size);
118 status_t FileSource::getSize(off64_t *size) { argument
125 *size = mLength;
158 ssize_t FileSource::readAtDRM(off64_t offset, void *data, size_t size) { argument
165 && (offset + mOffset + size) <= (mDrmBufOffset + mDrmBufSize)) {
167 memcpy(data, (void*)(mDrmBuf+(offset+mOffset-mDrmBufOffset)), size);
[all...]
H A DMediaBuffer.cpp34 MediaBuffer::MediaBuffer(void *data, size_t size) argument
39 mSize(size),
41 mRangeLength(size),
47 MediaBuffer::MediaBuffer(size_t size) argument
51 mData(malloc(size)),
52 mSize(size),
54 mRangeLength(size),
79 mSize(buffer->size()),
123 size_t MediaBuffer::size() const { function in class:android::MediaBuffer
H A DSkipCutBuffer.cpp64 size_t copied = read(dst, buffer->size());
70 int32_t buflen = buffer->size();
114 ALOGV("reallocated buffer at size %d", newcapacity);
162 size_t SkipCutBuffer::size() { function in class:android::SkipCutBuffer
/frameworks/av/media/libstagefright/foundation/
H A Dbase64.cpp25 if ((s.size() % 4) != 0) {
29 size_t n = s.size();
39 size_t outLen = 3 * s.size() / 4 - padding;
99 const void *_data, size_t size, AString *out) {
105 for (i = 0; i < (size / 3) * 3; i += 3) {
115 switch (size % 3) {
98 encodeBase64( const void *_data, size_t size, AString *out) argument
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.cpp54 return mBufferQueue.size();
58 off64_t offset, void *data, size_t size) {
71 totalAvailable += buffer->size();
73 if (totalAvailable >= size) {
78 if (totalAvailable < size) {
82 return readAt_l(offset, data, size);
85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument
87 return readAt_l(offset, data, size);
90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument
98 while (sizeDone < size) {
57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp32 static void hexdump(const void *_data, size_t size) { argument
35 while (offset < size) {
38 size_t n = size - offset;
48 if (offset + i < size) {
104 printf("found album art: size=%d mime='%s'\n", dataSize,
/frameworks/av/media/libstagefright/omx/
H A DOMXMaster.cpp95 "components", err, mPluginByComponentName.size());
167 size_t size,
171 size_t numComponents = mPluginByComponentName.size();
179 CHECK(size >= 1 + name8.size());
165 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
H A DSoftOMXPlugin.cpp154 size_t size,
152 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.cpp27 const uint8_t *data, ssize_t size,
33 return extract3GPPGlobalDescriptions(data, size, parcel, 0);
35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0);
39 return extractSRTLocalDescriptions(data, size, timeMs, parcel);
50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) {
56 // write the size of the text sample
57 parcel->writeInt32(size);
59 parcel->writeInt32(size);
60 parcel->write(data, size);
71 const uint8_t *data, ssize_t size,
26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument
49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument
70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel, int depth) argument
287 extract3GPPGlobalDescriptions( const uint8_t *data, ssize_t size, Parcel *parcel, int depth) argument
[all...]
H A DTimedText3GPPSource.cpp68 size_t size = 0; local
76 size = textBuffer->size();
78 if (size > 0) {
82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
92 size_t size = 0; local
103 kKeyTextFormatData, &type, &data, &size)) {
107 if (size > 0) {
110 (const uint8_t *)data, size, flag, 0, parcel);
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java130 * Report the size in bytes of the data associated with the current entity in the
133 * @return The size of the record's raw data, in bytes
151 * @param data An allocated byte array of at least 'size' bytes
154 * @param size The number of bytes to read in this pass
159 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument
161 int result = readEntityData_native(mBackupReader, data, offset, size);
192 private native int readEntityData_native(int mBackupReader, byte[] data, int offset, int size); argument
/frameworks/base/core/java/android/net/http/
H A DHttpResponseCache.java69 * This cache will evict entries as necessary to keep its size from exceeding
70 * 10 MiB. The best cache size is application specific and depends on the size
177 * @param maxSize the maximum size of the cache in bytes.
216 public long size() { method in class:HttpResponseCache
217 return delegate.getCache().size();

Completed in 2233 milliseconds

1234567891011>>