HomeSort by relevance Sort by last modified time
    Searched refs:app_uid (Results 1 - 10 of 10) sorted by null

  /system/bt/btif/include/
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);
39 * is signaled by an element with app_uid == -1.
btif_sock_l2cap.h 18 int* sock_fd, int flags, int app_uid);
20 int channel, int* sock_fd, int flags, int app_uid);
btif_sock_rfc.h 35 int* sock_fd, int flags, int app_uid);
37 int channel, int* sock_fd, int flags, int app_uid);
  /system/bt/btif/src/
btif_uid.c 63 static uid_set_node_t* uid_set_find_or_create_node(uid_set_t* set, int32_t app_uid) {
65 while (node && node->data.app_uid != app_uid) {
71 node->data.app_uid = app_uid;
78 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes) {
79 if (app_uid == -1 || bytes == 0) {
84 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid);
89 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes) {
90 if (app_uid == -1 || bytes == 0)
    [all...]
btif_sock.c 37 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *uuid, int channel, int *sock_fd, int flags, int app_uid);
38 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags, int app_uid);
120 static bt_status_t btsock_listen(btsock_type_t type, const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags, int app_uid) {
131 status = btsock_rfc_listen(service_name, service_uuid, channel, sock_fd, flags, app_uid);
134 status = btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid);
149 static bt_status_t btsock_connect(const bt_bdaddr_t *bd_addr, btsock_type_t type, const uint8_t *uuid, int channel, int *sock_fd, int flags, int app_uid) {
159 status = btsock_rfc_connect(bd_addr, uuid, channel, sock_fd, flags, app_uid);
163 status = btsock_l2cap_connect(bd_addr, channel, sock_fd, flags, app_uid);
btif_sock_l2cap.c 71 int app_uid; // The UID of the app who requested this socket member in struct:l2cap_socket
325 sock->app_uid = -1;
474 accept_rs->app_uid = sock->app_uid;
522 accept_rs->app_uid = sock->app_uid;
653 int app_uid = -1; local
658 app_uid = sock->app_uid;
667 uid_set_add_tx(uid_set, app_uid, len)
678 int app_uid = -1; local
697 int app_uid = -1; local
    [all...]
btif_sock_rfc.c 84 int app_uid; // UID of the app for which this socket was created. member in struct:__anon73809
211 slot->app_uid = -1;
248 accept_rs->app_uid = srv_rs->app_uid;
263 bt_status_t btsock_rfc_listen(const char *service_name, const uint8_t *service_uuid, int channel, int *sock_fd, int flags, int app_uid) {
309 slot->app_uid = app_uid;
319 bt_status_t btsock_rfc_connect(const bt_bdaddr_t *bd_addr, const uint8_t *service_uuid, int channel, int *sock_fd, int flags, int app_uid) {
369 slot->app_uid = app_uid;
546 int app_uid = -1; local
834 int app_uid = -1; local
    [all...]
  /system/bt/tools/bdtool/
bdtool.c 191 const int app_uid = 0; local
204 int error = sock->listen(BTSOCK_RFCOMM, "meow", (const uint8_t *)&HFP_AG_UUID, 0, &rfcomm_fd, 0, app_uid);
211 error = sock->listen(BTSOCK_SCO, NULL, NULL, 5, &sock_fd, 0, app_uid);
232 int error = sock->connect(&bt_remote_bdaddr, BTSOCK_RFCOMM, (const uint8_t *)&HFP_AG_UUID, 0, &rfcomm_fd, 0, app_uid);
243 error = sock->connect(&bt_remote_bdaddr, BTSOCK_SCO, NULL, 5, &sock_fd, 0, app_uid);
  /hardware/libhardware/include/hardware/
bluetooth.h 113 int32_t app_uid; member in struct:__anon31953
391 * app_uid set to -1.
  /packages/apps/Bluetooth/jni/
com_android_bluetooth_btservice_AdapterService.cpp 465 for (bt_uid_traffic_t* data = uid_data; data->app_uid != -1; data++) {
471 for (bt_uid_traffic_t* data = uid_data; data->app_uid != -1; data++) {
474 (jint) data->app_uid, (jlong) data->rx_bytes,
    [all...]

Completed in 208 milliseconds