Searched defs:on (Results 1 - 11 of 11) 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.c12 ** distributed under the License is distributed on an "AS IS" BASIS,
39 * And on exit or untimely death, all socket tags will be removed.
57 * 0 on success.
58 * -errno on failure.
164 int qtaguid_setPacifier(int on) { argument
169 value = on ? "Y" : "N";
/system/netd/
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) {
/system/bluetooth/bluedroid/
H A Dbluetooth.c11 * distributed under the License is distributed on an "AS IS" BASIS,
111 static int set_bluetooth_power(int on) { argument
115 const char buffer = (on ? '1' : '0');
177 // firmware and then turned on hci device via HCIUARTSETPROTO ioctl
282 // Power is on, now check if the HCI interface is up
/system/core/sh/
H A Dtrap.c66 * S_HARD_IGN indicates that the signal was ignored on entry to the shell,
200 * Clear traps on a fork or vfork.
413 setinteractive(int on) argument
417 if (on == is_interactive)
422 is_interactive = on;
H A Djobs.c94 int initialpgrp; /* pgrp of shell on invocation */
131 * Turn job control on and off.
134 * pointer, which is true on Berkeley systems but not System V. Since
141 setjobctl(int on) argument
147 if (on == jobctl || rootshell == 0)
149 if (on) {
236 jobctl = on;
839 * process group even if job control is on.
975 * exit on interrupt; unless these processes terminate themselves by
/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,
86 #define lstat stat /* no symlinks on Win32 */
88 #define S_ISLNK(m) 0 /* no symlinks on Win32 */
440 int on = 1; local
441 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 */
771 D( "adb_socket_accept: accept on fd %d return error %ld\n", serverfd, GetLastError() );
776 D( "adb_socket_accept on fd %d returns fd %d\n", serverfd, _fh_to_int(fh) );
784 int on; local
789 setsockopt( fh->fh_socket, IPPROTO_TCP, TCP_NODELAY, (const char*)&on, sizeof(on) );
824 * we do: a_start = 0, a_end = b_end, b_end = 0, and keep going on..
1238 /***** this is a very simple implementation, we rely on the fact *****/
1430 * A fixer for WaitForMultipleObjects on conditio
[all...]

Completed in 95 milliseconds