Searched refs:handler (Results 101 - 125 of 312) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmInboundSmsHandler.java44 * Create a new GSM inbound SMS handler.
71 GsmInboundSmsHandler handler = new GsmInboundSmsHandler(context, storageMonitor, phone);
72 handler.start();
73 return handler;
77 * Return true if this handler is for 3GPP2 messages; false for 3GPP format.
/frameworks/base/core/java/android/bluetooth/le/
H A DBluetoothLeScanner.java351 Handler handler = new Handler(Looper.getMainLooper());
352 handler.post(new Runnable() {
363 Handler handler = new Handler(Looper.getMainLooper());
364 handler.post(new Runnable() {
384 Handler handler = new Handler(Looper.getMainLooper());
385 handler.post(new Runnable() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeControllerImpl.java68 public ZenModeControllerImpl(Context context, Handler handler) { argument
70 mModeSetting = new GlobalSetting(mContext, handler, Global.ZEN_MODE) {
76 mConfigSetting = new GlobalSetting(mContext, handler, Global.ZEN_MODE_CONFIG_ETAG) {
87 mSetupObserver = new SetupObserver(handler);
267 public SetupObserver(Handler handler) { argument
268 super(handler);
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMapBmessageParser.java398 VcardHandler handler = new VcardHandler();
399 c.addEntryHandler(handler);
403 vcard = handler.vcard;
410 VcardHandler handler = new VcardHandler();
411 c.addEntryHandler(handler);
415 vcard = handler.vcard;
H A DBluetoothMasObexClientSession.java154 public BluetoothMasObexClientSession(ObexTransport transport, Handler handler) { argument
156 mSessionHandler = handler;
/frameworks/wilhelm/src/
H A Dsles_allinclusive.h432 // callback handler that is permitted to do almost anything, including block. This is intended
436 // for an excessive time within a callback handler or requesting too frequent callbacks. The
449 #define EnqueueAsyncCallback_ppi(object, handler, p1, p2, i1) \
451 (ClosureHandler_ppi) (handler), (p1), (p2), (i1))
452 #define EnqueueAsyncCallback_ppii(object, handler, p1, p2, i1, i2) \
454 (ClosureHandler_ppii) (handler), (p1), (p2), (i1), (i2))
455 #define EnqueueAsyncCallback_piipp(object, handler, p1, i1, i2, p2, p3) \
457 (ClosureHandler_piipp) (handler), (p1), (i1), (i2), (p2), (p3))
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java177 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { argument
178 mHandler = handler;
/frameworks/base/media/java/android/media/
H A DAudioTrack.java1223 // Use if you need to get the most recent timestamp outside of the event callback handler.
1265 // Use if you need to get the most recent timestamp outside of the event callback handler.
1299 * @param handler the Handler that will receive the event notification messages.
1302 Handler handler) {
1304 mEventHandlerDelegate = new NativePositionEventHandlerDelegate(this, listener, handler);
2299 * @param handler Specifies the {@link Handler} object for the thread on which to execute
2304 android.os.Handler handler) {
2312 handler != null ? handler : new Handler(mInitializationLooper)));
2343 Handler handler
1301 setPlaybackPositionUpdateListener(OnPlaybackPositionUpdateListener listener, Handler handler) argument
2303 addOnRoutingChangedListener(OnRoutingChangedListener listener, android.os.Handler handler) argument
2381 NativePositionEventHandlerDelegate(final AudioTrack track, final OnPlaybackPositionUpdateListener listener, Handler handler) argument
2436 NativeRoutingEventHandlerDelegate(final AudioTrack track, final OnRoutingChangedListener listener, Handler handler) argument
[all...]
H A DRemoteController.java694 * registered to receive the updates on the handler thread so it can call
792 Handler handler = null;
794 handler = new Handler(Looper.getMainLooper());
797 UserHandle.myUserId(), handler);
824 private static void sendMsg(Handler handler, int msg, int existingMsgPolicy, argument
826 if (handler == null) {
827 Log.e(TAG, "null event handler, will not deliver message " + msg);
831 handler.removeMessages(msg);
832 } else if (existingMsgPolicy == SENDMSG_NOOP && handler.hasMessages(msg)) {
835 handler
[all...]
/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/services/core/java/com/android/server/location/
H A DLocationBlacklist.java55 public LocationBlacklist(Context context, Handler handler) { argument
56 super(handler);
H A DLocationProviderProxy.java58 int initialPackageNamesResId, Handler handler) {
61 handler);
71 int initialPackageNamesResId, Handler handler) {
76 mNewServiceWork, handler);
55 createAndBind( Context context, String name, String action, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, Handler handler) argument
69 LocationProviderProxy(Context context, String name, String action, int overlaySwitchResId, int defaultServicePackageNameResId, int initialPackageNamesResId, Handler handler) argument
/frameworks/support/v4/jellybean-mr1/android/support/v4/media/routing/
H A DMediaRouterJellybeanMr1.java67 public ActiveScanWorkaround(Context context, Handler handler) { argument
73 mHandler = handler;
/frameworks/support/v7/mediarouter/jellybean-mr1/android/support/v7/media/
H A DMediaRouterJellybeanMr1.java67 public ActiveScanWorkaround(Context context, Handler handler) { argument
73 mHandler = handler;
/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java813 AnimationHandler handler = sAnimationHandler.get();
814 if (handler != null) {
815 int numAnims = handler.mAnimations.size();
817 if (handler.mAnimations.get(i) instanceof ObjectAnimator) {
818 ObjectAnimator anim = (ObjectAnimator) handler.mAnimations.get(i);
824 numAnims = handler.mPendingAnimations.size();
826 if (handler.mPendingAnimations.get(i) instanceof ObjectAnimator) {
827 ObjectAnimator anim = (ObjectAnimator) handler.mPendingAnimations.get(i);
833 numAnims = handler.mDelayedAnims.size();
835 if (handler
[all...]
/frameworks/base/core/java/android/app/
H A DPendingIntent.java212 FinishedDispatcher(PendingIntent pi, OnFinished who, Handler handler) { argument
215 if (handler == null && ActivityThread.isSystem()) {
216 // We assign a default handler for the system process to avoid deadlocks when
223 mHandler = handler;
661 * @param handler Handler identifying the thread on which the callback
670 public void send(int code, @Nullable OnFinished onFinished, @Nullable Handler handler) argument
672 send(null, code, null, onFinished, handler, null, null);
695 * @param handler Handler identifying the thread on which the callback
709 @Nullable OnFinished onFinished, @Nullable Handler handler) throws CanceledException {
710 send(context, code, intent, onFinished, handler, nul
708 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler) argument
751 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission) argument
798 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission, @Nullable Bundle options) argument
[all...]
H A DFragmentHostCallback.java50 public FragmentHostCallback(Context context, Handler handler, int windowAnimations) { argument
51 this(null /*activity*/, context, handler, windowAnimations);
58 FragmentHostCallback(Activity activity, Context context, Handler handler, argument
62 mHandler = handler;
H A DActivityOptions.java212 * @param handler If <var>listener</var> is non-null this must be a valid
222 int enterResId, int exitResId, Handler handler, OnAnimationStartedListener listener) {
228 opts.setOnAnimationStartedListener(handler, listener);
256 private void setOnAnimationStartedListener(Handler handler, argument
259 final Handler h = handler;
436 * @param handler If <var>listener</var> is non-null this must be a valid
447 Handler handler, OnAnimationStartedListener listener) {
449 targetWidth, targetHeight, handler, listener, true);
462 * @param handler If <var>listener</var> is non-null this must be a valid
473 Handler handler, OnAnimationStartedListene
221 makeCustomAnimation(Context context, int enterResId, int exitResId, Handler handler, OnAnimationStartedListener listener) argument
445 makeThumbnailAspectScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
471 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument
478 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument
[all...]
/frameworks/av/include/media/stagefright/foundation/
H A DALooper.h44 handler_id registerHandler(const sp<AHandler> &handler);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentHostCallback.java50 public FragmentHostCallback(Context context, Handler handler, int windowAnimations) { argument
51 this(null /*activity*/, context, handler, windowAnimations);
58 FragmentHostCallback(Activity activity, Context context, Handler handler, argument
62 mHandler = handler;
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp57 AMessage::AMessage(uint32_t what, const sp<const AHandler> &handler) argument
60 setTarget(handler);
75 void AMessage::setTarget(const sp<const AHandler> &handler) { argument
76 if (handler == NULL) {
81 mTarget = handler->id();
82 mHandler = handler->getHandler();
83 mLooper = handler->getLooper();
348 sp<AHandler> handler = mHandler.promote(); local
349 if (handler == NULL) {
350 ALOGW("failed to deliver message as target handler
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiController.java204 Handler handler = new Handler(looper);
206 registerForStayAwakeModeChange(handler);
208 registerForWifiIdleTimeChange(handler);
210 registerForWifiSleepPolicyChange(handler);
238 private void registerForStayAwakeModeChange(Handler handler) { argument
239 ContentObserver contentObserver = new ContentObserver(handler) {
254 private void registerForWifiIdleTimeChange(Handler handler) { argument
255 ContentObserver contentObserver = new ContentObserver(handler) {
270 private void registerForWifiSleepPolicyChange(Handler handler) { argument
271 ContentObserver contentObserver = new ContentObserver(handler) {
[all...]
/frameworks/base/core/java/android/view/accessibility/
H A DCaptioningManager.java67 final Handler handler = new Handler(context.getMainLooper());
68 mContentObserver = new MyContentObserver(handler);
227 public MyContentObserver(Handler handler) { argument
228 super(handler);
230 mHandler = handler;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcController.java92 * @param handler defines the thread/looper to be used with Dcc
95 Handler handler) {
96 super(name, handler);
105 mPhoneStateListener = new PhoneStateListener(handler.getLooper()) {
119 static DcController makeDcc(PhoneBase phone, DcTrackerBase dct, Handler handler) { argument
120 DcController dcc = new DcController("Dcc", phone, dct, handler);
94 DcController(String name, PhoneBase phone, DcTrackerBase dct, Handler handler) argument
/frameworks/base/core/java/android/content/pm/
H A DLauncherApps.java293 * @param handler that should be used to post callbacks on, may be null.
295 public void registerCallback(Callback callback, Handler handler) { argument
299 addCallbackLocked(callback, handler);
349 private void addCallbackLocked(Callback callback, Handler handler) { argument
352 if (handler == null) {
353 handler = new Handler();
355 CallbackMessageHandler toAdd = new CallbackMessageHandler(handler.getLooper(), callback);

Completed in 699 milliseconds

1234567891011>>