/system/bt/btif/src/ |
D | btif_uid.cc | 60 int32_t app_uid) { in uid_set_find_or_create_node() argument 62 while (node && node->data.app_uid != app_uid) { in uid_set_find_or_create_node() 68 node->data.app_uid = app_uid; in uid_set_find_or_create_node() 75 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_tx() argument 76 if (app_uid == -1 || bytes == 0) return; in uid_set_add_tx() 79 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid); in uid_set_add_tx() 83 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_rx() argument 84 if (app_uid == -1 || bytes == 0) return; in uid_set_add_rx() 87 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid); in uid_set_add_rx() 121 data->app_uid = -1; in uid_set_read_and_clear()
|
D | btif_sock.cc | 47 int flags, int app_uid); 50 int flags, int app_uid); 132 int* sock_fd, int flags, int app_uid) { in btsock_listen() argument 144 0, 0, app_uid, channel, in btsock_listen() 149 flags, app_uid); in btsock_listen() 153 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen() 170 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen() 185 0, 0, app_uid, channel, in btsock_listen() 193 int flags, int app_uid) { in btsock_connect() argument 203 0, 0, app_uid, channel, in btsock_connect() [all …]
|
D | btif_sock_l2cap.cc | 49 int app_uid; // The UID of the app who requested this socket member 208 sock->rx_bytes, sock->app_uid, sock->channel, in btsock_l2cap_free_l() 284 sock->app_uid = -1; in btsock_l2cap_alloc_l() 391 0, 0, sock->app_uid, sock->channel, in on_srv_l2cap_listen_started() 438 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_psm_connect_l() 454 accept_rs->app_uid, accept_rs->channel, in on_srv_l2cap_psm_connect_l() 493 sock->app_uid, sock->channel, in on_cl_l2cap_psm_connect_l() 545 sock->app_uid, sock->channel, in on_l2cap_close() 585 int app_uid = sock->app_uid; in on_l2cap_write_done() local 594 uid_set_add_tx(uid_set, app_uid, len); in on_l2cap_write_done() [all …]
|
D | btif_sock_rfc.cc | 81 int app_uid; // UID of the app for which this socket was created. member 210 slot->app_uid = -1; in alloc_rfc_slot() 250 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot() 267 int* sock_fd, int flags, int app_uid) { in btsock_rfc_listen() argument 315 slot->app_uid = app_uid; in btsock_rfc_listen() 324 int* sock_fd, int flags, int app_uid) { in btsock_rfc_connect() argument 373 slot->app_uid = app_uid; in btsock_rfc_connect() 408 slot->tx_bytes, slot->rx_bytes, slot->app_uid, slot->scn, in cleanup_rfc_slot() 490 0, 0, slot->app_uid, slot->scn, in on_srv_rfc_listen_started() 512 accept_rs->app_uid, accept_rs->scn, in on_srv_rfc_connect() [all …]
|
/system/bt/btif/include/ |
D | btif_uid.h | 34 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes); 35 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes);
|
D | btif_sock_l2cap.h | 15 int flags, int app_uid); 17 int* sock_fd, int flags, int app_uid);
|
D | btif_sock_rfc.h | 36 int app_uid); 39 int* sock_fd, int flags, int app_uid);
|
/system/bt/tools/bdtool/ |
D | bdtool.c | 199 const int app_uid = 0; in main() local 217 &rfcomm_fd, 0, app_uid); in main() 225 error = sock->listen(BTSOCK_SCO, NULL, NULL, 5, &sock_fd, 0, app_uid); in main() 251 (const uint8_t*)&HFP_AG_UUID, 0, &rfcomm_fd, 0, app_uid); in main() 263 app_uid); in main()
|
/system/bt/include/hardware/ |
D | bluetooth.h | 157 int32_t app_uid; member
|