/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_buffer.cpp | 20 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 D | jni_vertex_frame.cpp | 26 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 D | PrivateOutputStream.java | 69 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 D | SharedStorageAgent.java | 56 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 D | SessionMap.h | 78 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 D | M4READER_3gpCom.h | 84 M4OSA_UInt32 size; /**< the size in bytes of the buffer */ member in struct:__anon165
|
H A D | M4SYS_AccessUnit.h | 37 (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 D | LVREV_Process.c | 42 /* 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 D | IEffectClient.cpp | 69 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 D | Crypto.cpp | 99 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 D | HDCP.cpp | 100 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 D | MP4Source.cpp | 36 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 D | ESDS.cpp | 27 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 D | FileSource.cpp | 87 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 D | MediaBuffer.cpp | 34 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 D | SkipCutBuffer.cpp | 64 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 D | base64.cpp | 25 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 D | LiveDataSource.cpp | 54 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 D | testid3.cpp | 32 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 D | OMXMaster.cpp | 95 "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 D | SoftOMXPlugin.cpp | 154 size_t size, 152 enumerateComponents( OMX_STRING name, size_t size, OMX_U32 index) argument
|
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TextDescriptions.cpp | 27 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 D | TimedText3GPPSource.cpp | 68 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 D | BackupDataInput.java | 130 * 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 D | HttpResponseCache.java | 69 * 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();
|