/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingTaskController.java | 20 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/ |
D | reader.h | 392 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/ |
D | DishService.java | 21 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/modules/NetworkStack/tests/unit/src/android/net/util/ |
D | PacketReaderTest.java | 34 import android.os.Handler; 79 public UdpLoopbackReader(Handler h) { in UdpLoopbackReader() 162 final Handler h = mHandlerThread.getThreadHandler(); in testBasicWorking() 196 public NullPacketReader(Handler h, int recvbufsize) { in NullPacketReader() 206 final Handler h = mHandlerThread.getThreadHandler(); in testMinimalRecvBufSize() 216 final Handler h = mHandlerThread.getThreadHandler(); in testStartingFromWrongThread() 223 final Handler h = mHandlerThread.getThreadHandler(); in testStoppingFromWrongThread() 230 final Handler h = mHandlerThread.getThreadHandler(); in testSuccessToCreateSocket() 237 final Handler h = mHandlerThread.getThreadHandler(); in testFailToCreateSocket()
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
D | ContactsExecutors.java | 5 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/Camera2/src/com/android/camera/async/ |
D | HandlerFactory.java | 19 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/ |
D | FakeTvInputManager.java | 22 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/android/car/ |
D | CarBugreportManager.java | 23 import android.os.Handler; 106 private final WeakReference<Handler> mWeakHandler; 115 Handler handler) { in CarBugreportManagerCallbackWrapper() 123 Handler handler = mWeakHandler.get(); in onProgress() 132 Handler handler = mWeakHandler.get(); in onError() 141 Handler handler = mWeakHandler.get(); in onFinished()
|
D | Car.java | 66 import android.os.Handler; 983 private final Handler mEventHandler; 985 private final Handler mMainThreadEventHandler; 1008 @Nullable Handler handler) { in createCar() 1051 return createCar(context, (Handler) null); in createCar() 1069 public static Car createCar(Context context, @Nullable Handler handler) { in createCar() 1166 @Nullable Handler handler, long waitTimeoutMs, in createCar() 1271 @Nullable Handler handler) { in Car() 1297 public Car(Context context, @Nullable ICar service, @Nullable Handler handler) { in Car() 1302 private static Handler determineMainThreadEventHandler(Handler eventHandler) { in determineMainThreadEventHandler() [all …]
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | SingleMessageHandler.java | 19 import android.os.Handler; 20 import android.os.Handler.Callback; 35 private final Handler mHandler; 39 mHandler = new Handler(looper, this); in SingleMessageHandler() 42 public SingleMessageHandler(Handler handler, int handledMessage) { in SingleMessageHandler()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/diagram/ |
D | architecture.dot | 35 Handler [label="<<concept>>\nHandler"] 40 Handler -> Document 41 Handler -> Writer 46 Reader -> Handler [label="calls"] 47 Value -> Handler [label="calls"]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | DiskBasedLogger.java | 22 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/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | Consumers.java | 19 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/ |
D | UserPresetsManager.java | 3 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/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | CameraCaptureSessionProxy.java | 26 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()
|
D | AndroidCameraCaptureSessionProxy.java | 25 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/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 23 import android.os.Handler; 94 new Handler(looper).post(action); in runOnLooper() 120 Handler handler = new Handler(looper); in runOnLooperSync() 233 Handler handler = new Handler(threads.get(i).getLooper()); in finishAllHandlerTasks()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AggregationSuggestionEngine.java | 25 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/Messaging/src/com/android/messaging/util/ |
D | ThreadUtil.java | 19 import android.os.Handler; 23 private static final Handler sHandler = new Handler(Looper.getMainLooper()); 25 public static Handler getMainThreadHandler() { in getMainThreadHandler()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinDialogFragment.java | 21 import android.os.Handler; 41 private Handler mBackgroundThreadHandler; 42 private Handler mUiThreadHandler; 58 mBackgroundThreadHandler = new Handler(mBackgroundThread.getLooper()); in onAttach() 59 mUiThreadHandler = new Handler(Looper.getMainLooper()); in onAttach()
|
/packages/apps/Dialer/java/com/android/dialer/common/concurrent/ |
D | ThreadUtil.java | 19 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/ |
D | IncomingCallFilter.java | 20 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/apps/Car/Notification/src/com/android/car/notification/ |
D | HeadsUpEntry.java | 21 import android.os.Handler; 34 private final Handler mHandler; 43 mHandler = new Handler(); in HeadsUpEntry() 51 Handler getHandler() { in getHandler()
|
/packages/services/Car/service/src/com/android/car/garagemode/ |
D | Controller.java | 25 import android.os.Handler; 44 private final Handler mHandler; 56 Handler handler, in Controller() 59 mHandler = (handler == null ? new Handler(looper) : handler); in Controller() 138 Handler getHandler() { in getHandler()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowPermissionControllerManager.java | 21 import android.os.Handler; 35 protected void __constructor__(Context context, @NonNull Handler handler) { in __constructor__() 42 Handler handler) { in getAppPermissions() 53 Handler handler) { in countPermissionApps()
|