/packages/apps/Dialer/src/com/android/dialer/calllog/ |
CallLogQueryHandler.java | 31 import android.os.Looper; 100 public CatchingWorkerHandler(Looper looper) { 101 super(looper); 120 protected Handler createHandler(Looper looper) { 122 return new CatchingWorkerHandler(looper);
|
/frameworks/av/cmds/stagefright/ |
codec.cpp | 68 const android::sp<android::ALooper> &looper, 119 looper, mime.c_str(), false /* encoder */); 373 sp<ALooper> looper = new ALooper; local 374 looper->start(); 414 looper->registerHandler(player); 423 decode(looper, argv[0], useAudio, useVideo, surface); 430 looper->stop();
|
sf2.cpp | 70 mDecodeLooper = looper(); 73 mDecodeLooper->setName("sf2 decode looper"); 208 if (mDecodeLooper != looper()) { 212 looper()->stop(); 602 sp<ALooper> looper = new ALooper; local 603 looper->setName("sf2"); 639 looper->registerHandler(controller); 643 CHECK_EQ(looper->start(true /* runOnCallingThread */), (status_t)OK); 645 looper->unregisterHandler(controller->id());
|
/frameworks/base/core/java/android/app/ |
UiAutomation.java | 28 import android.os.Looper; 153 * layer on the thread of the provided looper and perform requests for privileged 156 * @param looper The looper on which to execute accessibility callbacks. 161 public UiAutomation(Looper looper, IUiAutomationConnection connection) { 162 if (looper == null) { 163 throw new IllegalArgumentException("Looper cannot be null!"); 169 mClient = new IAccessibilityServiceClientImpl(looper); 682 public IAccessibilityServiceClientImpl(Looper looper) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
ModelInterpreter.java | 20 import android.os.Looper; 191 Looper looper = mHandlerThread.getLooper(); local 192 mSimulatedCallState = new SimulatedGsmCallState(looper); 641 Looper looper = mHandlerThread.getLooper(); local 642 if (looper != null) { 643 looper.quit();
|
/external/qemu/android/ |
async-socket.c | 49 /* Gets socket's looper. */ 50 static Looper* _async_socket_get_looper(AsyncSocket* as); 364 /* I/O looper for asynchronous I/O on the socket. */ 365 Looper* looper; member in struct:AsyncSocket 384 /* Flags whether (1) or not (0) socket owns the looper. */ 394 static Looper* 397 return as->looper; 706 if (as->looper != NULL) { 709 looper_free(as->looper); [all...] |
async-socket.h | 142 * looper - An optional (can be NULL) I/O looper to use for socket I/O. If 143 * this parameter is NULL, the socket will create its own looper. 151 Looper* looper);
|
adb-server.c | 83 /* Looper for async I/O on ADB server socket. */ 84 Looper* looper; member in struct:AdbServer 386 loopIo_init(adb_host->io, adb_srv->looper, adb_host->host_so, 421 /* Create looper for an async I/O on the server. */ 422 _adb_server.looper = looper_newCore(); 423 if (_adb_server.looper == NULL) { 424 E("Unable to create I/O looper for ADB server"); 439 loopIo_init(_adb_server.io, _adb_server.looper, _adb_server.so,
|
/cts/tests/tests/os/src/android/os/cts/ |
LooperTest.java | 20 import android.os.Looper; 34 private Looper mLooper = null; 41 Looper.myLooper().dump(printer, prefix); 45 Looper looper = Looper.getMainLooper(); local 46 assertNotNull(looper); 52 Looper.prepare(); 60 Looper.loop(); 71 assertNull(Looper.myLooper()) [all...] |
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
RemoteControlClientCompat.java | 21 import android.os.Looper; 112 public RemoteControlClientCompat(PendingIntent pendingIntent, Looper looper) { 119 sRemoteControlClientClass.getConstructor(PendingIntent.class, Looper.class) 120 .newInstance(pendingIntent, looper);
|
/external/qemu/android/protocol/ |
ui-commands-impl.c | 20 #include "android/looper.h" 188 uiCmdImpl_create(SockAddress* console_socket, Looper* looper) 211 loopIo_init(uicmd->io, looper, uicmd->sock,
|
/external/qemu/ |
vl-android-ui.c | 61 static Looper* mainLooper; 159 static void init_gui_timer(Looper* looper) 161 loopTimer_init(gui_timer, looper, gui_update, gui_timer);
|
/frameworks/av/media/libstagefright/foundation/ |
ALooper.cpp | 34 LooperThread(ALooper *looper, bool canCallJava) 36 mLooper(looper), 76 // Since this looper is "dead" (or as good as dead by now), 153 // If not running locally and this thread _is_ the looper thread,
|
/frameworks/base/core/java/android/widget/ |
Filter.java | 21 import android.os.Looper; 216 public RequestHandler(Looper looper) { 217 super(looper);
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
CameraHolder.java | 26 import android.os.Looper; 73 MyHandler(Looper looper) { 74 super(looper);
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetHost.java | 27 import android.os.Looper; 97 public UpdateHandler(Looper looper) { 98 super(looper); 130 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { 134 mHandler = new UpdateHandler(looper);
|
/frameworks/base/services/java/com/android/server/power/ |
Notifier.java | 34 import android.os.Looper; 109 public Notifier(Looper looper, Context context, IBatteryStats batteryStats, 119 mHandler = new NotifierHandler(looper); 525 public NotifierHandler(Looper looper) { 526 super(looper, null, true /*async*/);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 25 import android.os.Looper; 109 * This thread handles the messages enqueued in the looper. The normal sequence 110 * of events is that a new query shows up in the looper queue, followed by 0 or 116 * looper queue must be FIFO with respect to input from the synchronous startQuery 124 public CallerInfoWorkerHandler(Looper looper) { 125 super(looper); 185 protected Handler createHandler(Looper looper) { 186 return new CallerInfoWorkerHandler(looper); [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallerInfoAsyncQuery.java | 25 import android.os.Looper; 106 * This thread handles the messages enqueued in the looper. The normal sequence 107 * of events is that a new query shows up in the looper queue, followed by 0 or 113 * looper queue must be FIFO with respect to input from the synchronous startQuery 121 public CallerInfoWorkerHandler(Looper looper) { 122 super(looper); 183 protected Handler createHandler(Looper looper) { 184 return new CallerInfoWorkerHandler(looper); [all...] |
/frameworks/av/include/media/stagefright/ |
MediaCodec.h | 48 const sp<ALooper> &looper, const char *mime, bool encoder); 51 const sp<ALooper> &looper, const char *name); 220 MediaCodec(const sp<ALooper> &looper);
|
/frameworks/base/core/java/android/hardware/camera2/ |
CameraManager.java | 29 import android.os.Looper; 122 * {@code null} to use the current thread's {@link android.os.Looper looper}. 126 Looper looper = Looper.myLooper(); local 127 if (looper == null) { 129 "No handler given, and current thread has no looper!"); 131 handler = new Handler(looper); 280 * {@code null} to use the current thread's {@link android.os.Looper looper} [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyChain.java | 25 import android.os.Looper; 461 Looper looper = Looper.myLooper(); local 462 if (looper != null && looper == context.getMainLooper()) {
|
/frameworks/webview/chromium/java/com/android/webview/chromium/ |
WebViewChromiumFactoryProvider.java | 23 import android.os.Looper; 101 Looper looper = !onMainThread ? Looper.myLooper() : Looper.getMainLooper(); local 103 (onMainThread ? "main":"background") + " looper " + looper); 104 ThreadUtils.setUiThread(looper); 347 if (Looper.myLooper() != ThreadUtils.getUiThreadLooper()) {
|
/device/generic/goldfish/qemud/ |
qemud.c | 273 /* A Looper object is used to monitor activity on one or more 331 /* Looper is the main object modeling a looper object 339 } Looper; 341 /* initialize a looper object */ 343 looper_init( Looper* l ) 352 /* finalize a looper object */ 354 looper_done( Looper* l ) 369 looper_find( Looper* l, int fd ) 381 /* grow the arrays in the looper object * 766 Looper* looper; member in struct:FDHandlerList 1239 Looper looper[1]; member in struct:Multiplexer [all...] |
/development/ndk/sources/android/native_app_glue/ |
android_native_app_glue.c | 98 LOGV("Attaching input queue to looper"); 100 android_app->looper, LOOPER_ID_INPUT, NULL, 222 ALooper* looper = ALooper_prepare(ALOOPER_PREPARE_ALLOW_NON_CALLBACKS); local 223 ALooper_addFd(looper, android_app->msgread, LOOPER_ID_MAIN, ALOOPER_EVENT_INPUT, NULL, 225 android_app->looper = looper;
|