HomeSort by relevance Sort by last modified time
    Searched defs:handler (Results 51 - 75 of 405) sorted by null

1 23 4 5 6 7 8 91011>>

  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
HandleProfiling.java 63 * Chunk handler entry point.
149 // get the app-level handler for method tracing dump
150 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler(); local
151 if (handler != null) {
153 handler.onSuccess(filename, client);
157 handler.onEndFailure(client, null /*message*/);
216 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler(); local
217 if (handler != null) {
223 handler.onSuccess(stuff, client);
283 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler() local
290 IMethodProfilingHandler handler = ClientData.getMethodProfilingHandler(); local
    [all...]
  /system/netd/
NetlinkManager.cpp 88 NetlinkHandler *handler = new NetlinkHandler(this, *sock, format); local
89 if (handler->start()) {
95 return handler;
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorLRE.java 62 * @param handler non-null reference to current StylesheetHandler that is constructing the Templates.
69 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
75 ElemTemplateElement p = handler.getElemTemplateElement();
83 XSLTElementProcessor lreProcessor = handler.popProcessor();
85 handler.getProcessorFor(Constants.S_XSLNAMESPACEURL, "stylesheet",
88 handler.pushProcessor(lreProcessor);
93 stylesheet = getStylesheetRoot(handler);
100 // stylesheet.setDOMBackPointer(handler.getOriginatingNode());
103 Locator locator = handler.getLocator();
112 stylesheet.setPrefixes(handler.getNamespaceSupport())
    [all...]
ProcessorKey.java 51 * @param handler The calling StylesheetHandler/TemplatesBuilder.
65 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
69 KeyDeclaration kd = new KeyDeclaration(handler.getStylesheet(), handler.nextUid());
71 kd.setDOMBackPointer(handler.getOriginatingNode());
72 kd.setLocaterInfo(handler.getLocator());
73 setPropertiesFromAttributes(handler, rawName, attributes, kd);
74 handler.getStylesheet().setKey(kd);
79 * @param handler The stylesheet's Content handler, needed fo
    [all...]
ProcessorOutputElem.java 170 * @param handler The calling StylesheetHandler/TemplatesBuilder.
186 StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
192 m_outputProperties.setDOMBackPointer(handler.getOriginatingNode());
193 m_outputProperties.setLocaterInfo(handler.getLocator());
194 m_outputProperties.setUid(handler.nextUid());
195 setPropertiesFromAttributes(handler, rawName, attributes, this);
207 handler.getBaseIdentifier());
212 handler.error(te.getMessage(), te);
216 handler.getStylesheet().setOutput(m_outputProperties);
218 ElemTemplateElement parent = handler.getElemTemplateElement()
    [all...]
  /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));
  /frameworks/base/core/java/android/speech/tts/
BlockingMediaPlayer.java 22 import android.os.Handler;
40 // Only accessed on the Handler thread
70 Handler handler = new Handler(thread.getLooper()); local
72 handler.post(new Runnable() {
79 handler.post(new Runnable() {
83 // No new messages should get posted to the handler thread after this
100 * Called on the handler thread.
135 * Called on the handler thread
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/http/
CookiesTest.java 58 StreamHandler handler = new StreamHandler(out, new SimpleFormatter()); local
59 logger.addHandler(handler);
63 handler.close();
71 logger.removeHandler(handler);
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldMemoryHandlerTest.java 26 import java.util.logging.Handler;
38 MemoryHandler handler; field in class:OldMemoryHandlerTest
45 handler = new MemoryHandler();
70 assertTrue(handler.isLoggable(new LogRecord(Level.INFO, "1")));
71 assertTrue(handler.isLoggable(new LogRecord(Level.WARNING, "2")));
72 assertTrue(handler.isLoggable(new LogRecord(Level.SEVERE, "3")));
76 assertNotNull("Filter should not be null", handler.getFilter());
77 assertNotNull("Formatter should not be null", handler.getFormatter());
78 assertNull("character encoding should be null", handler.getEncoding());
79 assertNotNull("ErrorManager should not be null", handler.getErrorManager())
    [all...]
  /sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/repository/
ValidateRepositoryXmlTest.java 56 * @param handler A {@link CaptureErrorHandler}. If null the default will be used,
59 private Validator getRepoValidator(int version, @Nullable CaptureErrorHandler handler)
68 if (handler != null) {
69 validator.setErrorHandler(handler);
89 CaptureErrorHandler handler = new CaptureErrorHandler(); local
92 assertNotNull(getRepoValidator(SdkRepoConstants.NS_LATEST_VERSION, handler));
100 getRepoValidator(SdkRepoConstants.NS_LATEST_VERSION + 1, handler));
109 CaptureErrorHandler handler = new CaptureErrorHandler(); local
110 Validator validator = getRepoValidator(1, handler);
112 handler.verify();
121 CaptureErrorHandler handler = new CaptureErrorHandler(); local
133 CaptureErrorHandler handler = new CaptureErrorHandler(); local
145 CaptureErrorHandler handler = new CaptureErrorHandler(); local
158 CaptureErrorHandler handler = new CaptureErrorHandler(); local
177 CaptureErrorHandler handler = new CaptureErrorHandler(); local
200 CaptureErrorHandler handler = new CaptureErrorHandler(); local
    [all...]
  /dalvik/libdex/
DexCatch.h 28 * Catch handler entry, used while iterating over catch_handler_items.
32 u4 address; /* handler address */
35 /* Get the first handler offset for the given DexCode.
40 /* Get count of handler lists for the given DexCode. */
44 * Iterator over catch handler data. This structure should be treated as
51 DexCatchHandler handler; member in struct:DexCatchIterator
60 pIterator->handler.typeIdx = 0;
61 pIterator->handler.address = 0;
81 /* Initialize a DexCatchIterator to a particular handler offset. */
97 pIterator->handler.typeIdx = kDexNoIndex
    [all...]
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
XMLFormatterTest.java 28 import java.util.logging.Handler;
40 MockHandler handler = null; field in class:XMLFormatterTest
47 handler = new MockHandler();
135 String result = formatter.getHead(handler);
136 assertNull(handler.getEncoding());
140 handler.setEncoding("ISO-8859-1");
144 result = formatter.getHead(handler);
152 handler.setEncoding(null);
153 result = formatter.getHead(handler);
154 assertNull(handler.getEncoding())
    [all...]
FileHandlerTest.java 37 import java.util.logging.Handler;
75 FileHandler handler; field in class:FileHandlerTest
90 handler = new FileHandler();
122 if (null != handler) {
123 handler.close();
194 assertEquals(handler.getEncoding(), "iso-8859-1");
195 assertTrue(handler.getFilter() instanceof MockFilter);
196 assertTrue(handler.getFormatter() instanceof MockFormatter);
197 assertEquals(handler.getLevel(), Level.FINE);
198 assertNotNull(handler.getErrorManager())
525 MockFileHandler handler = new MockFileHandler("%h\/setoutput.log"); local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
ContentHandlerTest.java 36 ContentHandler handler = new ContentHandlerImpl(); local
37 ((ContentHandlerImpl) handler).setContent(new Foo());
38 Object content = handler.getContent(conn, classes);
41 ((ContentHandlerImpl) handler).setContent(new FooSub());
42 content = handler.getContent(conn, classes);
46 ((ContentHandlerImpl) handler).setContent(new Foo());
47 content = handler.getContent(conn, classes2);
  /external/chromium/chrome/browser/ui/webui/chromeos/
keyboard_overlay_ui.cc 46 // The handler for Javascript messages related to the "keyboardoverlay" view.
301 KeyboardOverlayHandler* handler = new KeyboardOverlayHandler(); local
302 AddMessageHandler((handler)->Attach(this));
  /external/chromium/net/http/
http_auth_handler_factory_unittest.cc 30 scoped_ptr<HttpAuthHandler>* handler) {
31 handler->reset();
56 scoped_ptr<HttpAuthHandler> handler; local
61 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
67 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
71 &handler));
77 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
81 &handler));
86 "basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
92 "Basic", HttpAuth::AUTH_SERVER, gurl, BoundNetLog(), &handler));
109 scoped_ptr<HttpAuthHandler> handler; local
125 scoped_ptr<HttpAuthHandler> handler; local
136 scoped_ptr<HttpAuthHandler> handler; local
152 scoped_ptr<HttpAuthHandler> handler; local
168 scoped_ptr<HttpAuthHandler> handler; local
    [all...]
  /frameworks/base/core/java/android/webkit/
