/external/qemu/android/protocol/ |
H A D | attach-ui-proxy.c | 20 #include "android/looper.h" 36 Looper* looper; member in struct:AttachUIProxy 92 _attachUiProxy.looper = looper_newCore(); 93 loopIo_init(&_attachUiProxy.io, _attachUiProxy.looper, _attachUiProxy.sock, 103 if (_attachUiProxy.looper != NULL) { 106 looper_free(_attachUiProxy.looper); 107 _attachUiProxy.looper = NULL;
|
H A D | user-events-impl.c | 21 #include "android/looper.h" 49 Looper* looper; member in struct:UserEventsImpl 188 _UserEventsImpl.looper = looper_newCore(); 189 loopIo_init(&_UserEventsImpl.io, _UserEventsImpl.looper, _UserEventsImpl.sock, 200 if (_UserEventsImpl.looper != NULL) { 203 looper_free(_UserEventsImpl.looper); 204 _UserEventsImpl.looper = NULL;
|
H A D | core-commands-impl.c | 23 #include "android/looper.h" 50 Looper* looper; member in struct:CoreCmdImpl 407 _coreCmdImpl.looper = looper_newCore(); 408 loopIo_init(&_coreCmdImpl.io, _coreCmdImpl.looper, _coreCmdImpl.sock, 432 if (_coreCmdImpl.looper != NULL) { 435 looper_free(_coreCmdImpl.looper); 436 _coreCmdImpl.looper = NULL;
|
H A D | ui-commands-impl.c | 20 #include "android/looper.h" 188 uiCmdImpl_create(SockAddress* console_socket, Looper* looper) argument 211 loopIo_init(uicmd->io, looper, uicmd->sock,
|
H A D | ui-commands-proxy.c | 20 #include "android/looper.h" 34 Looper* looper; member in struct:UICmdProxy 165 _uiCmdProxy.looper = looper_newCore(); 166 loopIo_init(&_uiCmdProxy.io, _uiCmdProxy.looper, _uiCmdProxy.sock, 193 if (_uiCmdProxy.looper != NULL) { 196 looper_free(_uiCmdProxy.looper); 197 _uiCmdProxy.looper = NULL;
|
H A D | fb-updates-impl.c | 173 Looper* looper) 221 loopIo_init(fbi->io, looper, fbi->sock, 170 fbUpdatesImpl_create(SockAddress* console_socket, const char* protocol, QFrameBuffer* fb, Looper* looper) argument
|
H A D | fb-updates-proxy.c | 19 #include "android/looper.h" 44 Looper* looper; member in struct:ProxyFramebuffer 265 ret->looper = looper_newCore(); 276 loopIo_init(&ret->io, ret->looper, sock, _proxyFb_io_fun, ret); 287 if (proxy_fb->looper != NULL) { 297 looper_free(proxy_fb->looper); 298 proxy_fb->looper = NULL;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowHandlerThread.java | 15 private Looper looper; field in class:ShadowHandlerThread 32 looper = Looper.myLooper(); 45 // If the thread has been started, wait until the looper has been created. 47 while (thread.isAlive() && looper == null) { 54 return looper; 59 Looper looper = getLooper(); 60 if (looper != null) { 61 looper.quit();
|
H A D | ShadowHandler.java | 29 private Looper looper = Looper.myLooper(); field in class:ShadowHandler 34 this.looper = Looper.myLooper(); 37 public void __constructor__(Looper looper) { argument 38 this.looper = looper; 52 return shadowOf(looper).post(r, delayMillis); 57 return shadowOf(looper).postAtFrontOfQueue(runnable); 98 Robolectric.shadowOf(msg).setWhen(Robolectric.shadowOf(looper).getScheduler().getCurrentTime()+delayMillis); 134 Robolectric.shadowOf(msg).setWhen(Robolectric.shadowOf(looper).getScheduler().getCurrentTime()); 150 return looper; [all...] |
H A D | ShadowLooper.java | 46 final ShadowLooper looper = shadowOf(myLooper()); 47 if (looper != shadowOf(getMainLooper())) { 48 while (!looper.quit) { 50 synchronized (looper) { 51 looper.wait(); 83 public static void pauseLooper(Looper looper) { argument 84 shadowOf(looper).pause(); 87 public static void unPauseLooper(Looper looper) { argument 88 shadowOf(looper).unPause();
|
H A D | ShadowLocationManager.java | 219 Looper looper) { 218 requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, Looper looper) argument
|
/external/webkit/Source/WebCore/platform/haiku/ |
H A D | SharedTimerHaiku.cpp | 73 BLooper* looper = BLooper::LooperForThread(find_thread(0)); local 77 BAutolock lock(looper); 79 looper->AddCommonFilter(timer);
|
/external/qemu/ |
H A D | aio-android.c | 147 IoLooper* looper; local 159 looper = iolooper_new(); 164 iolooper_reset(looper); 177 iolooper_add_read(looper, node->fd); 180 iolooper_add_write(looper, node->fd); 187 if (!iolooper_has_operations(looper)) { 192 ret = iolooper_wait(looper, -1); 205 iolooper_is_read(looper, node->fd) && 210 iolooper_is_write(looper, node->fd) && 228 iolooper_free(looper); [all...] |
H A D | vl-android-ui.c | 159 static void init_gui_timer(Looper* looper) argument 161 loopTimer_init(gui_timer, looper, gui_update, gui_timer);
|
/external/skia/tests/ |
H A D | PaintTest.cpp | 21 SkLayerDrawLooper* looper = new SkLayerDrawLooper(); local 22 paint.setLooper(looper)->unref();
|
/external/qemu/android/ |
H A D | async-socket-connector.c | 48 /* I/O looper for asynchronous I/O. */ 49 Looper* looper; member in struct:AsyncSocketConnector 66 /* Flags whether (1) or not (0) connector owns the looper. */ 70 /* Asynchronous I/O looper callback invoked by the connector. 104 if (connector->looper != NULL) { 107 looper_free(connector->looper); 267 loopIo_init(connector->connector_io, connector->looper, 295 Looper* looper) 325 /* Create a looper for asynchronous I/O. */ 326 if (looper 291 async_socket_connector_new(const SockAddress* address, int retry_to, asc_event_cb cb, void* cb_opaque, Looper* looper) argument [all...] |
H A D | sync-utils.c | 56 IoLooper* looper; local 66 looper = iolooper_new(); 72 looper = iolooper_new(); 73 iolooper_add_write(looper, fd); 74 connect_status = iolooper_wait(looper, timeout); 76 iolooper_del_write(looper, fd); 79 iolooper_free(looper); 95 sync_socket->iolooper = looper;
|
H A D | adb-server.c | 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,
|
H A D | hw-pipe-net.c | 27 #include "android/looper.h" 187 netPipe_initFromAddress( void* hwpipe, const SockAddress* address, Looper* looper ) 206 loopIo_init(pipe->io, looper, fd, netPipe_io_func, pipe); 544 Looper* looper = looper_newCore(); local 546 goldfish_pipe_add_type( "tcp", looper, &netPipeTcp_funcs ); 548 goldfish_pipe_add_type( "unix", looper, &netPipeUnix_funcs ); 550 goldfish_pipe_add_type( "opengles", looper, &openglesPipe_funcs );
|
H A D | looper-qemu.c | 15 #include <android/looper.h> 82 qlooper_timer_init(Looper* looper, argument 132 QLooper* looper; member in struct:QLoopIo 137 static void qlooper_addIo(QLooper* looper, QLoopIo* io); 138 static void qlooper_delIo(QLooper* looper, QLoopIo* io); 150 io->looper = qlooper; 165 qlooper_delPendingIo(io->looper, io); 174 qlooper_addPendingIo(io->looper, io); 249 qlooper_delIo(io->looper, io); 274 qlooper_io_init(Looper* looper, argument 289 Looper looper; member in struct:QLooper 296 qlooper_addIo(QLooper* looper, QLoopIo* io) argument 303 qlooper_delIo(QLooper* looper, QLoopIo* io) argument 319 qlooper_addPendingIo(QLooper* looper, QLoopIo* io) argument 329 qlooper_delPendingIo(QLooper* looper, QLoopIo* io) argument 352 QLooper* looper = opaque; local 396 QLooper* looper = (QLooper*)ll; local 409 QLooper* looper = qemu_mallocz(sizeof(*looper)); local [all...] |
H A D | looper.h | 74 /* Create a new generic looper that can be used in any context / thread. */ 77 /* Create a new looper which is implemented on top of the QEMU main event 91 Duration (*now) (Looper* looper); 92 void (*timer_init)(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque); 93 void (*io_init) (Looper* looper, LoopIo* io, int fd, LoopIoFunc callback, void* opaque); 94 int (*run) (Looper* looper, Duration deadline_ms); 95 void (*forceQuit) (Looper* looper); 96 void (*destroy) (Looper* looper); 126 * Each timer belongs to only one looper object. 130 Looper* looper, 129 loopTimer_init(LoopTimer* timer, Looper* looper, LoopTimerFunc callback, void* opaque) argument 223 loopIo_init(LoopIo* io, Looper* looper, int fd, LoopIoFunc callback, void* opaque) argument 274 looper_now(Looper* looper) argument 287 looper_run(Looper* looper) argument 303 looper_runWithTimeout(Looper* looper, Duration timeout_ms) argument 315 looper_runWithDeadline(Looper* looper, Duration deadline_ms) argument 325 looper_forceQuit(Looper* looper) argument 337 looper_free(Looper* looper) argument [all...] |
H A D | looper-generic.c | 17 #include "android/looper.h" 40 GLooper* looper; member in struct:GLoopTimer 46 static void glooper_addActiveTimer(GLooper* looper, GLoopTimer* timer); 47 static void glooper_delActiveTimer(GLooper* looper, GLoopTimer* timer); 48 static void glooper_addTimer(GLooper* looper, GLoopTimer* timer); 49 static void glooper_delTimer(GLooper* looper, GLoopTimer* timer); 56 glooper_delActiveTimer(tt->looper, tt); 75 glooper_addActiveTimer(tt->looper, tt); 86 glooptimer_startAbsolute(tt, timeout_ms + glooper_now((Looper*)tt->looper)); 105 glooper_delTimer(tt->looper, t 118 glooper_timer_init(Looper* looper, LoopTimer* timer, LoopTimerFunc callback, void* opaque) argument 152 GLooper* looper; member in struct:GLoopIo 234 glooper_io_init(Looper* looper, LoopIo* user, int fd, LoopIoFunc callback, void* opaque) argument 264 Looper looper; member in struct:GLooper 277 glooper_addTimer(GLooper* looper, GLoopTimer* tt) argument 283 glooper_delTimer(GLooper* looper, GLoopTimer* tt) argument 289 glooper_addActiveTimer(GLooper* looper, GLoopTimer* tt) argument 304 glooper_delActiveTimer(GLooper* looper, GLoopTimer* tt) argument 320 glooper_addIo(GLooper* looper, GLoopIo* io) argument 326 glooper_delIo(GLooper* looper, GLoopIo* io) argument 332 glooper_delPendingIo(GLooper* looper, GLoopIo* io) argument 338 glooper_modifyFd(GLooper* looper, int fd, int oldWanted, int newWanted) argument 358 GLooper* looper = (GLooper*)ll; local 365 GLooper* looper = (GLooper*) ll; local 467 GLooper* looper = (GLooper*)ll; local 483 GLooper* looper; local [all...] |
/external/qemu/proxy/ |
H A D | proxy_common.c | 542 IoLooper* looper; local 566 looper = iolooper_new(); 567 iolooper_add_write(looper, sock); 569 ret = iolooper_wait(looper, timeout_ms); 571 iolooper_free(looper);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
H A D | Robolectric.java | 1200 public static void pauseLooper(Looper looper) { argument 1201 ShadowLooper.pauseLooper(looper); 1204 public static void unPauseLooper(Looper looper) { argument 1205 ShadowLooper.unPauseLooper(looper);
|
/external/webkit/Source/WebCore/platform/graphics/android/context/ |
H A D | PlatformGraphicsContext.cpp | 405 SkDrawLooper* looper = new SkBlurDrawLooper(m_state->shadow.blur, local 410 paint->setLooper(looper)->unref();
|