Searched defs:handler (Results 76 - 100 of 120) sorted by relevance

12345

/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardTransportControlView.java84 // This handler is required to ensure messages from IRCD are handled in sequence and on
139 IRemoteControlDisplayWeak(Handler handler) { argument
140 mLocalHandler = new WeakReference<Handler>(handler);
144 Handler handler = mLocalHandler.get();
145 if (handler != null) {
146 handler.obtainMessage(MSG_UPDATE_STATE, generationId, state).sendToTarget();
151 Handler handler = mLocalHandler.get();
152 if (handler != null) {
153 handler.obtainMessage(MSG_SET_METADATA, generationId, 0, metadata).sendToTarget();
158 Handler handler
[all...]
/frameworks/base/services/java/com/android/server/
H A DTwilightService.java111 * @param handler The handler on which to post calls into the listener.
113 public void registerListener(TwilightListener listener, Handler handler) { argument
115 mListeners.add(new TwilightListenerRecord(listener, handler));
268 public TwilightListenerRecord(TwilightListener listener, Handler handler) { argument
270 mHandler = handler;
H A DNotificationManagerService.java573 SettingsObserver(Handler handler) { argument
574 super(handler);
H A DThrottleService.java171 InterfaceObserver(Handler handler, int msg, String iface) { argument
173 mHandler = handler;
206 SettingsObserver(Handler handler, int msg) { argument
207 super(handler);
208 mHandler = handler;
/frameworks/base/services/java/com/android/server/display/
H A DWifiDisplayController.java67 * The controller must be instantiated on the handler thread.
152 public WifiDisplayController(Context context, Handler handler, Listener listener) { argument
154 mHandler = handler;
158 mWifiP2pChannel = mWifiP2pManager.initialize(context, handler.getLooper(), null);
878 * Called on the handler thread when displays are connected or disconnected.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsUsageMonitor.java235 SettingsObserver(Handler handler, Context context, AtomicBoolean enabled) { argument
236 super(handler);
H A DSMSDispatcher.java239 SettingsObserver(Handler handler, AtomicInteger premiumSmsRule, Context context) { argument
240 super(handler);
287 * Handles events coming from the phone stack. Overridden from handler.
419 * @param ar AsyncResult passed into the message handler. ar.result should
999 // handler with the SmsTracker to request user confirmation before sending.
/frameworks/base/media/java/android/media/
H A DJetPlayer.java470 * @param handler the Handler that will receive the event notification messages.
472 public void setEventListener(OnJetEventListener listener, Handler handler) { argument
478 if (handler != null) {
479 mEventHandler = new NativeEventHandler(this, handler.getLooper());
481 // no given handler, use the looper the AudioTrack was created in
H A DAudioRecord.java659 * @param handler the Handler that will receive the event notification messages.
662 Handler handler) {
668 if (handler != null) {
669 mEventHandler = new NativeEventHandler(this, handler.getLooper());
671 // no given handler, use the looper the AudioRecord was created in
661 setRecordPositionUpdateListener(OnRecordPositionUpdateListener listener, Handler handler) argument
H A DAudioTrack.java732 * @param handler the Handler that will receive the event notification messages.
735 Handler handler) {
740 mEventHandlerDelegate = new NativeEventHandlerDelegate(this, handler);
1128 NativeEventHandlerDelegate(AudioTrack track, Handler handler) { argument
1130 // find the looper for our new event handler
1132 if (handler != null) {
1133 looper = handler.getLooper();
1135 // no given handler, use the looper the AudioTrack was created in
1139 // construct the event handler with this looper
1141 // implement the event handler delegat
734 setPlaybackPositionUpdateListener(OnPlaybackPositionUpdateListener listener, Handler handler) argument
[all...]
/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/base/core/java/android/accounts/
H A DAccountManager.java252 public AccountManager(Context context, IAccountManager service, Handler handler) { argument
255 mMainHandler = handler;
438 * @param handler the handler on which to invoke the callback, or null for the main thread
444 AccountManagerCallback<String> callback, Handler handler) {
447 return new Future2Task<String>(handler, callback) {
480 * @param handler {@link Handler} identifying the callback thread,
487 AccountManagerCallback<Boolean> callback, Handler handler) {
490 return new Future2Task<Boolean>(handler, callback) {
524 * @param handler {
442 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument
485 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument
530 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument
599 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument
870 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
960 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1038 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1106 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1179 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1193 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument
1255 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1306 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1330 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument
1340 postToHandler(Handler handler, final OnAccountsUpdateListener listener, final Account[] accounts) argument
1365 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument
1490 BaseFutureTask(Handler handler) argument
1547 Future2Task(Handler handler, AccountManagerCallback<T> callback) argument
1639 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
1831 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1952 addOnAccountsUpdatedListener(final OnAccountsUpdateListener listener, Handler handler, boolean updateImmediately) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java1474 boolean popBackStackState(Handler handler, String name, int id, int flags) { argument
H A DLoadedApk.java584 Context context, Handler handler,
596 rd = new ReceiverDispatcher(r, context, handler,
606 rd.validate(context, handler);
808 " registered with differing handler (was " +
855 Context context, Handler handler, int flags) {
863 sd = new ServiceDispatcher(c, context, handler, flags);
870 sd.validate(context, handler);
983 " registered with differing handler (was " +
583 getReceiverDispatcher(BroadcastReceiver r, Context context, Handler handler, Instrumentation instrumentation, boolean registered) argument
854 getServiceDispatcher(ServiceConnection c, Context context, Handler handler, int flags) argument
H A DActivityManager.java224 /*package*/ ActivityManager(Context context, Handler handler) { argument
226 mHandler = handler;
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java609 * @param handler
622 Handler handler) {
646 return registerListenerImpl(listener, sensor, delay, handler);
651 int delay, Handler handler);
621 registerListener(SensorEventListener listener, Sensor sensor, int rate, Handler handler) argument
650 registerListenerImpl(SensorEventListener listener, Sensor sensor, int delay, Handler handler) argument
/frameworks/base/core/java/android/view/animation/
H A DAnimation.java351 * Sets the handler used to invoke listeners.
355 public void setListenerHandler(Handler handler) { argument
379 mListenerHandler = handler;
/frameworks/base/core/java/android/widget/
H A DAdapterViewAnimator.java640 final Handler handler = getHandler();
641 if (handler != null) {
642 handler.removeCallbacks(mPendingCheckForTap);
999 * @param handler The OnClickHandler to use when inflating RemoteViews.
1003 public void setRemoteViewsOnClickHandler(OnClickHandler handler) { argument
1007 mRemoteViewsAdapter.setRemoteViewsOnClickHandler(handler);
H A DRemoteViewsAdapter.java282 public void onRemoteViewsLoaded(RemoteViews view, OnClickHandler handler) { argument
286 addView(view.apply(getContext(), this, handler));
427 handler) {
440 handler);
455 View firstView = mFirstView.apply(parent.getContext(), parent, handler);
822 public void setRemoteViewsOnClickHandler(OnClickHandler handler) { argument
823 mRemoteViewsOnClickHandler = handler;
425 createLoadingView(int position, View convertView, ViewGroup parent, Object lock, LayoutInflater layoutInflater, OnClickHandler handler) argument
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java278 public void run(Handler handler, TestArgs args, Runnable doneCallback) { argument
279 mHandler = handler;
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java691 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument
692 // type is the internal name of the type of exceptions handled by the handler,
H A DDependencyFinder.java633 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument
634 // type is the internal name of the type of exceptions handled by the handler,
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp95 EventHandler& handler)
99 mEventHandler(handler),
93 HWComposer( const sp<SurfaceFlinger>& flinger, EventHandler& handler) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DQuickSettingsModel.java112 public NextAlarmObserver(Handler handler) { argument
113 super(handler);
129 public BugreportObserver(Handler handler) { argument
130 super(handler);
146 public BrightnessObserver(Handler handler) { argument
147 super(handler);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DGlobalActions.java752 SilentModeTriStateAction(Context context, AudioManager audioManager, Handler handler) { argument
754 mHandler = handler;
776 // Set up click handler

Completed in 4529 milliseconds

12345