/frameworks/av/media/libstagefright/include/media/stagefright/foundation/ |
H A D | base64.h | 29 void encodeBase64(const void *data, size_t size, AString *out); 31 void encodeBase64Url(const void *data, size_t size, AString *out);
|
/frameworks/base/core/java/android/database/ |
H A D | DataSetObservable.java | 36 for (int i = mObservers.size() - 1; i >= 0; i--) { 49 for (int i = mObservers.size() - 1; i >= 0; i--) {
|
/frameworks/base/core/java/android/view/autofill/ |
H A D | ParcelableMap.java | 31 ParcelableMap(int size) { argument 32 super(size); 42 dest.writeInt(size()); 54 int size = source.readInt(); 56 ParcelableMap map = new ParcelableMap(size); 58 for (int i = 0; i < size; i++) { 69 public ParcelableMap[] newArray(int size) { 70 return new ParcelableMap[size];
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentValuesTest.java | 40 assertEquals(0, cv.size()); 44 assertEquals(1, cv.size());
|
/frameworks/base/core/tests/utiltests/jni/ |
H A D | registration.cpp | 20 jobject clazz, jstring name, jint size); 22 jobject clazz, jint fd, jint size); 26 JNIEnv * env, jobject obj, jstring name, jint size); 28 JNIEnv * env, jobject obj, jint fd, jint size); 33 jstring name, jint size) 35 return android_util_MemoryIntArrayTest_createAshmem(env, obj, name, size); 40 jint fd, jint size) 42 android_util_MemoryIntArrayTest_setAshmemSize(env, obj, fd, size); 31 Java_android_util_MemoryIntArrayTest_nativeCreateAshmem( __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jstring name, jint size) argument 38 Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize( __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jint fd, jint size) argument
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | CrossProfileIntentResolver.java | 30 protected CrossProfileIntentFilter[] newArray(int size) { argument 31 return new CrossProfileIntentFilter[size];
|
H A D | PersistentPreferredIntentResolver.java | 24 protected PersistentPreferredActivity[] newArray(int size) { argument 25 return new PersistentPreferredActivity[size];
|
/frameworks/base/tools/preload2/src/com/android/preload/ |
H A D | DumpTableModel.java | 34 fireTableRowsInserted(data.size() - 1, data.size() - 1); 38 int size = data.size(); 39 if (size > 0) { 41 fireTableRowsDeleted(0, size - 1); 51 return data.size(); 85 return d.dumpData.size();
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | RegionFragment.cpp | 23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment 24 return m_Region.size();
|
/frameworks/native/cmds/dumpstate/binder/android/os/ |
H A D | IDumpstateListener.aidl | 35 * @param size size in bytes, may be invalid if status != OK 38 void onSectionComplete(@utf8InCpp String name, int status, int size, int durationMs);
|
/frameworks/native/libs/ui/ |
H A D | HdrCapabilities.cpp | 35 mSupportedHdrTypes.size() * sizeof(ui::Hdr); 38 status_t HdrCapabilities::flatten(void* buffer, size_t size) const { 40 if (size < getFlattenedSize()) { 48 buf[3] = static_cast<int32_t>(mSupportedHdrTypes.size()); 49 for (size_t i = 0, c = mSupportedHdrTypes.size(); i < c; ++i) { 55 status_t HdrCapabilities::unflatten(void const* buffer, size_t size) { argument 62 if (size < minSize) { 70 if (size < minSize + itemCount * sizeof(int32_t)) {
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | EffectBufferHalHidl.cpp | 41 size_t size, sp<EffectBufferHalInterface>* buffer) { 42 return mirror(nullptr, size, buffer); 46 void* external, size_t size, sp<EffectBufferHalInterface>* buffer) { 47 sp<EffectBufferHalInterface> tempBuffer = new EffectBufferHalHidl(size); 56 EffectBufferHalHidl::EffectBufferHalHidl(size_t size) argument 57 : mBufferSize(size), mFrameCountChanged(false), 130 void EffectBufferHalHidl::update(size_t size) { argument 133 if (size > mBufferSize) size = mBufferSize; 134 memcpy(mAudioBuffer.raw, mExternalData, size); 40 allocate( size_t size, sp<EffectBufferHalInterface>* buffer) argument 45 mirror( void* external, size_t size, sp<EffectBufferHalInterface>* buffer) argument 138 commit(size_t size) argument [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
H A D | EffectBufferHalHidl.cpp | 42 size_t size, sp<EffectBufferHalInterface>* buffer) { 43 return mirror(nullptr, size, buffer); 47 void* external, size_t size, sp<EffectBufferHalInterface>* buffer) { 48 sp<EffectBufferHalInterface> tempBuffer = new EffectBufferHalHidl(size); 57 EffectBufferHalHidl::EffectBufferHalHidl(size_t size) argument 58 : mBufferSize(size), mFrameCountChanged(false), 131 void EffectBufferHalHidl::update(size_t size) { argument 134 if (size > mBufferSize) size = mBufferSize; 135 memcpy(mAudioBuffer.raw, mExternalData, size); 41 allocate( size_t size, sp<EffectBufferHalInterface>* buffer) argument 46 mirror( void* external, size_t size, sp<EffectBufferHalInterface>* buffer) argument 139 commit(size_t size) argument [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | LDContext.cpp | 23 pSection.setIndex(m_SectionTable.size()); 29 if (pIdx >= m_SectionTable.size()) 35 if (pIdx >= m_SectionTable.size()) 60 size_t size = m_SectionTable.size(); local 61 for (; result != size; ++result) 68 if (pIdx >= m_SymTab.size()) 74 if (pIdx >= m_SymTab.size()) 81 size_t size = m_SymTab.size(); local 90 size_t size = m_SymTab.size(); local [all...] |
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | SizeAreaComparator.java | 38 public int compare(Camera.Size size, Camera.Size size2) { argument 39 checkNotNull(size, "size must not be null"); 42 if (size.equals(size2)) { 46 long width = size.width; 48 long area = width * size.height; 59 * Get the largest api1 {@code Camera.Size} from the list by comparing each size's area 63 * @return a non-{@code null} size
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
H A D | SizeAreaComparator.java | 37 public int compare(Size size, Size size2) { argument 38 checkNotNull(size, "size must not be null"); 41 if (size.equals(size2)) { 45 long width = size.getWidth(); 47 long area = width * size.getHeight(); 58 * Get the largest {@code Size} from the list by comparing each size's area 62 * @return a non-{@code null} size
|
/frameworks/base/libs/protoutil/src/ |
H A D | protobuf.cpp | 37 size_t size = 1; local 39 size++; 42 return size; 61 write_length_delimited_tag_header(uint8_t* buf, uint32_t fieldId, size_t size) argument 64 buf = write_raw_varint(buf, size);
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiPortImpl.java | 37 * Maximum size of a packet that can be passed between processes. 42 * size of message timestamp in bytes 47 * Data packet overhead is timestamp size plus packet type byte 60 * messageSize is size of variable length MIDI message 63 * returns size of packed message 65 public static int packData(byte[] message, int offset, int size, long timestamp, argument 67 if (size > MAX_PACKET_DATA_SIZE) { 68 size = MAX_PACKET_DATA_SIZE; 74 System.arraycopy(message, offset, dest, length, size); 75 length += size; [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsRawData.java | 33 int size; 34 size = source.readInt(); 35 byte[] data = new byte[size]; 40 public SmsRawData[] newArray(int size) { 41 return new SmsRawData[size];
|
/frameworks/native/libs/diskusage/ |
H A D | dirsize.c | 32 int64_t size = 0; local 57 size += stat_size(&s); 61 size += calculate_dir_size(subfd); 65 size += stat_size(&s); 70 return size;
|
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
H A D | glGetTransformFeedbackVarying.java | 1 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 9 int[] size, 17 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 27 java.nio.IntBuffer size, 32 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 39 java.nio.IntBuffer size, 44 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 49 int[] size, 55 // C function void glGetTransformFeedbackVarying ( GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name ) 60 java.nio.IntBuffer size, 3 glGetTransformFeedbackVarying( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument 22 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument 34 glGetTransformFeedbackVarying( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, java.nio.ByteBuffer name ) argument 46 glGetTransformFeedbackVarying( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument 57 glGetTransformFeedbackVarying( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument [all...] |
/frameworks/native/libs/binder/ |
H A D | MemoryDealer.cpp | 115 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size); 129 explicit SimpleBestFitAllocator(size_t size); 132 size_t allocate(size_t size, uint32_t flags = 0); 134 size_t size() const; 143 chunk_t(size_t start, size_t size) argument 144 : start(start), size(size), free(1), prev(0), next(0) { 147 size_t size : 28; member in struct:android::SimpleBestFitAllocator::chunk_t 153 ssize_t alloc(size_t size, uint32_t flags); 168 const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) 166 Allocation( const sp<MemoryDealer>& dealer, const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument 205 size_t size = end-start; local 230 MemoryDealer(size_t size, const char* name, uint32_t flags) argument 241 allocate(size_t size) argument 280 SimpleBestFitAllocator(size_t size) argument 304 size_t SimpleBestFitAllocator::size() const function in class:android::SimpleBestFitAllocator 309 allocate(size_t size, uint32_t flags) argument 326 alloc(size_t size, uint32_t flags) argument 447 size_t size = 0; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | DataURISource.cpp | 45 for (size_t i = encoded.size(); i > 0;) { 60 size_t dataLen = strlen(uri) - tmp.size() - 6; 88 ssize_t DataURISource::readAt(off64_t offset, void *data, size_t size) { argument 89 if ((offset < 0) || (offset >= (off64_t)mBuffer->size())) { 93 size_t copy = mBuffer->size() - offset; 94 if (copy > size) { 95 copy = size; 103 status_t DataURISource::getSize(off64_t *size) { argument 104 *size = mBuffer->size(); [all...] |
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | ESQueue.cpp | 90 // update metadata only applicable, and return the payload size 92 const uint8_t *ptr, size_t size, sp<MetaData> *metaData) { 118 ABitReader bits(ptr, size); 198 static bool IsSeeminglyValidAC3Header(const uint8_t *ptr, size_t size) { argument 199 return parseAC3SyncFrame(ptr, size, NULL) > 0; 203 const uint8_t *ptr, size_t size, size_t *frameLength) { 204 if (size < 7) { 229 if (frameLengthInHeader > size) { 237 static bool IsSeeminglyValidMPEGAudioHeader(const uint8_t *ptr, size_t size) { argument 238 if (size < 91 parseAC3SyncFrame( const uint8_t *ptr, size_t size, sp<MetaData> *metaData) argument 202 IsSeeminglyValidADTSHeader( const uint8_t *ptr, size_t size, size_t *frameLength) argument 274 appendData( const void *data, size_t size, int64_t timeUs, int32_t payloadOffset, uint32_t pesScramblingControl) argument 495 appendScrambledData( const void *data, size_t size, int32_t keyId, bool isSync, sp<ABuffer> clearSizes, sp<ABuffer> encSizes) argument 964 fetchTimestamp( size_t size, int32_t *pesOffset, int32_t *pesScramblingControl) argument 1030 size_t size = mBuffer->size(); local 1215 size_t size = mBuffer->size(); local 1283 EncodeSize14(uint8_t **_ptr, size_t size) argument 1347 size_t size = mBuffer->size(); local 1494 getNextChunkSize( const uint8_t *data, size_t size) argument 1522 size_t size = mBuffer->size(); local 1709 size_t size = mBuffer->size(); local [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | StaggeredGrid.java | 53 * size of the item. 55 public int size; field in class:StaggeredGrid.Location 57 public Location(int row, int offset, int size) { argument 60 this.size = size; 67 // <= mFirstIndex + mLocations.size() - 1 86 return mFirstIndex + mLocations.size() - 1; 90 * Returns the size of the saved {@link Location}s. 93 return mLocations.size(); 99 if (indexInArray < 0 || indexInArray >= mLocations.size()) { [all...] |