Home
last modified time | relevance | path

Searched refs:app_uid (Results 1 – 9 of 9) sorted by relevance

/system/bt/btif/src/
Dbtif_uid.cc60 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()
Dbtif_sock.cc46 int flags, int app_uid);
49 int flags, int app_uid);
134 int* sock_fd, int flags, int app_uid) { in btsock_listen() argument
147 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_LISTEN); in btsock_listen()
151 flags, app_uid); in btsock_listen()
155 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
172 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen()
189 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_LISTEN); in btsock_listen()
196 int flags, int app_uid) { in btsock_connect() argument
207 0, 0, app_uid, channel, android::bluetooth::SOCKET_ROLE_CONNECTION); in btsock_connect()
[all …]
Dbtif_sock_l2cap.cc70 int app_uid; // The UID of the app who requested this socket member
228 sock->rx_bytes, sock->app_uid, sock->channel, in btsock_l2cap_free_l()
312 sock->app_uid = -1; in btsock_l2cap_alloc_l()
419 0, 0, sock->app_uid, sock->channel, in on_srv_l2cap_listen_started()
463 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_psm_connect_l()
479 accept_rs->app_uid, accept_rs->channel, in on_srv_l2cap_psm_connect_l()
517 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_le_connect_l()
528 accept_rs->app_uid, accept_rs->channel, in on_srv_l2cap_le_connect_l()
564 sock->app_uid, sock->channel, in on_cl_l2cap_psm_connect_l()
595 sock->app_uid, sock->channel, in on_cl_l2cap_le_connect_l()
[all …]
Dbtif_sock_rfc.cc94 int app_uid; // UID of the app for which this socket was created. member
224 slot->app_uid = -1; in alloc_rfc_slot()
264 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot()
281 int* sock_fd, int flags, int app_uid) { in btsock_rfc_listen() argument
333 slot->app_uid = app_uid; in btsock_rfc_listen()
342 int* sock_fd, int flags, int app_uid) { in btsock_rfc_connect() argument
392 slot->app_uid = app_uid; in btsock_rfc_connect()
427 slot->tx_bytes, slot->rx_bytes, slot->app_uid, slot->scn, in cleanup_rfc_slot()
509 0, 0, slot->app_uid, slot->scn, in on_srv_rfc_listen_started()
531 accept_rs->app_uid, accept_rs->scn, in on_srv_rfc_connect()
[all …]
/system/bt/btif/include/
Dbtif_uid.h34 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);
Dbtif_sock_l2cap.h17 int flags, int app_uid);
19 int* sock_fd, int flags, int app_uid);
Dbtif_sock_rfc.h36 int app_uid);
39 int* sock_fd, int flags, int app_uid);
/system/bt/tools/bdtool/
Dbdtool.c199 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/
Dbluetooth.h111 int32_t app_uid; member