/hardware/google/pixel/perfstatsd/ |
D | cpu_usage.cpp | 194 uint64_t cpuUsage = cpuTime - idle - iowait; in getOverallUsage() local 198 uint64_t diffUsage = cpuUsage - mPrevUsage.cpuUsage; in getOverallUsage() 210 LOG(INFO) << "prev total: " << mPrevUsage.cpuUsage in getOverallUsage() 211 << " , cur total: " << cpuUsage << " , diffusage: " << diffUsage in getOverallUsage() 215 mPrevUsage.cpuUsage = cpuUsage; in getOverallUsage() 232 uint64_t diffUsage = cpuUsage - mPrevCoresUsage[c].cpuUsage; in getOverallUsage() 236 << " , prev cpu usage: " << mPrevCoresUsage[c].cpuUsage in getOverallUsage() 237 << " , cur cpu usage: " << cpuUsage in getOverallUsage() 242 mPrevCoresUsage[c].cpuUsage = cpuUsage; in getOverallUsage()
|
D | perfstatsd.cpp | 26 std::unique_ptr<StatsType> cpuUsage(new CpuUsage); in Perfstatsd() local 27 cpuUsage->setBufferSize(CPU_USAGE_BUFFER_SIZE); in Perfstatsd() 28 mStats.emplace_back(std::move(cpuUsage)); in Perfstatsd()
|
/hardware/interfaces/camera/common/1.0/default/ |
D | HandleImporter.cpp | 102 uint64_t cpuUsage, const IMapper::Rect& accessRegion) { in lockYCbCrInternal() argument 109 mapper->lockYCbCr(buffer, cpuUsage, accessRegionCopy, acquireFenceHandle, in lockYCbCrInternal() 146 const sp<IMapperV4> mapper, buffer_handle_t& buf, uint64_t cpuUsage, in lockYCbCrInternal() argument 155 mapper->lock(buffer, cpuUsage, accessRegionV4, acquireFenceHandle, in lockYCbCrInternal() 318 buffer_handle_t& buf, uint64_t cpuUsage, size_t size) { in lock() argument 320 return lock(buf, cpuUsage, accessRegion); in lock() 323 void* HandleImporter::lock(buffer_handle_t& buf, uint64_t cpuUsage, in lock() argument 344 mMapperV4->lock(buffer, cpuUsage, accessRegionV4, acquireFenceHandle, in lock() 356 mMapperV3->lock(buffer, cpuUsage, accessRegionV3, acquireFenceHandle, in lock() 366 mMapperV2->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock() [all …]
|
/hardware/interfaces/camera/common/1.0/default/include/ |
D | HandleImporter.h | 50 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, size_t size); 53 void* lock(buffer_handle_t& buf, uint64_t cpuUsage, const IMapper::Rect& accessRegion); 56 YCbCrLayout lockYCbCr(buffer_handle_t& buf, uint64_t cpuUsage, 71 YCbCrLayout lockYCbCrInternal(const sp<M> mapper, buffer_handle_t& buf, uint64_t cpuUsage,
|
/hardware/google/gchips/gralloc3/src/ |
D | GrallocMapper.h | 60 Return<void> lock(void* buffer, uint64_t cpuUsage, 69 Return<void> lockYCbCr(void* buffer, uint64_t cpuUsage, 104 Error lockBuffer(buffer_handle_t bufferHandle, uint64_t cpuUsage, 109 Error lockBuffer(buffer_handle_t bufferHandle, uint64_t cpuUsage,
|
D | GrallocMapper.cpp | 353 Return<void> GrallocMapper::lock(void* buffer, uint64_t cpuUsage, in lock() argument 374 const Error error = lockBuffer(bufferHandle, cpuUsage, accessRegion, fenceFd, &data); in lock() 395 Return<void> GrallocMapper::lockYCbCr(void* buffer, uint64_t cpuUsage, in lockYCbCr() argument 417 const Error error = lockBuffer(bufferHandle, cpuUsage, accessRegion, fenceFd, &layout); in lockYCbCr() 529 uint64_t cpuUsage, in lockBuffer() argument 553 if (mali_gralloc_lock_async(&privateModule, bufferHandle, cpuUsage, in lockBuffer() 581 uint64_t cpuUsage, in lockBuffer() argument 604 result = mali_gralloc_lock_ycbcr_async(&privateModule, bufferHandle, cpuUsage, in lockBuffer()
|
/hardware/interfaces/thermal/1.0/vts/functional/ |
D | VtsHalThermalV1_0TargetTest.cpp | 145 void checkCpuUsage(const CpuUsage& cpuUsage) { in checkCpuUsage() argument 147 EXPECT_TRUE(!cpuUsage.isOnline || in checkCpuUsage() 148 (cpuUsage.active >= 0 && cpuUsage.total >= 0 && in checkCpuUsage() 149 cpuUsage.total >= cpuUsage.active)); in checkCpuUsage() 152 EXPECT_LT(0u, cpuUsage.name.size()); in checkCpuUsage()
|
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/ |
D | Gralloc0Hal.h | 104 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()
|
D | Gralloc1Hal.h | 124 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/ |
D | Mapper.h | 91 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/graphics/mapper/2.0/utils/vts/include/mapper-vts/2.0/ |
D | MapperVts.h | 71 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, 73 YCbCrLayout lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
|
/hardware/interfaces/graphics/mapper/2.0/utils/vts/ |
D | MapperVts.cpp | 164 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument 177 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock() 190 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument 203 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/include/mapper-vts/3.0/ |
D | MapperVts.h | 72 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, 75 YCbCrLayout lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage,
|
/hardware/interfaces/graphics/mapper/3.0/utils/vts/ |
D | MapperVts.cpp | 179 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument 196 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock() 212 YCbCrLayout Gralloc::lockYCbCr(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lockYCbCr() argument 225 mMapper->lockYCbCr(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lockYCbCr()
|
/hardware/google/gchips/gralloc4/src/4.x/ |
D | GrallocMapper.cpp | 85 Return<void> GrallocMapper::lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion, in lock() argument 88 common::lock(buffer, cpuUsage, accessRegion, acquireFence, hidl_cb); in lock()
|
D | GrallocMapper.h | 60 Return<void> lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion,
|
/hardware/google/pixel/perfstatsd/include/ |
D | cpu_usage.h | 36 uint64_t cpuUsage; member
|
/hardware/interfaces/graphics/mapper/2.0/ |
D | IMapper.hal | 158 * @param cpuUsage specifies one or more CPU usage flags to request. 168 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage 177 bitfield<BufferUsage> cpuUsage, 194 * @param cpuUsage specifies one or more CPU usage flags to request. 204 * BAD_VALUE when cpuUsage is 0, contains non-CPU usage 213 bitfield<BufferUsage> cpuUsage,
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | Mapper.h | 79 void lock(void *buffer, uint64_t cpuUsage, const IMapper::Rect &accessRegion, const hidl_handle &ac…
|
D | Mapper.cpp | 160 uint64_t cpuUsage, in lockBuffer() argument 198 if (private_handle->cpu_write != 0 && (cpuUsage & BufferUsage::CPU_WRITE_MASK)) in lockBuffer() 217 …if (mali_gralloc_lock(bufferHandle, cpuUsage, accessRegion.left, accessRegion.top, accessRegion.wi… in lockBuffer() 357 void lock(void* buffer, uint64_t cpuUsage, const IMapper::Rect& accessRegion, in lock() argument 376 const Error error = lockBuffer(bufferHandle, cpuUsage, accessRegion, fenceFd, &data); in lock()
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/ |
D | ComposerVts.cpp | 365 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument 373 return mGralloc4->lock(bufferHandle, cpuUsage, accessRegion, acquireFence); in lock() 382 return mGralloc3->lock(bufferHandle, cpuUsage, accessRegion, acquireFence, &bytesPerPixel, in lock() 390 return mGralloc2->lock(bufferHandle, cpuUsage, accessRegion, acquireFence); in lock()
|
/hardware/interfaces/graphics/mapper/3.0/ |
D | IMapper.hal | 206 * @param cpuUsage CPU usage flags to request. See +ndk 218 * - `BAD_VALUE` if @p cpuUsage is 0, contains non-CPU usage flags, or 227 uint64_t cpuUsage, 248 * @param cpuUsage CPU usage flags to request. See +ndk 260 * - `BAD_VALUE` if @p cpuUsage is 0, contains non-CPU usage flags, or 267 uint64_t cpuUsage,
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
D | MapperVts.cpp | 195 void* Gralloc::lock(const native_handle_t* bufferHandle, uint64_t cpuUsage, in lock() argument 208 mMapper->lock(buffer, cpuUsage, accessRegion, acquireFenceHandle, in lock()
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/include/mapper-vts/4.0/ |
D | MapperVts.h | 100 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
|
/hardware/interfaces/graphics/composer/2.1/utils/vts/include/composer-vts/2.1/ |
D | ComposerVts.h | 164 void* lock(const native_handle_t* bufferHandle, uint64_t cpuUsage,
|