Home
last modified time | relevance | path

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

/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/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.java104 if (entry.getSize() > MAX_GET_ENTRY_CONTENTS_SIZE) { in getEntryContents()
105 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/libhidl/base/include/hidl/
DMQDescriptor.h77 size_t getSize() const;
255 size_t MQDescriptor<T, flavor>::getSize() const { in getSize() function
276 + "size = " + toString(q.getSize()) in toString()
/system/libfmq/include/fmq/
DMessageQueueBase.h957 return mDesc->getSize() - availableToReadBytes(); in availableToWriteBytes()
988 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()
994 size_t contiguousMessages = (mDesc->getSize() - writeOffset) / sizeof(T); in beginWrite()
1078 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()
1091 size_t readOffset = readPtr % mDesc->getSize(); in beginRead()
1096 size_t contiguousMessages = (mDesc->getSize() - readOffset) / sizeof(T); in beginRead()
1133 if (writePtr - readPtr > mDesc->getSize()) { in commitRead()
1153 return mDesc->getSize() / mDesc->getQuantum(); in getQuantumCount()
/system/vold/model/
DDisk.h62 uint64_t getSize() const { return mSize; } in getSize() function
/system/libhidl/transport/memory/1.0/
DIMemory.hal67 getSize() generates (uint64_t size);
/system/core/libsync/tests/
Dsync_test.cpp220 int getSize() const { in getSize() function in __anonb2e362dd0111::SyncFence
606 while (mergeFence.getSignaledCount() != mergeFence.getSize()) { in TEST_P()
669 ASSERT_EQ(fence.getSize(), fenceMap.size()); in TEST_P()
/system/core/logd/
Dlogd_test.cpp471 static const char getSize[] = { 'g', 'e', 't', 'L', 'o', 'g', in TEST() local
474 if (write(sock, getSize, sizeof(getSize)) > 0) { in TEST()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp920 EXPECT_EQ(memory->getSize(), mem.size()); in TEST_F()
923 memset(data, 0, memory->getSize()); in TEST_F()
988 EXPECT_EQ(memory->getSize(), batch[i].size()); in TEST_F()
991 memset(data, kValue, memory->getSize()); in TEST_F()
1039 EXPECT_EQ(memory->getSize(), mem.size()); in TEST_F()
1042 memset(data, 0, memory->getSize()); in TEST_F()
/system/extras/simpleperf/
Dread_elf.cpp234 symbol.len = symbol_ref->getSize(); in ReadSymbolTable()
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp126 for (size_t i = 0; i < memory->getSize(); i++) { in bitwiseNot()