HomeSort by relevance Sort by last modified time
    Searched defs:handler (Results 251 - 275 of 1746) sorted by null

<<11121314151617181920>>

  /external/webrtc/talk/app/webrtc/java/android/org/webrtc/
ThreadUtils.java 30 import android.os.Handler;
157 * Post |callable| to |handler| and wait for the result.
159 public static <V> V invokeUninterruptibly(final Handler handler, final Callable<V> callable) {
165 handler.post(new Runnable() {
180 * Post |runner| to |handler| and wait for the result.
182 public static void invokeUninterruptibly(final Handler handler, final Runnable runner) {
184 handler.post(new Runnable() {
  /external/webrtc/webrtc/libjingle/xmpp/
pubsub_task.cc 83 NodeHandler handler) {
84 subscribed_nodes_[pubsub_node] = handler;
183 NodeHandler handler = iter->second; local
193 (this->*handler)(item);
xmpplogintask_unittest.cc 47 XmppTestHandler* handler() { return handler_.get(); } function in class:XmppLoginTaskTest
255 EXPECT_EQ("", handler()->OutputActivity());
256 EXPECT_EQ("", handler()->SessionActivity());
257 EXPECT_EQ("", handler()->StanzaActivity());
268 EXPECT_EQ("[CLOSED]", handler()->OutputActivity());
269 EXPECT_EQ("[CLOSED][ERROR-XML]", handler()->SessionActivity());
270 EXPECT_EQ("", handler()->StanzaActivity());
279 EXPECT_EQ("[CLOSED]", handler()->OutputActivity());
280 EXPECT_EQ("[CLOSED][ERROR-VERSION]", handler()->SessionActivity());
281 EXPECT_EQ("", handler()->StanzaActivity())
    [all...]
  /external/zxing/qr_scanner/src/com/google/zxing/client/android/
DecodeThread.java 23 import android.os.Handler;
41 private Handler handler; field in class:DecodeThread
62 Handler getHandler() {
68 return handler;
74 handler = new DecodeHandler(activity, hints);
  /frameworks/base/core/java/android/hardware/soundtrigger/
SoundTriggerModule.java 19 import android.os.Handler;
42 SoundTriggerModule(int moduleId, SoundTrigger.StatusListener listener, Handler handler) {
44 mEventHandlerDelegate = new NativeEventHandlerDelegate(listener, handler);
127 private final Handler mHandler;
130 Handler handler) {
131 // find the looper for our new event handler
133 if (handler != null) {
134 looper = handler.getLooper()
178 Handler handler() { method in class:SoundTriggerModule.NativeEventHandlerDelegate
193 Handler handler = delegate.handler(); local
    [all...]
  /frameworks/base/core/java/android/view/
HandlerActionQueue.java 21 import android.os.Handler;
26 * Class used to enqueue pending work from Views when no Handler is attached.
82 public void executeActions(Handler handler) {
87 handler.postDelayed(handlerAction.action, handlerAction.delay);
  /frameworks/base/media/java/android/media/
AudioPortEventHandler.java 19 import android.os.Handler;
32 private Handler mHandler;
54 // find the looper for our new event handler
58 mHandler = new Handler(looper) {
154 Handler handler() { method in class:AudioPortEventHandler
168 Handler handler = eventHandler.handler(); local
169 if (handler != null)
    [all...]
  /frameworks/base/sax/java/android/sax/
RootElement.java 68 final Handler handler = new Handler(); field in class:RootElement
94 return this.handler;
97 class Handler extends DefaultHandler {
  /frameworks/base/tests/UiBench/src/com/android/test/uibench/
EditTextTypeActivity.java 62 MessageQueue.IdleHandler handler = new MessageQueue.IdleHandler() { local
70 Looper.myQueue().addIdleHandler(handler);
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
MockWifiMonitor.java 26 import android.os.Handler;
52 .when(mWifiMonitor).registerHandler(anyString(), anyInt(), any(Handler.class));
56 private final Map<String, SparseArray<Handler>> mHandlerMap = new HashMap<>();
58 public void answer(String iface, int what, Handler handler) {
59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface);
64 ifaceHandlers.put(what, handler);
69 * Send a message and assert that it was dispatched to a handler
75 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface);
77 assertTrue("No handler for iface=" + iface + ",what=" + message.what
91 Handler handler = ifaceHandlers.get(message.what); local
    [all...]
  /frameworks/support/v4/api23/android/support/v4/hardware/fingerprint/
FingerprintManagerCompatApi23.java 21 import android.os.Handler;
47 AuthenticationCallback callback, Handler handler) {
50 wrapCallback(callback), handler); local
  /hardware/intel/common/omx-components/videocodec/
OMXComponentCodecBase.cpp 76 OMXHANDLER handler = FindHandler(nIndex, true); local
77 if (handler == NULL) {
78 LOGE("ComponentGetParameter: No handler for index %d", nIndex);
83 return (*handler)(this, pComponentParameterStructure);
90 OMXHANDLER handler = FindHandler(nIndex, false); local
91 if (handler == NULL) {
92 LOGE("ComponentSetParameter: No handler for index %d", nIndex);
97 return (*handler)(this, pComponentParameterStructure);
104 OMXHANDLER handler = FindHandler(nIndex, true); local
105 if (handler == NULL)
120 OMXHANDLER handler = FindHandler(nIndex, false); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldXMLFormatterTest.java 21 import java.util.logging.Handler;
30 MockHandler handler = null; field in class:OldXMLFormatterTest
36 handler = new MockHandler();
41 handler.setEncoding("UTF-8");
43 String result = formatter.getHead(handler);
56 .getTail(handler).indexOf("/log>") > 0);
60 assertEquals("Tail string with null handler should be equal expected value",
63 formatter.getTail(handler).trim());
64 handler.publish(lr);
66 "</log>", formatter.getTail(handler).trim())
    [all...]
  /libcore/luni/src/test/java/libcore/xml/
SimpleParserTest.java 201 DefaultHandler handler = new DefaultHandler() { local
223 handler);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapVcardList.java 72 CardEntryHandler handler = new CardEntryHandler(); local
74 constructor.addEntryHandler(handler);
  /packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/
messagereader.cpp 68 MessageHandler handler; local
70 if (reader.Parse(ss, handler))
71 messages.swap(handler.messages_); // Only change it if success.
  /system/bt/tools/hci/
main.c 23 handler_t handler; member in struct:__anon72895
162 if (!command->handler) {
167 return command->handler(argc - 2, &argv[2]);
  /prebuilts/tools/common/m2/repository/io/netty/netty-codec/4.1.0.CR3/
netty-codec-4.1.0.CR3.jar 
  /cts/tests/tests/webkit/src/android/webkit/cts/
HttpAuthHandlerTest.java 83 HttpAuthHandler handler, String host, String realm) {
85 handler.cancel();
90 this.useHttpAuthUsernamePassword = handler.useHttpAuthUsernamePassword();
92 handler.proceed(mUser, mPassword);
105 HttpAuthHandler handler, String host, String realm) {
107 handler.cancel();
  /external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/
EventState.java 30 * event handler} during integration steps.
32 * <p>Each time the integrator proposes a step, the event handler
34 * of one handler during one integration step, with references to the
36 * decide if the handler should trigger an event or not during the
45 /** Event handler. */
46 private final EventHandler handler; field in class:EventState
48 /** Maximal time interval between events handler checks. */
60 /** Value of the events handler at the beginning of the step. */
87 * @param handler event handler
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
RFC2965Spec.java 147 CookieAttributeHandler handler = findAttribHandler(s); local
148 if (handler != null) {
149 handler.parse(cookie, attrib.getValue());
  /external/apache-http/src/org/apache/http/protocol/
HttpService.java 242 HttpRequestHandler handler = null; local
245 handler = this.handlerResolver.lookup(requestURI);
247 if (handler != null) {
248 handler.handle(request, response, context);
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
BitmapPreFillRunner.java 4 import android.os.Handler;
61 private final Handler handler; field in class:BitmapPreFillRunner
67 this(bitmapPool, memoryCache, allocationOrder, DEFAULT_CLOCK, new Handler(Looper.getMainLooper()));
72 Handler handler) {
77 this.handler = handler;
137 handler.postDelayed(this, getNextDelay());
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
CoverageTest.java 157 SerializableTest.Handler handler = SerializableTest.getHandler(className); local
159 if (handler != null) {
160 Object objectsOut[] = handler.getTestObjects();
181 errln("Missing test handler. Update the list of tests in SerializableTest.java to include a test case for " + className);
219 URLHandler handler = URLHandler.get(url); local
220 if (handler == null) {
224 handler.guide(this, true, false);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
CoverageTest.java 153 SerializableTest.Handler handler = SerializableTest.getHandler(className); local
155 if (handler != null) {
156 Object objectsOut[] = handler.getTestObjects();
177 errln("Missing test handler. Update the list of tests in SerializableTest.java to include a test case for " + className);
215 URLHandler handler = URLHandler.get(url); local
216 if (handler == null) {
220 handler.guide(this, true, false);

Completed in 668 milliseconds

<<11121314151617181920>>