Lines Matching refs:vn
42 sp<IVehicleNetwork> vn(interface_cast<IVehicleNetwork>(binder)); in connectToService() local
43 return vn; in connectToService()
63 sp<IVehicleNetwork> vn = connectToService(); in TEST_F() local
64 ASSERT_TRUE(vn.get() != NULL); in TEST_F()
68 sp<IVehicleNetwork> vn = getDefaultVN(); in TEST_F() local
69 sp<VehiclePropertiesHolder> properties = vn->listProperties(); in TEST_F()
77 sp<VehiclePropertiesHolder> propertiesIvalid = vn->listProperties(-1); // no such property in TEST_F()
82 sp<VehiclePropertiesHolder> singleProperty = vn->listProperties(config->prop); in TEST_F()
93 sp<IVehicleNetwork> vn = getDefaultVN(); in TEST_F() local
94 sp<VehiclePropertiesHolder> properties = vn->listProperties(); in TEST_F()
110 status_t r = vn->setProperty(value.value); in TEST_F()
116 status_t r = vn->getProperty(&value.value); in TEST_F()
128 sp<IVehicleNetwork> vn = getDefaultVN(); in TEST_F() local
129 sp<VehiclePropertiesHolder> properties = vn->listProperties(); in TEST_F()
142 status_t r = vn->setProperty(value.value); in TEST_F()
152 sp<IVehicleNetwork> vn = getDefaultVN(); in TEST_F() local
153 sp<VehiclePropertiesHolder> properties = vn->listProperties(); in TEST_F()
161 status_t r = vn->subscribe(listener, config->prop, config->max_sample_rate, 0); in TEST_F()
172 status_t r = vn->setProperty(value.value); in TEST_F()
180 vn->unsubscribe(listener, config->prop); in TEST_F()