Searched defs:on (Results 1 - 10 of 10) sorted by relevance
/system/vold/ |
H A D | NetlinkManager.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 53 int on = 1; local 71 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, 99 int on = passcred; local 112 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. 165 int qtaguid_setPacifier(int on) { argument 168 value = on ? "Y" : "N";
|
/system/core/logd/ |
H A D | LogListener.cpp | 11 * distributed under the License is distributed on an "AS IS" BASIS, 79 // Such log messages are often generated by libraries we depend on 122 int on = 1; local 123 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, 58 int on = 1; local 76 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, 31 // By default, accept_ra is set to 1 (accept RAs unless forwarding is on) on all interfaces. 32 // This causes RAs to work or not work based on whether forwarding is on, and causes routes 33 // learned from RAs to go away when forwarding is turned on. Make this behaviour predictable 55 int InterfaceController::setEnableIPv6(const char *interface, const int on) { argument 58 // addresses and routes and disables IPv6 on the interface. 59 const char *disable_ipv6 = on ? "0" : "1"; 63 int InterfaceController::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); 307 static void set_latencytop(int on) { argument 316 fprintf(f, "%d\n", 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/adb/ |
H A D | sysdeps.h | 11 * distributed under the License is distributed on an "AS IS" BASIS, 87 #define lstat stat /* no symlinks on Win32 */ 89 #define S_ISLNK(m) 0 /* no symlinks on Win32 */ 458 int on = 1; local 459 setsockopt( fd, IPPROTO_TCP, TCP_NODELAY, (void*)&on, sizeof(on) );
|
H A D | sysdeps_win32.c | 11 #define assert(cond) do { if (!(cond)) fatal( "assertion failed '%s' on %s:%ld\n", #cond, __FILE__, __LINE__ ); } while (0) 361 /* ignore mode on Win32 */ 778 D( "adb_socket_accept: accept on fd %d return error %ld\n", serverfd, GetLastError() ); 783 D( "adb_socket_accept on fd %d returns fd %d\n", serverfd, _fh_to_int(fh) ); 791 int on = 1; local 796 setsockopt( fh->fh_socket, IPPROTO_TCP, TCP_NODELAY, (const char*)&on, sizeof(on) ); 831 * we do: a_start = 0, a_end = b_end, b_end = 0, and keep going on.. 1245 /***** this is a very simple implementation, we rely on the fact *****/ 1437 * A fixer for WaitForMultipleObjects on conditio [all...] |
Completed in 869 milliseconds