/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 | 88 ALooper::handler_id ALooper::registerHandler(const sp<AHandler> &handler) { argument 89 return gLooperRoster.registerHandler(this, handler);
|
H A D | ALooperRoster.cpp | 37 const sp<ALooper> looper, const sp<AHandler> &handler) { 40 if (handler->id() != 0) { 41 CHECK(!"A handler must only be registered once."); 47 info.mHandler = handler; 51 handler->setID(handlerID, looper); 67 sp<AHandler> handler = info.mHandler.promote(); local 69 if (handler != NULL) { 70 handler->setID(0, NULL); 88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); 142 sp<AHandler> handler local 36 registerHandler( const sp<ALooper> looper, const sp<AHandler> &handler) argument [all...] |
H A D | AMessage.cpp | 57 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(); 375 sp<AHandler> handler = mHandler.promote(); local 376 if (handler == NULL) { 377 ALOGW("failed to deliver message as target handler [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
H A D | AccessibilityService.java | 617 * @param handler The handler on which to call back the {@code callback} object. If 624 @Nullable Handler handler) { 641 callback, handler); 664 if (callbackInfo.handler != null) { 665 callbackInfo.handler.post(new Runnable() { 739 * handler is {@code null}. 742 * @param handler the handler on which the callback should execute, or 746 @Nullable Handler handler) { 622 dispatchGesture(@onNull GestureDescription gesture, @Nullable GestureResultCallback callback, @Nullable Handler handler) argument 745 addListener(@onNull OnMagnificationChangedListener listener, @Nullable Handler handler) argument 1139 addOnShowModeChangedListener(@onNull OnShowModeChangedListener listener, @Nullable Handler handler) argument 1701 Handler handler; field in class:AccessibilityService.GestureResultCallbackInfo 1703 GestureResultCallbackInfo(GestureDescription gestureDescription, GestureResultCallback callback, Handler handler) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManager.java | 312 public AccountManager(Context context, IAccountManager service, Handler handler) { argument 315 mMainHandler = handler; 593 * @param handler the handler on which to invoke the callback, or null for the main thread 599 AccountManagerCallback<String> callback, Handler handler) { 602 return new Future2Task<String>(handler, callback) { 637 * @param handler {@link Handler} identifying the callback thread, 645 AccountManagerCallback<Boolean> callback, Handler handler) { 648 return new Future2Task<Boolean>(handler, callback) { 691 * @param handler { 597 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument 643 hasFeatures(final Account account, final String[] features, AccountManagerCallback<Boolean> callback, Handler handler) argument 698 getAccountsByTypeAndFeatures( final String type, final String[] features, AccountManagerCallback<Account[]> callback, Handler handler) argument 806 renameAccount( final Account account, @Size(min = 1) final String newName, AccountManagerCallback<Account> callback, Handler handler) argument 876 removeAccount(final Account account, AccountManagerCallback<Boolean> callback, Handler handler) argument 935 removeAccount(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 954 removeAccountAsUser(final Account account, AccountManagerCallback<Boolean> callback, Handler handler, final UserHandle userHandle) argument 978 removeAccountAsUser(final Account account, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1293 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1381 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1460 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1531 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1555 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 1608 copyAccountToUser( final Account account, final UserHandle fromUser, final UserHandle toUser, AccountManagerCallback<Boolean> callback, Handler handler) argument 1721 confirmCredentials(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1735 confirmCredentialsAsUser(final Account account, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler, UserHandle userHandle) argument 1799 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1855 editProperties(final String accountType, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 1896 postToHandler(Handler handler, final AccountManagerCallback<Bundle> callback, final AccountManagerFuture<Bundle> future) argument 1907 postToHandler(Handler handler, final OnAccountsUpdateListener listener, final Account[] accounts) argument 1933 AmsTask(Activity activity, Handler handler, AccountManagerCallback<Bundle> callback) argument 2066 BaseFutureTask(Handler handler) argument 2129 Future2Task(Handler handler, AccountManagerCallback<T> callback) argument 2225 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2430 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 2610 addOnAccountsUpdatedListener(final OnAccountsUpdateListener listener, Handler handler, boolean updateImmediately) argument 2728 startAddAccountSession( final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 2810 startUpdateCredentialsSession( final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2890 finishSession( final Bundle sessionBundle, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 2908 finishSessionAsUser( final Bundle sessionBundle, final Activity activity, final UserHandle userHandle, AccountManagerCallback<Bundle> callback, Handler handler) argument 2952 isCredentialsUpdateSuggested( final Account account, final String statusToken, AccountManagerCallback<Boolean> callback, Handler handler) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 454 /*package*/ ActivityManager(Context context, Handler handler) { argument 456 mHandler = handler;
|
H A D | ActivityOptions.java | 278 * @param handler If <var>listener</var> is non-null this must be a valid 288 int enterResId, int exitResId, Handler handler, OnAnimationStartedListener listener) { 294 opts.setOnAnimationStartedListener(handler, listener); 322 private void setOnAnimationStartedListener(final Handler handler, argument 328 handler.post(new Runnable() { 347 private void setOnAnimationFinishedListener(final Handler handler, argument 353 handler.post(new Runnable() { 527 * @param handler If <var>listener</var> is non-null this must be a valid 538 Handler handler, OnAnimationStartedListener listener) { 540 targetWidth, targetHeight, handler, listene 287 makeCustomAnimation(Context context, int enterResId, int exitResId, Handler handler, OnAnimationStartedListener listener) argument 536 makeThumbnailAspectScaleUpAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument 562 makeThumbnailAspectScaleDownAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener) argument 569 makeAspectScaledThumbnailAnimation(View source, Bitmap thumbnail, int startX, int startY, int targetWidth, int targetHeight, Handler handler, OnAnimationStartedListener listener, boolean scaleUp) argument 588 makeThumbnailAspectScaleDownAnimation(View source, AppTransitionAnimationSpec[] specs, Handler handler, OnAnimationStartedListener onAnimationStartedListener, OnAnimationFinishedListener onAnimationFinishedListener) argument [all...] |
H A D | ApplicationPackageManager.java | 1724 public void registerMoveCallback(MoveCallback callback, Handler handler) { argument 1727 handler.getLooper());
|
H A D | ContextImpl.java | 1436 Handler handler, UserHandle user) { 1437 if (handler == null) { 1438 throw new IllegalArgumentException("handler must not be null."); 1440 return bindServiceCommon(service, conn, flags, handler, user); 1444 handler, UserHandle user) { 1450 sd = mPackageInfo.getServiceDispatcher(conn, getOuterContext(), handler, flags); 1435 bindServiceAsUser(Intent service, ServiceConnection conn, int flags, Handler handler, UserHandle user) argument 1443 bindServiceCommon(Intent service, ServiceConnection conn, int flags, Handler handler, UserHandle user) argument
|
H A D | FragmentHostCallback.java | 56 public FragmentHostCallback(Context context, Handler handler, int windowAnimations) { argument 57 this(null /*activity*/, context, handler, windowAnimations); 64 FragmentHostCallback(Activity activity, Context context, Handler handler, argument 68 mHandler = handler;
|
H A D | FragmentManager.java | 1622 boolean popBackStackState(Handler handler, String name, int id, int flags) { argument
|
H A D | LoadedApk.java | 934 Context context, Handler handler, 946 rd = new ReceiverDispatcher(r, context, handler, 956 rd.validate(context, handler); 1172 " registered with differing handler (was " + 1223 Context context, Handler handler, int flags) { 1231 sd = new ServiceDispatcher(c, context, handler, flags); 1238 sd.validate(context, handler); 1350 " registered with differing handler (was " + 933 getReceiverDispatcher(BroadcastReceiver r, Context context, Handler handler, Instrumentation instrumentation, boolean registered) argument 1222 getServiceDispatcher(ServiceConnection c, Context context, Handler handler, int flags) argument
|
H A D | NotificationManager.java | 246 /*package*/ NotificationManager(Context context, Handler handler) argument
|
H A D | PendingIntent.java | 212 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; 691 * @param handler Handler identifying the thread on which the callback 700 public void send(int code, @Nullable OnFinished onFinished, @Nullable Handler handler) argument 702 send(null, code, null, onFinished, handler, null, null); 725 * @param handler Handler identifying the thread on which the callback 739 @Nullable OnFinished onFinished, @Nullable Handler handler) throws CanceledException { 740 send(context, code, intent, onFinished, handler, nul 738 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler) argument 781 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission) argument 828 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission, @Nullable Bundle options) argument [all...] |
H A D | SearchManager.java | 550 /*package*/ SearchManager(Context context, Handler handler) { argument 552 mHandler = handler;
|
H A D | WallpaperManager.java | 397 /*package*/ WallpaperManager(Context context, Handler handler) { argument
|
/frameworks/base/core/java/android/app/usage/ |
H A D | NetworkStatsManager.java | 309 null /* handler */); 324 * @param handler to dispatch callback events through, otherwise if {@code null} it uses 328 UsageCallback callback, @Nullable Handler handler) { 332 if (handler == null) { 335 looper = handler.getLooper(); 327 registerUsageCallback(int networkType, String subscriberId, long thresholdBytes, UsageCallback callback, @Nullable Handler handler) argument
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetHost.java | 71 public Callbacks(Handler handler) { argument 72 mWeakHandler = new WeakReference<>(handler); 79 Handler handler = mWeakHandler.get(); 80 if (handler == null) { 83 Message msg = handler.obtainMessage(HANDLE_UPDATE, appWidgetId, 0, views); 91 Handler handler = mWeakHandler.get(); 92 if (handler == null) { 95 Message msg = handler.obtainMessage(HANDLE_PROVIDER_CHANGED, 101 Handler handler = mWeakHandler.get(); 102 if (handler 157 AppWidgetHost(Context context, int hostId, OnClickHandler handler, Looper looper) argument [all...] |
H A D | AppWidgetHostView.java | 107 public AppWidgetHostView(Context context, OnClickHandler handler) { argument 109 mOnClickHandler = handler; 129 * Pass the given handler to RemoteViews when updating this widget. Unless this 132 * @param handler 135 public void setOnClickHandler(OnClickHandler handler) { argument 136 mOnClickHandler = handler;
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothServerSocket.java | 177 /*package*/ synchronized void setCloseHandler(Handler handler, int message) { argument 178 mHandler = handler;
|
/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 | Context.java | 2602 Handler handler, UserHandle user) { 2601 bindServiceAsUser(Intent service, ServiceConnection conn, int flags, Handler handler, UserHandle user) argument
|
H A D | IntentSender.java | 108 FinishedDispatcher(IntentSender pi, OnFinished who, Handler handler) { argument 111 mHandler = handler; 144 * @param handler Handler identifying the thread on which the callback 153 OnFinished onFinished, Handler handler) throws SendIntentException { 154 sendIntent(context, code, intent, onFinished, handler, null); 170 * @param handler Handler identifying the thread on which the callback 184 OnFinished onFinished, Handler handler, String requiredPermission) 193 ? new FinishedDispatcher(this, onFinished, handler) 152 sendIntent(Context context, int code, Intent intent, OnFinished onFinished, Handler handler) argument 183 sendIntent(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument
|