Searched refs:accept (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java43 * {@link #accept()} to listen for incoming connection requests. This call
83 * <p>Once this call returns, it can be called again to accept subsequent
90 public BluetoothSocket accept() throws IOException { method in class:BluetoothServerSocket
91 return accept(-1);
97 * <p>Once this call returns, it can be called again to accept subsequent
104 public BluetoothSocket accept(int timeout) throws IOException { method in class:BluetoothServerSocket
105 return mSocket.accept(timeout);
113 * close any {@link BluetoothSocket} received from {@link #accept()}.
H A DScoSocket.java42 public static final int STATE_ACCEPT = 2; // accept() thread running
110 public synchronized boolean accept() { method in class:ScoSocket
111 if (VDBG) log("accept() " + this);
H A DBluetoothSocket.java283 /*package*/ BluetoothSocket accept(int timeout) throws IOException { method in class:BluetoothSocket
/frameworks/base/core/java/android/text/method/
H A DNumberKeyListener.java35 * You can say which characters you can accept.
45 char[] accept = getAcceptedChars();
50 if (!ok(accept, source.charAt(i))) {
73 if (!ok(accept, source.charAt(j))) {
81 protected static boolean ok(char[] accept, char c) { argument
82 for (int i = accept.length - 1; i >= 0; i--) {
83 if (accept[i] == c) {
/frameworks/base/core/java/android/net/
H A DLocalServerSocket.java90 public LocalSocket accept() throws IOException method in class:LocalServerSocket
94 impl.accept (acceptedImpl);
H A DLocalSocketImpl.java176 private native FileDescriptor accept method in class:LocalSocketImpl
211 // need this for LocalServerSocket.accept()
273 protected void accept(LocalSocketImpl s) throws IOException method in class:LocalSocketImpl
279 s.fd = accept(fd, s);
/frameworks/base/tests/CoreTests/android/core/
H A DSocketTest.java48 // Test for basic bind/connect/accept behavior.
75 s1 = ss.accept();
122 Socket sock = serverSock.accept();
169 s.accept();
216 * not fail - sdk m5 seems only to accept dns names instead of ip numbers.
H A DURLTest.java93 Socket socket = server.accept();
H A DTestWebServer.java93 /* Set the number of connections the server will accept before shutdown */
183 * Call this to specify the maximum number of sockets to accept
184 * @param limit The number of sockets to accept
256 // Log.d(LOGTAG, "TestWebServer run() calling accept()");
257 Socket s = ss.accept();
278 log("SocketException in AcceptThread: probably closed during accept");
293 this does not cause the SocketException from ss.accept
371 * Called by the accept thread when it's closing. Potentially unblocks
381 * been identified by the accept thread upon which it will
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
H A DForwardServer.java95 Socket localSocket = socket.accept();
/frameworks/base/core/java/android/webkit/
H A DFrameLoader.java299 String accept = mHeaders.get("Accept");
300 if (accept == null || accept.length() == 0) {
H A DCookieManager.java245 * @param accept TRUE if accept cookie
247 public synchronized void setAcceptCookie(boolean accept) { argument
248 mAcceptCookie = accept;
253 * @return TRUE if accept cookie
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmAnalyzerTest.java195 cr.accept(visitor, 0 /* flags */);
208 cr2.accept(visitor, 0 /* flags */);
223 cr2.accept(visitor, 0 /* flags */);
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/
H A DLocalSocketTest.java44 ls1 = ss.accept();
H A DTestHttpServer.java110 Socket socket = this.serversocket.accept();
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java301 cr.accept(cv, 0 /* flags */);
335 cr.accept(cv, 0 /* flags */);
H A DAsmAnalyzer.java285 cr.accept(visitor, 0 /* flags */);
301 cr.accept(visitor, 0 /* flags */);
388 // accept this class:
417 // SignatureReader.accept will call accessType so we don't really have
419 sr.accept(this);
H A DRenameClassAdapter.java205 reader.accept(new RenameSignatureAdapter(writer));
/frameworks/base/cmds/installd/
H A Dinstalld.c229 s = accept(lsocket, &addr, &alen);
/frameworks/base/services/java/com/android/server/
H A DViewServer.java161 client = server.accept();
/frameworks/base/cmds/dumpstate/
H A Ddumpstate.c262 fd = accept(s, &addr, &alen);
264 fprintf(stderr, "could not accept dumpstate socket\n");
/frameworks/base/telephony/java/com/android/internal/telephony/test/
H A DModelInterpreter.java205 s = ss.accept();
208 "IOException on socket.accept(); stopping", ex);
/frameworks/base/core/jni/
H A Dandroid_bluetooth_BluetoothAudioGateway.cpp198 int nsk = accept(ag_fd, (struct sockaddr *) &raddr, &alen);
200 LOGE("Error on accept from socket fd %d: %s (%d).",
217 LOGI("Successful accept() on AG socket %d: new socket %d, address %s, RFCOMM channel %d",
H A Dandroid_bluetooth_ScoSocket.cpp87 bool is_accept; // accept (listening) or connect (outgoing) thread
413 nsk = accept(sk, (struct sockaddr *)&addr, &addr_sz);
415 LOGE("%s: accept() failed: %s", __FUNCTION__, strerror(errno));
/frameworks/base/cmds/keystore/
H A Dkeystore.c514 while ((the_socket = accept(control_socket, NULL, 0)) != -1) {
540 LOGE("accept: %s", strerror(errno));

Completed in 449 milliseconds

12