HomeSort by relevance Sort by last modified time
    Searched refs:serv (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /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...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/
ServicesTest.java 41 Provider.Service serv = Services.getService("Service.ALGORITHM"); local
42 if (serv == null) {
45 if (serv.getProvider() != p ||
46 !"org.apache.harmony.security.tests.fortress.SomeClass".equals(serv.getClassName())) {
50 serv = Services.getService("Service.ALGORITHM");
51 if (serv != null) {
60 Provider.Service serv = Services.getService("Service.ALGORITHM"); local
62 serv = Services.getService("Service.ALGORITHM");
63 if (serv == null) {
69 serv = Services.getService("Service.ALGORITHM")
    [all...]
  /external/dnsmasq/src/
dbus.c 102 struct server *serv, *tmp, **up; local
110 for (serv = daemon->servers; serv; serv = serv->next)
111 if (serv->flags & SERV_FROM_DBUS)
112 serv->flags |= SERV_MARK;
184 for (serv = daemon->servers; serv; serv = serv->next
    [all...]
network.c 1081 struct server *serv; local
1090 for (serv = daemon->servers; serv;)
1092 struct server *tmp = serv->next;
1093 if (serv->flags & SERV_FROM_RESOLV)
1095 serv->next = old_servers;
1096 old_servers = serv;
1098 server_gone(serv);
1102 serv->next = new_servers;
1103 new_servers = serv;
1182 struct server *serv; local
    [all...]
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...]
  /external/libpcap/Win32/Src/
getservent.c 53 static struct servent serv; variable in typeref:struct:servent
95 serv.s_name = p;
106 serv.s_port = htons((u_short)atoi(p));
107 serv.s_proto = cp;
108 q = serv.s_aliases = serv_aliases;
124 return (&serv);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_docxmlrpc.py 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False)
31 PORT = serv.socket.getsockname()[1]
34 serv.set_server_title("DocXMLRPCServer Test Documentation")
35 serv.set_server_name("DocXMLRPCServer Test Docs")
36 serv.set_server_documentation(
46 serv.register_introspection_functions()
47 serv.register_instance(TestClass())
57 serv.register_function(add)
58 serv.register_function(lambda x, y: x-y)
61 serv.handle_request(
    [all...]
test_smtplib.py 21 def server(evt, buf, serv):
22 serv.listen(5)
25 conn, addr = serv.accept()
40 serv.close()
106 def debugging_server(serv, serv_evt, client_evt):
122 serv.close()
133 serv.close()
159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1))
161 self.port = self.serv.socket.getsockname()[1]
162 serv_args = (self.serv, self.serv_evt, self.client_evt
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_docxmlrpc.py 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False)
31 PORT = serv.socket.getsockname()[1]
34 serv.set_server_title("DocXMLRPCServer Test Documentation")
35 serv.set_server_name("DocXMLRPCServer Test Docs")
36 serv.set_server_documentation(
46 serv.register_introspection_functions()
47 serv.register_instance(TestClass())
57 serv.register_function(add)
58 serv.register_function(lambda x, y: x-y)
61 serv.handle_request(
    [all...]
test_smtplib.py 21 def server(evt, buf, serv):
22 serv.listen(5)
25 conn, addr = serv.accept()
40 serv.close()
106 def debugging_server(serv, serv_evt, client_evt):
122 serv.close()
133 serv.close()
159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1))
161 self.port = self.serv.socket.getsockname()[1]
162 serv_args = (self.serv, self.serv_evt, self.client_evt
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_docxmlrpc.py 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False)
31 PORT = serv.socket.getsockname()[1]
34 serv.set_server_title("DocXMLRPCServer Test Documentation")
35 serv.set_server_name("DocXMLRPCServer Test Docs")
36 serv.set_server_documentation(
46 serv.register_introspection_functions()
47 serv.register_instance(TestClass())
57 serv.register_function(add)
58 serv.register_function(lambda x, y: x-y)
61 serv.handle_request(
    [all...]
test_smtplib.py 21 def server(evt, buf, serv):
22 serv.listen(5)
25 conn, addr = serv.accept()
40 serv.close()
106 def debugging_server(serv, serv_evt, client_evt):
122 serv.close()
133 serv.close()
159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1))
161 self.port = self.serv.socket.getsockname()[1]
162 serv_args = (self.serv, self.serv_evt, self.client_evt
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_docxmlrpc.py 27 serv = DocXMLRPCServer(("localhost", 0), logRequests=False)
31 PORT = serv.socket.getsockname()[1]
34 serv.set_server_title("DocXMLRPCServer Test Documentation")
35 serv.set_server_name("DocXMLRPCServer Test Docs")
36 serv.set_server_documentation(
46 serv.register_introspection_functions()
47 serv.register_instance(TestClass())
57 serv.register_function(add)
58 serv.register_function(lambda x, y: x-y)
61 serv.handle_request(
    [all...]
test_smtplib.py 21 def server(evt, buf, serv):
22 serv.listen(5)
25 conn, addr = serv.accept()
40 serv.close()
106 def debugging_server(serv, serv_evt, client_evt):
122 serv.close()
133 serv.close()
159 self.serv = smtpd.DebuggingServer((HOST, 0), ('nowhere', -1))
161 self.port = self.serv.socket.getsockname()[1]
162 serv_args = (self.serv, self.serv_evt, self.client_evt
    [all...]
  /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...]
  /packages/apps/Music/src/com/android/music/
MusicBrowserActivity.java 73 IMediaPlaybackService serv = IMediaPlaybackService.Stub.asInterface(obj);
74 if (serv != null) {
76 serv.setShuffleMode(MediaPlaybackService.SHUFFLE_AUTO);
  /bionic/libc/dns/net/
getnameinfo.c 110 char* serv, size_t servlen, int flags)
112 return android_getnameinfofornet(sa, salen, host, hostlen, serv, servlen, flags,
117 size_t hostlen, char* serv, size_t servlen, int flags, unsigned netid,
124 serv, servlen, flags, netid, mark);
127 serv, servlen, flags);
140 char *host, socklen_t hostlen, char *serv, socklen_t servlen,
150 if (serv != NULL && servlen > 0)
151 serv[0] = '\0';
167 char *serv, socklen_t servlen,
182 /* serv may be NULL *
    [all...]
  /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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/
TestOptions.java 203 String serv; local
205 serv = "n";
207 serv = "y";
217 "transport=dt_socket,address=" + address + ",server=" + serv
  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/rdtypes/IN/
WKS.py 67 serv = int(token.value)
75 serv = socket.getservbyname(token.value, protocol_text)
76 i = serv // 8
81 bitmap[i] = chr(ord(bitmap[i]) | (0x80 >> (serv % 8)))
  /external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/support/
test_layer1.py 42 service_codes = [serv['code'] for serv in services['services']]
  /external/curl/lib/
memdebug.h 121 #define ogetaddrinfo(host,serv,hint,res) \
122 curl_dogetaddrinfo(host, serv, hint, res, __LINE__, __FILE__)
125 #define getaddrinfo(host,serv,hint,res) \
126 curl_dogetaddrinfo(host, serv, hint, res, __LINE__, __FILE__)
132 #define getnameinfo(sa,salen,host,hostlen,serv,servlen,flags) \
133 curl_dogetnameinfo(sa, salen, host, hostlen, serv, servlen, flags, \
hostip6.c 71 * (ignoring the fact c-ares doesn't return 'serv').
77 char *serv, GETNAMEINFO_TYPE_ARG46 servlen,
83 serv, servlen,
  /external/tcpdump/missing/
getnameinfo.c 95 getnameinfo(sa, salen, host, hostlen, serv, servlen, flags)
100 char *serv;
138 if (serv == NULL || servlen == 0) {
142 * "||" here: RFC2553 says that serv == NULL OR servlen == 0
155 strcpy(serv, sp->s_name);
160 strcpy(serv, numserv);
  /external/netperf/src/missing/
getaddrinfo.c 517 getnameinfo(sa, salen, node, nodelen, serv, servlen, flags)
522 char *serv;
542 } else if (node == NULL && serv == NULL) {
547 if (serv != NULL && servlen > 0) {
560 strcpy(serv, servent->s_name);
566 sprintf(serv, "%d", ntohs(sa_in->sin_port));

Completed in 868 milliseconds

1 2 3 4