/system/vold/ |
H A D | NetlinkManager.cpp | 11 * 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 D | uevent.c | 11 * 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 D | qtaguid.c | 11 ** 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 D | LogListener.cpp | 11 * 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 D | NetlinkManager.cpp | 11 * 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 D | InterfaceController.cpp | 11 * 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 D | latencytop.c | 11 * 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 D | protocol_handler.cc | 10 // 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 D | sysutil.cpp | 43 // 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 D | radio.h | 11 * 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
|