Lines Matching defs:timeout
99 guint discov_timeout_id; /* discoverable timeout id */
101 guint pairable_timeout_id; /* pairable timeout id */
769 uint32_t timeout,
775 if (adapter->discov_timeout == timeout && timeout == 0)
779 adapter_set_discov_timeout(adapter, timeout);
781 adapter->discov_timeout = timeout;
783 write_discoverable_timeout(&adapter->bdaddr, timeout);
789 DBUS_TYPE_UINT32, &timeout);
796 uint32_t timeout,
802 if (adapter->pairable_timeout == timeout && timeout == 0)
806 adapter_set_pairable_timeout(adapter, timeout);
808 adapter->pairable_timeout = timeout;
810 write_pairable_timeout(&adapter->bdaddr, timeout);
816 DBUS_TYPE_UINT32, &timeout);
1429 uint32_t timeout;
1434 dbus_message_iter_get_basic(&sub, &timeout);
1436 return set_discoverable_timeout(conn, msg, timeout, data);
1447 uint32_t timeout;
1452 dbus_message_iter_get_basic(&sub, &timeout);
1454 return set_pairable_timeout(conn, msg, timeout, data);
2381 int timeout;
2383 if (read_discoverable_timeout(src, &timeout) == 0)
2384 return timeout;
2391 int timeout;
2393 if (read_pairable_timeout(src, &timeout) == 0)
2394 return timeout;
2466 /* Set discoverable only if timeout is 0 */
2657 /* cancel pending timeout */