Searched refs:vehicle_device (Results 1 – 4 of 4) sorted by relevance
/hardware/libhardware/tests/vehicle/ |
D | vehicle_tests.cpp | 25 ASSERT_TRUE(NULL != vehicle_device()->list_properties) in TEST_F() 35 config = vehicle_device()->list_properties(vehicle_device(), &num_configs); in TEST_F() 59 vehicle_device()->get(vehicle_device(), &data); in TEST_F() 76 vehicle_device()->init(vehicle_device(), callback_fn(), error_fn()); in TEST_F() 80 ret_code = vehicle_device()->init(vehicle_device(), callback_fn(), error_fn()); in TEST_F() 84 ret_code = vehicle_device()->release(vehicle_device()); in TEST_F() 88 ret_code = vehicle_device()->init(vehicle_device(), callback_fn(), error_fn()); in TEST_F() 92 ret_code = vehicle_device()->release(vehicle_device()); in TEST_F() 101 int ret_code = vehicle_device()->subscribe(vehicle_device(), VEHICLE_PROPERTY_DRIVING_STATUS, in TEST_F() 106 ret_code = vehicle_device()->init(vehicle_device(), callback_fn(), error_fn()); in TEST_F() [all …]
|
D | vehicle-hal-tool.c | 432 vehicle_hw_device_t *vehicle_device = (vehicle_hw_device_t *) (device); in main() local 435 vehicle_device->init(vehicle_device, vehicle_event_callback, vehicle_error_callback); in main() 494 list_all_properties(vehicle_device); in main() 510 get_property(vehicle_device, property, type, value); in main() 518 set_property(vehicle_device, property, type, value); in main() 526 subscribe_to_property(vehicle_device, property, sample_rate, wait_time_in_sec); in main() 529 ret_code = vehicle_device->release(vehicle_device); in main()
|
D | vehicle_test_fixtures.h | 83 vehicle_hw_device_t* vehicle_device() { return vehicle_device_; } in vehicle_device() function
|
/hardware/libhardware/modules/vehicle/ |
D | vehicle.c | 44 vehicle_hw_device_t vehicle_device; member 551 vdev->vehicle_device.common.tag = HARDWARE_DEVICE_TAG; in vdev_open() 552 vdev->vehicle_device.common.version = VEHICLE_DEVICE_API_VERSION_1_0; in vdev_open() 553 vdev->vehicle_device.common.module = (hw_module_t *) module; in vdev_open() 554 vdev->vehicle_device.common.close = vdev_close; in vdev_open() 557 vdev->vehicle_device.list_properties = vdev_list_properties; in vdev_open() 558 vdev->vehicle_device.init = vdev_init; in vdev_open() 559 vdev->vehicle_device.release = vdev_release; in vdev_open() 560 vdev->vehicle_device.get = vdev_get; in vdev_open() 561 vdev->vehicle_device.release_memory_from_get = vdev_release_memory_from_get; in vdev_open() [all …]
|