int physical_sensor_handler::delete_batch_latency(sensor_observer *ob)
{
bool ret = false;
- int policy = OP_DEFAULT;
int32_t latency;
m_batch_latency_map.erase(ob);
retv_if(!m_device, -EINVAL);
bool ret = false;
- int policy = OP_DEFAULT;
ret = m_device->get_attribute_int(m_hal_id, attr, value);
return (ret ? OP_SUCCESS : OP_ERROR);
retv_if(!m_device, -EINVAL);
bool ret = false;
- int policy = OP_DEFAULT;
ret = m_device->get_attribute_str(m_hal_id, attr, value, len);
return (ret ? OP_SUCCESS : OP_ERROR);