Searched refs:handler (Results 226 - 250 of 454) sorted by relevance

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) {
/frameworks/base/services/core/java/com/android/server/
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;
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkAgentInfo.java255 LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler,
266 mHandler = handler;
267 networkMonitor = mConnService.createNetworkMonitor(context, handler, this, defaultRequest);
254 NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, LinkProperties lp, NetworkCapabilities nc, int score, Context context, Handler handler, NetworkMisc misc, NetworkRequest defaultRequest, ConnectivityService connService) argument
H A DNat464Xlat.java73 // its handler thread must not modify any internal state variables; they are only updated by the
81 Handler handler, NetworkAgentInfo nai) {
83 mHandler = handler;
120 * Starts the clat daemon. Called by ConnectivityService on the handler thread.
157 * Stops the clat daemon. Called by ConnectivityService on the handler thread.
79 Nat464Xlat( Context context, INetworkManagementService nmService, Handler handler, NetworkAgentInfo nai) argument
/frameworks/base/telecomm/java/android/telecom/
H A DRemoteConference.java557 * Callbacks will be notified using the specified handler, if provided.
560 * @param handler The handler on which to execute the callbacks.
562 public final void registerCallback(Callback callback, Handler handler) { argument
564 if (callback != null && handler != null) {
565 mCallbackRecords.add(new CallbackRecord(callback, handler));
/frameworks/base/core/java/android/content/
H A DClipboardManager.java90 public ClipboardManager(Context context, Handler handler) throws ServiceNotFoundException { argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUWebView.java87 public void onReceivedSslError(WebView view, SslErrorHandler handler, SslError error) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileLifecycleManager.java92 public TileLifecycleManager(Handler handler, Context context, IQSService service, Tile tile, argument
94 this(handler, context, service, tile, intent, user, new PackageManagerAdapter(context));
98 TileLifecycleManager(Handler handler, Context context, IQSService service, Tile tile, argument
101 mHandler = 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;
/frameworks/native/services/surfaceflinger/
H A DMessageQueue.cpp45 this->handler();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java173 * @param handler The handler to use for any listener callbacks.
176 ImageReader.OnImageAvailableListener listener, Handler handler) {
180 reader.setOnImageAvailableListener(listener, handler);
191 * @param handler The handler to post listener callbacks.
196 ImageWriter.OnImageReleasedListener listener, Handler handler) {
198 writer.setOnImageReleasedListener(listener, handler);
649 * If the handler is null, or if the handler'
175 makeImageReader(Size size, int format, int maxNumImages, ImageReader.OnImageAvailableListener listener, Handler handler) argument
194 makeImageWriter( Surface inputSurface, int maxImages, ImageWriter.OnImageReleasedListener listener, Handler handler) argument
657 openCamera(CameraManager manager, String cameraId, CameraDevice.StateCallback listener, Handler handler) argument
690 openCamera(CameraManager manager, String cameraId, Handler handler) argument
703 configureCameraSession(CameraDevice camera, List<Surface> outputSurfaces, boolean isHighSpeed, CameraCaptureSession.StateCallback listener, Handler handler) argument
733 configureCameraSession(CameraDevice camera, List<Surface> outputSurfaces, CameraCaptureSession.StateCallback listener, Handler handler) argument
742 configureReprocessableCameraSession(CameraDevice camera, InputConfiguration inputConfiguration, List<Surface> outputSurfaces, CameraCaptureSession.StateCallback listener, Handler handler) argument
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/session/
H A DMediaControllerCompat.java524 * posted on the specified handler's thread.
527 * @param handler The handler to post updates on. If null the callers thread
530 public void registerCallback(@NonNull Callback callback, Handler handler) { argument
534 if (handler == null) {
535 handler = new Handler();
537 mImpl.registerCallback(callback, handler);
731 * Set the handler to use for pre 21 callbacks.
733 private void setHandler(Handler handler) { argument
734 mHandler = new MessageHandler(handler
1243 registerCallback(Callback callback, Handler handler) argument
1283 registerCallback(Callback callback, Handler handler) argument
1798 registerCallback(Callback callback, Handler handler) argument
2055 ExtraBinderRequestResultReceiver(MediaControllerImplApi21 mediaControllerImpl, Handler handler) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DAMessage.h63 AMessage(uint32_t what, const sp<const AHandler> &handler);
93 void setTarget(const sp<const AHandler> &handler);
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp534 static const char *GetMIMETypeForHandler(uint32_t handler) { argument
535 switch (handler) {
608 uint32_t handler = U32_AT(&data[4]); local
622 mime = GetMIMETypeForHandler(handler);
630 (char)(handler >> 24),
631 (char)((handler >> 16) & 0xff),
632 (char)((handler >> 8) & 0xff),
633 (char)(handler & 0xff));
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAMessage.h63 AMessage(uint32_t what, const sp<const AHandler> &handler);
93 void setTarget(const sp<const AHandler> &handler);
/frameworks/av/media/libstagefright/include/foundation/
H A DAMessage.h63 AMessage(uint32_t what, const sp<const AHandler> &handler);
93 void setTarget(const sp<const AHandler> &handler);
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java807 * @param handler The {@link android.os.Handler Handler} the {@link android.hardware.SensorEvent
815 int samplingPeriodUs, Handler handler) {
817 return registerListenerImpl(listener, sensor, delay, handler, 0, 0);
840 * @param handler The {@link android.os.Handler Handler} the {@link android.hardware.SensorEvent
846 int maxReportLatencyUs, Handler handler) {
848 return registerListenerImpl(listener, sensor, delayUs, handler, maxReportLatencyUs, 0);
853 int delayUs, Handler handler, int maxReportLatencyUs, int reservedFlags);
997 * @param handler The {@link android.os.Handler Handler} the {@link
1004 DynamicSensorCallback callback, Handler handler) {
1005 registerDynamicSensorCallbackImpl(callback, handler);
814 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, Handler handler) argument
845 registerListener(SensorEventListener listener, Sensor sensor, int samplingPeriodUs, int maxReportLatencyUs, Handler handler) argument
852 registerListenerImpl(SensorEventListener listener, Sensor sensor, int delayUs, Handler handler, int maxReportLatencyUs, int reservedFlags) argument
1003 registerDynamicSensorCallback( DynamicSensorCallback callback, Handler handler) argument
1034 registerDynamicSensorCallbackImpl( DynamicSensorCallback callback, Handler handler) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DCameraDeviceState.java223 * @param handler handler on which to call the callbacks.
226 public synchronized void setCameraDeviceCallbacks(Handler handler, argument
228 mCurrentHandler = handler;
/frameworks/base/core/java/android/view/
H A DScaleGestureDetector.java191 * @param handler the handler to use for running deferred listener events.
196 Handler handler) {
203 mHandler = handler;
195 ScaleGestureDetector(Context context, OnScaleGestureListener listener, Handler handler) argument
/frameworks/base/core/tests/coretests/src/android/app/
H A DLoaderLifecycleTest.java233 public TestFragmentHostCallback(Context context, Handler handler, int windowAnimations) { argument
234 super(context, handler, windowAnimations);
/frameworks/base/packages/StatementService/src/com/android/statementservice/
H A DIntentFilterVerificationReceiver.java188 public IsAssociatedResultReceiver(Handler handler, PackageManager packageManager, argument
190 super(handler);
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java50 public AssistDisclosure(Context context, Handler handler) { argument
52 mHandler = handler;
/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/services/core/java/com/android/server/am/
H A DPersistentConnection.java154 @NonNull Handler handler, int userId, @NonNull ComponentName componentName,
158 mHandler = handler;
153 PersistentConnection(@onNull String tag, @NonNull Context context, @NonNull Handler handler, int userId, @NonNull ComponentName componentName, long rebindBackoffSeconds, double rebindBackoffIncrease, long rebindMaxBackoffSeconds) argument
/frameworks/base/services/core/java/com/android/server/location/
H A DLocationFudger.java142 public LocationFudger(Context context, Handler handler) { argument
144 mSettingsObserver = new ContentObserver(handler) {

Completed in 588 milliseconds

1234567891011>>