Home
last modified time | relevance | path

Searched refs:Handler (Results 1 – 25 of 1036) sorted by relevance

12345678910>>...42

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingTaskController.java20 import android.os.Handler;
27 public class ProcessingTaskController implements Handler.Callback {
32 private Handler mProcessingHandler = null;
39 private final Handler mResultHandler = new Handler() {
70 mProcessingHandler = new Handler(mHandlerThread.getLooper(), this); in ProcessingTaskController()
73 public Handler getProcessingHandler() { in getProcessingHandler()
77 public Handler getResultHandler() { in getResultHandler()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dreader.h392 template <unsigned parseFlags, typename InputStream, typename Handler>
393 ParseResult Parse(InputStream& is, Handler& handler) { in Parse()
431 template <typename InputStream, typename Handler>
432 ParseResult Parse(InputStream& is, Handler& handler) { in Parse()
466 template<unsigned parseFlags, typename InputStream, typename Handler>
467 void ParseObject(InputStream& is, Handler& handler) { in ParseObject()
516 template<unsigned parseFlags, typename InputStream, typename Handler>
517 void ParseArray(InputStream& is, Handler& handler) { in ParseArray()
551 template<unsigned parseFlags, typename InputStream, typename Handler>
552 void ParseNull(InputStream& is, Handler& handler) { in ParseNull()
[all …]
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DDishService.java21 import android.os.Handler;
37 private final Handler mHandler = new Handler() {
84 private final WeakReference<Handler> mHandler;
89 DishWasherTask(Handler handler, JobParameters jobParameters, int dishNum) { in DishWasherTask()
90 mHandler = new WeakReference<Handler>(handler); in DishWasherTask()
111 final Handler handler = mHandler.get(); in onPostExecute()
/packages/services/Car/car-lib/src/android/car/
DCar.java56 import android.os.Handler;
773 private final Handler mEventHandler;
775 private final Handler mMainThreadEventHandler;
792 @Nullable Handler handler) { in createCar()
829 return createCar(context, (Handler) null); in createCar()
844 public static Car createCar(Context context, @Nullable Handler handler) { in createCar()
940 @Nullable Handler handler, long waitTimeoutMs, in createCar()
1045 @Nullable Handler handler) { in Car()
1071 public Car(Context context, @Nullable ICar service, @Nullable Handler handler) { in Car()
1076 private static Handler determineMainThreadEventHandler(Handler eventHandler) { in determineMainThreadEventHandler()
[all …]
DCarBugreportManager.java23 import android.os.Handler;
107 private final WeakReference<Handler> mWeakHandler;
116 Handler handler) { in CarBugreportManagerCallbackWrapper()
124 Handler handler = mWeakHandler.get(); in onProgress()
133 Handler handler = mWeakHandler.get(); in onError()
142 Handler handler = mWeakHandler.get(); in onFinished()
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/
DContactsExecutors.java5 import android.os.Handler;
63 return newHandlerExecutor(new Handler(Looper.getMainLooper())); in newUiThreadExecutor()
69 public static ScheduledExecutorService newHandlerExecutor(final Handler handler) { in newHandlerExecutor()
103 private final Handler mHandler;
105 private HandlerExecutorService(Handler handler) { in HandlerExecutorService()
173 private final Handler mHandler;
180 private HandlerFuture(Handler handler, long delay, TimeUnit timeUnit, Callable<T> task) { in HandlerFuture()
231 public static HandlerFuture<Void> fromRunnable(Handler handler, long delay, TimeUnit unit, in fromRunnable()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationListener.java26 import android.os.Handler;
69 private final Handler mWorkerHandler;
70 private final Handler mUiHandler;
82 private final Handler.Callback mWorkerCallback = new Handler.Callback() {
113 private final Handler.Callback mUiCallback = new Handler.Callback() {
144 mWorkerHandler = new Handler(MODEL_EXECUTOR.getLooper(), mWorkerCallback); in NotificationListener()
145 mUiHandler = new Handler(Looper.getMainLooper(), mUiCallback); in NotificationListener()
/packages/apps/Camera2/src/com/android/camera/async/
DHandlerFactory.java19 import android.os.Handler;
31 public Handler create(Lifetime lifetime, String threadName) { in create()
42 return new Handler(thread.getLooper()); in create()
51 public Handler create(Lifetime lifetime, String threadName, int javaThreadPriority) { in create()
63 return new Handler(thread.getLooper()); in create()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeTvInputManager.java22 import android.os.Handler;
34 private final Map<TvInputManager.TvInputCallback, Handler> mCallbacks = new HashMap<>();
43 for (final Map.Entry<TvInputManager.TvInputCallback, Handler> e : mCallbacks.entrySet()) { in add()
60 for (final Map.Entry<TvInputManager.TvInputCallback, Handler> e : mCallbacks.entrySet()) { in setInputState()
75 for (final Map.Entry<TvInputManager.TvInputCallback, Handler> e : mCallbacks.entrySet()) { in remove()
98 public void registerCallback(TvInputManager.TvInputCallback internalCallback, Handler handler) { in registerCallback()
/packages/services/Car/car-lib/src/com/android/car/internal/
DSingleMessageHandler.java19 import android.os.Handler;
20 import android.os.Handler.Callback;
33 private final Handler mHandler;
37 mHandler = new Handler(looper, this); in SingleMessageHandler()
40 public SingleMessageHandler(Handler handler, int handledMessage) { in SingleMessageHandler()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DDiskBasedLogger.java22 import android.os.Handler;
67 private static Handler sHandler;
103 private static Handler getLoggerThreadHandler() { in getLoggerThreadHandler()
111 sHandler = new Handler(sLoggerThread.getLooper()); in getLoggerThreadHandler()
136 Handler handler = getLoggerThreadHandler(); in e()
172 Handler handler = getLoggerThreadHandler(); in clearOldLogs()
228 /* package */ static Handler getHandler() { in getHandler()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/
Darchitecture.dot35 Handler [label="<<concept>>\nHandler"]
40 Handler -> Document
41 Handler -> Writer
46 Reader -> Handler [label="calls"]
47 Value -> Handler [label="calls"]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DConsumers.java19 import android.os.Handler;
38 public static <A> void consumeAsync(Handler handler, in consumeAsync()
51 public static <A extends QuietlyCloseable> void consumeCloseableAsync(Handler handler, in consumeCloseableAsync()
65 final Handler handler, final Consumer<A> consumer) { in createAsyncConsumer()
75 final Handler handler, final Consumer<A> consumer) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
DUserPresetsManager.java3 import android.os.Handler;
13 public class UserPresetsManager implements Handler.Callback {
19 private Handler mProcessingHandler = null;
30 private final Handler mResultHandler = new Handler() {
65 mProcessingHandler = new Handler(mHandlerThread.getLooper(), this); in UserPresetsManager()
/packages/modules/ExtServices/src/android/ext/services/notification/
DAssistantSettings.java22 import android.os.Handler;
54 private final Handler mHandler;
68 private AssistantSettings(Handler handler, ContentResolver resolver, int userId, in AssistantSettings()
78 Handler handler, ContentResolver resolver, int userId, Runnable onUpdateRunnable) { in createAndRegister()
91 Handler handler, ContentResolver resolver, int userId, Runnable onUpdateRunnable) { in createForTesting()
173 AssistantSettings createAndRegister(Handler handler, ContentResolver resolver, int userId, in createAndRegister()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DUiThreadHelper.java22 import android.os.Handler;
32 private static Handler sHandler;
38 private static Handler getHandler(Context context) { in getHandler()
40 sHandler = new Handler(UI_HELPER_EXECUTOR.getLooper(), in getHandler()
59 private static class UiCallbacks implements Handler.Callback {
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DCameraCaptureSessionProxy.java26 import android.os.Handler;
72 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture()
75 public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler in captureBurst()
83 public int setRepeatingBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler in setRepeatingBurst()
86 public int setRepeatingRequest(CaptureRequest request, CaptureCallback listener, Handler in setRepeatingRequest()
DAndroidCameraCaptureSessionProxy.java25 import android.os.Handler;
96 public int capture(CaptureRequest request, CaptureCallback listener, Handler handler) in capture()
106 … public int captureBurst(List<CaptureRequest> requests, CaptureCallback listener, Handler handler) in captureBurst()
127 Handler handler) throws CameraAccessException, CameraCaptureSessionClosedException { in setRepeatingBurst()
136 … public int setRepeatingRequest(CaptureRequest request, CaptureCallback listener, Handler handler) in setRepeatingRequest()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java25 import android.os.Handler;
86 private SuggestionContentObserver(Handler handler) { in SuggestionContentObserver()
107 private Handler mMainHandler;
108 private Handler mHandler;
119 mMainHandler = new Handler() { in AggregationSuggestionEngine()
127 protected Handler getHandler() { in getHandler()
129 mHandler = new Handler(getLooper()) { in getHandler()
168 Handler handler = getHandler(); in reset()
189 Handler handler = getHandler(); in scheduleSuggestionLookup()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DOverviewInteractionState.java21 import android.os.Handler;
50 private final Handler mUiHandler;
51 private final Handler mBgHandler;
65 mUiHandler = new Handler(this::handleUiMessage); in OverviewInteractionState()
66 mBgHandler = new Handler(UI_HELPER_EXECUTOR.getLooper(), this::handleBgMessage); in OverviewInteractionState()
/packages/apps/Messaging/src/com/android/messaging/util/
DThreadUtil.java19 import android.os.Handler;
23 private static final Handler sHandler = new Handler(Looper.getMainLooper());
25 public static Handler getMainThreadHandler() { in getMainThreadHandler()
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/
DThreadUtil.java19 import android.os.Handler;
24 private static volatile Handler mainThreadHandler;
37 public static Handler getUiThreadHandler() { in getUiThreadHandler()
39 mainThreadHandler = new Handler(Looper.getMainLooper()); in getUiThreadHandler()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DIncomingCallFilter.java20 import android.os.Handler;
41 new Handler(Looper.getMainLooper())); in create()
51 private final Handler mHandler;
69 List<CallFilter> filters, Handler handler) { in IncomingCallFilter()
123 public Handler getHandler() { in getHandler()
/packages/services/Car/service/src/com/android/car/garagemode/
DController.java25 import android.os.Handler;
42 private final Handler mHandler;
54 Handler handler, in Controller()
57 mHandler = (handler == null ? new Handler(looper) : handler); in Controller()
135 Handler getHandler() { in getHandler()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowPermissionControllerManager.java21 import android.os.Handler;
35 protected void __constructor__(Context context, @NonNull Handler handler) { in __constructor__()
41 … PermissionControllerManager.OnGetAppPermissionResultCallback callback, Handler handler) { in getAppPermissions()
52 Handler handler) { in countPermissionApps()

12345678910>>...42