Home
last modified time | relevance | path

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

/hardware/google/camera/common/hal/tests/
Dmock_device_hwl.h41 status_t GetResourceCost(CameraResourceCost* cost) const { in GetResourceCost() argument
42 if (cost == nullptr) { in GetResourceCost()
46 *cost = resource_cost_; in GetResourceCost()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.cc70 status_t CameraDevice::GetResourceCost(CameraResourceCost* cost) { in GetResourceCost() argument
72 return camera_device_hwl_->GetResourceCost(cost); in GetResourceCost()
Dcamera_device.h44 status_t GetResourceCost(CameraResourceCost* cost);
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraDeviceHWLImpl.cpp84 CameraResourceCost* cost) const { in GetResourceCost()
86 cost->resource_cost = 100; in GetResourceCost()
DEmulatedCameraDeviceHWLImpl.h50 status_t GetResourceCost(CameraResourceCost* cost) const override;
/hardware/google/camera/common/hal/hwl_interface/
Dcamera_device_hwl.h43 virtual status_t GetResourceCost(CameraResourceCost* cost) const = 0;
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice.cpp108 int cost = 100; in getResourceCost() local
116 cost = info.resource_cost; in getResourceCost()
131 resCost.resourceCost = cost; in getResourceCost()
/hardware/interfaces/camera/common/1.0/
Dtypes.hal262 * Structure defining the abstract resource cost of opening a camera device,
269 * The total resource "cost" of using this camera, represented as an integer
279 * the resource costs of these cameras is <= 100. For determining cost,
286 * of camera devices with a total resource cost > 100. This may succeed or
289 * must fail during the configure calls. If the total resource cost is <=
/hardware/interfaces/camera/device/3.2/
DICameraDevice.hal33 * Get camera device resource cost information.
40 * resource cost is not available.
/hardware/interfaces/power/1.0/
Dtypes.hal50 * is intended to save battery at the cost of performance. The data
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice.cpp550 int cost = 100; in getResourceCost() local
558 cost = info.resource_cost; in getResourceCost()
573 resCost.resourceCost = cost; in getResourceCost()
/hardware/interfaces/camera/device/1.0/
DICameraDevice.hal37 * Get camera device resource cost information.
46 * resource cost is not available.