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

<<31323334353637383940>>

  /frameworks/support/compat/src/main/java/androidx/core/content/res/
ResourcesCompat.java 31 import android.os.Handler;
186 * {@link #getFont(Context, int, FontCallback, Handler)} instead.
199 * @see #getFont(Context, int, FontCallback, Handler)
208 null /* handler */, false /* isXmlRequest */);
238 * Call {@link #onFontRetrieved(Typeface)} on the handler given, or the Ui Thread if it is
243 public final void callbackSuccessAsync(final Typeface typeface, @Nullable Handler handler) {
244 if (handler == null) {
245 handler = new Handler(Looper.getMainLooper())
    [all...]
  /frameworks/wilhelm/src/
locks.cpp 197 // compute the entry in the handler table using object ID and bit number
198 AttributeHandler handler = handlerTable[index][bit]; local
199 if (NULL != handler) {
200 asynchronous &= ~(*handler)(thiz);
  /libcore/ojluni/src/main/java/sun/nio/ch/
PendingFuture.java 42 private final CompletionHandler<V,? super A> handler; field in class:PendingFuture
60 CompletionHandler<V,? super A> handler,
65 this.handler = handler;
71 CompletionHandler<V,? super A> handler,
75 this.handler = handler;
91 CompletionHandler<V,? super A> handler() { method in class:PendingFuture
92 return handler;
  /packages/apps/Launcher3/src/com/android/launcher3/states/
InternalStateHandler.java 43 * Initializes the handler when the launcher is ready.
44 * @return true if the handler wants to stay alive.
81 InternalStateHandler handler = (InternalStateHandler) stateBinder; local
82 if (!handler.init(launcher, alreadyOnHome)) {
99 public synchronized void schedule(InternalStateHandler handler) {
100 mPendingHandler = new WeakReference<>(handler);
132 public synchronized boolean clearReference(InternalStateHandler handler) {
133 if (mPendingHandler.get() == handler) {
  /packages/services/Car/car-usb-handler/src/android/car/usb/handler/
AoapInterface.java 14 package android.car.usb.handler;
UsbDeviceSettings.java 16 package android.car.usb.handler;
61 public void setHandler(ComponentName handler) {
62 mHandler = handler;
88 + ", name=" + mDeviceName + ", handler=" + mHandler.toString() + ", aoap=" + mAoap
133 String deviceName, ComponentName handler, boolean aoap) {
136 settings.setHandler(handler);
  /packages/services/Car/service/src/com/android/car/
CarServiceUtils.java 23 import android.os.Handler;
81 new Handler(looper).post(action);
107 Handler handler = new Handler(looper); local
109 handler.post(sr);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
excpt.h 81 * The type of function that is expected as an exception handler to be
93 EXCEPTION_DISPOSITION (*handler)(struct _EXCEPTION_RECORD*, void*, struct _CONTEXT*, void*); member in struct:_EXCEPTION_REGISTRATION
  /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/
MultiCall.py 80 def handler(event, l = self.bindedfuncs, mc_type = self.type): function in function:_SimpleBinder.bind
91 self.sequence, handler)
146 # self.handlerids is the list of seqs and ids of binded handler functions.
153 def handler(event, lists = lists, function in function:_ComplexBinder.__create_handler
179 return handler
188 # we don't want to change the lists of functions while a handler is
191 # for the handler to run after it finishes calling the binded functions.
199 handler = self.__create_handler(lists, type, _state_codes[s])
202 seq, handler)))
211 handler = self.__create_handler(lists, self.type
407 def handler(event): function in function:MultiCallCreator.bindseq
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/
MultiCall.py 80 def handler(event, l = self.bindedfuncs, mc_type = self.type): function in function:_SimpleBinder.bind
91 self.sequence, handler)
146 # self.handlerids is the list of seqs and ids of binded handler functions.
153 def handler(event, lists = lists, function in function:_ComplexBinder.__create_handler
179 return handler
188 # we don't want to change the lists of functions while a handler is
191 # for the handler to run after it finishes calling the binded functions.
199 handler = self.__create_handler(lists, type, _state_codes[s])
202 seq, handler)))
211 handler = self.__create_handler(lists, self.type
407 def handler(event): function in function:MultiCallCreator.bindseq
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
MultiCall.py 80 def handler(event, l = self.bindedfuncs, mc_type = self.type): function in function:_SimpleBinder.bind
91 self.sequence, handler)
146 # self.handlerids is the list of seqs and ids of binded handler functions.
153 def handler(event, lists = lists, function in function:_ComplexBinder.__create_handler
179 return handler
188 # we don't want to change the lists of functions while a handler is
191 # for the handler to run after it finishes calling the binded functions.
199 handler = self.__create_handler(lists, type, _state_codes[s])
202 seq, handler)))
211 handler = self.__create_handler(lists, self.type
407 def handler(event): function in function:MultiCallCreator.bindseq
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
MultiCall.py 80 def handler(event, l = self.bindedfuncs, mc_type = self.type): function in function:_SimpleBinder.bind
91 self.sequence, handler)
146 # self.handlerids is the list of seqs and ids of binded handler functions.
153 def handler(event, lists = lists, function in function:_ComplexBinder.__create_handler
179 return handler
188 # we don't want to change the lists of functions while a handler is
191 # for the handler to run after it finishes calling the binded functions.
199 handler = self.__create_handler(lists, type, _state_codes[s])
202 seq, handler)))
211 handler = self.__create_handler(lists, self.type
407 def handler(event): function in function:MultiCallCreator.bindseq
    [all...]
  /system/core/fastboot/
socket.cpp 239 cutils_socket_t handler = accept(sock_, nullptr, nullptr); local
240 if (handler == INVALID_SOCKET) {
243 return std::unique_ptr<TcpSocket>(new TcpSocket(handler));
  /system/core/libutils/
Looper.cpp 23 WeakMessageHandler::WeakMessageHandler(const wp<MessageHandler>& handler) :
24 mHandler(handler) {
31 sp<MessageHandler> handler = mHandler.promote(); local
32 if (handler != NULL) {
33 handler->handleMessage(message);
314 // We keep a strong reference to the handler until the call to handleMessage
315 // finishes. Then we drop it so that the handler can be deleted *before*
317 { // obtain handler
318 sp<MessageHandler> handler = messageEnvelope.handler;
    [all...]
  /development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
WiFiServiceDiscoveryActivity.java 22 import android.os.Handler;
48 DeviceClickListener, Handler.Callback, MessageTarget,
69 private Handler handler = new Handler(this); field in class:WiFiServiceDiscoveryActivity
75 public Handler getHandler() {
76 return handler;
79 public void setHandler(Handler handler) {
80 this.handler = handler
311 Thread handler = null; local
    [all...]
  /frameworks/base/core/java/android/bluetooth/le/
BluetoothLeScanner.java 30 import android.os.Handler;
83 private final Handler mHandler;
96 mHandler = new Handler(Looper.getMainLooper());
480 Handler handler = new Handler(Looper.getMainLooper()); local
481 handler.post(new Runnable() {
491 Handler handler = new Handler(Looper.getMainLooper()) local
512 Handler handler = new Handler(Looper.getMainLooper()); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/animation/
EventsTest.java 18 import android.os.Handler;
171 Handler handler = new Handler(); local
172 handler.postDelayed(new Runnable() {
182 Handler handler = new Handler(); local
183 handler.postDelayed(new Runnable() {
368 Handler handler = new Handler()
    [all...]
  /frameworks/base/services/core/java/com/android/server/connectivity/tethering/
OffloadHardwareInterface.java 26 import android.os.Handler;
52 private final Handler mHandler;
89 public OffloadHardwareInterface(Handler h, SharedLog log) {
297 public final Handler handler; field in class:OffloadHardwareInterface.TetheringOffloadCallback
301 public TetheringOffloadCallback(Handler h, ControlCallback cb, SharedLog sharedLog) {
302 handler = h;
309 handler.post(() -> {
334 handler.post(() -> {
  /frameworks/base/services/tests/servicestests/src/com/android/server/display/
DisplayManagerServiceTest.java 26 import android.os.Handler;
61 Context context, Handler handler, DisplayAdapter.Listener listener) {
74 Context context, Handler handler,
76 return new VirtualDisplayAdapter(syncRoot, context, handler,
132 // flush the handler
170 // flush the handler
194 Handler handler = displayManager.getDisplayHandler() local
289 Handler handler = displayManager.getDisplayHandler(); local
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/app/
ActivityCompat.java 29 import android.os.Handler;
511 Handler handler = new Handler(Looper.getMainLooper()); local
512 handler.post(new Runnable() {
  /frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
FontRequestEmojiCompatConfigTest.java 47 import android.os.Handler;
272 Handler handler = new Handler(thread.getLooper()); local
275 mFontRequest, mFontProviderHelper).setHandler(handler)
284 // To avoid race condition, change the fetchFonts result on the handler thread.
285 handler.post(new Runnable() {
329 Handler handler = new Handler(thread.getLooper()) local
385 Handler handler = new Handler(thread.getLooper()); local
441 Handler handler = new Handler(thread.getLooper()); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/channels/
AsynchronousFileChannelTest.java 289 RecordingHandler handler = new RecordingHandler(); local
292 afc.read(buf, 0, attachment, handler);
301 afc.read(buf, 0, attachment, handler);
302 assertTrue(handler.awaitCompletion());
303 assertEquals(4, handler.result);
304 assertSame(attachment, handler.attachment);
312 handler = new RecordingHandler();
314 afc.read(buf, 6, attachment, handler);
315 assertTrue(handler.awaitCompletion());
316 assertEquals(2, handler.result)
351 afc.read(buf.asReadOnlyBuffer(), 1, attachment, handler); local
461 RecordingHandler handler = new RecordingHandler(); local
475 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y'}), 0, attachment, handler); local
492 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y', 'z'}), 6, attachment, handler); local
510 afc.write(ByteBuffer.wrap(new byte[] { 'x', 'y' }), 9, attachment, handler); local
526 afc.write(ByteBuffer.wrap(new byte[] { '0', '2' }), 13, attachment, handler); local
664 CompletionHandler<Integer, String> handler = new CompletionHandler<Integer, String>() { local
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
ContactInfoCache.java 19 import android.os.Handler;
58 private final Handler handler; field in class:ContactInfoCache
63 private static class InnerHandler extends Handler {
97 handler = new InnerHandler(new WeakReference<>(this));
234 handler.sendEmptyMessageDelayed(START_THREAD, START_PROCESSING_REQUESTS_DELAY_MS);
277 handler.removeMessages(START_THREAD);
366 handler.sendEmptyMessage(REDRAW);
  /packages/apps/Messaging/src/com/android/messaging/
BugleApplication.java 25 import android.os.Handler;
189 final Handler handler = new Handler(getMainLooper()); local
190 handler.post(new Runnable() {
214 new Handler(Looper.getMainLooper()).postDelayed(
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
LogRecordTest.java 23 import java.util.logging.Handler;
140 MockHandler handler = new MockHandler(); local
141 logger.addHandler(handler);
143 assertEquals(this.getClass().getName(), handler.getSourceClassName());
144 assertEquals("testGetSourceDefaultValue", handler.getSourceMethodName());
150 assertNull(handler.getSourceClassName());
151 assertNull(handler.getSourceMethodName());
157 assertNull(handler.getSourceClassName());
158 assertNull(handler.getSourceMethodName());
165 assertEquals("className", handler.getSourceClassName())
    [all...]

Completed in 2041 milliseconds

<<31323334353637383940>>