Home
last modified time | relevance | path

Searched refs:resourceCost (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/camera/libcameraservice/common/
DHalConversionsTemplated.h59 internalResourceCost.resourceCost = (uint32_t)s.resourceCost; in HalToFrameworkResourceCost()
DCameraProviderManager.h64 uint32_t resourceCost; member
610 const CameraResourceCost& resourceCost, in DeviceInfo()
613 mIsLogicalCamera(false), mResourceCost(resourceCost), in DeviceInfo()
666 const CameraResourceCost& resourceCost,
DCameraProviderManager.cpp2246 dprintf(fd, " Resource cost: %d\n", device->mResourceCost.resourceCost); in dump()
2530 const CameraResourceCost& resourceCost, in DeviceInfo3() argument
2534 publicCameraIds, resourceCost, parentProvider) { }
/frameworks/av/services/camera/libcameraservice/common/aidl/
DAidlProviderInfo.cpp378 camera::common::CameraResourceCost resourceCost; in initializeDeviceInfo() local
379 status = cameraInterface->getResourceCost(&resourceCost); in initializeDeviceInfo()
386 for (auto& conflictName : resourceCost.conflictingDevices) { in initializeDeviceInfo()
398 new AidlDeviceInfo3(name, tagId, id, minorVersion, HalToFrameworkResourceCost(resourceCost), in initializeDeviceInfo()
446 const CameraResourceCost& resourceCost, in AidlDeviceInfo3() argument
450 DeviceInfo3(name, tagId, id, minorVersion, resourceCost, parentProvider, publicCameraIds) { in AidlDeviceInfo3()
/frameworks/av/services/camera/libcameraservice/common/hidl/
DHidlProviderInfo.cpp463 common::V1_0::CameraResourceCost resourceCost; in initializeDeviceInfo() local
464 cameraInterface->getResourceCost([&status, &resourceCost]( in initializeDeviceInfo()
467 resourceCost = cost; in initializeDeviceInfo()
475 for (auto& conflictName : resourceCost.conflictingDevices) { in initializeDeviceInfo()
487 new HidlDeviceInfo3(name, tagId, id, minorVersion, HalToFrameworkResourceCost(resourceCost), in initializeDeviceInfo()
558 const CameraResourceCost& resourceCost, in HidlDeviceInfo3() argument
562 DeviceInfo3(name, tagId, id, minorVersion, resourceCost, parentProvider, publicCameraIds) { in HidlDeviceInfo3()
/frameworks/av/services/camera/libcameraservice/tests/
DCameraProviderManagerTest.cpp56 const hardware::camera::common::V1_0::CameraResourceCost& resourceCost)>;
59 hardware::camera::common::V1_0::CameraResourceCost resourceCost = {100, in getResourceCost() local
61 _hidl_cb(Status::OK, resourceCost); in getResourceCost()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp458 mCameraStates.emplace(id, std::make_shared<CameraState>(id, cost.resourceCost, in addStates()