/external/bluetooth/bluez/plugins/ |
echo.c | 69 int sk, nsk; local 76 nsk = accept(sk, (struct sockaddr *) &addr, &optlen); 77 if (nsk < 0) 80 io = g_io_channel_unix_new(nsk);
|
/external/bluetooth/bluez/compat/ |
pand.c | 104 int nsk; member in struct:script_arg 126 static void run_script(char *script, char *dev, char *dst, int sk, int nsk) 143 if (nsk >= 0) 144 close(nsk); 203 down_cmd->sk, down_cmd->nsk); 272 int nsk; local 274 nsk = accept(sk, (struct sockaddr *) &l2a, &alen); 275 if (nsk < 0) { 288 close(nsk); 295 if (!bnep_accept_connection(nsk, role, devname)) [all...] |
dund.c | 163 int nsk; local 167 nsk = accept(sk, (struct sockaddr *) &sa, &alen); 168 if (nsk < 0) { 179 close(nsk); 189 if (msdun && ms_dun(nsk, 1, msdun) < 0) { 201 if (!dun_open_connection(nsk, pppd, pppd_opts, 0)) 204 close(nsk);
|
hidd.c | 154 int nsk; local 159 if ((nsk = accept(sk, (struct sockaddr *) &addr, &addrlen)) < 0) 165 return nsk;
|
/external/bluetooth/bluez/test/ |
scotest.c | 132 int sk, nsk; local 168 nsk = accept(sk, (struct sockaddr *) &addr, &optlen); 169 if (nsk < 0) { 176 close(nsk); 186 if (getsockopt(nsk, SOL_SCO, SCO_CONNINFO, &conn, &optlen) < 0) { 189 close(nsk); 198 handler(nsk);
|
rctest.c | 251 int sk, nsk, opt; local 326 nsk = accept(sk, (struct sockaddr *) &addr, &optlen); 327 if (nsk < 0) { 334 close(nsk); 344 if (getsockopt(nsk, SOL_RFCOMM, RFCOMM_CONNINFO, &conn, &optlen) < 0) { 347 //close(nsk); 361 if (setsockopt(nsk, SOL_SOCKET, SO_TIMESTAMP, &t, sizeof(t)) < 0) { 373 if (setsockopt(nsk, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) < 0) { 376 close(nsk); 388 close(nsk); [all...] |
l2test.c | 325 int sk, nsk, opt; local 429 nsk = accept(sk, (struct sockaddr *) &addr, &optlen); 430 if (nsk < 0) { 437 close(nsk); 447 if (getsockopt(nsk, SOL_L2CAP, L2CAP_OPTIONS, &opts, &optlen) < 0) { 451 close(nsk); 460 if (getsockopt(nsk, SOL_L2CAP, L2CAP_CONNINFO, &conn, &optlen) < 0) { 464 close(nsk); 483 if (setsockopt(nsk, SOL_SOCKET, SO_TIMESTAMP, &t, sizeof(t)) < 0) { 495 if (setsockopt(nsk, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) < 0) [all...] |
hciemu.c | 926 int sk, nsk, h; local 934 if ((nsk = accept(sk, (struct sockaddr *) &sa, &len)) < 0) 937 if (read_n(nsk, &info, sizeof(info)) < 0) { 944 close(nsk); 956 close(nsk); 962 conn->chan = g_io_channel_unix_new(nsk);
|
/external/bluetooth/bluez/src/ |
sdpd-server.c | 205 int nsk; local 216 nsk = accept(l2cap_sock, (struct sockaddr *) &addr, &len); 221 nsk = accept(unix_sock, (struct sockaddr *) &addr, &len); 225 if (nsk < 0) { 230 io = g_io_channel_unix_new(nsk);
|
/external/bluetooth/bluez/rfcomm/ |
main.c | 487 int sk, nsk, fd, lm, try = 30; local 526 nsk = accept(sk, (struct sockaddr *) &raddr, &alen); 529 if (getsockname(nsk, (struct sockaddr *)&laddr, &alen) < 0) { 531 close(nsk); 538 if (setsockopt(nsk, SOL_SOCKET, SO_LINGER, &l, sizeof(l)) < 0) { 540 close(nsk); 553 dev = ioctl(nsk, RFCOMMCREATEDEV, &req); 587 close(nsk);
|
/frameworks/base/core/jni/ |
android_bluetooth_BluetoothAudioGateway.cpp | 198 int nsk = accept(ag_fd, (struct sockaddr *) &raddr, &alen); local 199 if (nsk < 0) { 210 env->SetIntField(object, out_fd, nsk); 219 nsk,
|
android_bluetooth_ScoSocket.cpp | 543 int nsk; local 595 nsk = accept(sk, (struct sockaddr *)&addr, &addr_sz); 596 if (nsk < 0) { 603 return nsk;
|
/external/bluetooth/bluez/network/ |
server.c | 280 int err, nsk; local 289 nsk = g_io_channel_unix_get_fd(session->io); 290 err = bnep_connadd(nsk, dst_role, devname);
|
/external/bison/build-aux/ |
config.sub | 1269 -nsk*) 1270 os=-nsk
|
/external/clearsilver/ |
config.sub | 1132 -nsk*) 1133 os=-nsk
|
/external/dbus/ |
config.sub | 1208 -nsk*) 1209 os=-nsk
|
/external/dropbear/ |
config.guess | [all...] |
config.sub | 1303 -nsk*) 1304 os=-nsk
|
/external/e2fsprogs/config/ |
config.sub | 1298 -nsk*) 1299 os=-nsk
|
/external/elfutils/config/ |
config.sub | 1187 -nsk*) 1188 os=-nsk
|
/external/expat/conftools/ |
config.sub | 1300 -nsk*) 1301 os=-nsk
|
/external/grub/ |
config.sub | 1259 -nsk*) 1260 os=-nsk
|
/external/icu4c/ |
config.guess | [all...] |
config.sub | 1339 -nsk*) 1340 os=-nsk [all...] |
/external/libffi/ |
config.sub | 1307 -nsk*) 1308 os=-nsk
|