/frameworks/base/location/lib/java/com/android/location/provider/ |
FusedLocationHardware.java | 25 import android.os.Looper; 67 public void registerSink(FusedLocationHardwareSink sink, Looper looper) { 68 if(sink == null || looper == null) { 69 throw new IllegalArgumentException("Parameter sink and looper cannot be null."); 83 newSinkList.put(sink, new DispatcherHandler(looper)); 208 public DispatcherHandler(Looper looper) { 209 super(looper, null /*callback*/ , true /*async*/);
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneStateListener.java | 21 import android.os.Looper; 234 * This class requires Looper.myLooper() not return null. To supply your 235 * own non-null looper use PhoneStateListener(Looper looper) below. 238 this(SubscriptionManager.DEFAULT_SUB_ID, Looper.myLooper()); 243 * using a particular non-null Looper. 246 public PhoneStateListener(Looper looper) { 247 this(SubscriptionManager.DEFAULT_SUB_ID, looper); [all...] |
/system/core/adb/ |
sysdeps_win32.c | 1620 EventLooper looper = &win32_looper; local 1629 EventLooper looper = &win32_looper; local 1638 EventLooper looper = &win32_looper; local 1657 EventLooper looper = &win32_looper; local [all...] |
/frameworks/base/media/java/android/media/ |
AudioPortEventHandler.java | 20 import android.os.Looper; 49 // find the looper for our new event handler 50 Looper looper = Looper.getMainLooper(); local 52 if (looper != null) { 53 mHandler = new Handler(looper) {
|
/external/qemu/android/ |
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); 543 Looper* looper = looper_newCore(); local 545 goldfish_pipe_add_type( "tcp", looper, &netPipeTcp_funcs ); 547 goldfish_pipe_add_type( "unix", looper, &netPipeUnix_funcs ); 549 goldfish_pipe_add_type( "opengles", looper, &openglesPipe_funcs );
|
/frameworks/base/services/core/java/com/android/server/job/ |
JobServiceContext.java | 30 import android.os.Looper; 128 JobServiceContext(JobSchedulerService service, IBatteryStats batteryStats, Looper looper) { 129 this(service.getContext(), batteryStats, service, looper); 134 JobCompletedListener completedListener, Looper looper) { 137 mCallbackHandler = new JobServiceHandler(looper); 295 JobServiceHandler(Looper looper) { 296 super(looper); [all...] |
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/ |
UiControllerImplTest.java | 24 import android.os.Looper; 52 private Looper looper; field in class:UiControllerImplTest.LooperThread 56 Looper.prepare(); 58 looper = Looper.myLooper(); 60 Looper.loop(); 64 looper.quit(); 67 public Looper getLooper() { 73 return looper; [all...] |
/development/ndk/platforms/android-19/include/android/ |
sensor.h | 45 #include <android/looper.h> 199 * Creates a new sensor event queue and associate it with a looper. 202 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/external/chromium_org/third_party/skia/experimental/PdfViewer/src/ |
SkPdfContext.cpp | 44 PdfMainLooper looper(&tokenizer, this, canvas); 45 looper.loop();
|
/external/skia/experimental/PdfViewer/src/ |
SkPdfContext.cpp | 44 PdfMainLooper looper(&tokenizer, this, canvas); 45 looper.loop();
|
/frameworks/av/include/media/stagefright/ |
MediaCodecSource.h | 40 const sp<ALooper> &looper, 78 const sp<ALooper> &looper,
|
/frameworks/base/core/java/android/hardware/ |
SystemSensorManager.java | 21 import android.os.Looper; 54 // Looper associated with the context in which this instance was created. 55 private final Looper mMainLooper; 59 public SystemSensorManager(Context context, Looper mainLooper) { 112 // - one Looper per SensorEventListener 113 // - one Looper per SensorEventQueue 114 // We map SensorEventListener to a SensorEventQueue, which holds the looper 118 Looper looper = (handler != null) ? handler.getLooper() : mMainLooper; local 119 queue = new SensorEventQueue(listener, looper, this) [all...] |
/frameworks/base/graphics/java/android/graphics/ |
SurfaceTexture.java | 23 import android.os.Looper; 70 private final Looper mCreatorLooper; 132 mCreatorLooper = Looper.myLooper(); 159 mCreatorLooper = Looper.myLooper(); 196 // prefer to send the callback on the creating looper or the main looper 198 Looper looper = handler != null ? handler.getLooper() : local 199 mCreatorLooper != null ? mCreatorLooper : Looper.getMainLooper(); 200 mOnFrameAvailableHandler = new Handler(looper, null, true /*async*/) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
FakeWindowImpl.java | 22 import android.os.Looper; 40 Looper looper, InputEventReceiver.Factory inputEventReceiverFactory, 51 mClientChannel, looper);
|
/frameworks/native/include/android/ |
sensor.h | 45 #include <android/looper.h> 225 * Creates a new sensor event queue and associate it with a looper. 228 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/android/ |
sensor.h | 45 #include <android/looper.h> 199 * Creates a new sensor event queue and associate it with a looper. 202 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/prebuilts/ndk/9/platforms/android-19/arch-arm64/usr/include/android/ |
sensor.h | 46 #include <android/looper.h> 226 * Creates a new sensor event queue and associate it with a looper. 229 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/prebuilts/ndk/9/platforms/android-19/arch-mips/usr/include/android/ |
sensor.h | 45 #include <android/looper.h> 199 * Creates a new sensor event queue and associate it with a looper. 202 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/prebuilts/ndk/9/platforms/android-19/arch-mips64/usr/include/android/ |
sensor.h | 46 #include <android/looper.h> 226 * Creates a new sensor event queue and associate it with a looper. 229 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/prebuilts/ndk/9/platforms/android-19/arch-x86/usr/include/android/ |
sensor.h | 45 #include <android/looper.h> 199 * Creates a new sensor event queue and associate it with a looper. 202 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/prebuilts/ndk/9/platforms/android-19/arch-x86_64/usr/include/android/ |
sensor.h | 46 #include <android/looper.h> 226 * Creates a new sensor event queue and associate it with a looper. 229 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data);
|
/frameworks/base/location/java/android/location/ |
LocationManager.java | 28 import android.os.Looper; 219 ListenerTransport(LocationListener listener, Looper looper) { 222 if (looper == null) { 230 mListenerHandler = new Handler(looper) { 449 * @throws RuntimeException if the calling thread has no Looper 464 * the specified looper thread. 475 * @param looper a Looper object whose message queue will be used to 484 LocationListener listener, Looper looper) [all...] |
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwContentsClientCallbackHelper.java | 9 import android.os.Looper; 93 private MyHandler(Looper looper) { 94 super(looper); 152 public AwContentsClientCallbackHelper(Looper looper, AwContentsClient contentsClient) { 153 mHandler = new MyHandler(looper);
|
/external/chromium_org/third_party/skia/include/effects/ |
SkBlurDrawLooper.h | 76 explicit BlurDrawLooperContext(const SkBlurDrawLooper* looper);
|
SkLayerDrawLooper.h | 106 explicit LayerDrawLooperContext(const SkLayerDrawLooper* looper); 151 * Pass list of layers on to newly built looper and return it. This will 152 * also reset the builder, so it can be used to build another looper.
|