/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 | 77 * @param size Number of bytes of data to copy from the socket to the file. At least 93 long size, int type, long mode, long mtime, File outFile) throws IOException { 118 final long origSize = size; 120 while (size > 0) { 121 int toRead = (size > buffer.length) ? buffer.length : (int)size; 124 Log.w(TAG, "Incomplete read: expected " + size + " but got " 125 + (origSize - size)); 140 size -= got; 92 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++) {
|
H A D | ImageUtils.java | 59 // shrink to a more manageable (yet hopefully no more or less colorful) size 80 final int size = height*width; 81 ensureBufferSize(size); 83 for (int i = 0; i < size; i++) { 92 * Makes sure that {@code mTempBuffer} has at least length {@code size}. 94 private void ensureBufferSize(int size) { argument 95 if (mTempBuffer == null || mTempBuffer.length < size) { 96 mTempBuffer = new int[size];
|
H A D | ParcelableString.java | 48 public ParcelableString[] newArray(int size) { 49 return new ParcelableString[size];
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
H A D | Utils.java | 67 * @param size 70 public static int wrapIndex(int i, int size) { argument 71 int m = i % size; 73 m += size;
|
/frameworks/compile/mclinker/lib/Script/ |
H A D | OutputFormatCmd.cpp | 40 assert(m_FormatList.size() == 1 || m_FormatList.size() == 3); 41 for (size_t i = 0; i < m_FormatList.size(); ++i) {
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | AString.cpp | 46 AString::AString(const char *s, size_t size) argument 50 setTo(s, size); 64 setTo(from, 0, from.size()); 80 setTo(from, 0, from.size()); 86 size_t AString::size() const { function in class:android::AString 102 void AString::setTo(const char *s, size_t size) { argument 104 append(s, size); 177 void AString::append(const char *s, size_t size) { argument 180 if (mSize + size + 1 > mAllocSize) { 181 mAllocSize = (mAllocSize + size 278 insert(const char *from, size_t size, size_t insertionPos) argument 356 size_t size = static_cast<size_t>(parcel.readInt32()); local [all...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegProcessor.cpp | 75 // Find out buffer size for JPEG 78 ALOGE("%s: Camera %d: Jpeg buffer size (%zu) is invalid ", 94 // Since ashmem heaps are rounded up to page size, don't reallocate if 95 // the capture heap isn't exactly the same size as the required JPEG buffer 248 // Find size of JPEG image 250 if (jpegSize == 0) { // failed to find size, default to whole buffer 336 // Return the size of the JPEG, 0 indicates failure 338 size_t size; local 344 size = blob->jpeg_size; 345 if (size > [all...] |
/frameworks/opt/telephony/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/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ArrayObjectAdapter.java | 48 public int size() { method in class:ArrayObjectAdapter 49 return mItems.size(); 86 add(mItems.size(), item); 91 * If the index is >= {@link #size} an exception will be thrown. 103 * given index. If the index is >= {@link #size} an exception will be thrown. 109 int itemsCount = items.size(); 153 int itemsToRemove = Math.min(count, mItems.size() - position); 169 int itemCount = mItems.size();
|
/frameworks/av/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoFactory.cpp | 39 const void* data, size_t size, 47 data, size); 37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
|
/frameworks/av/include/media/stagefright/ |
H A D | DataURISource.h | 32 virtual ssize_t readAt(off64_t offset, void *data, size_t size); 33 virtual status_t getSize(off64_t *size);
|
/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);
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryProperty.java | 69 public BatteryProperty[] newArray(int size) { 70 return new BatteryProperty[size];
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | ReferrerIntent.java | 47 public ReferrerIntent[] newArray(int size) { 48 return new ReferrerIntent[size];
|
/frameworks/base/libs/androidfw/tests/ |
H A D | TypeWrappers_test.cpp | 35 t.header.size = t.entriesStart; 40 e1.size = sizeof(e1); 42 t.header.size += sizeof(e1); 46 t.header.size += sizeof(v1); 53 e2.size = sizeof(e2); 55 t.header.size += sizeof(e2); 59 t.header.size += sizeof(v2); 61 uint8_t* data = (uint8_t*)malloc(t.header.size);
|
/frameworks/base/media/java/android/media/ |
H A D | IMediaHTTPConnection.aidl | 29 int readAt(long offset, int size);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | RandomScheduler.java | 48 if (candidates.size() > 0) { 49 int r = mRand.nextInt(candidates.size());
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | UnmodifiableSparseIntArray.java | 33 public int size() { method in class:UnmodifiableSparseIntArray 34 return mArray.size();
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PreferredIntentResolver.java | 26 protected PreferredActivity[] newArray(int size) { argument 27 return new PreferredActivity[size];
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallInfo.java | 57 public CallInfo[] newArray(int size) { 58 return new CallInfo[size];
|
H A D | DcParamObject.java | 50 public DcParamObject[] newArray(int size) { 51 return new DcParamObject[size];
|
/frameworks/compile/libbcc/bcinfo/Wrap/ |
H A D | in_memory_wrapper_input.cpp | 22 InMemoryWrapperInput::InMemoryWrapperInput(const char* buffer, size_t size) : argument 23 _buffer(buffer), _pos(0), _size(size) {
|