Home
last modified time | relevance | path

Searched refs:num_configs (Results 1 – 5 of 5) sorted by relevance

/hardware/libhardware/tests/vehicle/
Dvehicle_tests.cpp34 int num_configs = -1; in TEST_F() local
35 config = vehicle_device()->list_properties(vehicle_device(), &num_configs); in TEST_F()
36 ASSERT_TRUE(num_configs > -1) << "list_properties() call failed."; in TEST_F()
37 ASSERT_TRUE(num_configs > 0) << "list_properties() returned zero items."; in TEST_F()
38 std::cout << "Number of properties reported: " << num_configs << "\n"; in TEST_F()
39 for (int i = 0; i < num_configs; i++) { in TEST_F()
Dvehicle-hal-tool.c71 int num_configs = -1; in list_all_properties() local
72 const vehicle_prop_config_t *configs = device->list_properties(device, &num_configs); in list_all_properties()
73 if (num_configs < 0) { in list_all_properties()
74 printf("List configs error. %d", num_configs); in list_all_properties()
80 for (i = 0; i < num_configs; i++) { in list_all_properties()
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display.h49 virtual int GetDisplayConfigs(uint32_t *configs, size_t *num_configs);
Dhwc_session.cpp488 size_t *num_configs) { in GetDisplayConfigs() argument
491 if (!device || !configs || !num_configs) { in GetDisplayConfigs()
502 status = hwc_session->hwc_display_[disp]->GetDisplayConfigs(configs, num_configs); in GetDisplayConfigs()
Dhwc_display.cpp229 int HWCDisplay::GetDisplayConfigs(uint32_t *configs, size_t *num_configs) { in GetDisplayConfigs() argument
230 if (*num_configs > 0) { in GetDisplayConfigs()
232 *num_configs = 1; in GetDisplayConfigs()