HomeSort by relevance Sort by last modified time
    Searched defs:handler (Results 1226 - 1250 of 2987) sorted by null

<<41424344454647484950>>

  /frameworks/base/core/java/android/appwidget/
AppWidgetHost.java 28 import android.os.Handler;
64 private final Handler mHandler;
71 private final WeakReference<Handler> mWeakHandler;
73 public Callbacks(Handler handler) {
74 mWeakHandler = new WeakReference<>(handler);
81 Handler handler = mWeakHandler.get(); local
82 if (handler == null) {
85 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views)
93 Handler handler = mWeakHandler.get(); local
103 Handler handler = mWeakHandler.get(); local
111 Handler handler = mWeakHandler.get(); local
    [all...]
  /frameworks/base/sax/tests/saxtests/src/android/sax/
SafeSaxTest.java 164 ContentHandler handler = newContentHandler(videoAdapter); local
168 saxyModelTest(new ByteArrayInputStream(xmlBytes), handler);
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
NetworkEventTest.java 68 // GIVEN the handler has not processed any events.
71 // WHEN the handler has processed the events.
87 // GIVEN the handler has almost processed Long.MAX_VALUE events.
91 // WHEN the handler has processed the events.
118 // GIVEN a handler with events
119 NetworkLoggingHandler handler = new NetworkLoggingHandler(new TestLooper().getLooper(), local
121 // GIVEN network events are sent to the handler.
130 handler.handleMessage(msg);
133 // WHEN the handler processes the events.
141 return handler.retrieveFullLogBatch(token)
    [all...]
  /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
NotificationComparatorTest.java 58 @Mock RankingHandler handler; field in class:NotificationComparatorTest
  /frameworks/base/tests/UsbTests/src/com/android/server/usb/
UsbHandlerTest.java 31 import android.os.Handler;
334 private static void sendBootCompleteMessages(Handler handler) {
335 handler.handleMessage(handler.obtainMessage(MSG_BOOT_COMPLETED));
336 handler.handleMessage(handler.obtainMessage(MSG_SYSTEM_READY));
  /frameworks/base/tests/net/java/android/net/
ConnectivityManagerTest.java 54 import android.os.Handler;
211 Handler handler = new Handler(Looper.getMainLooper()); local
217 manager.requestNetwork(request, callback, handler);
239 Handler handler = new Handler(Looper.getMainLooper()); local
245 manager.requestNetwork(req1, callback, handler);
263 manager.requestNetwork(req2, callback, handler);
287 Handler handler = new Handler(Looper.getMainLooper()); local
307 Handler handler = mock(Handler.class); local
    [all...]
  /frameworks/base/tools/aapt2/configuration/
ConfigurationParser.cpp 60 using ::aapt::configuration::handler::AbiGroupTagHandler;
61 using ::aapt::configuration::handler::AndroidSdkTagHandler;
62 using ::aapt::configuration::handler::ArtifactFormatTagHandler;
63 using ::aapt::configuration::handler::ArtifactTagHandler;
64 using ::aapt::configuration::handler::DeviceFeatureGroupTagHandler;
65 using ::aapt::configuration::handler::GlTextureGroupTagHandler;
66 using ::aapt::configuration::handler::LocaleGroupTagHandler;
67 using ::aapt::configuration::handler::ScreenDensityGroupTagHandler;
201 const ActionHandler& handler) {
202 return [config, handler](xml::Element* root_element, SourcePathDiagnostics* diag)
489 namespace handler { namespace in namespace:configuration
    [all...]
  /libcore/dom/src/test/java/org/w3c/domts/
XercesHTML2DocumentBuilderFactory.java 203 HTMLHandler handler = local
205 parser.parse(url.toString(), handler); local
206 doc = handler.getHTMLDocument();
XercesHTMLDocumentBuilderFactory.java 203 HTMLHandler handler = local
205 parser.parse(url.toString(), handler); local
206 doc = handler.getHTMLDocument();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DocumentBuilderTest.java 554 ErrorHandler handler = new MockHandler(logger); local
558 db.setErrorHandler(handler);
575 ErrorHandler handler = new MockHandler(logger); local
579 db.setErrorHandler(handler);
  /libcore/luni/src/test/java/libcore/java/util/logging/
OldLogManagerTest.java 25 import java.util.logging.Handler;
43 static Handler handler = null; field in class:OldLogManagerTest
48 handler = new MockHandler();
70 handler = null;
232 public static class MockHandler extends Handler {
  /libcore/ojluni/src/main/java/sun/nio/ch/
UnixAsynchronousServerSocketChannelImpl.java 109 CompletionHandler<AsynchronousSocketChannel,Object> handler; local
116 handler = acceptHandler;
125 if (handler == null) {
129 Invoker.invokeIndirectly(this, handler, att, null, x);
199 CompletionHandler<AsynchronousSocketChannel,Object> handler = acceptHandler; local
203 // re-enable accepting and invoke handler
206 if (handler == null) {
216 Invoker.invoke(this, handler, att, child, exc);
272 CompletionHandler<AsynchronousSocketChannel,Object> handler)
277 if (handler == null)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
AsyncQueryServiceHelper.java 30 import android.os.Handler;
57 public Handler handler; field in class:AsyncQueryServiceHelper.OperationInfo
119 builder.append(",\n\t handler= ");
120 builder.append(handler);
342 Message reply = args.handler.obtainMessage(args.token);
  /packages/apps/Camera2/src/com/android/camera/app/
CameraController.java 20 import android.os.Handler;
44 private final Handler mCallbackHandler;
69 * @param handler The {@link android.os.Handler} to post the camera
81 @Nonnull Handler handler,
87 mCallbackHandler = handler;
318 final int cameraId, Handler handler, final CameraAgent.CameraOpenCallback cb) {
322 cameraManager.openCamera(handler, cameraId, cb)
    [all...]
  /packages/apps/Settings/src/com/android/settings/wifi/
WifiStatusTest.java 31 import android.os.Handler;
305 final Handler handler = new Handler(); local
324 handler.post(updatePingResults);
333 handler.post(updatePingResults);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_pyexpat.py 2 # handler, are obscure and unhelpful.
439 def handler(text): function in function:sf1296433Test.test_parse_only_xml_data
443 parser.CharacterDataHandler = handler
476 # Feed 512 bytes of character data: the handler should be called
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_pyexpat.py 2 # handler, are obscure and unhelpful.
439 def handler(text): function in function:sf1296433Test.test_parse_only_xml_data
443 parser.CharacterDataHandler = handler
476 # Feed 512 bytes of character data: the handler should be called
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_pyexpat.py 2 # handler, are obscure and unhelpful.
439 def handler(text): function in function:sf1296433Test.test_parse_only_xml_data
443 parser.CharacterDataHandler = handler
476 # Feed 512 bytes of character data: the handler should be called
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_pyexpat.py 2 # handler, are obscure and unhelpful.
439 def handler(text): function in function:sf1296433Test.test_parse_only_xml_data
443 parser.CharacterDataHandler = handler
476 # Feed 512 bytes of character data: the handler should be called
  /system/extras/perfprofd/
perfprofdcore.cc 196 sigact.sa_sigaction = handler;
207 static void handler(int, siginfo_t *, void *);
216 void AlarmHelper::handler(int, siginfo_t *, void *) function in class:AlarmHelper
764 static void ProfilingLoopImpl(ConfigFn config, UpdateFn update, HandlerFn handler) {
803 bool handle_result = handler(proto.get(), config());
822 void ProfilingLoop(Config& config, HandlerFn handler) {
830 ProfilingLoopImpl(config_fn, do_nothing, handler);
835 HandlerFn handler) {
836 ProfilingLoopImpl(config_fn, update_fn, handler);
  /system/netd/server/
DnsProxyListener.cpp 89 void tryThreadOrError(SocketClient* cli, T* handler) {
92 const int rval = threadLaunch(handler);
94 // SocketClient decRef() happens in the handler's run() method.
103 delete handler;
509 DnsProxyListener::GetAddrInfoHandler* handler = local
512 tryThreadOrError(cli, handler);
557 DnsProxyListener::GetHostByNameHandler* handler = local
560 tryThreadOrError(cli, handler);
706 DnsProxyListener::GetHostByAddrHandler* handler = local
708 tryThreadOrError(cli, handler);
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowMediaPlayer.java 19 import android.os.Handler;
377 Message msg = handler.obtainMessage(MEDIA_EVENT, e);
378 handler.sendMessage(msg);
382 Message msg = handler.obtainMessage(MEDIA_EVENT, e);
383 handler.sendMessageDelayed(msg, delay);
450 private Handler handler; field in class:ShadowMediaPlayer
542 handler = new Handler() {
    [all...]
  /packages/services/Car/service/src/com/android/car/
CarPowerManagementService.java 23 import android.os.Handler;
206 Log.e(CarLog.TAG_POWER, "Timeout while joining for handler thread to join.");
229 * @param handler
232 PowerEventProcessingHandler handler) {
233 mPowerEventProcessingHandlers.add(new PowerEventProcessingHandlerWrapper(handler));
235 // handler thread. So request it once again here. Wrapper will have its own
245 * @param handler PowerEventProcessingHandler that was already registered with
249 public void notifyPowerEventProcessingCompletion(PowerEventProcessingHandler handler) {
252 if (wrapper.handler == handler) {
309 PowerHandler handler; local
319 PowerHandler handler; local
439 PowerHandler handler; local
478 PowerHandler handler; local
595 PowerHandler handler; local
611 PowerHandler handler; local
784 PowerHandler handler; local
797 public final PowerEventProcessingHandler handler; field in class:CarPowerManagementService.PowerEventProcessingHandlerWrapper
    [all...]
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiVendorHal.java 67 import android.os.Handler;
267 private final Handler mHalEventHandler;
273 mHalEventHandler = new Handler(looper);
294 * @param handler Handler to notify if the vendor HAL dies.
297 public boolean initialize(WifiNative.VendorHalDeathEventHandler handler) {
301 mDeathEventHandler = handler;
311 * @param handler Handler to notify when the vendor HAL detects a radio mode change.
314 WifiNative.VendorHalRadioModeChangeEventHandler handler) {
2961 WifiNative.VendorHalRadioModeChangeEventHandler handler; local
3028 WifiNative.VendorHalDeathEventHandler handler; local
    [all...]
  /art/test/004-JniTest/src/
Main.java 256 InvocationHandler handler = new DummyInvocationHandler(); local
259 new Class<?>[] {SimpleInterface.class}, handler);

Completed in 1608 milliseconds

<<41424344454647484950>>