/system/netd/libnetdutils/ |
H A D | SocketOption.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 31 const int on = 1; local 32 return sys.setsockopt(sock, level, optname, &on, sizeof(on));
|
/system/vold/ |
H A D | NetlinkManager.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 52 int on = 1; local 74 if (setsockopt(mSock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on)) < 0) {
|
/system/core/libcutils/ |
H A D | uevent.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 97 int on = passcred; local 114 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|
/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 156 int on = 1; local 157 if (setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on))) {
|
/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 95 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, 74 // RFC 7217 stable secret on linux is formatted as an IPv6 address. 109 // Run @fn on each interface as well as 'default' in the path @dirname. 112 // Run on default, which controls the behavior of any interfaces that are created in the future. 205 // If stable_secret exists but we can't open it, something strange is going on. 217 // Ask the OS to generate SLAAC addresses on iface using secret. 230 // By default, accept_ra is set to 1 (accept RAs unless forwarding is on) on all interfaces. 231 // This causes RAs to work or not work based on whether forwarding is on, an 252 setEnableIPv6(const char *interface, const int on) argument 289 setAcceptIPv6Ra(const char *interface, const int on) argument 300 setAcceptIPv6Dad(const char *interface, const int on) argument 317 setIPv6PrivacyExtensions(const 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, 50 static void set_latencytop(int on); 301 static void set_latencytop(int on) { argument 310 fprintf(f, "%d\n", on);
|
/system/libhwbinder/vts/performance/ |
H A D | Latency.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 75 char on; local 76 file >> on; local 78 return on == '1'; 274 cout << "-trace # halt the trace on a dealine hit" << endl; 333 // then available on /sys/kernel/debug/trace
|
/system/bt/vendor_libs/linux/interface/ |
H A D | bluetooth_hci.cc | 11 // distributed under the License is distributed on an "AS IS" BASIS, 226 char on = (block)?'1':'0'; local 235 WRITE_NO_INTR(len = write(fd, &on, 1));
|
/system/core/init/ |
H A D | util.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 122 int on = 1; local 123 if (setsockopt(fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on))) {
|
/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. 202 bool on; member in union:radio_hal_event::__anon1612 214 bool on; member in union:radio_event::__anon1613
|
/system/core/libsystem/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. 202 bool on; member in union:radio_hal_event::__anon1794 214 bool on; member in union:radio_event::__anon1795
|