/frameworks/av/media/libstagefright/ |
H A D | DataConverter.cpp | 32 size_t size = targetSize(source->size()); local 34 if (size > target->capacity()) { 35 ALOGE("data size (%zu) is greater than buffer capacity (%zu)", 36 size, // this is the data received/to be converted 37 target->capacity()); // this is out buffer size 42 target->setRange(0, err == OK ? size : 0); 47 memcpy(target->base(), source->data(), source->size()); 65 ALOGW("limiting source size due to overflow (%zu*%zu/%zu)", 76 ALOGW("limiting target size du [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pp_semaphore_chroma_inter.cpp | 33 size = total number of pixel in the current luminance VOP (int) 120 int32 size, /* i */ 168 /* (pstprcTypPrv + (size>>6)). */ 172 pp_prev1 = pstprcTypPrv + (size >> 6) + nmvx + nmvy * (mvwidth >> 1) ; 211 /* = size/256 = size>>8 */ 212 mv_loc = (size >> 8); 111 pp_semaphore_chroma_inter( int xpred, int ypred, uint8 *pp_dec_u, uint8 *pstprcTypPrv, int dx, int dy, int mvwidth, int height, int32 size, int mv_loc, uint8 msk_deblock ) argument
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | Parameters.cpp | 24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { argument 26 status_t err = params->parse(data, size); 39 status_t Parameters::parse(const char *data, size_t size) { argument 41 while (i < size) { 43 while (i < size && data[i] != ':') { 47 if (i == size || i == nameStart) { 59 while (i + 1 < size && (data[i] != '\r' || data[i + 1] != '\n')) { 68 while (i + 1 < size && data[i] == '\r' && data[i + 1] == '\n') {
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupDataOutput.java | 35 * and the total size of the binary value for the record. After the header has been 82 * @param dataSize The size in bytes of this record's data. Passing a dataSize 99 * @param size The number of bytes to be sent in this chunk 103 public int writeEntityData(byte[] data, int size) throws IOException { argument 104 int result = writeEntityData_native(mBackupWriter, data, size); 131 private native static int writeEntityData_native(long mBackupWriter, byte[] data, int size); argument
|
/frameworks/base/core/java/android/os/ |
H A D | Parcelable.java | 45 * public MyParcelable[] newArray(int size) { 46 * return new MyParcelable[size]; 131 * @param size Size of the array. 135 public T[] newArray(int size); argument
|
/frameworks/base/core/java/android/util/ |
H A D | LongArray.java | 62 * @throws IndexOutOfBoundsException when index < 0 || index > size() 163 public int size() { method in class:LongArray
|
/frameworks/base/core/java/android/view/ |
H A D | HandlerActionQueue.java | 95 public int size() { method in class:HandlerActionQueue
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ListViewAnimation.cpp | 47 cards.push_back(createCard(cards.size(), y)); 51 for (size_t ci = 0; ci < cards.size(); ci++) { 68 for (size_t ci = 0; ci < cards.size(); ci++) { 70 auto card = cards[(ci + cardIndexOffset) % cards.size()]; 83 int size = cardHeight - (dp(10) * 2); local 84 SkBitmap bitmap = TestUtils::createSkBitmap(size, size); 92 canvas.drawCircle(size / 2, size / 2, size / [all...] |
/frameworks/base/libs/hwui/utils/ |
H A D | RingBuffer.h | 35 size_t size() const { return mCount; } function in class:android::uirenderer::RingBuffer 50 return (*this)[size() - 1];
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaDataSource.cpp | 72 ssize_t JMediaDataSource::readAt(off64_t offset, size_t size) { argument 78 if (size > kBufferSize) { 79 size = kBufferSize; 84 (jlong)offset, mByteArrayObj, (jint)0, (jint)size); 102 if ((size_t)numread > size) { 108 ALOGV("readAt %lld / %zu => %d.", (long long)offset, size, numread); 113 status_t JMediaDataSource::getSize(off64_t* size) { argument 120 *size = mCachedSize; 125 *size = env->CallLongMethod(mMediaDataSourceObj, mGetSizeMethod); 130 // After returning an error, size should [all...] |
/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/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsApplication.java | 43 public static ThumbnailCache getThumbnailsCache(Context context, Point size) { argument 46 if (!size.equals(app.mThumbnailsSize)) { 48 app.mThumbnailsSize = size; 96 mThumbnails.trimToSize(mThumbnails.size() / 2);
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
H A D | MtpFileWriter.java | 52 int write(long offset, int size, byte[] bytes) throws IOException, ErrnoException { argument 54 Preconditions.checkArgumentNonnegative(size, "size"); 55 Preconditions.checkArgument(size <= bytes.length); 56 if (size == 0) { 61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size); 79 // Create the target object info with a correct file size and upload the file. 80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END); 82 .setCompressedSize(size) 99 size); [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
H A D | SharedStorageAgent.java | 67 public void onRestoreFile(ParcelFileDescriptor data, long size, argument 95 FullBackup.restoreFile(data, size, type, -1, mtime, outFile);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ResizingSpace.java | 75 * If mode is AT_MOST, return the child size instead of the parent size 78 private static int getDefaultSize2(int size, int measureSpec) { argument 79 int result = size; 85 result = size; 88 result = Math.min(size, specSize);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | UnmodifiableSparseArray.java | 33 public int size() { method in class:UnmodifiableSparseArray 34 return mArray.size();
|
H A D | UnmodifiableSparseIntArray.java | 33 public int size() { method in class:UnmodifiableSparseIntArray 34 return mArray.size();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | Throughput.java | 26 public Throughput(int totalFrames, int periodFrames, long periodTime, int size) { argument
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | AbstractLayoutTest.java | 42 public View create(Context context, String name, int size) { argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | ParserFactory.java | 72 long size, boolean isLayout) throws XmlPullParserException { 75 stream = readAndClose(stream, name, size); 101 long size) throws XmlPullParserException { 103 if (size > Integer.MAX_VALUE) { 106 int intSize = (int) size; 115 // get the size to read. 71 create(@onNull InputStream stream, @Nullable String name, long size, boolean isLayout) argument 100 readAndClose(@onNull InputStream stream, @Nullable String name, long size) argument
|
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 38 public int size() { method in class:UnsafeByteSequence
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
H A D | ilist_sort.h | 22 void sort(llvm::iplist<T, Alloc>& xs, size_t size, Comparator is_less_than) { argument 26 assert(xs.size() == size && "Incorrect list size argument"); 29 switch (size) { 46 size_t mid = size / 2; 55 sort(ys, size - mid, is_less_than); 79 detail::sort(list, list.size(), is_less_than);
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | NamePool.h | 91 size_type size() const { return m_Table.numOfEntries(); } function in class:mcld::NamePool
|