/frameworks/base/core/tests/utiltests/jni/ |
H A D | android_util_MemoryIntArrayTest.cpp | 26 jstring name, jint size) 33 if (size < 0) { 38 const int ashmemSize = sizeof(std::atomic_int) * size; 55 __attribute__((unused)) jobject clazz, jint fd, jint size) 61 if (size < 0) { 65 ioctl(fd, ASHMEM_SET_SIZE, size); 24 android_util_MemoryIntArrayTest_createAshmem(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jstring name, jint size) argument 54 android_util_MemoryIntArrayTest_setAshmemSize(__attribute__((unused)) JNIEnv* env, __attribute__((unused)) jobject clazz, jint fd, jint size) argument
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | ListViewAnimation.cpp | 34 int size = cardHeight - (dp(10) * 2); local 35 sk_sp<Bitmap> bitmap(TestUtils::createBitmap(size, size, &skBitmap)); 43 canvas.drawCircle(size / 2, size / 2, size / 2, paint); 49 paint.setTextSize(size / 2); 52 SkIntToScalar(size / 2), 53 /*approximate centering*/ SkFloatToScalar(size * 0.7f)}}; 59 int size [all...] |
H A D | RoundRectClippingAnimation.cpp | 26 RoundRectClippingAnimation(int spacing, int size) argument 27 : mSpacing(spacing), mSize(size) {}
|
/frameworks/base/media/java/android/media/ |
H A D | MediaDataSource.java | 37 * Implementations should should write up to {@code size} bytes into 40 * Return {@code 0} if size is zero (thus no bytes are read). 47 * @param size the number of bytes to read. 51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument 55 * Called to get the size of the data source. 58 * @return the size of data source in bytes, or -1 if the size is unknown.
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PersistentPreferredIntentResolver.java | 24 protected PersistentPreferredActivity[] newArray(int size) { argument 25 return new PersistentPreferredActivity[size];
|
/frameworks/base/tools/bit/ |
H A D | util.h | 31 off_t size; member in struct:FileInfo
|
/frameworks/compile/mclinker/include/mcld/Support/ |
H A D | LEB128.h | 36 size_t size(IntType pValue) { function in namespace:mcld::leb128 37 size_t size = 1; local 40 ++size; 42 return size;
|
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | AlignFragment.cpp | 32 size_t AlignFragment::size() const { function in class:mcld::AlignFragment 34 "AlignFragment::size() should not be called before layout."); 35 uint64_t size = llvm::OffsetToAlignment(getOffset(), m_Alignment); local 36 if (size > m_MaxBytesToEmit) 39 return size;
|
H A D | RegionFragment.cpp | 23 size_t RegionFragment::size() const { function in class:mcld::RegionFragment 24 return m_Region.size();
|
/frameworks/compile/mclinker/unittests/ |
H A D | DirIteratorTest.cpp | 50 size_t size = 0; local 53 size = entry.path()->native().size(); 54 ASSERT_TRUE(size != 0);
|
/frameworks/minikin/tests/unittest/ |
H A D | LayoutUtilsTest.cpp | 28 size_t size = 0U; local 30 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint); 32 getNextWordBreakForCache(buf, offset_in, size)) 40 size_t size = 0U; local 42 ParseUnicode(buf, BUF_SIZE, query_str, &size, &expected_breakpoint); 44 getPrevWordBreakForCache(buf, offset_in, size))
|
/frameworks/native/libs/binder/ |
H A D | MemoryBase.cpp | 29 ssize_t offset, size_t size) 30 : mSize(size), mOffset(offset), mHeap(heap) 34 sp<IMemoryHeap> MemoryBase::getMemory(ssize_t* offset, size_t* size) const 37 if (size) *size = mSize; 28 MemoryBase(const sp<IMemoryHeap>& heap, ssize_t offset, size_t size) argument
|
/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/libs/vr/libpdx/private/pdx/rpc/ |
H A D | sequence.h | 20 static constexpr std::size_t size() { return sizeof...(I); } function in struct:android::pdx::rpc::IndexSequence
|
/frameworks/rs/tests/lldb/cpp/BranchingFunCalls/ |
H A D | BranchingFunCalls.cpp | 23 static const int size = 64; local 30 tb.setX(size); 31 tb.setY(size); 37 int * input = new int[size*size]; 38 for(int i = 0; i < size*size; ++i) { 39 input[i] = i - (size*size / 2); 41 a->copy2DRangeFrom(0, 0, size, siz [all...] |
/frameworks/rs/tests/lldb/cpp/InfiniteLoop/ |
H A D | InfiniteLoop.cpp | 26 static const int size = 64; local 33 tb.setX(size); 34 tb.setY(size); 51 uint32_t * output = new uint32_t[size*size]; 52 b->copy2DRangeTo(0, 0, size, size, output);
|
/frameworks/rs/tests/lldb/cpp/MultipleRSFiles/ |
H A D | MultipleRSFiles.cpp | 24 static const int size = 64; local 31 tb.setX(size); 32 tb.setY(size); 43 uint32_t * output = new uint32_t[size*size]; 44 b->copy2DRangeTo(0, 0, size, size, output);
|
/frameworks/rs/tests/lldb/cpp/WaitAttach/ |
H A D | WaitAttach.cpp | 23 static const int size = 8; local 30 tb.setX(size); 31 tb.setY(size); 40 uint32_t * output = new uint32_t[size*size]; 41 b->copy2DRangeTo(0, 0, size, size, output);
|
/frameworks/support/compat/java/android/support/v4/os/ |
H A D | ParcelableCompatCreatorCallbacks.java | 45 * @param size Size of the array. 49 T[] newArray(int size); argument
|
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayoutActions.java | 54 public static ViewAction setSize(final int size) { argument 63 return "Set SwipeRefreshLayout size"; 71 swipeRefreshLayout.setSize(size);
|
/frameworks/av/camera/include/camera/ |
H A D | CameraParameters2.h | 89 // Retrieve the preferred preview size (width and height) in pixels 123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector 124 return mList.size(); 144 for (; vectorIdx < mList.size(); ++vectorIdx) {
|
/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/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/drm/mediadrm/plugins/clearkey/ |
H A D | CryptoFactory.cpp | 39 const void* data, size_t size, 47 sessionId.appendArray(reinterpret_cast<const uint8_t*>(data), size); local 37 createPlugin( const uint8_t uuid[16], const void* data, size_t size, android::CryptoPlugin** plugin) argument
|
/frameworks/av/include/camera/ |
H A D | CameraParameters2.h | 89 // Retrieve the preferred preview size (width and height) in pixels 123 size_t size() const { function in struct:android::CameraParameters2::OrderedKeyedVector 124 return mList.size(); 144 for (; vectorIdx < mList.size(); ++vectorIdx) {
|