/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | CellularNetworkTestUtil.java | 52 * allows the test to intentionally setting an incorrect size value. 56 * @param setWrongSize Flag for setting incorrect IEI size 67 // Use incorrect size intentionally. 88 int size = 0; 90 size += data.length; 92 return size;
|
/frameworks/av/include/media/stagefright/ |
H A D | HevcUtils.h | 79 status_t addNalUnit(const uint8_t* data, size_t size); 86 inline size_t getNumNalUnits() { return mNalUnits.size(); } 91 bool write(size_t index, uint8_t* dest, size_t size); 97 status_t parseVps(const uint8_t* data, size_t size); 98 status_t parseSps(const uint8_t* data, size_t size); 99 status_t parsePps(const uint8_t* data, size_t size);
|
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);
|
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 37 SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size); 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | HevcUtils.h | 79 status_t addNalUnit(const uint8_t* data, size_t size); 86 inline size_t getNumNalUnits() { return mNalUnits.size(); } 91 bool write(size_t index, uint8_t* dest, size_t size); 97 status_t parseVps(const uint8_t* data, size_t size); 98 status_t parseSps(const uint8_t* data, size_t size); 99 status_t parsePps(const uint8_t* data, size_t size);
|
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);
|
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 37 SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size); 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/av/media/libstagefright/include/ |
H A D | HevcUtils.h | 79 status_t addNalUnit(const uint8_t* data, size_t size); 86 inline size_t getNumNalUnits() { return mNalUnits.size(); } 91 bool write(size_t index, uint8_t* dest, size_t size); 97 status_t parseVps(const uint8_t* data, size_t size); 98 status_t parseSps(const uint8_t* data, size_t size); 99 status_t parsePps(const uint8_t* data, size_t size);
|
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);
|
H A D | SecureBuffer.h | 32 * the size information. For decryption, it exposes underlying handle/pointer 37 SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size); 38 SecureBuffer(const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | JpegProcessor.cpp | 98 // Find out buffer size for JPEG 101 ALOGE("%s: Camera %d: Jpeg buffer size (%zu) is invalid ", 117 // Since ashmem heaps are rounded up to page size, don't reallocate if 118 // the capture heap isn't exactly the same size as the required JPEG buffer 280 // Find size of JPEG image 282 if (jpegSize == 0) { // failed to find size, default to whole buffer 368 // Return the size of the JPEG, 0 indicates failure 370 size_t size; local 376 size = blob->jpeg_size; 377 if (size > [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 246 if (items != null && items.size() > 0) { 283 if (items != null && items.size() > 0) { 284 if (items.size() == 1) { 287 for (int i = 0; i < items.size() - 1; ++i) { 304 int size = mNodes.size(); 305 for (int i = 0; i < size; i++) { 323 int size = mNodes.size(); 324 for (int i = 0; i < size; [all...] |
/frameworks/base/libs/androidfw/ |
H A D | CursorWindow.cpp | 34 void* data, size_t size, bool readOnly) : 35 mName(name), mAshmemFd(ashmemFd), mData(data), mSize(size), mReadOnly(readOnly) { 44 status_t CursorWindow::create(const String8& name, size_t size, CursorWindow** outCursorWindow) { argument 49 int ashmemFd = ashmem_create_region(ashmemName.string(), size); 55 void* data = ::mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ashmemFd, 0); 62 data, size, false /*readOnly*/); 77 ::munmap(data, size); 93 ssize_t size = ashmem_get_size_region(ashmemFd); local 94 if (size < 0) { 101 // the size o 33 CursorWindow(const String8& name, int ashmemFd, void* data, size_t size, bool readOnly) argument 206 alloc(size_t size, bool aligned) argument 278 putBlob(uint32_t row, uint32_t column, const void* value, size_t size) argument 287 putBlobOrString(uint32_t row, uint32_t column, const void* value, size_t size, int32_t type) argument 303 memcpy(offsetToPtr(offset), value, size); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | HistoryEvaluator.java | 59 int size = list.size(); 60 for (int i = 0; i < size; i++) { 89 int size = list.size(); 90 for (int i = 0; i < size; i++) {
|
/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 | 50 public int size() { method in class:ArrayObjectAdapter 51 return mItems.size(); 88 add(mItems.size(), item); 93 * If the index is > {@link #size} an exception will be thrown. 105 * given index. If the index is >= {@link #size} an exception will be thrown. 111 int itemsCount = items.size(); 155 int itemsToRemove = Math.min(count, mItems.size() - position); 171 int itemCount = mItems.size();
|
/frameworks/av/camera/camera2/ |
H A D | CaptureRequest.cpp | 56 int32_t size; local 57 if ((err = parcel->readInt32(&size)) != OK) { 58 ALOGE("%s: Failed to read surface list size from parcel", __FUNCTION__); 61 ALOGV("%s: Read surface list size = %d", __FUNCTION__, size); 64 for (int i = 0; i < size; ++i) { 113 int32_t size = static_cast<int32_t>(mSurfaceList.size()); local 116 parcel->writeInt32(size); 118 for (int32_t i = 0; i < size; [all...] |
/frameworks/av/media/libaaudio/tests/ |
H A D | test_block_adapter.cpp | 129 int32_t size = (r % TEST_BUFFER_SIZE); local 130 ASSERT_LE(size, TEST_BUFFER_SIZE); 131 ASSERT_GE(size, 0); 132 result = tester.testInputWrite(size); 144 int32_t size = (r % TEST_BUFFER_SIZE); local 145 ASSERT_LE(size, TEST_BUFFER_SIZE); 146 ASSERT_GE(size, 0); 147 result = tester.testOutputRead(size);
|
/frameworks/av/media/libaudiohal/ |
H A D | ConversionHelperHidl.cpp | 32 if (halKeys.size() == 0) return BAD_VALUE; 33 hidlKeys->resize(halKeys.size()); 38 bool keepFormatValue = halKeys.size() == 2 && 42 for (size_t i = 0; i < halKeys.size(); ++i) { 61 if (params.size() == 0) return BAD_VALUE; 62 hidlParams->resize(params.size()); 63 for (size_t i = 0; i < params.size(); ++i) { 77 for (size_t i = 0; i < parameters.size(); ++i) {
|
/frameworks/av/media/libstagefright/ |
H A D | HevcUtils.cpp | 47 status_t HevcParameterSets::addNalUnit(const uint8_t* data, size_t size) { argument 48 if (size < 1) { 56 if (size < 2) { 57 ALOGE("invalid NAL/VPS size b/35467107"); 60 err = parseVps(data + 2, size - 2); 63 if (size < 2) { 64 ALOGE("invalid NAL/SPS size b/35467107"); 67 err = parseSps(data + 2, size - 2); 70 if (size < 2) { 71 ALOGE("invalid NAL/PPS size 142 write(size_t index, uint8_t* dest, size_t size) argument 154 parseVps(const uint8_t* data, size_t size) argument 187 parseSps(const uint8_t* data, size_t size) argument 378 size_t size = 23; // 23 bytes in the header local [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | HTTPDownloader.cpp | 71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | | 83 uint32_t block_size, /* download block size */ 90 off64_t size; local 126 status_t getSizeErr = mDataSource->getSize(&size); 133 size = 65536; 136 sp<ABuffer> buffer = *out != NULL ? *out : new ABuffer(size); 143 if (block_size > 0 && (range_length == -1 || (int64_t)(buffer->size() + block_size) < range_length)) { 144 range_length = buffer->size() + block_size; 147 // Only resize when we don't know the size. 148 size_t bufferRemaining = buffer->capacity() - buffer->size(); [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);
|
/frameworks/av/services/medialog/ |
H A D | MediaLogService.cpp | 48 void MediaLogService::registerWriter(const sp<IMemory>& shared, size_t size, const char *name) argument 51 size < kMinSize || size > kMaxSize || name == NULL || 52 shared->size() < NBLog::Timeline::sharedSize(size)) { 55 sp<NBLog::Reader> reader(new NBLog::Reader(shared, size)); 68 for (size_t i = 0; i < mNamedReaders.size(); ) { 111 write(fd, result.string(), result.size()); 118 // for (size_t i = 0; i < namedReaders.size(); i++) {
|
/frameworks/base/core/java/android/net/ |
H A D | MatchAllNetworkSpecifier.java | 76 public MatchAllNetworkSpecifier[] newArray(int size) { 77 return new MatchAllNetworkSpecifier[size];
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryProperty.java | 69 public BatteryProperty[] newArray(int size) { 70 return new BatteryProperty[size];
|