Searched defs:accept (Results 1 - 13 of 13) sorted by relevance

/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 DBluetoothSocket.java283 /*package*/ BluetoothSocket accept(int timeout) throws IOException { method in class:BluetoothSocket
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) {
/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/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/webkit/
H A DCookieManager.java262 * @param accept TRUE if accept cookie
264 public synchronized void setAcceptCookie(boolean accept) { argument
265 mAcceptCookie = accept;
270 * @return TRUE if accept cookie
/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 DSimulatedCommands.java819 boolean accept, Message response) {
818 handleCallSetupRequestFromSim( boolean accept, Message response) argument
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCommandsInterface.java1222 * @param accept true if the call is to be accepted, false otherwise.
1225 public void handleCallSetupRequestFromSim(boolean accept, Message response); argument
H A DRIL.java1798 boolean accept, Message response) {
1807 param[0] = accept ? 1 : 0;
1797 handleCallSetupRequestFromSim( boolean accept, Message response) argument

Completed in 169 milliseconds