Home
last modified time | relevance | path

Searched refs:accept (Results 1 – 25 of 84) sorted by relevance

1234

/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java92 public BluetoothSocket accept() throws IOException { in accept() method in BluetoothServerSocket
93 return accept(-1); in accept()
106 public BluetoothSocket accept(int timeout) throws IOException { in accept() method in BluetoothServerSocket
107 return mSocket.accept(timeout); in accept()
DBluetoothDeviceProfileState.java1026 private boolean handleIncomingConnection(int command, boolean accept) { in handleIncomingConnection() argument
1028 Log.i(TAG, "handleIncomingConnection:" + command + ":" + accept); in handleIncomingConnection()
1031 if (!accept) { in handleIncomingConnection()
1045 if (!accept) { in handleIncomingConnection()
1056 if (!accept) { in handleIncomingConnection()
DBluetoothSocket.java300 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept() method in BluetoothSocket
/frameworks/base/core/java/android/text/method/
DNumberKeyListener.java45 char[] accept = getAcceptedChars(); in filter() local
50 if (!ok(accept, source.charAt(i))) { in filter()
73 if (!ok(accept, source.charAt(j))) { in filter()
81 protected static boolean ok(char[] accept, char c) { in ok() argument
82 for (int i = accept.length - 1; i >= 0; i--) { in ok()
83 if (accept[i] == c) { in ok()
/frameworks/base/core/java/android/net/
DLocalServerSocket.java90 public LocalSocket accept() throws IOException in accept() method in LocalServerSocket
94 impl.accept (acceptedImpl); in accept()
DLocalSocketImpl.java176 private native FileDescriptor accept in accept() method in LocalSocketImpl
273 protected void accept(LocalSocketImpl s) throws IOException in accept() method in LocalSocketImpl
279 s.fd = accept(fd, s); in accept()
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java94 cr.accept(cv, 0 /* flags */); in testNoOp()
151 cr.accept(cv, 0 /* flags */); in testConstructorsNotSupported()
165 cr.accept(cv, 0 /* flags */); in testDelegateNative()
213 cr.accept(cvOuter, 0 /* flags */); in testDelegateInner()
221 cr.accept(cvInner, 0 /* flags */); in testDelegateInner()
332 cr.accept(cw, 0); in findClass()
448 cr2.accept((ClassVisitor) tcv, 0 /* flags */); in dumpGeneratedClass()
DClassHasNativeVisitorTest.java40 cr.accept(cv, 0 /* flags */); in testHasNative()
52 cr.accept(cv, 0 /* flags */); in testHasNoNative()
DAsmAnalyzerTest.java194 cr.accept(visitor, 0 /* flags */); in testDependencyVisitor()
207 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor()
222 cr2.accept(visitor, 0 /* flags */); in testDependencyVisitor()
/frameworks/base/tests/CoreTests/android/core/
DSocketTest.java75 s1 = ss.accept(); in testSocketSimple()
122 Socket sock = serverSock.accept(); in testSetReuseAddress()
169 s.accept(); in testTimeoutException()
/frameworks/base/core/java/android/webkit/
DCookieManager.java267 public synchronized void setAcceptCookie(boolean accept) { in setAcceptCookie() argument
269 nativeSetAcceptCookie(accept); in setAcceptCookie()
273 mAcceptCookie = accept; in setAcceptCookie()
744 public static void setAcceptFileSchemeCookies(boolean accept) { in setAcceptFileSchemeCookies() argument
746 nativeSetAcceptFileSchemeCookies(accept); in setAcceptFileSchemeCookies()
1205 private static native void nativeSetAcceptCookie(boolean accept); in nativeSetAcceptCookie() argument
1209 private static native void nativeSetAcceptFileSchemeCookies(boolean accept); in nativeSetAcceptFileSchemeCookies() argument
DFrameLoader.java367 String accept = mHeaders.get("Accept"); in populateStaticHeaders() local
368 if (accept == null || accept.length() == 0) { in populateStaticHeaders()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
DForwarder.java65 localSocket = mServerSocket.accept(); in run()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java42 public boolean accept(File file) { in accept() method in A3DSelector.A3DFilter
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
DForwardServer.java95 Socket localSocket = socket.accept(); in run()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
DAsmGenerator.java332 cr.accept(cv, 0 /* flags */);
366 cr.accept(cv, 0 /* flags */); in hasNativeMethods()
DAsmAnalyzer.java285 cr.accept(visitor, 0 /* flags */); in findDeps()
301 cr.accept(visitor, 0 /* flags */); in findDeps()
419 sr.accept(this); in considerSignature()
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java44 ls1 = ss.accept(); in testBasic()
/frameworks/base/docs/html/guide/topics/ui/notifiers/
Dindex.jd40 out, and does not accept interaction events. Because a toast can be created from a background
45 to the screen. A toast can not accept user interaction events; if you'd like
Dtoasts.jd11 does not take focus (or pause the current activity), so it cannot accept user input</li>
32 out, and does not accept interaction events.</p>
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd154 methods can use the metadata to decide if they want to accept the data when it is dropped.
156 method has previously told the system that it wants to accept the drop, then the system sends
203 View object to show that the listener can accept a drop event.
210 does not want to accept the dragged data.
229 The user releases the drag shadow within the bounding box of a View that can accept the
704 {@link android.content.ClipDescription} to see if the listener can accept the data being
712 If the listener can accept a drop, it should return <code>true</code>. This tells
714 If it can't accept a drop, it should return <code>false</code>, and the system
791 reported that it could accept the content being dragged, the system dispatches a drag event
891 // Determines if this View can accept the dragged data
[all …]
/frameworks/base/services/java/com/android/server/wm/
DViewServer.java166 Socket client = mServer.accept(); in run()
/frameworks/base/docs/html/guide/topics/wireless/
Dbluetooth.jd442 you want your application to host a server socket that will accept incoming
496 discarded, unless you want to accept more connections.</p>
512 <p>Here's the basic procedure to set up a server socket and accept a
531 {@link android.bluetooth.BluetoothServerSocket#accept()}.
536 android.bluetooth.BluetoothServerSocket#accept()} will
540 <li>Unless you want to accept additional connections, call
544 android.bluetooth.BluetoothServerSocket#accept()}. Unlike TCP/IP, RFCOMM only allows one
552 <p>The {@link android.bluetooth.BluetoothServerSocket#accept()} call should not
558 android.bluetooth.BluetoothServerSocket#accept()}, call {@link
590 socket = mmServerSocket.accept();
[all …]
/frameworks/base/docs/html/sdk/
Dterms.jd21 …t agree to this License Agreement. You may not use the SDK if you do not accept this License Agree…
24 2.2 You can accept this License Agreement by:
27 …(A) clicking to accept or agree to this License Agreement, where this option is made available to …
33 …2.3 You may not use the SDK and may not accept the Licensing Agreement if you are a person barred …
36 …cense Agreement. If you do not have the requisite authority, you may not accept the Licensing Agre…
/frameworks/base/opengl/libs/GLES2_dbg/src/
Dserver.cpp83 accept(serverSock, (struct sockaddr *) &client, in StartDebugServer()

1234