Home
last modified time | relevance | path

Searched refs:hidl_cost (Results 1 – 3 of 3) sorted by relevance

/hardware/google/camera/common/hal/hidl_service/
Dhidl_camera_device.cc83 CameraResourceCost hidl_cost; in getResourceCost() local
89 _hidl_cb(Status::INTERNAL_ERROR, hidl_cost); in getResourceCost()
93 res = hidl_utils::ConvertToHidlResourceCost(hal_cost, &hidl_cost); in getResourceCost()
95 _hidl_cb(Status::INTERNAL_ERROR, hidl_cost); in getResourceCost()
99 _hidl_cb(Status::OK, hidl_cost); in getResourceCost()
Dhidl_utils.cc78 CameraResourceCost* hidl_cost) { in ConvertToHidlResourceCost() argument
79 if (hidl_cost == nullptr) { in ConvertToHidlResourceCost()
84 hidl_cost->resourceCost = hal_cost.resource_cost; in ConvertToHidlResourceCost()
85 hidl_cost->conflictingDevices.resize(hal_cost.conflicting_devices.size()); in ConvertToHidlResourceCost()
88 hidl_cost->conflictingDevices[i] = in ConvertToHidlResourceCost()
Dhidl_utils.h76 CameraResourceCost* hidl_cost);