Home
last modified time | relevance | path

Searched refs:kSize (Results 1 – 6 of 6) sorted by relevance

/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndVkSnapshotBufferTests.cpp35 static constexpr vkhpp::DeviceSize kSize = 256; in TEST_P() local
37 std::vector<uint8_t> srcBufferContent(kSize); in TEST_P()
38 for (size_t i = 0; i < kSize; i++) { in TEST_P()
46 .size = static_cast<VkDeviceSize>(kSize), in TEST_P()
77 std::memcpy(bytes, srcBufferContent.data(), kSize); in TEST_P()
82 .size = kSize, in TEST_P()
88 .size = static_cast<VkDeviceSize>(kSize), in TEST_P()
136 .size = kSize, in TEST_P()
159 .size = static_cast<VkDeviceSize>(kSize), in TEST_P()
213 for (uint32_t i = 0; i < kSize; ++i) { in TEST_P()
[all …]
DGfxstreamEnd2EndVkSnapshotImageTests.cpp352 static constexpr vkhpp::DeviceSize kSize = 4 * kWidth * kHeight; in TEST_P() local
354 std::vector<uint8_t> srcBufferContent(kSize); in TEST_P()
355 for (size_t i = 0; i < kSize; i++) { in TEST_P()
367 .size = static_cast<VkDeviceSize>(kSize), in TEST_P()
398 std::memcpy(bytes, srcBufferContent.data(), kSize); in TEST_P()
403 .size = kSize, in TEST_P()
518 std::vector<uint8_t> dst(kSize); in TEST_P()
520 dst.data(), kSize, testEnvironment); in TEST_P()
522 for (uint32_t i = 0; i < kSize; ++i) { in TEST_P()
DGfxstreamEnd2EndVkTests.cpp389 static constexpr const vkhpp::DeviceSize kSize = 16 * 1024; in TEST_P() local
408 .allocationSize = kSize, in TEST_P()
421 std::memset(bytes, 0xFF, kSize); in TEST_P()
426 .size = kSize, in TEST_P()
431 for (uint32_t i = 0; i < kSize; ++i) { in TEST_P()
875 static constexpr const vkhpp::DeviceSize kSize = 1024; in TEST_P() local
877 .size = kSize, in TEST_P()
940 static constexpr const vkhpp::DeviceSize kSize = 1024; in TEST_P() local
942 .size = kSize, in TEST_P()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DBufferTracker.cpp50 kSize(size), in AidlManagedBuffer()
116 if (size != kSize) { in validateCopyFrom()
117 LOG(ERROR) << "AidlManagedBuffer::validateCopyFrom -- invalid memory size: " << kSize in validateCopyFrom()
160 if (size != kSize) { in validateCopyTo()
161 LOG(ERROR) << "AidlManagedBuffer::validateCopyTo -- invalid memory size: " << kSize in validateCopyTo()
/hardware/google/gfxstream/common/detector/
DGraphicsDetectorVkExternalMemoryHost.cpp149 constexpr const vkhpp::DeviceSize kSize = 16384; in CheckImportingSharedMemory() local
151 auto shm = GFXSTREAM_EXPECT(CreateSharedMemory(kSize)); in CheckImportingSharedMemory()
153 void* mappedShm = shm.Map(kSize); in CheckImportingSharedMemory()
181 .allocationSize = kSize, in CheckImportingSharedMemory()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DBufferTracker.h48 uint32_t getSize() const { return kSize; } in getSize()
64 const uint32_t kSize; variable