Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 26) sorted by relevance

12

/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp61 EXPECT_EQ(memory->getSize(), size) in expectAllocateSuccess()
62 << "Allocated " << size << " but got IMemory with size " << memory->getSize(); in expectAllocateSuccess()
82 EXPECT_EQ(memory->getSize(), size) in expectBatchAllocateSuccess()
83 << "Allocated " << size << " but got IMemory with size " << memory->getSize(); in expectBatchAllocateSuccess()
/system/libhidl/libhidlcache/
DHidlMemoryCache.cpp46 Return<uint64_t> getSize() override { return mHeap->getSize(); } in getSize() function in android::hardware::MemoryDecorator
65 : mHeap(heap), mSize(size), mOffset(offset), mHeapSize(heap->getSize()) {} in MemoryBlockImpl()
87 Return<uint64_t> getSize() override { return mSize; } in getSize() function in android::hardware::MemoryBlockImpl
Dlibhidlcache_test.cpp141 EXPECT_EQ(dealer->heap()->getSize(), 4096ULL); in TEST_F()
DMemoryDealer.cpp309 : MemoryDealer(heap->getSize()), in HidlMemoryDealer()
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DAutoFitTextureView.java63 int width = MeasureSpec.getSize(widthMeasureSpec); in onMeasure()
64 int height = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
DCameraAvgFragment.java555 activity.getWindowManager().getDefaultDisplay().getSize(displaySize); in setUpCameraOutputs()
/system/extras/zram-perf/
Dzram-perf.cpp59 size_t getSize() { in getSize() function in BlockFd
73 size_t devSize = getSize(); in fillWithCompressible()
85 size_t devSize = getSize(); in benchSequentialRead()
106 size_t devSize = getSize(); in benchSequentialWrite()
/system/libhidl/transport/allocator/1.0/utils/
DFrameworkUtils.cpp35 return HidlMemory::getInstance("ashmem", fd, heap->getSize()); in fromHeap()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DTimeZoneDistro.java101 if (entry.getSize() > MAX_GET_ENTRY_CONTENTS_SIZE) { in getEntryContents()
102 throw new IOException("Entry " + entryName + " too large: " + entry.getSize()); in getEntryContents()
/system/libhidl/transport/memory/1.0/default/
DAshmemMemory.cpp68 Return<uint64_t> AshmemMemory::getSize() { in getSize() function in android::hidl::memory::V1_0::implementation::AshmemMemory
DAshmemMemory.h51 Return<uint64_t> getSize() override;
/system/libfmq/include/fmq/
DMessageQueue.h972 return mDesc->getSize() - availableToReadBytes(); in availableToWriteBytes()
999 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()
1005 size_t contiguousMessages = (mDesc->getSize() - writeOffset) / sizeof(T); in beginWrite()
1087 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()
1100 size_t readOffset = readPtr % mDesc->getSize(); in beginRead()
1105 size_t contiguousMessages = (mDesc->getSize() - readOffset) / sizeof(T); in beginRead()
1142 if (writePtr - readPtr > mDesc->getSize()) { in commitRead()
1160 return mDesc->getSize() / mDesc->getQuantum(); in getQuantumCount()
/system/libhidl/base/include/hidl/
DMQDescriptor.h77 size_t getSize() const;
260 size_t MQDescriptor<T, flavor>::getSize() const { in getSize() function
281 + "size = " + toString(q.getSize()) in toString()
/system/vold/model/
DDisk.h62 uint64_t getSize() const { return mSize; } in getSize() function
/system/core/liblog/
Dlogger.h83 ssize_t (*getSize)(struct android_log_logger* logger, member
Dlogger_read.cpp148 LOGGER_FUNCTION(logger, -ENODEV, getSize); in android_logger_get_log_size()
Dlogd_reader.cpp79 .getSize = logdGetSize,
Dpmsg_reader.cpp51 .getSize = NULL,
/system/libhidl/transport/memory/1.0/
DIMemory.hal67 getSize() generates (uint64_t size);
/system/core/logd/
DLogBuffer.h130 unsigned long getSize(log_id_t id);
DCommandListener.cpp120 unsigned long size = mBuf.getSize((log_id_t)id); in runCommand()
/system/core/libsync/tests/
Dsync_test.cpp220 int getSize() const { in getSize() function in __anon3472b2060111::SyncFence
606 while (mergeFence.getSignaledCount() != mergeFence.getSize()) { in TEST_P()
669 ASSERT_EQ(fence.getSize(), fenceMap.size()); in TEST_P()
/system/core/logd/tests/
Dlogd_test.cpp577 static const char getSize[] = { 'g', 'e', 't', 'L', 'o', 'g', in TEST() local
580 if (write(sock, getSize, sizeof(getSize)) > 0) { in TEST()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp933 EXPECT_EQ(memory->getSize(), mem.size()); in TEST_F()
936 memset(data, 0, memory->getSize()); in TEST_F()
1001 EXPECT_EQ(memory->getSize(), batch[i].size()); in TEST_F()
1004 memset(data, kValue, memory->getSize()); in TEST_F()
1052 EXPECT_EQ(memory->getSize(), mem.size()); in TEST_F()
1055 memset(data, 0, memory->getSize()); in TEST_F()
/system/extras/simpleperf/
Dread_elf.cpp305 symbol.len = symbol_ref->getSize(); in ReadSymbolTable()

12