/frameworks/base/cmds/svc/ |
Android.mk | 7 LOCAL_MODULE := svc 12 ALL_PREBUILT += $(TARGET_OUT)/bin/svc 13 $(TARGET_OUT)/bin/svc : $(LOCAL_PATH)/svc | $(ACP)
|
svc | 5 export CLASSPATH=$base/framework/svc.jar 6 exec app_process $base/bin com.android.commands.svc.Svc $*
|
/system/core/init/ |
init.c | 75 snprintf(pname, sizeof(pname), "init.svc.%s", name); 158 void service_start(struct service *svc, const char *dynamic_args) 169 svc->flags &= (~(SVC_DISABLED|SVC_RESTARTING)); 170 svc->time_started = 0; 177 if (svc->flags & SVC_RUNNING) { 181 needs_console = (svc->flags & SVC_CONSOLE) ? 1 : 0; 183 ERROR("service '%s' requires console\n", svc->name); 184 svc->flags |= SVC_DISABLED; 188 if (stat(svc->args[0], &s) != 0) { 189 ERROR("cannot find '%s', disabling '%s'\n", svc->args[0], svc->name) 338 struct service *svc; local 443 struct service *svc; local 469 struct service *svc = service_find_by_name(name); local 777 struct service *svc; local [all...] |
parser.c | 27 struct service *svc; 36 svc = node_to_item(node, struct service, slist); 37 RAW("service %s\n", svc->name); 38 RAW(" class '%s'\n", svc->classname); 40 for (n = 0; n < svc->nargs; n++) { 41 RAW(" '%s'", svc->args[n]); 44 for (si = svc->sockets; si; si = si->next) { 427 struct service *svc; local 429 svc = node_to_item(node, struct service, slist); 430 if (!strcmp(svc->name, name)) 440 struct service *svc; local 453 struct service *svc; local 466 struct service *svc; local 477 struct service *svc; local 490 struct service *svc; local 582 struct service *svc; local 617 struct service *svc = state->context; local [all...] |
builtins.c | 127 static void service_start_if_not_disabled(struct service *svc) 129 if (!(svc->flags & SVC_DISABLED)) { 130 service_start(svc, NULL); 384 struct service *svc; local 385 svc = service_find_by_name(args[1]); 386 if (svc) { 387 service_start(svc, NULL); 394 struct service *svc; local 395 svc = service_find_by_name(args[1]); 396 if (svc) { 404 struct service *svc; local [all...] |
init.h | 162 void service_for_each(void (*func)(struct service *svc)); 164 void (*func)(struct service *svc)); 166 void (*func)(struct service *svc)); 167 void service_stop(struct service *svc); 168 void service_start(struct service *svc, const char *dynamic_args);
|
/packages/apps/Email/tests/src/com/android/exchange/ |
EasSyncServiceTests.java | 41 EasSyncService svc = new EasSyncService(); local 42 svc.mContext = mMockContext; 45 File uniqueFile = svc.createUniqueFileInternal(null, fileName); 48 uniqueFile = svc.createUniqueFileInternal(null, fileName); 51 uniqueFile = svc.createUniqueFileInternal(null, fileName); 56 uniqueFile = svc.createUniqueFileInternal(null, fileName); 59 uniqueFile = svc.createUniqueFileInternal(null, fileName);
|
/hardware/msm7k/librpc/ |
Android.mk | 5 LOCAL_SRC_FILES:= xdr.c rpc.c svc.c clnt.c ops.c svc_clnt_common.c 20 rpc/svc.h \
|
svc.c | 33 * svc.c, Server-side remote procedure call interface. 36 * for handling transport handles. The svc routines handle the 105 void svc_dispatch(registered_server *svc, SVCXPRT *xprt); 195 registered_server *svc = svc_find_nosync(xprt, prog, vers, NULL); local 197 return svc; 205 registered_server* svc; local 211 svc = svc_find_nosync(xprt, prog, vers, NULL); 213 if (svc) { 216 return svc->dispatch == dispatch; 219 svc = malloc(sizeof(registered_server)) [all...] |
/system/core/nexus/ |
OpenVpnController.cpp | 52 char svc[PROPERTY_VALUE_MAX]; local 59 snprintf(svc, sizeof(svc), "openvpn:--remote %s 1194", tmp); 61 if (mServiceManager->start(svc))
|
DhcpClient.cpp | 77 char svc[PROPERTY_VALUE_MAX]; local 78 snprintf(svc, 79 sizeof(svc), 112 if (mServiceManager->start(svc)) {
|
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.ascend | 139 ATTRIBUTE Ascend-Data-Svc 247 integer 208 VALUE Ascend-Data-Svc Switched-Voice-Bearer 0 209 VALUE Ascend-Data-Svc Switched-56KR 1 210 VALUE Ascend-Data-Svc Switched-64K 2 211 VALUE Ascend-Data-Svc Switched-64KR 3 212 VALUE Ascend-Data-Svc Switched-56K 4 213 VALUE Ascend-Data-Svc Switched-384KR 5 214 VALUE Ascend-Data-Svc Switched-384K 6 215 VALUE Ascend-Data-Svc Switched-1536K 7 216 VALUE Ascend-Data-Svc Switched-1536KR [all...] |
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
DataCommand.java | 17 package com.android.commands.svc; 26 public class DataCommand extends Svc.Command { 38 + "usage: svc data [enable|disable]\n" 40 + " svc data prefer\n"
|
PowerCommand.java | 17 package com.android.commands.svc; 28 public class PowerCommand extends Svc.Command { 40 + "usage: svc power stayon [true|false|usb|ac]\n" 67 pm.acquireWakeLock(PowerManager.FULL_WAKE_LOCK, lock, "svc power");
|
WifiCommand.java | 17 package com.android.commands.svc; 26 public class WifiCommand extends Svc.Command { 38 + "usage: svc wifi [enable|disable]\n" 40 + " svc wifi prefer\n"
|
Svc.java | 17 package com.android.commands.svc; 19 public class Svc {
|
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/ |
DaemonProxy.java | 43 private static final String SVC_STATE_CMD_PREFIX = "init.svc."; 69 String svc = mName; local 71 Log.i(mTag, "Start VPN daemon: " + svc); 72 SystemProperties.set(SVC_START_CMD, svc); 75 throw new IOException("cannot start service: " + svc); 111 String svc = mName; local 112 Log.i(mTag, "Stop VPN daemon: " + svc); 113 SystemProperties.set(SVC_STOP_CMD, svc); 115 if (DBG) Log.d(mTag, "stopping " + svc + ", success? " + success);
|
/external/bluetooth/bluez/compat/ |
pand.h | 28 int bnep_str2svc(char *svc, uint16_t *uuid); 36 int bnep_create_connection(int sk, uint16_t role, uint16_t svc, char *dev);
|
/external/dnsmasq/contrib/Solaris10/ |
dnsmasq.xml | 16 <service_fmri value='svc:/milestone/multi-user'/> 29 <service_fmri value='svc:/milestone/multi-user-server' />
|
/external/freetype/include/freetype/internal/ |
ftserv.h | 537 FT_Pointer svc; \ 541 svc = FT_FACE( face )->internal->services. service_ ## id; \ 542 if ( svc == FT_SERVICE_UNAVAILABLE ) \ 543 svc = NULL; \ 544 else if ( svc == NULL ) \ 546 FT_FACE_FIND_SERVICE( face, svc, id ); \ 549 (FT_Pointer)( svc != NULL ? svc \ 552 *Pptr = svc; \ 559 FT_Pointer svc; \ [all...] |
/external/wpa_supplicant/ |
main_winsvc.c | 243 SC_HANDLE svc, scm; local 254 svc = CreateService(scm, WPASVC_NAME, WPASVC_DISPLAY_NAME, 259 if (!svc) { 267 if (!ChangeServiceConfig2(svc, SERVICE_CONFIG_DESCRIPTION, &sd)) { 273 CloseServiceHandle(svc); 284 SC_HANDLE svc, scm; local 295 svc = OpenService(scm, WPASVC_NAME, SERVICE_ALL_ACCESS | DELETE); 296 if (!svc) { 302 if (QueryServiceStatus(svc, &status)) { 306 if (!ControlService(svc, SERVICE_CONTROL_STOP [all...] |
/external/wpa_supplicant_6/wpa_supplicant/ |
main_winsvc.c | 262 SC_HANDLE svc, scm; local 273 svc = CreateService(scm, WPASVC_NAME, WPASVC_DISPLAY_NAME, 278 if (!svc) { 286 if (!ChangeServiceConfig2(svc, SERVICE_CONFIG_DESCRIPTION, &sd)) { 292 CloseServiceHandle(svc); 303 SC_HANDLE svc, scm; local 314 svc = OpenService(scm, WPASVC_NAME, SERVICE_ALL_ACCESS | DELETE); 315 if (!svc) { 321 if (QueryServiceStatus(svc, &status)) { 325 if (!ControlService(svc, SERVICE_CONTROL_STOP [all...] |
/external/ppp/pppd/plugins/pppoatm/ |
atm.h | 47 #define T2A_SVC 2 /* address is SVC */ 49 #define T2A_WILDCARD 8 /* allow wildcards in PVC or SVC address */ 63 #define AXE_PRVOPT 2 /* private part of SVC address is optional */
|
/external/bluetooth/bluez/audio/ |
headset.h | 57 struct headset *headset_init(struct audio_device *dev, uint16_t svc, 64 void headset_update(struct audio_device *dev, uint16_t svc,
|
manager.h | 38 gboolean server_is_enabled(bdaddr_t *src, uint16_t svc);
|