Lines Matching refs:app_uid
71 int app_uid; // The UID of the app who requested this socket member
325 sock->app_uid = -1; in btsock_l2cap_alloc_l()
474 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_psm_connect_l()
522 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_le_connect_l()
653 int app_uid = -1; in on_l2cap_write_done() local
658 app_uid = sock->app_uid; in on_l2cap_write_done()
667 uid_set_add_tx(uid_set, app_uid, len); in on_l2cap_write_done()
678 int app_uid = -1; in on_l2cap_write_fixed_done() local
682 app_uid = sock->app_uid; in on_l2cap_write_fixed_done()
690 uid_set_add_tx(uid_set, app_uid, len); in on_l2cap_write_fixed_done()
697 int app_uid = -1; in on_l2cap_data_ind() local
703 app_uid = sock->app_uid; in on_l2cap_data_ind()
744 uid_set_add_rx(uid_set, app_uid, bytes_read); in on_l2cap_data_ind()
892 int channel, int* sock_fd, int flags, char listen, int app_uid) in btsock_l2cap_listen_or_connect() argument
926 sock->app_uid = app_uid; in btsock_l2cap_listen_or_connect()
982 bt_status_t btsock_l2cap_listen(const char* name, int channel, int* sock_fd, int flags, int app_uid) in btsock_l2cap_listen() argument
984 return btsock_l2cap_listen_or_connect(name, NULL, channel, sock_fd, flags, 1, app_uid); in btsock_l2cap_listen()
987 …btsock_l2cap_connect(const bt_bdaddr_t *bd_addr, int channel, int* sock_fd, int flags, int app_uid) in btsock_l2cap_connect() argument
989 return btsock_l2cap_listen_or_connect(NULL, bd_addr, channel, sock_fd, flags, 0, app_uid); in btsock_l2cap_connect()