Home
last modified time | relevance | path

Searched refs:cpuUsage (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/thermal/1.0/vts/functional/
DVtsHalThermalV1_0TargetTest.cpp159 void checkCpuUsage(const CpuUsage& cpuUsage) { in checkCpuUsage() argument
161 EXPECT_TRUE(!cpuUsage.isOnline || in checkCpuUsage()
162 (cpuUsage.active >= 0 && cpuUsage.total >= 0 && in checkCpuUsage()
163 cpuUsage.total >= cpuUsage.active)); in checkCpuUsage()
166 EXPECT_LT(0u, cpuUsage.name.size()); in checkCpuUsage()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h104 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
110 result = mModule->lockAsync(mModule, bufferHandle, cpuUsage, accessRegion.left, in lock()
117 mModule->lock(mModule, bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, in lock()
129 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
135 result = mModule->lockAsync_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
142 result = mModule->lock_ycbcr(mModule, bufferHandle, cpuUsage, accessRegion.left, in lockYCbCr()
DGralloc1Hal.h124 Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
128 cpuUsage & ~static_cast<uint64_t>(BufferUsage::CPU_WRITE_MASK); in lock()
131 int32_t error = mDispatch.lock(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lock()
140 Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
153 cpuUsage & ~static_cast<uint64_t>(BufferUsage::CPU_WRITE_MASK); in lockYCbCr()
155 error = mDispatch.lockFlex(mDevice, bufferHandle, cpuUsage, consumerUsage, &accessRect, in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapperHal.h45 virtual Error lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
50 virtual Error lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
DMapper.h91 Return<void> lock(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lock() argument
107 error = mHal->lock(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &data); in lock()
112 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, const V2_0::IMapper::Rect& accessRegion, in lockYCbCr() argument
129 error = mHal->lockYCbCr(bufferHandle, cpuUsage, accessRegion, std::move(fenceFd), &layout); in lockYCbCr()
/hardware/interfaces/camera/common/1.0/default/include/
DHandleImporter.h48 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size);
51 YCbCrLayout lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage,
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp138 buffer_handle_t& buf, uint64_t cpuUsage, size_t size) { in lock() argument
154 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
170 buffer_handle_t& buf, uint64_t cpuUsage, in lockYCbCr() argument
186 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/
DMapperVts.h70 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
72 YCbCrLayout lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp166 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument
179 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
192 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument
205 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal155 * @param cpuUsage specifies one or more CPU usage flags to request.
165 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage
174 bitfield<BufferUsage> cpuUsage,
191 * @param cpuUsage specifies one or more CPU usage flags to request.
201 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage
210 bitfield<BufferUsage> cpuUsage,
/hardware/interfaces/sensors/1.0/vts/functional/
DGrallocWrapper.h61 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
DGrallocWrapper.cpp172 uint64_t cpuUsage, in lock() argument
186 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()