/frameworks/base/core/java/android/os/ |
H A D | AsyncTask.java | 701 public InternalHandler(Looper looper) { argument 702 super(looper);
|
H A D | Handler.java | 113 * If this thread does not have a looper, this handler won't be able to receive messages 125 * If this thread does not have a looper, this handler won't be able to receive messages 137 * @param looper The looper, must not be null. 139 public Handler(Looper looper) { argument 140 this(looper, null, false); 147 * @param looper The looper, must not be null. 150 public Handler(Looper looper, Callback callback) { argument 151 this(looper, callbac 230 Handler(Looper looper, Callback callback, boolean async) argument [all...] |
H A D | HandlerThread.java | 23 * Handy class for starting a new thread that has a looper. The looper can then be 72 * has been started, this method will block until the looper has been initialized. 73 * @return The looper. 80 // If the thread has been started, wait until the looper has been created. 105 * Quits the handler thread's looper. 107 * Causes the handler thread's looper to terminate without processing any 110 * Any attempt to post messages to the queue after the looper is asked to quit will fail. 114 * before the looper terminates. Consider using {@link #quitSafely} instead to ensure 118 * @return True if the looper loope [all...] |
H A D | StrictMode.java | 1476 // until the time the looper is idle again (right before 1479 Looper looper = Looper.myLooper(); 1497 if (looper == null || 1811 Looper looper = Looper.getMainLooper(); 1812 if (looper != null) { 1813 MessageQueue mq = looper.mQueue;
|
H A D | TestLooperManager.java | 22 * Blocks a looper from executing any messages, and allows the holder of this object 45 public TestLooperManager(Looper looper) { argument 47 if (sHeldLoopers.contains(looper)) { 48 throw new RuntimeException("TestLooperManager already held for this looper"); 50 sHeldLoopers.add(looper); 52 mLooper = looper; 54 // Post a message that will keep the looper blocked as long as we are dispatching. 55 new Handler(looper).post(new LooperHolder()); 80 // Wait for the looper block to come up, to make sure we don't accidentally get 95 * Releases the looper t [all...] |
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 265 public StorageEventListenerDelegate(StorageEventListener callback, Looper looper) { argument 267 mHandler = new Handler(looper, this); 443 * @param looper The {@link android.os.Looper} which events will be received on. 451 public StorageManager(Context context, Looper looper) throws ServiceNotFoundException { argument 454 mLooper = looper;
|
/frameworks/base/core/java/android/permissionpresenterservice/ |
H A D | RuntimePermissionPresenterService.java | 93 public MyHandler(Looper looper) { argument 94 super(looper, null, false);
|
/frameworks/base/core/java/android/print/ |
H A D | PrintManager.java | 1014 public MyHandler(Looper looper) { argument 1015 super(looper, null, true);
|
H A D | PrinterDiscoverySession.java | 269 public SessionHandler(Looper looper) { argument 270 super(looper, null, false);
|
/frameworks/base/core/java/android/printservice/ |
H A D | PrintService.java | 467 public ServiceHandler(Looper looper) { argument 468 super(looper, null, true);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationAssistantService.java | 182 public MyHandler(Looper looper) { argument 183 super(looper, null, false);
|
H A D | NotificationListenerService.java | 1810 public MyHandler(Looper looper) { argument 1811 super(looper, null, false);
|
/frameworks/base/core/java/android/service/quicksettings/ |
H A D | TileService.java | 381 public H(Looper looper) { argument 382 super(looper);
|
/frameworks/base/core/java/android/service/vr/ |
H A D | VrListenerService.java | 79 public VrListenerHandler(Looper looper) { argument 80 super(looper);
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 264 public WallpaperInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 265 super(inputChannel, looper);
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | TextToSpeechService.java | 473 public SynthHandler(Looper looper) { argument 474 super(looper);
|
/frameworks/base/core/java/android/view/ |
H A D | AccessibilityInteractionController.java | 89 Looper looper = viewRootImpl.mHandler.getLooper(); 90 mMyLooperThreadId = looper.getThread().getId(); 92 mHandler = new PrivateHandler(looper); 1119 public PrivateHandler(Looper looper) { argument 1120 super(looper);
|
H A D | BatchedInputEventReceiver.java | 30 InputChannel inputChannel, Looper looper, Choreographer choreographer) { 31 super(inputChannel, looper); 29 BatchedInputEventReceiver( InputChannel inputChannel, Looper looper, Choreographer choreographer) argument
|
H A D | Choreographer.java | 104 Looper looper = Looper.myLooper(); 105 if (looper == null) { 106 throw new IllegalStateException("The current thread must have a looper!"); 108 return new Choreographer(looper, VSYNC_SOURCE_APP); 117 Looper looper = Looper.myLooper(); 118 if (looper == null) { 119 throw new IllegalStateException("The current thread must have a looper!"); 121 return new Choreographer(looper, VSYNC_SOURCE_SURFACE_FLINGER); 152 // The display event receiver can only be accessed by the looper thread to which 153 // it is attached. We take care to ensure that we post message to the looper 221 Choreographer(Looper looper, int vsyncSource) argument 818 FrameHandler(Looper looper) argument 844 FrameDisplayEventReceiver(Looper looper, int vsyncSource) argument [all...] |
H A D | DisplayEventReceiver.java | 74 * @param looper The looper to use when invoking callbacks. 76 public DisplayEventReceiver(Looper looper) { argument 77 this(looper, VSYNC_SOURCE_APP); 83 * @param looper The looper to use when invoking callbacks. 86 public DisplayEventReceiver(Looper looper, int vsyncSource) { argument 87 if (looper == null) { 88 throw new IllegalArgumentException("looper must not be null"); 91 mMessageQueue = looper [all...] |
H A D | FrameMetricsObserver.java | 46 * @param looper the looper to use when invoking callbacks 48 FrameMetricsObserver(@NonNull Window window, @NonNull Looper looper, argument 50 if (looper == null) { 51 throw new NullPointerException("looper cannot be null"); 54 mMessageQueue = looper.getQueue(); 56 throw new IllegalStateException("invalid looper, null message queue\n");
|
H A D | InputEventReceiver.java | 58 * @param looper The looper to use when invoking callbacks. 60 public InputEventReceiver(InputChannel inputChannel, Looper looper) { argument 64 if (looper == null) { 65 throw new IllegalArgumentException("looper must not be null"); 69 mMessageQueue = looper.getQueue(); 196 InputChannel inputChannel, Looper looper); 195 createInputEventReceiver( InputChannel inputChannel, Looper looper) argument
|
H A D | InputEventSender.java | 53 * @param looper The looper to use when invoking callbacks. 55 public InputEventSender(InputChannel inputChannel, Looper looper) { argument 59 if (looper == null) { 60 throw new IllegalArgumentException("looper must not be null"); 64 mMessageQueue = looper.getQueue();
|
H A D | InputFilter.java | 118 * @param looper The looper to run callbacks on. 120 public InputFilter(Looper looper) { argument 121 mH = new H(looper); 214 public H(Looper looper) { argument 215 super(looper);
|
H A D | ViewRootImpl.java | 6739 public WindowInputEventReceiver(InputChannel inputChannel, Looper looper) { argument 6740 super(inputChannel, looper);
|