UrlInterceptRegistry.java 76 * Register a new UrlInterceptHandler. This handler will be called
79 * @param handler The new UrlInterceptHandler object
80 * @return true if the handler was not previously registered.
88 UrlInterceptHandler handler) {
89 if (!getHandlers().contains(handler)) {
90 getHandlers().addFirst(handler);
100 * @param handler A previously registered UrlInterceptHandler.
101 * @return true if the handler was found and removed from the list.
109 UrlInterceptHandler handler) {
110 return getHandlers().remove(handler);
131 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); local
159 UrlInterceptHandler handler = (UrlInterceptHandler) iter.next(); local
    [all...]
  /frameworks/base/media/libstagefright/foundation/
ALooperRoster.cpp 35 const sp<ALooper> looper, const sp<AHandler> &handler) {
38 if (handler->id() != 0) {
39 CHECK(!"A handler must only be registered once.");
45 info.mHandler = handler;
49 handler->setID(handlerID);
65 sp<AHandler> handler = info.mHandler.promote(); local
67 if (handler != NULL) {
68 handler->setID(0);
85 LOGW("failed to post message. Target handler not registered.");
95 "Target handler %d still registered, but object gone."
108 sp<AHandler> handler; local
    [all...]
  /hardware/libhardware_legacy/uevent/
uevent.c 34 void (*handler)(void *data, const char *msg, int msg_len); member in struct:uevent_handler
90 h->handler(h->handler_data, buffer, buffer_length);
102 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len),
110 h->handler = handler;
120 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len))
127 if (h->handler == handler) {
  /libcore/luni/src/main/java/libcore/net/http/
HeaderParser.java 28 public static void parseCacheControl(String value, CacheControlHandler handler) {
37 handler.handle(directive, null);
61 handler.handle(directive, parameter);
  /libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
ContentHandlerTest.java 36 ContentHandler handler = new ContentHandlerImpl(); local
37 ((ContentHandlerImpl) handler).setContent(new Foo());
38 Object content = handler.getContent(conn, classes);
41 ((ContentHandlerImpl) handler).setContent(new FooSub());
42 content = handler.getContent(conn, classes);
46 ((ContentHandlerImpl) handler).setContent(new Foo());
47 content = handler.getContent(conn, classes2);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
PreCompilerDeltaVisitor.java 106 SourceChangeHandler handler = processor.getChangeHandler(); local
107 mSourceChangeHandlers.add(handler);
279 for (SourceChangeHandler handler : mSourceChangeHandlers) {
280 if (handler.handleGeneratedFile(file, kind)) {
301 for (SourceChangeHandler handler : mSourceChangeHandlers) {
302 handler.handleSourceFile(file, kind);
347 for (SourceChangeHandler handler : mSourceChangeHandlers) {
348 handler.handleResourceFile((IFile)resource, kind);
  /frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
ReliabilityTestActivity.java 24 import android.os.Handler;
55 private Handler handler; field in class:ReliabilityTestActivity
91 handler = new Handler() {
134 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT),
165 handler.postDelayed(pageDoneRunner, manualDelay);
182 public Handler getHandler() {
183 return handler;
    [all...]
  /frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
PowerTestActivity.java 23 import android.os.Handler;
48 private Handler handler; field in class:PowerTestActivity
87 handler = new Handler() {
130 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT),
161 handler.postDelayed(pageDoneRunner, manualDelay);
178 public Handler getHandler() {
179 return handler;
    [all...]
  /dalvik/tests/044-proxy/src/
Clash3.java 28 InvocationHandler handler = new Clash3InvocationHandler(); local
37 handler);

Completed in 1183 milliseconds

1 23 4 5 6 7 8 91011>>