/frameworks/base/libs/hwui/thread/ |
H A D | TaskManager.cpp | 42 for (size_t i = 0; i < mThreads.size(); i++) { 48 return mThreads.size() > 0; 52 for (size_t i = 0; i < mThreads.size(); i++) { 58 if (mThreads.size() > 0) { 64 for (size_t i = 0; i < mThreads.size(); i++) { 89 for (size_t i = 0; i < tasks.size(); i++) { 111 return mTasks.size();
|
/frameworks/base/tools/preload/ |
H A D | LoadedClass.java | 85 int size = operations.size(); 86 if (size == 0) { 90 int[] times = new int[size]; 91 for (int i = 0; i < size; i++) { 96 int middle = size / 2; 97 if (size % 2 == 1) {
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 44 AString::AString(const char *s, size_t size) argument 48 setTo(s, size); 55 setTo(from, 0, from.size()); 71 setTo(from, 0, from.size()); 77 size_t AString::size() const { function in class:android::AString 93 void AString::setTo(const char *s, size_t size) { argument 95 append(s, size); 168 void AString::append(const char *s, size_t size) { argument 171 if (mSize + size + 1 > mAllocSize) { 172 mAllocSize = (mAllocSize + size 269 insert(const char *from, size_t size, size_t insertionPos) argument [all...] |
H A D | ABuffer.cpp | 56 void ABuffer::setRange(size_t offset, size_t size) { argument 58 CHECK_LE(offset + size, mCapacity); 61 mRangeLength = size;
|
/frameworks/av/media/libstagefright/mp4/ |
H A D | FragmentedMP4Parser.cpp | 140 virtual ssize_t readAt(off64_t offset, void *data, size_t size) { argument 142 return fread(data, 1, size, mFile); 156 ReadTracker(off64_t size) { argument 157 allocSize = 1 + size / 8192; // 1 bit per kilobyte 164 void mark(off64_t offset, size_t size) { argument 166 int lastbit = (offset + size - 1) / 1024; 199 off64_t size; 200 if (source->getSize(&size) == OK) { 201 mReadTracker = new ReadTracker(size); 203 ALOGE("couldn't get data source size"); 208 readAt(off64_t offset, void *data, size_t size) argument 586 uint64_t size = readU32(0); local 1022 need(size_t size) argument 1040 enter(off64_t offset, uint32_t type, uint64_t size) argument 1139 parseTrackHeader( uint32_t type, size_t offset, uint64_t size) argument 1190 parseMediaHeader( uint32_t type, size_t offset, uint64_t size) argument 1223 parseMediaHandler( uint32_t type, size_t offset, uint64_t size) argument 1251 parseVisualSampleEntry( uint32_t type, size_t offset, uint64_t size) argument 1294 parseAudioSampleEntry( uint32_t type, size_t offset, uint64_t size) argument 1342 addCodecSpecificData( const sp<AMessage> &format, int32_t index, const void *data, size_t size, bool insertStartCode = false) argument 1360 parseSampleSizes( uint32_t type, size_t offset, uint64_t size) argument 1366 parseCompactSampleSizes( uint32_t type, size_t offset, uint64_t size) argument 1372 parseSampleToChunk( uint32_t type, size_t offset, uint64_t size) argument 1378 parseChunkOffsets( uint32_t type, size_t offset, uint64_t size) argument 1384 parseChunkOffsets64( uint32_t type, size_t offset, uint64_t size) argument 1390 parseAVCCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument 1473 parseESDSCodecSpecificData( uint32_t type, size_t offset, uint64_t size) argument 1578 parseMediaData( uint32_t type, size_t offset, uint64_t size) argument 1599 parseSegmentIndex( uint32_t type, size_t offset, uint64_t size) argument 1686 parseTrackExtends( uint32_t type, size_t offset, uint64_t size) argument 1737 parseTrackFragmentHeader( uint32_t type, size_t offset, uint64_t size) argument 1827 parseTrackFragmentRun( uint32_t type, size_t offset, uint64_t size) argument [all...] |
/frameworks/av/media/libmedia/ |
H A D | IHDCP.cpp | 97 const void *inData, size_t size, uint32_t streamCTR, 101 data.writeInt32(size); 102 data.write(inData, size); 115 reply.read(outData, size); 122 size_t offset, size_t size, uint32_t streamCTR, 128 data.writeInt32(size); 140 reply.read(outData, size); 146 const void *inData, size_t size, 151 data.writeInt32(size); 152 data.write(inData, size); 96 encrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument 120 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument 145 decrypt( const void *inData, size_t size, uint32_t streamCTR, uint64_t inputCTR, void *outData) argument 243 size_t size = data.readInt32(); local 274 size_t size = data.readInt32(); local 297 size_t size = data.readInt32(); local [all...] |
H A D | IEffect.cpp | 72 int size = cmdSize; local 74 size = 0; 76 data.writeInt32(size); 77 if (size) { 78 data.write(pCmdData, size); 81 size = 0; 83 size = *pReplySize; 85 data.writeInt32(size); 95 size = reply.readInt32(); 96 if (size ! [all...] |
/frameworks/av/drm/common/ |
H A D | ReadWriteUtils.cpp | 85 int size = data.size(); local 86 if (FAILURE != ftruncate(fd, size)) { 87 if (size != write(fd, data.string(), size)) { 102 int size = data.size(); local 103 if (size != write(fd, data.string(), size)) {
|
/frameworks/av/media/libstagefright/timedtext/ |
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/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentStack.java | 41 if (size() == 1 && root != null) { 43 } else if (size() > 1) { 51 return size() == 0; 110 final int size = in.readInt(); 111 for (int i = 0; i < size; i++) { 131 final int size = size(); 132 out.writeInt(size); 133 for (int i = 0; i < size; i++) {
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | IntRangeManagerTest.java | 100 assertEquals("expecting empty configlist", 0, testManager.mConfigList.size()); 117 assertEquals("configlist size", 1, testManager.mConfigList.size()); 123 assertEquals("configlist size", 1, testManager.mConfigList.size()); 132 assertEquals("configlist size", 1, testManager.mConfigList.size()); 137 assertEquals("configlist size", 0, testManager.mConfigList.size()); 142 assertEquals("configlist size", [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 49 MemInfo.Size = size + 1; 55 pMemop->Set(CodecID, mem_ptr, 0, size + 1); 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment);
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelableParcel.java | 35 int size = src.readInt(); 37 mParcel.appendFrom(src, src.dataPosition(), size); 38 src.setDataPosition(pos + size); 71 public ParcelableParcel[] newArray(int size) { 72 return new ParcelableParcel[size];
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | value.h | 57 Value MakeBufferValue(const char* data, int size); 58 Value MakeBufferValueNoCopy(const char* data, int size); 59 Value MakeMutableBufferValue(const char* data, int size); 60 Value MakeMutableBufferValueNoCopy(char* data, int size); 68 int SetMutableBufferValue(Value* value, const char* new_data, int size);
|
/frameworks/native/include/binder/ |
H A D | MemoryHeapBase.h | 45 MemoryHeapBase(int fd, size_t size, uint32_t flags = 0, uint32_t offset = 0); 50 MemoryHeapBase(const char* device, size_t size = 0, uint32_t flags = 0); 55 MemoryHeapBase(size_t size, uint32_t flags = 0, char const* name = NULL); 85 status_t init(int fd, void *base, int size, 89 status_t mapfd(int fd, size_t size, uint32_t offset = 0);
|
/frameworks/av/cmds/stagefright/ |
H A D | WaveWriter.h | 49 void Append(const void *data, size_t size) { argument 50 fwrite(data, 1, size, mFile); 51 mTotalBytes += size;
|
/frameworks/av/media/libstagefright/ |
H A D | Utils.cpp | 135 msg->setInt32("max-input-size", maxInputSize); 140 size_t size; local 141 if (meta->findData(kKeyAVCC, &type, &data, &size)) { 146 CHECK(size >= 7); 164 size -= 6; 170 CHECK(size >= 2); 174 size -= 2; 176 CHECK(size >= length); 178 memcpy(buffer->data() + buffer->size(), "\x00\x00\x00\x01", 4); 179 memcpy(buffer->data() + buffer->size() 282 int size = i - lastparamoffset; local 313 int size = i - lastparamoffset; local [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveDataSource.h | 35 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 36 ssize_t readAtNonBlocking(off64_t offset, void *data, size_t size); 57 ssize_t readAt_l(off64_t offset, void *data, size_t size);
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataInputStream.java | 29 * {@link BackupDataInput}. The entity's key string and total data size are available 30 * through this class's {@link #getKey()} and {@link #size()} methods, respectively. 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 53 * an integer value. If more than {@link #size()} bytes of data 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 74 * @param size The number of bytes to read in this operation. If insufficient 80 public int read(byte[] b, int offset, int size) throws IOException { argument 81 return mData.readEntityData(b, offset, size); 113 public int size() { method in class:BackupDataInputStream
|
H A D | FullBackup.java | 80 * @param size Number of bytes of data to copy from the socket to the file. At least 96 long size, int type, long mode, long mtime, File outFile) throws IOException { 121 final long origSize = size; 123 while (size > 0) { 124 int toRead = (size > buffer.length) ? buffer.length : (int)size; 127 Log.w(TAG, "Incomplete read: expected " + size + " but got " 128 + (origSize - size)); 143 size -= got; 95 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | LocalLog.java | 42 if (mLines.size() >= mMaxLines) { 51 if (mLines.size() <= 0) { 57 for (int i=0; i<mLines.size(); i++) {
|
/frameworks/opt/mms/src/java/com/google/android/mms/util/ |
H A D | AbstractCache.java | 42 if (mCacheMap.size() >= MAX_CACHED_ITEMS) { 46 Log.v(TAG, "Failed! size limitation reached."); 57 Log.v(TAG, key + " cached, " + mCacheMap.size() + " items total."); 90 Log.v(TAG, mCacheMap.size() + " items cached."); 98 Log.v(TAG, "Purging cache, " + mCacheMap.size() 104 public int size() { method in class:AbstractCache 105 return mCacheMap.size();
|
/frameworks/av/libvideoeditor/vss/common/inc/ |
H A D | M4_BitStreamParser.h | 37 * @param size : The size of the bitstream in bytes 40 void M4_BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size); 101 * M4_BitStreamParser_GetSize gets the size of the bitstream in bytes 105 * @returns the size of the bitstream in bytes 109 void M4_MPEG4BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size); 112 * getMpegLengthFromInteger returns a decoded size value from an encoded one (SDL) 117 * @returns size in a human readable form 125 * @brief Decode an MPEG4 Systems descriptor size from an encoded SDL size dat [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.h | 25 static sp<Parameters> Parse(const char *data, size_t size); 36 status_t parse(const char *data, size_t size);
|