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,
53 int on = 1; local
71 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,
99 int on = passcred; local
112 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.
165 int qtaguid_setPacifier(int on) { argument
168 value = on ? "Y" : "N";
/system/core/logd/
H A DLogListener.cpp11 * 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 DNetlinkManager.cpp11 * 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 DInterfaceController.cpp11 * 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 Dlatencytop.c11 * 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 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/adb/
H A Dsysdeps.h11 * 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 Dsysdeps_win32.c11 #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