Searched refs:num_configs (Results 1 – 5 of 5) sorted by relevance
34 int num_configs = -1; in TEST_F() local35 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()
71 int num_configs = -1; in list_all_properties() local72 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()
49 virtual int GetDisplayConfigs(uint32_t *configs, size_t *num_configs);
488 size_t *num_configs) { in GetDisplayConfigs() argument491 if (!device || !configs || !num_configs) { in GetDisplayConfigs()502 status = hwc_session->hwc_display_[disp]->GetDisplayConfigs(configs, num_configs); in GetDisplayConfigs()
229 int HWCDisplay::GetDisplayConfigs(uint32_t *configs, size_t *num_configs) { in GetDisplayConfigs() argument230 if (*num_configs > 0) { in GetDisplayConfigs()232 *num_configs = 1; in GetDisplayConfigs()