/frameworks/av/include/media/stagefright/foundation/ |
H A D | ALooper.h | 43 handler_id registerHandler(const sp<AHandler> &handler);
|
H A D | ALooperRoster.h | 30 const sp<ALooper> looper, const sp<AHandler> &handler);
|
/frameworks/av/media/libstagefright/ |
H A D | AVIExtractor.cpp | 534 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/ |
H A D | ALooper.cpp | 85 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { argument 86 return gLooperRoster.registerHandler(this, handler);
|
H A D | ALooperRoster.cpp | 35 const sp<ALooper> looper, const sp<AHandler> &handler) { 38 if (handler->id() != 0) { 39 CHECK(!"A handler must only be registered once."); 45 info.mHandler = handler; 49 handler->setID(handlerID); 65 sp<AHandler> handler = info.mHandler.promote(); local 67 if (handler != NULL) { 68 handler->setID(0); 85 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); 113 sp<AHandler> handler; local 34 registerHandler( const sp<ALooper> looper, const sp<AHandler> &handler) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 261 public AccountManager(Context context, IAccountManager service, Handler handler) { argument 264 mMainHandler = handler; 525 * @param handler the handler on which to invoke the callback, or null for the main thread 531 AccountManagerCallback<String> callback, Handler handler) { 534 return new Future2Task<String>(handler, callback) { 567 * @param handler {@link Handler} identifying the callback thread, 574 AccountManagerCallback<Boolean> callback, Handler handler) { 577 return new Future2Task<Boolean>(handler, callback) { 611 * @param handler { 529 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument 572 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument 617 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument 686 renameAccount( final Account account, final String newName, AccountManagerCallback<Account> callback, Handler handler) argument 755 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument 808 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 826 removeAccountAsUser(final Account account, AccountManagerCallback<Boolean> callback, Handler handler, final UserHandle userHandle) argument 848 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1145 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1235 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1313 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1382 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1405 addAccountAsUser(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1457 copyAccountToUser( final Account account, final UserHandle user, AccountManagerCallback<Boolean> callback, Handler handler) argument 1564 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1578 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument 1640 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1691 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1715 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument 1725 postToHandler(Handler handler, final OnAccountsUpdateListener listener, final Account[] accounts) argument 1750 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument 1877 BaseFutureTask(Handler handler) argument 1937 Future2Task(Handler handler, AccountManagerCallback<T> callback) argument 2029 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2224 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 2348 addOnAccountsUpdatedListener(final OnAccountsUpdateListener listener, Handler handler, boolean updateImmediately) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | ObjectAnimator.java | 790 AnimationHandler handler = sAnimationHandler.get(); 791 if (handler != null) { 792 int numAnims = handler.mAnimations.size(); 794 if (handler.mAnimations.get(i) instanceof ObjectAnimator) { 795 ObjectAnimator anim = (ObjectAnimator) handler.mAnimations.get(i); 801 numAnims = handler.mPendingAnimations.size(); 803 if (handler.mPendingAnimations.get(i) instanceof ObjectAnimator) { 804 ObjectAnimator anim = (ObjectAnimator) handler.mPendingAnimations.get(i); 810 numAnims = handler.mDelayedAnims.size(); 812 if (handler [all...] |
H A D | ValueAnimator.java | 36 * custom handler to ensure that property changes happen on the UI thread.</p> 620 * This custom, static handler handles the timing pulse that is shared by 626 * The handler uses the Choreographer for executing periodic callbacks. 708 // tells the handler whether it should now be ended 1057 AnimationHandler handler = getOrCreateAnimationHandler(); 1059 || handler.mPendingAnimations.contains(this) 1060 || handler.mDelayedAnims.contains(this)) { 1073 endAnimation(handler); 1079 AnimationHandler handler = getOrCreateAnimationHandler(); 1080 if (!handler 1156 endAnimation(AnimationHandler handler) argument 1190 startAnimation(AnimationHandler handler) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 311 /*package*/ ActivityManager(Context context, Handler handler) { argument 313 mHandler = handler;
|
H A D | ActivityOptions.java | 190 * @param handler If <var>listener</var> is non-null this must be a valid 200 int enterResId, int exitResId, Handler handler, OnAnimationStartedListener listener) { 206 opts.setOnAnimationStartedListener(handler, listener); 234 private void setOnAnimationStartedListener(Handler handler, argument 237 final Handler h = handler; 387 * @param handler If <var>listener</var> is non-null this must be a valid 398 Handler handler, OnAnimationStartedListener listener) { 400 targetWidth, targetHeight, handler, listener, true); 413 * @param handler If <var>listener</var> is non-null this must be a valid 424 Handler handler, OnAnimationStartedListene 199 makeCustomAnimation(Context context, int enterResId, int exitResId, Handler handler, OnAnimationStartedListener listener) argument 396 makeThumbnailAspectScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument 422 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument 429 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument [all...] |
H A D | FragmentManager.java | 1491 boolean popBackStackState(Handler handler, String name, int id, int flags) { argument
|
H A D | LoadedApk.java | 692 Context context, Handler handler, 704 rd = new ReceiverDispatcher(r, context, handler, 714 rd.validate(context, handler); 916 " registered with differing handler (was " + 963 Context context, Handler handler, int flags) { 971 sd = new ServiceDispatcher(c, context, handler, flags); 978 sd.validate(context, handler); 1091 " registered with differing handler (was " + 691 getReceiverDispatcher(BroadcastReceiver r, Context context, Handler handler, Instrumentation instrumentation, boolean registered) argument 962 getServiceDispatcher(ServiceConnection c, Context context, Handler handler, int flags) argument
|
H A D | NotificationManager.java | 101 /*package*/ NotificationManager(Context context, Handler handler) argument
|
H A D | PendingIntent.java | 201 FinishedDispatcher(PendingIntent pi, OnFinished who, Handler handler) { argument 204 mHandler = handler; 640 * @param handler Handler identifying the thread on which the callback 649 public void send(int code, OnFinished onFinished, Handler handler) argument 651 send(null, code, null, onFinished, handler, null); 672 * @param handler Handler identifying the thread on which the callback 686 OnFinished onFinished, Handler handler) throws CanceledException { 687 send(context, code, intent, onFinished, handler, null); 708 * @param handler Handler identifying the thread on which the callback 727 OnFinished onFinished, Handler handler, Strin 685 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument 726 send(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument [all...] |
H A D | SearchManager.java | 555 /*package*/ SearchManager(Context context, Handler handler) { argument 557 mHandler = handler;
|
H A D | WallpaperManager.java | 343 /*package*/ WallpaperManager(Context context, Handler handler) { argument
|
/frameworks/base/core/java/android/app/admin/ |
H A D | DevicePolicyManager.java | 85 private DevicePolicyManager(Context context, Handler handler) { argument 92 public static DevicePolicyManager create(Context context, Handler handler) { argument 93 DevicePolicyManager me = new DevicePolicyManager(context, handler); 2600 * Called by a profile owner or device owner to add a default intent handler activity for 2602 * handler even if the set of potential event handlers for the intent filter changes and if 2607 * intent handler for the filter. 2613 * @param filter The IntentFilter for which a default handler is added. 2614 * @param activity The Activity that is added as default intent handler. 2628 * Called by a profile owner or device owner to remove all persistent intent handler preferences
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 130 public AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) { argument 133 mOnClickHandler = handler;
|
H A D | AppWidgetHostView.java | 101 public AppWidgetHostView(Context context, OnClickHandler handler) { argument 103 mOnClickHandler = handler; 123 * Pass the given handler to RemoteViews when updating this widget. Unless this 126 * @param handler 129 public void setOnClickHandler(OnClickHandler handler) { argument 130 mOnClickHandler = handler;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothServerSocket.java | 149 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { argument 150 mHandler = handler;
|
/frameworks/base/core/java/android/bluetooth/le/ |
H A D | BluetoothLeScanner.java | 327 Handler handler = new Handler(Looper.getMainLooper()); 328 handler.post(new Runnable() { 339 Handler handler = new Handler(Looper.getMainLooper()); 340 handler.post(new Runnable() { 360 Handler handler = new Handler(Looper.getMainLooper()); 361 handler.post(new Runnable() {
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 50 public Handler handler; field in class:AsyncQueryHandler.WorkerArgs 111 Message reply = args.handler.obtainMessage(token); 172 args.handler = this; 214 args.handler = this; 240 args.handler = this; 268 args.handler = this;
|
H A D | ClipboardManager.java | 108 public ClipboardManager(Context context, Handler handler) { argument
|
H A D | IntentSender.java | 112 FinishedDispatcher(IntentSender pi, OnFinished who, Handler handler) { argument 115 mHandler = handler; 148 * @param handler Handler identifying the thread on which the callback 157 OnFinished onFinished, Handler handler) throws SendIntentException { 158 sendIntent(context, code, intent, onFinished, handler, null); 174 * @param handler Handler identifying the thread on which the callback 188 OnFinished onFinished, Handler handler, String requiredPermission) 196 ? new FinishedDispatcher(this, onFinished, handler) 156 sendIntent(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument 187 sendIntent(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument
|
/frameworks/base/core/java/android/content/pm/ |
H A D | LauncherApps.java | 293 * @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); 341 private void addCallbackLocked(Callback callback, Handler handler) { argument 344 if (handler == null) { 345 handler = new Handler(); 347 CallbackMessageHandler toAdd = new CallbackMessageHandler(handler.getLooper(), callback);
|