/dalvik/dx/src/com/android/dx/cf/code/ |
ByteCatchList.java | 81 * @param startPc {@code >= 0;} the start pc (inclusive) of the handler's range 83 * handler's range 84 * @param handlerPc {@code >= 0;} the pc of the exception handler 86 * {@code null} to catch all exceptions with this handler 153 * is a list of all the exception handler addresses, with the given 221 * Item in an exception handler list. 224 /** {@code >= 0;} the start pc (inclusive) of the handler's range */ 227 /** {@code >= startPc;} the end pc (exclusive) of the handler's range */ 230 /** {@code >= 0;} the pc of the exception handler */ 234 * exceptions with this handler */ [all...] |
/dalvik/libcore/logging/src/main/java/java/util/logging/ |
StreamHandler.java | 36 * handler will use to encode log messages. Default is the encoding used by the 39 * class to be associated with this handler. No <code>Filter</code> is used by 42 * formatter class to be associated with this handler. Default is 50 public class StreamHandler extends Handler { 52 // the output stream this handler writes to 62 * Constructs a {@code StreamHandler} object. The new stream handler 78 * the output stream this handler writes to. 104 * the output stream this handler writes to. 106 * the formatter this handler uses to format the output. 154 * Sets the output stream this handler writes to. Note it does nothing else [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
Handler.java | 29 * This is the handler that manages all transactions between the client and a 32 public class Handler extends URLStreamHandler { 43 * if this handler fails to establish a connection 63 * if this handler fails to establish a connection. 67 * if the protocol handler doesn't support this method.
|
/dalvik/libcore/xml/src/main/java/org/apache/xalan/processor/ |
ProcessorExsltFuncResult.java | 46 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 51 super.startElement(handler, uri, localName, rawName, attributes); 52 ElemTemplateElement ancestor = handler.getElemTemplateElement().getParentElem(); 60 handler.error(msg, new SAXException(msg)); 67 handler.error(msg, new SAXException(msg));
|
ProcessorPreserveSpace.java | 45 * @param handler The calling StylesheetHandler/TemplatesBuilder. 59 StylesheetHandler handler, String uri, String localName, String rawName, 63 Stylesheet thisSheet = handler.getStylesheet(); 65 setPropertiesFromAttributes(handler, rawName, attributes, paths); 72 wsi.setUid(handler.nextUid());
|
ProcessorStripSpace.java | 45 * @param handler The calling StylesheetHandler/TemplatesBuilder. 59 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) 62 Stylesheet thisSheet = handler.getStylesheet(); 64 setPropertiesFromAttributes(handler, rawName, attributes, paths); 71 wsi.setUid(handler.nextUid());
|
XSLTAttributeDef.java | 500 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 513 StylesheetHandler handler, String uri, String name, String rawName, String value, 520 AVT avt = new AVT(handler, uri, name, rawName, value, owner); 534 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 544 Object processCDATA(StylesheetHandler handler, String uri, String name, 551 AVT avt = new AVT(handler, uri, name, rawName, value, owner); 567 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates. 578 StylesheetHandler handler, String uri, String name, String rawName, String value, ElemTemplateElement owner) 584 AVT avt = new AVT(handler, uri, name, rawName, value, owner); 588 handleError(handler, XSLTErrorResources.INVALID_TCHAR, new Object[] {name, value},null) [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
GSMTestHandler.java | 21 import android.os.Handler; 34 public class GSMTestHandler extends HandlerThread implements Handler.Callback { 36 private Handler mHandler; 56 mHandler = new Handler(getLooper(), this); 83 public Handler getHandler() {
|
/packages/apps/Gallery3D/src/com/cooliris/app/ |
App.java | 21 import android.os.Handler; 47 private final Handler mHandler; 65 mHandler = new Handler(mHandlerThread.getLooper()); 81 public Handler getHandler() { 83 // Wait till the handler is created.
|
/frameworks/base/cmds/runtime/ |
SignalHandler.cpp | 83 if (ch.handler) { 84 ch.handler(entry.info.si_pid, ch.userData); 102 child_callback_t handler, 123 if (handler) { 124 handler(childPid, userData); 134 entry.handler = handler; 139 LOGD("setChildHandler adding pid %d, tag %d, handler %p, data %p", 140 childPid, tag, handler, userData); 172 LOGE_IF(res != 0, "Unable to create signal handler pipe: %s", strerror(errno)) [all...] |
/frameworks/base/common/java/com/android/common/ |
NetworkConnectivityListener.java | 25 import android.os.Handler; 44 private HashMap<Handler, Integer> mHandlers = new HashMap<Handler, Integer>(); 98 Iterator<Handler> it = mHandlers.keySet().iterator(); 100 Handler target = it.next(); 163 * This methods registers a Handler to be called back onto with the specified what code when 166 * @param target The target handler. 167 * @param what The what code to be used when posting a message to the handler. 169 public void registerHandler(Handler target, int what) { 174 * This methods unregisters the specified Handler [all...] |
/frameworks/base/core/java/android/os/ |
Broadcaster.java | 32 public void request(int senderWhat, Handler target, int targetWhat) 39 r.targets = new Handler[1]; 62 reg.targets = new Handler[1]; 77 Handler[] oldTargets = r.targets; 85 r.targets = new Handler[n+1]; 99 public void cancelRequest(int senderWhat, Handler target, int targetWhat) 117 Handler[] targets = r.targets; 122 r.targets = new Handler[oldLen-1]; 188 Handler[] targets = r.targets; 192 Handler target = targets[i] [all...] |
MessageQueue.java | 30 * but rather through {@link Handler} objects associated with the Looper. 48 * wait for more. Return true to keep your idle handler active, false 64 * @param handler The IdleHandler to be added. 66 public final void addIdleHandler(IdleHandler handler) { 67 if (handler == null) { 71 mIdleHandlers.add(handler); 80 * @param handler The IdleHandler to be removed. 82 public final void removeIdleHandler(IdleHandler handler) { 84 mIdleHandlers.remove(handler); 129 // While calling an idle handler, a new message could have bee [all...] |
Message.java | 26 * sent to a {@link Handler}. This object contains two extra int fields and an 31 * {@link Handler#obtainMessage Handler.obtainMessage()} methods, which will pull 37 * what this message is about. Each {@link Handler} has its own name-space 80 /*package*/ Handler target; 133 * @param h Handler to assign to the returned Message object's <em>target</em> member. 136 public static Message obtain(Handler h) { 144 * Same as {@link #obtain(Handler)}, but assigns a callback Runnable on 146 * @param h Handler to assign to the returned Message object's <em>target</em> member. 150 public static Message obtain(Handler h, Runnable callback) [all...] |
Handler.java | 25 * A Handler allows you to send and process {@link Message} and Runnable 26 * objects associated with a thread's {@link MessageQueue}. Each Handler 28 * queue. When you create a new Handler, it is bound to the thread / 33 * <p>There are two main uses for a Handler: (1) to schedule messages and 45 * processed by the Handler's {@link #handleMessage} method (requiring that 46 * you implement a subclass of Handler). 48 * <p>When posting or sending to a Handler, you can either 59 * the main application thread through a Handler. This is done by calling 62 * in the Handler's message queue and processed when appropriate. 64 public class Handler { [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrack_ListenerTest.java | 29 import android.os.Handler; 43 private Handler mHandler = new Handler() { 82 args = {OnPlaybackPositionUpdateListener.class, Handler.class} 85 @ToBeFixed(explanation="The handler argument is only used to find the correct Looper." + 86 "The AudioTrack instance creates its own handler instance internally.") 90 // ToBeFixed: Handler#handleMessage() is never called
|
/development/apps/Development/src/com/android/development/ |
LogViewer.java | 27 import android.os.Handler; 43 Handler handler; field in class:LogViewer 50 this.handler = new Handler(); 118 handler.post(new AppendCharacters(builder)); 125 handler.post(new AppendThrowable(e));
|
/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
__init__.py | 60 contains many non-Web Socket handler files. 76 <websock_handlers> and the handler defined in 79 For example, if the resource name is /example/chat, the handler defined in 82 A Web Socket handler is composed of the following two functions: 92 ws_origin, ws_protocol, and ws_resource) are added to request. A handler 96 successfully. A handler can receive/send messages from/to the client 100 A Web Socket handler must be thread-safe if the server (Apache or
|
/frameworks/base/core/tests/coretests/src/android/os/ |
IdleHandlerTest.java | 19 import android.os.Handler; 29 Handler mHandler; 35 mHandler = new Handler() { 78 "Idle handler called " + mCount + " times")); 114 "Idle handler called " + mCount + " times")); 149 "Idle handler called " + mCount + " times")); 185 "Idle handler called " + mCount + " times"));
|
/system/core/include/cutils/ |
mspace.h | 93 Call the handler for each block in the specified mspace. 102 void(*handler)(const void *chunkptr, size_t chunklen, 106 mspace_walk_free_pages(handler, harg) 108 Calls the provided handler on each free region in the specified 110 contain any important data, so the handler is free to alter the 114 The value in harg will be passed to each call of the handler. 117 void(*handler)(void *start, void *end, void *arg), void *harg);
|
/external/expat/amiga/include/libraries/ |
expat.h | 243 XML_EntityDeclHandler handler); 302 XML_StartElementHandler handler); 306 XML_EndElementHandler handler); 310 XML_CharacterDataHandler handler); 314 XML_ProcessingInstructionHandler handler); 317 XML_CommentHandler handler); 334 XML_DefaultHandler handler); 338 XML_DefaultHandler handler); 355 XML_UnparsedEntityDeclHandler handler); 359 XML_NotationDeclHandler handler); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/ |
NetworkUtilities.java | 21 import android.os.Handler; 111 * @param handler The hander instance from the calling UI thread. 117 Handler handler, final Context context) { 141 sendResult(true, handler, context); 147 sendResult(false, handler, context); 154 sendResult(false, handler, context); 165 * thread through its handler. 168 * @param handler The main UI thread's handler instance [all...] |
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 68 public static IPathEnumerator create (final File [] path, final boolean canonical, final IPathHandler handler) 70 return new PathEnumerator (path, canonical, handler); 77 final IPathHandler handler = m_handler; local 112 // move to enumeratePathArchive(): handler.handleArchiveStart (parent, archive); 114 handler.handleArchiveEnd (parent, archive); // note: it is important that this is called after the zip stream has been closed 124 PathEnumerator (final File [] path, final boolean canonical, final IPathHandler handler) 131 if (handler == null) throw new IllegalArgumentException ("null input: handler"); 132 m_handler = handler; 164 final IPathHandler handler = m_handler local 221 final IPathHandler handler = m_handler; local [all...] |
/frameworks/base/tools/localize/ |
XMLHandler.cpp | 471 list_contains(const vector<XMLHandler*>& stack, XMLHandler* handler) 475 if (stack[i] == handler) { 487 XMLHandler* handler = data->stack[data->stack.size()-1]; local 492 XMLHandler* next = handler; 498 handler->OnStartElement(pos, nsString, nameString, attributes, &next); 501 next = handler; 504 if (next != handler) { 519 XMLHandler* handler = data->stack[data->stack.size()-1]; local 524 if (!list_contains(data->stack, handler)) { 525 handler->OnDone(pos) 546 XMLHandler* handler = data->stack[data->stack.size()-1]; local 555 XMLHandler* handler = data->stack[data->stack.size()-1]; local [all...] |
/frameworks/base/obex/javax/obex/ |
SessionNotifier.java | 53 * the handler to handle the requests from the client. No authenticator is 82 * @param handler the request handler that will respond to OBEX requests 85 * @throws NullPointerException if <code>handler</code> is <code>null</code> 87 ObexSession acceptAndOpen(ServerRequestHandler handler) throws IOException; 91 * the handler to handle the requests from the client and the 119 * @param handler the request handler that will respond to OBEX requests 125 * @throws NullPointerException if <code>handler</code> is <code>null</code> 127 ObexSession acceptAndOpen(ServerRequestHandler handler, Authenticator auth) throws IOException [all...] |