Home
last modified time | relevance | path

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

/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp52 EXPECT_EQ(memory->getSize(), size) in expectAllocateSuccess()
53 << "Allocated " << size << " but got IMemory with size " << memory->getSize(); in expectAllocateSuccess()
73 EXPECT_EQ(memory->getSize(), size) in expectBatchAllocateSuccess()
74 << "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/base/include/hidl/
DMQDescriptor.h47 size_t getSize() const;
183 size_t MQDescriptor<T, flavor>::getSize() const { in getSize() function
204 + "size = " + toString(q.getSize()) in toString()
/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/
DAidlMQDescriptorShim.h57 size_t getSize() const;
232 size_t AidlMQDescriptorShim<T, flavor>::getSize() const { in getSize() function
256 "size = " + toString(q.getSize()) + ", .handle = " + toString(q.handle()) + in toString()
DMessageQueueBase.h1046 return mDesc->getSize() - availableToReadBytes(); in availableToWriteBytes()
1081 size_t writeOffset = writePtr % mDesc->getSize(); in beginWrite()
1087 size_t contiguousMessages = (mDesc->getSize() - writeOffset) / sizeof(T); in beginWrite()
1174 if (writePtr - readPtr > mDesc->getSize()) { in beginRead()
1187 size_t readOffset = readPtr % mDesc->getSize(); in beginRead()
1192 size_t contiguousMessages = (mDesc->getSize() - readOffset) / sizeof(T); in beginRead()
1228 if (writePtr - readPtr > mDesc->getSize()) { in commitRead()
1246 return mDesc->getSize() / mDesc->getQuantum(); in getQuantumCount()
/system/vold/model/
DDisk.h69 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 __anon86be89e40111::SyncFence
606 while (mergeFence.getSignaledCount() != mergeFence.getSize()) { in TEST_P()
669 ASSERT_EQ(fence.getSize(), fenceMap.size()); in TEST_P()
/system/logging/logd/
Dlogd_test.cpp475 static const char getSize[] = { 'g', 'e', 't', 'L', 'o', 'g', in TEST() local
478 if (write(sock, getSize, sizeof(getSize)) > 0) { in TEST()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp908 EXPECT_EQ(memory->getSize(), mem.size()); in TEST_F()
911 memset(data, 0, memory->getSize()); in TEST_F()
976 EXPECT_EQ(memory->getSize(), batch[i].size()); in TEST_F()
979 memset(data, kValue, memory->getSize()); in TEST_F()
1027 EXPECT_EQ(memory->getSize(), mem.size()); in TEST_F()
1030 memset(data, 0, memory->getSize()); in TEST_F()
/system/extras/simpleperf/
Dread_elf.cpp236 symbol.len = symbol_ref->getSize(); in ReadSymbolTable()
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp115 for (size_t i = 0; i < memory->getSize(); i++) { in bitwiseNot()