Searched refs:handler (Results 201 - 225 of 454) sorted by path

1234567891011>>

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DWifiSignalController.java69 Handler handler = new WifiHandler(Looper.getMainLooper());
73 mWifiChannel.connect(context, handler, wifiMessenger);
88 mScoreCache = new WifiNetworkScoreCache(context, new CacheListener(handler) {
H A DZenModeControllerImpl.java71 public ZenModeControllerImpl(Context context, Handler handler) { argument
74 mModeSetting = new GlobalSetting(mContext, handler, Global.ZEN_MODE) {
80 mConfigSetting = new GlobalSetting(mContext, handler, Global.ZEN_MODE_CONFIG_ETAG) {
91 mSetupObserver = new SetupObserver(handler);
250 public SetupObserver(Handler handler) { argument
251 super(handler);
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogComponent.java74 public VolumeDialogComponent(SystemUI sysui, Context context, Handler handler) { argument
H A DVolumeDialogControllerImpl.java211 public void addCallback(Callbacks callback, Handler handler) { argument
212 mCallbacks.add(callback, handler);
636 public void add(Callbacks callback, Handler handler) { argument
637 if (callback == null || handler == null) throw new IllegalArgumentException();
638 mCallbackMap.put(callback, handler);
777 public SettingObserver(Handler handler) { argument
778 super(handler);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DNotificationInflaterTest.java259 OnViewAppliedListener listener, OnClickHandler handler) {
258 applyAsync(Context context, ViewGroup parent, Executor executor, OnViewAppliedListener listener, OnClickHandler handler) argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
H A DFakeSensorManager.java98 Handler handler, int maxReportLatencyUs, int reservedFlags) {
129 Handler handler) {
96 registerListenerImpl(SensorEventListener listener, Sensor sensor, int delayUs, Handler handler, int maxReportLatencyUs, int reservedFlags) argument
128 registerDynamicSensorCallbackImpl(DynamicSensorCallback callback, Handler handler) argument
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java516 public void setOnBitmapCropped(OnBitmapCroppedHandler handler) { argument
517 mOnBitmapCroppedHandler = handler;
/frameworks/base/sax/java/android/sax/
H A DRootElement.java68 final Handler handler = new Handler(); field in class:RootElement
94 return this.handler;
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java164 ContentHandler handler = newContentHandler(videoAdapter);
168 saxyModelTest(new ByteArrayInputStream(xmlBytes), handler);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityInputFilter.java434 * Adds an event handler to the event handler chain. The handler is added at the beginning of
437 * @param handler The handler to be added to the event handlers list.
439 private void addFirstEventHandler(EventStreamTransformation handler) { argument
441 handler.setNext(mEventHandler);
443 handler.setNext(this);
445 mEventHandler = handler;
H A DAccessibilityManagerService.java3805 // 2) The message is pulled from the queue by the handler on the service
3869 * Called by the invocation handler to notify the service that the
3888 * Called by the invocation handler to notify the service that the state of the soft
5066 public AccessibilityContentObserver(Handler handler) { argument
5067 super(handler);
H A DAutoclickController.java79 Handler handler = new Handler(mContext.getMainLooper());
81 new ClickScheduler(handler, AccessibilityManager.AUTOCLICK_DELAY_DEFAULT);
82 mClickDelayObserver = new ClickDelayObserver(mUserId, handler);
177 public ClickDelayObserver(int userId, Handler handler) { argument
178 super(handler);
280 public ClickScheduler(Handler handler, int delay) { argument
281 mHandler = handler;
H A DFingerprintGestureDispatcher.java46 // This field is ground truth for whether or not we are registered. Only write to it in handler.
62 * @param handler A handler to use internally. Used for testing.
65 Handler handler) {
68 mHandler = handler;
64 FingerprintGestureDispatcher(IFingerprintService fingerprintService, Object lock, Handler handler) argument
H A DMagnificationController.java152 Handler handler, WindowManagerInternal windowManagerInternal,
154 mHandler = handler;
167 * magnification gesture handler.
151 MagnificationController(Context context, AccessibilityManagerService ams, Object lock, Handler handler, WindowManagerInternal windowManagerInternal, ValueAnimator valueAnimator, SettingsBridge settingsBridge) argument
H A DMotionEventInjector.java89 * @param handler A handler to post messages. Exposes internal state for testing only.
91 public MotionEventInjector(Handler handler) { argument
92 mHandler = handler;
/frameworks/base/services/autofill/java/com/android/server/autofill/
H A DAutofillManagerService.java726 SettingsObserver(Handler handler) { argument
727 super(handler);
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java433 public ProvisionedObserver(Handler handler) { argument
434 super(handler);
840 // ----- Asynchronous backup/restore handler thread -----
1205 // spin up the backup/restore handler thread
2681 * - execute() [Called from the handler thread]
2682 * - operationComplete(long result) [Called from the handler thread]
2790 // and reposting the next chunk to the primary backup handler thread.
3018 // agent, or a timeout message on the main handler. either way, we're
3176 // handler in case it doesn't get back to us.
4517 Slog.e(TAG, "Unable to find shared-storage backup handler");
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java242 public Constants(Handler handler) { argument
243 super(handler);
990 Slog.w(TAG, "Failed to open alarm driver. Falling back to a handler.");
H A DAnyMotionDetector.java120 public AnyMotionDetector(PowerManager pm, Handler handler, SensorManager sm, argument
126 mHandler = handler;
H A DAppOpsService.java238 public AppOpsService(File storagePath, Handler handler) { argument
241 mHandler = handler;
H A DConnectivityService.java519 * - add(), update(), remove() are only called from the ConnectivityService handler thread.
3052 // TODO: execute this logic on ConnectivityService handler.
3316 SettingsObserver(Context context, Handler handler) { argument
3320 mHandler = handler;
5452 public NetworkMonitor createNetworkMonitor(Context context, Handler handler, argument
5454 return new NetworkMonitor(context, handler, nai, defaultRequest);
H A DDeviceIdleController.java780 public Constants(Handler handler, ContentResolver resolver) { argument
781 super(handler);
H A DInputMethodManagerService.java747 SettingsObserver(Handler handler) { argument
748 super(handler);
4282 LocalServiceImpl(@NonNull final Handler handler) { argument
4283 mHandler = handler;
4288 // Do everything in handler so as not to block the caller.
4295 // Do everything in handler so as not to block the caller.
H A DNetworkScoreService.java188 * Dispatches observed content changes to a handler for further processing.
196 public DispatchingContentObserver(Context context, Handler handler) { argument
197 super(handler);
199 mHandler = handler;
H A DNetworkTimeUpdateService.java81 // NTP lookup is done on this thread and handler
307 SettingsObserver(Handler handler, int msg) { argument
308 super(handler);
309 mHandler = handler;

Completed in 482 milliseconds

1234567891011>>