Home
last modified time | relevance | path

Searched refs:vehicle_device (Results 1 – 4 of 4) sorted by relevance

/hardware/libhardware/tests/vehicle/
Dvehicle_tests.cpp25 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 …]
Dvehicle-hal-tool.c433 vehicle_hw_device_t *vehicle_device = (vehicle_hw_device_t *) (device); in main() local
436 vehicle_device->init(vehicle_device, vehicle_event_callback, vehicle_error_callback); in main()
495 list_all_properties(vehicle_device); in main()
511 get_property(vehicle_device, property, type, value); in main()
519 set_property(vehicle_device, property, type, value); in main()
527 subscribe_to_property(vehicle_device, property, sample_rate, wait_time_in_sec); in main()
530 ret_code = vehicle_device->release(vehicle_device); in main()
Dvehicle_test_fixtures.h83 vehicle_hw_device_t* vehicle_device() { return vehicle_device_; } in vehicle_device() function
/hardware/libhardware/modules/vehicle/
Dvehicle.c44 vehicle_hw_device_t vehicle_device; member
535 vdev->vehicle_device.common.tag = HARDWARE_DEVICE_TAG; in vdev_open()
536 vdev->vehicle_device.common.version = VEHICLE_DEVICE_API_VERSION_1_0; in vdev_open()
537 vdev->vehicle_device.common.module = (hw_module_t *) module; in vdev_open()
538 vdev->vehicle_device.common.close = vdev_close; in vdev_open()
541 vdev->vehicle_device.list_properties = vdev_list_properties; in vdev_open()
542 vdev->vehicle_device.init = vdev_init; in vdev_open()
543 vdev->vehicle_device.release = vdev_release; in vdev_open()
544 vdev->vehicle_device.get = vdev_get; in vdev_open()
545 vdev->vehicle_device.release_memory_from_get = vdev_release_memory_from_get; in vdev_open()
[all …]