Searched refs:resource_cost (Results 1 – 12 of 12) sorted by relevance
53 void TestResourceCost(const CameraResourceCost& resource_cost) { in TestResourceCost() argument57 mock_device_hwl->resource_cost_ = resource_cost; in TestResourceCost()66 EXPECT_EQ(result_cost.resource_cost, resource_cost.resource_cost); in TestResourceCost()67 EXPECT_EQ(result_cost.conflicting_devices, resource_cost.conflicting_devices); in TestResourceCost()72 .resource_cost = 50, in TEST()77 .resource_cost = 100, in TEST()
78 CameraResourceCost* resource_cost) { in getResourceCost() argument80 if (resource_cost == nullptr) { in getResourceCost()92 res = aidl_utils::ConvertToAidlResourceCost(hal_cost, resource_cost); in getResourceCost()
71 ScopedAStatus getResourceCost(CameraResourceCost* resource_cost) override;
140 aidl_cost->resourceCost = hal_cost.resource_cost; in ConvertToAidlResourceCost()
395 int resource_cost; member
120 cost->resource_cost = 100; in GetResourceCost()
155 info->resource_cost = 100; in initDeviceInfo()
63 uint32_t resource_cost = 0; member
116 cost = info.resource_cost; in getResourceCost()
561 cost = info.resource_cost; in getResourceCost()
11935 info->resource_cost = 100 * MIN(1.0, ratio); in getCamInfo()11937 info->resource_cost); in getCamInfo()