/system/netd/ |
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/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/bluetooth/bluedroid/ |
H A D | bluetooth.c | 11 * 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'); 165 // firmware and then turned on hci device via HCIUARTSETPROTO ioctl 242 // Power is on, now check if the HCI interface is up
|
/system/wlan/ti/wilink_6_1/platforms/hw/linux/ |
H A D | host_platform.c | 116 int wifi_set_carddetect( int on ) 118 /* printk("%s = %d\n", __FUNCTION__, on); */ 120 wifi_control_data->set_carddetect(on); 125 int wifi_set_power( int on, unsigned long msec ) argument 127 /* printk("%s = %d\n", __FUNCTION__, on); */ 129 wifi_control_data->set_power(on); 132 gpio_set_value(PMENA_GPIO, on); 139 int wifi_set_reset( int on, unsigned long msec ) argument 141 /* printk("%s = %d\n", __FUNCTION__, on); */ 143 wifi_control_data->set_reset(on); [all...] |
/system/core/sh/ |
H A D | trap.c | 80 * S_HARD_IGN indicates that the signal was ignored on entry to the shell, 214 * Clear traps on a fork or vfork. 427 setinteractive(int on) argument 431 if (on == is_interactive) 436 is_interactive = on;
|
H A D | jobs.c | 94 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 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, 84 #define lstat stat /* no symlinks on Win32 */ 86 #define S_ISLNK(m) 0 /* no symlinks on Win32 */ 422 int on = 1; local 423 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 */ 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 *****/ 1537 /* according to Cygwin, some objects like consoles wake up on "inappropriat [all...] |
/system/core/init/ |
H A D | devices.c | 11 * distributed under the License is distributed on an "AS IS" BASIS, 56 int on = 1; local 69 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|