/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 74 import android.os.Handler; 229 private BidirectionalAsyncChannel connectChannel(Handler handler) { in connectChannel() 238 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler) { in verifyHandleMessageAndGetMessage() 269 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler, in verifyHandleMessageAndGetMessage() 277 private static void verifyScanResultsReceived(InOrder order, Handler handler, int listenerId, in verifyScanResultsReceived() 292 private static void verifySingleScanCompletedReceived(InOrder order, Handler handler, in verifySingleScanCompletedReceived() 334 private static void verifySuccessfulResponse(InOrder order, Handler handler, int arg2) { in verifySuccessfulResponse() 356 private static void verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, in verifyMultipleSingleScanResults() 396 private static void verifyMultipleSingleScanResults(InOrder handlerOrder, Handler handler, in verifyMultipleSingleScanResults() 402 private static void verifyFailedResponse(InOrder order, Handler handler, int arg2, in verifyFailedResponse() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | MockWifiMonitor.java | 21 import android.os.Handler; 34 private final Map<String, SparseArray<Handler>> mHandlerMap = new HashMap<>(); 37 public void registerHandler(String iface, int what, Handler handler) { in registerHandler() 38 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 65 for (Map.Entry<String, SparseArray<Handler>> entry : mHandlerMap.entrySet()) { in sendMessage() 75 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() 76 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | MockWifiP2pMonitor.java | 21 import android.os.Handler; 34 private final Map<String, SparseArray<Handler>> mHandlerMap = new HashMap<>(); 37 public void registerHandler(String iface, int what, Handler handler) { in registerHandler() 38 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 65 for (Map.Entry<String, SparseArray<Handler>> entry : mHandlerMap.entrySet()) { in sendMessage() 75 private boolean sendMessage(SparseArray<Handler> ifaceHandlers, Message message) { in sendMessage() 76 Handler handler = ifaceHandlers.get(message.what); in sendMessage()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMonitor.java | 24 import android.os.Handler; 149 private final Map<String, SparseArray<Set<Handler>>> mHandlerMap = new HashMap<>(); 150 public synchronized void registerHandler(String iface, int what, Handler handler) { in registerHandler() 151 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 156 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler() 170 public synchronized void deregisterHandler(String iface, int what, Handler handler) { in deregisterHandler() 171 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in deregisterHandler() 175 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in deregisterHandler() 251 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 254 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(message.what); in sendMessage() [all …]
|
/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/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pMonitor.java | 24 import android.os.Handler; 88 private final Map<String, SparseArray<Set<Handler>>> mHandlerMap = new HashMap<>(); 93 public synchronized void registerHandler(String iface, int what, Handler handler) { in registerHandler() 94 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler() 99 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(what); in registerHandler() 178 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in sendMessage() 181 Set<Handler> ifaceWhatHandlers = ifaceHandlers.get(message.what); in sendMessage() 183 for (Handler handler : ifaceWhatHandlers) { in sendMessage() 198 for (Map.Entry<String, SparseArray<Set<Handler>>> entry : mHandlerMap.entrySet()) { in sendMessage() 200 Set<Handler> ifaceWhatHandlers = entry.getValue().get(message.what); in sendMessage() [all …]
|
/packages/services/Iwlan/src/com/google/android/iwlan/ |
D | IwlanEventListener.java | 25 import android.os.Handler; 113 SparseArray<Set<Handler>> eventHandlers = new SparseArray<>(); 116 UserSettingContentObserver(Handler h) { in UserSettingContentObserver() 141 public synchronized void addEventListener(List<Integer> events, Handler handler) { in addEventListener() 146 Set<Handler> handlers = new HashSet<>(); in addEventListener() 159 public synchronized void removeEventListener(List<Integer> events, Handler handler) { in removeEventListener() 162 Set<Handler> handlers = eventHandlers.get(event); in removeEventListener() 179 public synchronized void removeEventListener(Handler handler) { in removeEventListener() 181 Set<Handler> handlers = eventHandlers.valueAt(i); in removeEventListener() 345 Handler mhandler = new Handler(mlooper); in registerContentObserver() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.h | 41 class Handler { 43 Handler(SocketClient* c) : mClient(c) { mClient->incRef(); } in Handler() function 44 virtual ~Handler() { mClient->decRef(); } in ~Handler() 45 void operator=(const Handler&) = delete; 65 class GetAddrInfoHandler : public Handler { 92 class GetHostByNameHandler : public Handler { 118 class GetHostByAddrHandler : public Handler { 145 class ResNSendHandler : public Handler {
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/shadows/ |
D | ShadowLooperExecutor.java | 24 import android.os.Handler; 42 private Handler mOverriddenHandler; 45 protected Handler getHandler() { in getHandler() 49 Handler handler = directlyOn(mRealExecutor, LooperExecutor.class, "getHandler"); in getHandler() 55 new Handler(createAndStartNewLooper(thread.getName()))); in getHandler() 60 public void setHandler(@Nullable Handler handler) { in setHandler()
|
/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/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/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/Settings/src/com/android/settings/wifi/ |
D | WifiTrackerLibProvider.java | 20 import android.os.Handler; 37 Handler mainHandler, Handler workerHandler, Clock clock, in createWifiPickerTracker() 44 Handler mainHandler, Handler workerHandler, Clock clock, in createNetworkDetailsTracker()
|
D | WifiTrackerLibProviderImpl.java | 23 import android.os.Handler; 43 Handler mainHandler, Handler workerHandler, Clock clock, in createWifiPickerTracker() 62 Handler mainHandler, Handler workerHandler, Clock clock, in createNetworkDetailsTracker()
|
/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/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/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiUtil.java | 33 import android.os.Handler; 335 Handler mainHandler, Handler workerHandler, in createWifiPickerTracker() 346 Handler mainHandler, Handler workerHandler, in createWifiPickerTracker() 365 Handler mainHandler, Handler workerHandler, in createNetworkDetailsTracker() 376 Handler mainHandler, Handler workerHandler, in createNetworkDetailsTracker()
|
/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/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/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/services/Car/car-lib/src/android/car/ |
D | CarBugreportManager.java | 23 import android.os.Handler; 108 private final WeakReference<Handler> mWeakHandler; 117 Handler handler) { in CarBugreportManagerCallbackWrapper() 125 Handler handler = mWeakHandler.get(); in onProgress() 134 Handler handler = mWeakHandler.get(); in onError() 143 Handler handler = mWeakHandler.get(); in onFinished()
|
D | Car.java | 69 import android.os.Handler; 1122 private final Handler mEventHandler; 1124 private final Handler mMainThreadEventHandler; 1147 @Nullable Handler handler) { in createCar() 1190 return createCar(context, (Handler) null); in createCar() 1208 public static Car createCar(Context context, @Nullable Handler handler) { in createCar() 1305 @Nullable Handler handler, long waitTimeoutMs, in createCar() 1410 @Nullable Handler handler) { in Car() 1436 public Car(Context context, @Nullable ICar service, @Nullable Handler handler) { in Car() 1441 private static Handler determineMainThreadEventHandler(Handler eventHandler) { in determineMainThreadEventHandler() [all …]
|
/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()
|