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

12

/frameworks/base/core/java/android/nfc/
H A DILlcpServiceSocket.aidl24 int accept(int nativeHandle);
/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 DBluetoothDeviceProfileState.java388 // Cancel outgoing connect, accept incoming
398 // accept incoming A2DP, retry HFP_OUTGOING
756 private boolean handleIncomingConnection(int command, boolean accept) { argument
758 Log.i(TAG, "handleIncomingConnection:" + command + ":" + accept);
761 if (!accept) {
775 if (!accept) {
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/core/java/com/android/internal/nfc/
H A DLlcpServiceSocket.java90 * Wait for incomming connection request from a LLCP client and accept this
102 public LlcpSocket accept() throws IOException, LlcpException { method in class:LlcpServiceSocket
105 int handle = mService.accept(mHandle);
118 Log.e(TAG, "RemoteException in accept(): ", e);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitorTest.java40 cr.accept(cv, 0 /* flags */);
52 cr.accept(cv, 0 /* flags */);
H A DDelegateClassAdapterTest.java94 cr.accept(cv, 0 /* flags */);
151 cr.accept(cv, 0 /* flags */);
165 cr.accept(cv, 0 /* flags */);
212 cr.accept(cvOuter, 0 /* flags */);
220 cr.accept(cvInner, 0 /* flags */);
311 cr.accept(cw, 0);
394 cr2.accept((ClassVisitor) tcv, 0 /* flags */);
H A DAsmAnalyzerTest.java194 cr.accept(visitor, 0 /* flags */);
207 cr2.accept(visitor, 0 /* flags */);
222 cr2.accept(visitor, 0 /* flags */);
/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();
/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.java348 String accept = mHeaders.get("Accept");
349 if (accept == null || accept.length() == 0) {
/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java44 ls1 = ss.accept();
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java332 cr.accept(cv, 0 /* flags */);
366 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);
/frameworks/base/cmds/installd/
H A Dinstalld.c257 s = accept(lsocket, &addr, &alen);
/frameworks/base/services/java/com/android/server/
H A DViewServer.java178 Socket client = mServer.accept();
/frameworks/base/core/tests/utillib/src/coretestutils/http/
H A DMockWebServer.java145 serveConnection(ss.accept());
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java297 boolean accept, Message response) {
296 handleCallSetupRequestFromSim( boolean accept, Message response) argument
/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/cmds/dumpstate/
H A Dutils.c243 int fd = accept(s, &addr, &alen);
245 fprintf(stderr, "accept(control socket): %s\n", strerror(errno));

Completed in 368 milliseconds

12