OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:socketFd
(Results
1 - 8
of
8
) sorted by null
/system/netd/include/
NetdClient.h
28
int getNetworkForSocket(unsigned* netId, int
socketFd
);
29
int setNetworkForSocket(unsigned netId, int
socketFd
);
36
int protectFromVpn(int
socketFd
);
38
int setNetworkForUser(uid_t uid, int
socketFd
);
/system/netd/client/
NetdClient.cpp
87
int
socketFd
= libcSocket(domain, type, protocol);
88
if (
socketFd
== -1) {
93
if (int error = setNetworkForSocket(netId,
socketFd
)) {
94
return closeFdAndSetErrno(
socketFd
, error);
97
return
socketFd
;
119
int
socketFd
;
121
socketFd
= libcSocket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
123
socketFd
= socket(AF_INET6, SOCK_DGRAM | SOCK_CLOEXEC, 0);
125
if (
socketFd
< 0) {
128
int error = setNetworkForSocket(netId,
socketFd
);
[
all
...]
/system/netd/server/
FwmarkServer.h
33
int processClient(SocketClient* client, int*
socketFd
);
FwmarkServer.cpp
32
int
socketFd
= -1;
33
int error = processClient(client, &
socketFd
);
34
if (
socketFd
>= 0) {
35
close(
socketFd
);
48
int FwmarkServer::processClient(SocketClient* client, int*
socketFd
) {
62
char cmsg[CMSG_SPACE(sizeof(*
socketFd
))];
89
cmsgh->cmsg_len == CMSG_LEN(sizeof(*
socketFd
))) {
90
memcpy(
socketFd
, CMSG_DATA(cmsgh), sizeof(*
socketFd
));
93
if (*
socketFd
< 0)
[
all
...]
/system/core/include/sysutils/
SocketListener.h
37
SocketListener(int
socketFd
, bool listen);
57
void init(const char *socketName, int
socketFd
, bool listen, bool useCmdNum);
/frameworks/base/cmds/bu/src/com/android/commands/bu/
Backup.java
64
private void doFullBackup(int
socketFd
) {
124
fd = ParcelFileDescriptor.adoptFd(
socketFd
);
139
private void doFullRestore(int
socketFd
) {
143
fd = ParcelFileDescriptor.adoptFd(
socketFd
);
/system/core/libsysutils/src/
SocketListener.cpp
39
SocketListener::SocketListener(int
socketFd
, bool listen) {
40
init(NULL,
socketFd
, listen, false);
47
void SocketListener::init(const char *socketName, int
socketFd
, bool listen, bool useCmdNum) {
50
mSock =
socketFd
;
/external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar
Completed in 111 milliseconds