/packages/modules/Bluetooth/system/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 | 50 int flags, int app_uid); 53 int flags, int app_uid); 156 int* sock_fd, int flags, int app_uid) { in btsock_listen() argument 167 RawAddress::kEmpty, type, channel, app_uid); in btsock_listen() 170 SOCKET_ROLE_LISTEN, app_uid, channel, 0, 0, service_name); in btsock_listen() 174 flags, app_uid); in btsock_listen() 178 btsock_l2cap_listen(service_name, channel, sock_fd, flags, app_uid); in btsock_listen() 182 flags | BTSOCK_FLAG_LE_COC, app_uid); in btsock_listen() 197 RawAddress::kEmpty, type, channel, app_uid); in btsock_listen() 200 SOCKET_ROLE_LISTEN, app_uid, channel, 0, 0, service_name); in btsock_listen() [all …]
|
D | btif_sock_l2cap.cc | 58 int app_uid; // The UID of the app who requested this socket member 233 sock->addr, sock->channel, sock->app_uid, sock->id, sock->is_le_coc); in btsock_l2cap_free_l() 237 sock->server ? SOCKET_ROLE_LISTEN : SOCKET_ROLE_CONNECTION, sock->app_uid, in btsock_l2cap_free_l() 317 sock->app_uid = -1; in btsock_l2cap_alloc_l() 461 sock->addr, sock->channel, sock->app_uid, sock->id, sock->is_le_coc); in on_srv_l2cap_listen_started() 465 sock->server ? SOCKET_ROLE_LISTEN : SOCKET_ROLE_CONNECTION, sock->app_uid, in on_srv_l2cap_listen_started() 511 accept_rs->app_uid = sock->app_uid; in on_srv_l2cap_psm_connect_l() 531 sock->addr, sock->channel, sock->app_uid, sock->id, sock->is_le_coc); in on_srv_l2cap_psm_connect_l() 537 accept_rs->app_uid, accept_rs->channel, 0, 0, accept_rs->name); in on_srv_l2cap_psm_connect_l() 580 sock->addr, sock->channel, sock->app_uid, sock->id, sock->is_le_coc); in on_cl_l2cap_psm_connect_l() [all …]
|
D | btif_sock_rfc.cc | 80 int app_uid; // UID of the app for which this socket was created. member 216 slot->app_uid = -1; in alloc_rfc_slot() 257 accept_rs->app_uid = srv_rs->app_uid; in create_srv_accept_rfc_slot() 296 int* sock_fd, int flags, int app_uid) { in btsock_rfc_listen() argument 349 slot->app_uid = app_uid; in btsock_rfc_listen() 358 int* sock_fd, int flags, int app_uid) { in btsock_rfc_connect() argument 416 slot->app_uid = app_uid; in btsock_rfc_connect() 451 slot->addr, slot->scn, slot->app_uid, slot->id); in cleanup_rfc_slot() 456 slot->app_uid, slot->scn, slot->tx_bytes, slot->rx_bytes, in cleanup_rfc_slot() 551 slot->addr, slot->scn, slot->app_uid, id); in on_srv_rfc_listen_started() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/pm/ |
D | ProfileManager.java | 119 int app_uid = Binder.getCallingUid(); in addServiceProfile() local 132 if (mAppServiceProfileMap.containsKey(app_uid)) { in addServiceProfile() 133 List<ServiceProfileInfo> appServiceProfileList = mAppServiceProfileMap.get(app_uid); in addServiceProfile() 135 mAppServiceProfileMap.put(app_uid, appServiceProfileList); in addServiceProfile() 139 mAppServiceProfileMap.put(app_uid, appServiceProfileList); in addServiceProfile() 148 int app_uid = Binder.getCallingUid(); in removeServiceProfile() local 153 if (mAppServiceProfileMap.containsKey(app_uid)) { in removeServiceProfile() 155 mAppServiceProfileMap.get(app_uid); in removeServiceProfile() 158 mAppServiceProfileMap.remove(app_uid); in removeServiceProfile() 160 mAppServiceProfileMap.put(app_uid, appServiceProfileList); in removeServiceProfile() [all …]
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_btif_sock_rfc.h | 99 int channel, int* sock_fd, int flags, int app_uid)> 104 int channel, int* sock_fd, int flags, int app_uid) { in operator() 105 return body(bd_addr, service_uuid, channel, sock_fd, flags, app_uid); in operator() 166 int channel, int* sock_fd, int flags, int app_uid)> 171 int channel, int* sock_fd, int flags, int app_uid) { in operator() 172 return body(service_name, service_uuid, channel, sock_fd, flags, app_uid); in operator()
|
D | mock_btif_sock_rfc.cc | 91 int* sock_fd, int flags, int app_uid) { in btsock_rfc_connect() argument 94 bd_addr, service_uuid, channel, sock_fd, flags, app_uid); in btsock_rfc_connect() 115 int* sock_fd, int flags, int app_uid) { in btsock_rfc_listen() argument 118 service_name, service_uuid, channel, sock_fd, flags, app_uid); in btsock_rfc_listen()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_uid.h | 32 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes); 33 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes);
|
D | btif_sock_l2cap.h | 16 int flags, int app_uid); 18 int* sock_fd, int flags, int app_uid);
|
D | btif_sock_rfc.h | 41 int app_uid); 44 int* sock_fd, int flags, int app_uid);
|
/packages/modules/Bluetooth/system/gd/os/ |
D | metrics.h | 369 int app_uid = 0; member
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bluetooth.h | 178 int32_t app_uid; member
|
/packages/modules/Bluetooth/system/gd/os/android/ |
D | metrics.cc | 583 session_options.app_uid, in LogMetricBluetoothLEConnection()
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_btservice_AdapterService.cpp | 828 for (bt_uid_traffic_t* data = uid_data; data->app_uid != -1; data++) { in energy_info_recv_callback() 836 for (bt_uid_traffic_t* data = uid_data; data->app_uid != -1; data++) { in energy_info_recv_callback() 841 (jint)data->app_uid, (jlong)data->rx_bytes, in energy_info_recv_callback()
|