/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 145 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_LISTEN); 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() 186 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_LISTEN); in btsock_listen() 193 int flags, int app_uid) { in btsock_connect() argument 204 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_CONNECTION); in btsock_connect() [all …]
|
D | btif_sock_l2cap.cc | 70 int app_uid; // The UID of the app who requested this socket member 229 sock->rx_bytes, sock->app_uid, sock->channel, in btsock_l2cap_free_l() 318 sock->app_uid = -1; in btsock_l2cap_alloc_l() 426 0, 0, sock->app_uid, sock->channel, in on_srv_l2cap_listen_started() 470 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_psm_connect_l() 486 accept_rs->app_uid, accept_rs->channel, in on_srv_l2cap_psm_connect_l() 524 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_le_connect_l() 535 accept_rs->app_uid, accept_rs->channel, in on_srv_l2cap_le_connect_l() 571 sock->app_uid, sock->channel, in on_cl_l2cap_psm_connect_l() 602 sock->app_uid, sock->channel, in on_cl_l2cap_le_connect_l() [all …]
|
D | btif_sock_rfc.cc | 94 int app_uid; // UID of the app for which this socket was created. member 223 slot->app_uid = -1; in alloc_rfc_slot() 263 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot() 280 int* sock_fd, int flags, int app_uid) { in btsock_rfc_listen() argument 332 slot->app_uid = app_uid; in btsock_rfc_listen() 341 int* sock_fd, int flags, int app_uid) { in btsock_rfc_connect() argument 390 slot->app_uid = app_uid; in btsock_rfc_connect() 425 slot->tx_bytes, slot->rx_bytes, slot->app_uid, slot->scn, in cleanup_rfc_slot() 507 0, 0, slot->app_uid, slot->scn, in on_srv_rfc_listen_started() 529 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 | 17 int flags, int app_uid); 19 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 | 112 int32_t app_uid; member
|