Searched defs:on (Results 1 - 10 of 10) sorted by relevance

/system/vold/
H A DNetlinkManager.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
54 int on = 1; local
72 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
/system/core/libcutils/
H A Duevent.c11 * distributed under the License is distributed on an "AS IS" BASIS,
107 int on = passcred; local
120 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
H A Dqtaguid.c11 ** distributed under the License is distributed on an "AS IS" BASIS,
40 * And on exit or untimely death, all socket tags will be removed.
58 * 0 on success.
59 * -errno on failure.
166 int qtaguid_setPacifier(int on) { argument
169 value = on ? "Y" : "N";
/system/core/logd/
H A DLogListener.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
90 // Such log messages are often generated by libraries we depend on
131 int on = 1; local
132 if (setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
/system/netd/server/
H A DNetlinkManager.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
72 int on = 1; local
90 if (setsockopt(*sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
H A DInterfaceController.cpp11 * distributed under the License is distributed on an "AS IS" BASIS,
63 // Set the value on all the interfaces that currently exist.
87 // By default, accept_ra is set to 1 (accept RAs unless forwarding is on) on all interfaces.
88 // This causes RAs to work or not work based on whether forwarding is on, and causes routes
89 // learned from RAs to go away when forwarding is turned on. Make this behaviour predictable
95 // Enable optimistic DAD for IPv6 addresses on all interfaces.
102 // on that interface as possible source addresses.
109 int InterfaceController::setEnableIPv6(const char *interface, const int on) { argument
121 setIPv6PrivacyExtensions(const char *interface, const int on) argument
134 setIPv6NdOffload(char* interface, const int on) argument
[all...]
/system/extras/latencytop/
H A Dlatencytop.c11 * distributed under the License is distributed on an "AS IS" BASIS,
51 static void set_latencytop(int on);
308 static void set_latencytop(int on) { argument
317 fprintf(f, "%d\n", on);
/system/webservd/webservd/
H A Dprotocol_handler.cc10 // distributed under the License is distributed on an "AS IS" BASIS,
168 << " protocol handler on port: " << config->port;
203 int on = 1; local
204 if (setsockopt(socket_fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) {
206 PLOG(WARNING) << "Failed to set SO_REUSEADDR option on listening socket.";
208 on = (MHD_USE_DUAL_STACK != (flags & MHD_USE_DUAL_STACK));
209 if (setsockopt(socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &on, sizeof(on)) < 0) {
210 PLOG(WARNING) << "Failed to set IPV6_V6ONLY option on listenin
[all...]
/system/extras/tests/sdcard/
H A Dsysutil.cpp43 // Max number of retries on EAGAIN and EINTR. Totally arbitrary.
71 // message will be printed on stderr.
302 void setNewFairSleepers(bool on) argument
306 if (on)
332 void setNormalizedSleepers(bool on) argument
336 if (on)
/system/core/include/system/
H A Dradio.h11 * distributed under the License is distributed on an "AS IS" BASIS,
164 * Contains information on currently tuned channel.
201 bool on; member in union:radio_hal_event::__anon1563
213 bool on; member in union:radio_event::__anon1564

Completed in 190 milliseconds