/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
BatteryStatsServTest.java | 32 public static class TestServ extends BatteryStatsImpl.Uid.Pkg.Serv { 141 TestServ serv = new TestServ(bsi); local 142 Assert.assertTrue(bsi.getOnBatteryTimeBase().hasObserver(serv)); 144 serv.detach(); 145 Assert.assertFalse(bsi.getOnBatteryTimeBase().hasObserver(serv)); 154 TestServ serv = new TestServ(bsi); local 156 serv.populate(); 157 serv.setRunning(true); 158 serv.onTimeStarted(111111, 20000, 222222); 159 Assert.assertEquals(18989, serv.getUnpluggedStartTime()) 185 TestServ serv = new TestServ(bsi); local 213 TestServ serv = new TestServ(bsi); local 231 TestServ serv = new TestServ(bsi); local 254 TestServ serv = new TestServ(bsi); local 292 TestServ serv = new TestServ(bsi); local 327 TestServ serv = new TestServ(bsi); local 366 TestServ serv = new TestServ(bsi); local 404 TestServ serv = new TestServ(bsi); local 441 TestServ serv = new TestServ(bsi); local 479 TestServ serv = new TestServ(bsi); local 517 TestServ serv = new TestServ(bsi); local 555 TestServ serv = new TestServ(bsi); local 587 TestServ serv = new TestServ(bsi); local 598 TestServ serv = new TestServ(bsi); local 631 TestServ serv = new TestServ(bsi); local 670 TestServ serv = new TestServ(bsi); local 710 TestServ serv = new TestServ(bsi); local [all...] |
/device/linaro/bootloader/edk2/StdLib/Include/net/ |
servent.h | 36 struct servent serv;
member in struct:servent_data
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getservent.c | 57 static struct servent serv;
variable in typeref:struct:servent 247 serv.s_name = p;
258 serv.s_port = htons((u_short)atoi(p));
259 serv.s_proto = cp;
260 q = serv.s_aliases = serv_aliases;
276 return (&serv);
|
/external/ipsec-tools/src/libipsec/ |
ipsec_dump_policy.c | 401 char serv[NI_MAXSERV]; local 407 serv, sizeof(serv), niflags) != 0) 411 snprintf(buf, len, "%s[%s]", host, serv);
|
/external/ppp/pppd/plugins/radius/ |
config.c | 85 SERVER *serv; local 95 serv = (SERVER *) option->val; 97 for (i = 0; i < serv->max; i++) { 98 free(serv->name[i]); 100 serv->max = 0; 107 serv->port[serv->max] = atoi(q); 111 serv->port[serv->max] = PW_AUTH_UDP_PORT; 113 serv->port[serv->max] = ntohs ((unsigned int) svp->s_port) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
TestOptions.java | 205 String serv; local 207 serv = "n"; 209 serv = "y"; 219 "transport=dt_socket,address=" + address + ",server=" + serv
|
/external/toybox/toys/pending/ |
tcpsvd.c | 355 char *serv = NULL, *clie = NULL; local 358 if (toys.optflags & FLAG_l) serv = xstrdup(TT.name); 359 else serv = sock_to_address((struct sockaddr*)&haddr, 0); 368 setenv("PROTOLOCALHOST", serv, 1); 379 if (toys.optflags & FLAG_h) xprintf(" (%s-%s)", serv, clie); 386 free(serv);
|
/external/dnsmasq/src/ |
forward.c | 123 struct server *serv; local 126 for (serv = daemon->servers; serv; serv=serv->next) 128 if ((serv->flags & SERV_FOR_NODOTS) && *type != SERV_HAS_DOMAIN && !strchr(qdomain, '.') && namelen != 0) 130 unsigned short sflag = serv->addr.sa.sa_family == AF_INET ? F_IPV4 : F_IPV6; 132 if (serv->flags & SERV_NO_ADDR) 134 else if (serv->flags & SERV_LITERAL_ADDRESS) 139 if (serv->addr.sa.sa_family == AF_INET) [all...] |
network.c | 1060 struct server *serv; local 1069 for (serv = daemon->servers; serv;) 1071 struct server *tmp = serv->next; 1072 if (serv->flags & SERV_FROM_RESOLV) 1074 serv->next = old_servers; 1075 old_servers = serv; 1077 server_gone(serv); 1081 serv->next = new_servers; 1082 new_servers = serv; 1161 struct server *serv; local [all...] |
cache.c | 1127 struct server *serv, *serv1; local 1139 for (serv = daemon->servers; serv; serv = serv->next) 1140 serv->flags &= ~SERV_COUNTED; 1142 for (serv = daemon->servers; serv; serv = serv->next [all...] |
option.c | 1376 struct server *serv, *newlist = NULL; local [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
TestCertUtils.java | 586 private Provider.Service serv; field in class:TestCertUtils.TestProvider 590 serv = new Provider.Service(this, "CertificateFactory", "X.509", 596 s.add(serv);
|
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningServiceDetails.java | 375 ServiceInfo serv = getActivity().getPackageManager().getServiceInfo( local 378 serv.name, serv);
|
/external/wpa_supplicant_8/src/radius/ |
radius_client.c | 1043 struct sockaddr_in serv, claddr; local 1109 os_memset(&serv, 0, sizeof(serv)); 1110 serv.sin_family = AF_INET; 1111 serv.sin_addr.s_addr = nserv->addr.u.v4.s_addr; 1112 serv.sin_port = htons(nserv->port); 1113 addr = (struct sockaddr *) &serv; 1114 addrlen = sizeof(serv); 1641 struct hostapd_radius_server *serv; local [all...] |
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | 949 char serv[500]; local 951 sizeof(host), serv, sizeof(serv), 0); 957 EXPECT_NOT_POISONED(serv[0]); 958 EXPECT_POISONED(serv[sizeof(serv) - 1]); 959 ASSERT_NE(0U, strlen(serv)); [all...] |
/frameworks/base/core/java/com/android/internal/app/procstats/ |
ProcessStats.java | 1084 ServiceState serv = hadData ? pkgState.mServices.get(serviceName) : null; local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
BatteryStatsImpl.java | 8176 Uid.Pkg.Serv serv = new Serv(mBsi); local 8195 Uid.Pkg.Serv serv = mServiceStats.valueAt(i); local [all...] |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-6.0.0_r1-robolectric-0.jar | |
/prebuilts/tools/common/eclipse/ |
org.eclipse.osgi_3.6.2.R36x_v20110210.jar | |
/prebuilts/tools/common/m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.9.0.v20130529-1710/ |
org.eclipse.osgi-3.9.0.v20130529-1710.jar | |