/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/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/ |
MffTestCase.java | 18 import android.os.Handler; 42 Handler handler = new Handler(mMffContextHandlerThread.getLooper()); local 53 handler.post(task); 54 // Wait for the context to be created on the handler thread.
|
/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/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);
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/ |
modifier.hpp | 57 nfp::keyword<struct handler_t> handler; member in namespace:boost::BOOST_RT_PARAM_NAMESPACE::cla::__anon36045
|
/external/apache-xml/src/main/java/org/apache/xalan/processor/ |
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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerDeltaVisitor.java | 109 SourceChangeHandler handler = processor.getChangeHandler(); local 110 mSourceChangeHandlers.add(handler); 289 for (SourceChangeHandler handler : mSourceChangeHandlers) { 290 if (handler.handleGeneratedFile(file, kind)) { 311 for (SourceChangeHandler handler : mSourceChangeHandlers) { 312 handler.handleSourceFile(file, kind); 357 for (SourceChangeHandler handler : mSourceChangeHandlers) { 358 handler.handleResourceFile((IFile)resource, kind);
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
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/chromium_org/v8/test/mjsunit/harmony/ |
object-observe.js | [all...] |
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerTestActivity.java | 23 import android.os.Handler; 49 private Handler handler; field in class:PowerTestActivity 88 handler = new Handler() { 131 handler.sendMessageDelayed(handler.obtainMessage(MSG_TIMEOUT), 162 handler.postDelayed(pageDoneRunner, manualDelay); 179 public Handler getHandler() { 180 return handler; [all...] |
/art/test/044-proxy/src/ |
Clash3.java | 28 InvocationHandler handler = new Clash3InvocationHandler(); local 37 handler);
|
Clash4.java | 28 InvocationHandler handler = new Clash4InvocationHandler(); local 38 handler);
|
/dalvik/tests/044-proxy/src/ |
Clash3.java | 28 InvocationHandler handler = new Clash3InvocationHandler(); local 37 handler);
|
Clash4.java | 28 InvocationHandler handler = new Clash4InvocationHandler(); local 38 handler);
|
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/ |
ChatManager.java | 4 import android.os.Handler; 13 * Handles reading and writing of messages with socket buffers. Uses a Handler 19 private Handler handler; field in class:ChatManager 21 public ChatManager(Socket socket, Handler handler) { 23 this.handler = handler; 38 handler.obtainMessage(WiFiServiceDiscoveryActivity.MY_HANDLE, this) 51 handler.obtainMessage(WiFiServiceDiscoveryActivity.MESSAGE_READ [all...] |
ClientSocketHandler.java | 4 import android.os.Handler; 15 private Handler handler; field in class:ClientSocketHandler 19 public ClientSocketHandler(Handler handler, InetAddress groupOwnerAddress) { 20 this.handler = handler; 31 Log.d(TAG, "Launching the I/O handler"); 32 chat = new ChatManager(socket, handler);
|
GroupOwnerSocketHandler.java | 4 import android.os.Handler; 14 * The implementation of a ServerSocket handler. This is used by the wifi p2p 21 private Handler handler; field in class:GroupOwnerSocketHandler 24 public GroupOwnerSocketHandler(Handler handler) throws IOException { 27 this.handler = handler; 50 pool.execute(new ChatManager(socket.accept(), handler)); 51 Log.d(TAG, "Launching the I/O handler"); [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
UriPatternMatcher.java | 61 public void register(final String pattern, final Object handler) { 65 if (handler == null) { 68 this.handlerMap.put(pattern, handler); 97 Object handler = this.handlerMap.get(requestURI); local 98 if (handler == null) { 108 handler = this.handlerMap.get(pattern); 114 return handler;
|
/external/chromium/chrome/browser/custom_handlers/ |
protocol_handler_registry.cc | 23 ProtocolHandler* handler) { 24 if (protocolHandlers_.find(handler->protocol()) == protocolHandlers_.end()) { 27 if (!policy->IsWebSafeScheme(handler->protocol())) { 28 policy->RegisterWebSafeScheme(handler->protocol()); 30 net::URLRequest::RegisterProtocolFactory(handler->protocol(), 33 protocolHandlers_[handler->protocol()] = handler; 53 ProtocolHandler* handler = ProtocolHandler::CreateProtocolHandler(value); local 54 if (handler) { 55 RegisterProtocolHandler(handler); 92 ProtocolHandler* handler = GetHandlerFor(request->url().scheme()); local [all...] |
/external/chromium/chrome/browser/ui/login/ |
login_prompt.h | 65 // Notify the handler that the request was cancelled. 156 // Observes other login handlers so this login handler can respond. 164 explicit LoginNotificationDetails(LoginHandler* handler) 165 : handler_(handler) {} 166 LoginHandler* handler() const { return handler_; } function in class:LoginNotificationDetails 181 AuthSuppliedLoginNotificationDetails(LoginHandler* handler, 184 : LoginNotificationDetails(handler),
|
/external/chromium/chrome/browser/ui/views/ |
external_protocol_dialog.cc | 45 ExternalProtocolDialog* handler = local
|
/external/chromium/chrome/browser/ui/webui/chromeos/login/ |
login_ui.cc | 113 LoginUIHandler* handler = new LoginUIHandler(); local 114 AddMessageHandler(handler->Attach(this));
|
/external/chromium/chrome/browser/ui/webui/chromeos/ |
system_info_ui.cc | 63 // The handler for Javascript messages related to the "system" view. 164 // TODO(stevenjb): customize handler attach if needed... 179 SystemInfoHandler* handler = new SystemInfoHandler(); local 180 AddMessageHandler((handler)->Attach(this));
|
/external/chromium/chrome/browser/ui/webui/options/ |
font_settings_handler.cc | 79 WebUIMessageHandler* handler = OptionsPageUIHandler::Attach(web_ui); local 98 return handler;
|
/external/chromium/chrome/common/extensions/ |
extension_l10n_util_unittest.cc | 238 file_handler_title_tree->SetString("message", "file handler title"); 378 DictionaryValue* handler = new DictionaryValue(); local 379 handlers->Append(handler); 380 handler->SetString(keys::kPageActionDefaultTitle, 396 ASSERT_TRUE(handler->GetString(keys::kPageActionDefaultTitle, &result)); 397 EXPECT_EQ("file handler title", result);
|