Lines Matching refs:token

268         IBinder token;
328 + " token=" + token + " " + (componentName == null
352 IBinder token;
354 return "NewIntentData{intents=" + intents + " token=" + token + "}";
360 boolean ordered, boolean sticky, IBinder token, int sendingUser) {
362 token, sendingUser);
389 IBinder token;
394 return "CreateServiceData{token=" + token + " className="
401 IBinder token;
405 return "BindServiceData{token=" + token + " intent=" + intent + "}";
410 IBinder token;
416 return "ServiceArgsData{token=" + token + " startId=" + startId
512 IBinder token;
518 IBinder token;
521 return "ResultData{token=" + token + " results" + results + "}";
565 public final void schedulePauseActivity(IBinder token, boolean finished,
569 token,
574 public final void scheduleStopActivity(IBinder token, boolean showWindow,
578 token, 0, configChanges);
581 public final void scheduleWindowVisibility(IBinder token, boolean showWindow) {
584 token);
587 public final void scheduleSleeping(IBinder token, boolean sleeping) {
588 sendMessage(H.SLEEPING, token, sleeping ? 1 : 0);
591 public final void scheduleResumeActivity(IBinder token, int processState,
594 sendMessage(H.RESUME_ACTIVITY, token, isForward ? 1 : 0);
597 public final void scheduleSendResult(IBinder token, List<ResultInfo> results) {
599 res.token = token;
604 // we use token to identify this activity without having to send the
606 public final void scheduleLaunchActivity(Intent intent, IBinder token, int ident,
617 r.token = token;
639 public final void scheduleRelaunchActivity(IBinder token,
642 requestRelaunchActivity(token, pendingResults, pendingNewIntents,
646 public final void scheduleNewIntent(List<Intent> intents, IBinder token) {
649 data.token = token;
654 public final void scheduleDestroyActivity(IBinder token, boolean finishing,
656 sendMessage(H.DESTROY_ACTIVITY, token, finishing ? 1 : 0,
690 public final void scheduleCreateService(IBinder token,
694 s.token = token;
701 public final void scheduleBindService(IBinder token, Intent intent,
705 s.token = token;
710 Slog.v(TAG, "scheduleBindService token=" + token + " intent=" + intent + " uid="
715 public final void scheduleUnbindService(IBinder token, Intent intent) {
717 s.token = token;
723 public final void scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId,
726 s.token = token;
735 public final void scheduleStopService(IBinder token) {
736 sendMessage(H.STOP_SERVICE, token);
848 data.token = servicetoken;
871 public void scheduleActivityConfigurationChanged(IBinder token) {
872 sendMessage(H.ACTIVITY_CONFIGURATION_CHANGED, token);
911 data.token = activitytoken;
925 data.token = providertoken;
1102 public void scheduleTranslucentConversionComplete(IBinder token, boolean drawComplete) {
1103 sendMessage(H.TRANSLUCENT_CONVERSION_COMPLETE, token, drawComplete ? 1 : 0);
1106 public void scheduleOnNewActivityOptions(IBinder token, ActivityOptions options) {
1108 new Pair<IBinder, ActivityOptions>(token, options));
1147 public void scheduleCancelVisibleBehind(IBinder token) {
1148 sendMessage(H.CANCEL_VISIBLE_BEHIND, token);
1152 public void scheduleBackgroundVisibleBehindChanged(IBinder token, boolean visible) {
1153 sendMessage(H.BACKGROUND_VISIBLE_BEHIND_CHANGED, token, visible ? 1 : 0);
1156 public void scheduleEnterAnimationComplete(IBinder token) {
1157 sendMessage(H.ENTER_ANIMATION_COMPLETE, token);
1545 am.activityIdle(a.token, a.createdConfig, stopProfiling);
2099 Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state,
2102 r.token = token;
2120 + ", token=" + token);
2125 public final Activity getActivity(IBinder token) {
2126 return mActivities.get(token).activity;
2130 IBinder token, String id, int requestCode,
2136 mAppThread.scheduleSendResult(token, list);
2232 activity.attach(appContext, this, getInstrumentation(), r.token,
2291 mActivities.put(r.token, r);
2309 ContextImpl appContext = ContextImpl.createActivityContext(this, r.packageInfo, r.token);
2316 ActivityManagerNative.getDefault().getEnclosingActivityContainer(r.token);
2320 Display display = dm.getRealDisplay(displayId, r.token);
2334 Display display = dm.getRealDisplay(displayId, r.token);
2365 handleResumeActivity(r.token, false, r.isForward,
2415 .finishActivity(r.token, Activity.RESULT_CANCELED, null, false);
2434 public final void performNewIntents(IBinder token,
2436 ActivityClientRecord r = mActivities.get(token);
2452 performNewIntents(data.token, data.intents);
2472 public void handleTranslucentConversionComplete(IBinder token, boolean drawComplete) {
2473 ActivityClientRecord r = mActivities.get(token);
2479 public void onNewActivityOptions(IBinder token, ActivityOptions options) {
2480 ActivityClientRecord r = mActivities.get(token);
2486 public void handleCancelVisibleBehind(IBinder token) {
2487 ActivityClientRecord r = mActivities.get(token);
2503 ActivityManagerNative.getDefault().backgroundResourcesReleased(token);
2508 public void handleOnBackgroundVisibleBehindChanged(IBinder token, boolean visible) {
2509 ActivityClientRecord r = mActivities.get(token);
2519 private void handleEnterAnimationComplete(IBinder token) {
2520 ActivityClientRecord r = mActivities.get(token);
2729 service.attach(context, this, data.info.name, data.token, app,
2732 mServices.put(data.token, service);
2735 data.token, 0, 0, 0);
2749 Service s = mServices.get(data.token);
2760 data.token, data.intent, binder);
2764 data.token, 0, 0, 0);
2780 Service s = mServices.get(data.token);
2789 data.token, data.intent, doRebind);
2792 data.token, 0, 0, 0);
2809 Service s = mServices.get(info.token);
2825 ActivityClientRecord r = mActivities.get(info.token);
2841 ProviderClientRecord r = mLocalProviders.get(info.token);
2855 Service s = mServices.get(data.token);
2874 data.token, 1, data.startId, res);
2889 private void handleStopService(IBinder token) {
2890 Service s = mServices.remove(token);
2905 token, 0, 0, 0);
2920 public final ActivityClientRecord performResumeActivity(IBinder token,
2922 ActivityClientRecord r = mActivities.get(token);
2974 final void handleResumeActivity(IBinder token,
2982 ActivityClientRecord r = performResumeActivity(token, clearHide);
3077 ActivityManagerNative.getDefault().activityResumed(token);
3087 .finishActivity(token, Activity.RESULT_CANCELED, null, false);
3149 private void handlePauseActivity(IBinder token, boolean finished,
3151 ActivityClientRecord r = mActivities.get(token);
3159 performPauseActivity(token, finished, r.isPreHoneycomb());
3169 ActivityManagerNative.getDefault().activityPaused(token);
3181 final Bundle performPauseActivity(IBinder token, boolean finished,
3183 ActivityClientRecord r = mActivities.get(token);
3246 final void performStopActivity(IBinder token, boolean saveState) {
3247 ActivityClientRecord r = mActivities.get(token);
3262 activity.token, state, persistentState, description);
3385 private void handleStopActivity(IBinder token, boolean show, int configChanges) {
3386 ActivityClientRecord r = mActivities.get(token);
3415 final void performRestartActivity(IBinder token) {
3416 ActivityClientRecord r = mActivities.get(token);
3423 private void handleWindowVisibility(IBinder token, boolean show) {
3424 ActivityClientRecord r = mActivities.get(token);
3427 Log.w(TAG, "handleWindowVisibility: no activity for token " + token);
3449 private void handleSleeping(IBinder token, boolean sleeping) {
3450 ActivityClientRecord r = mActivities.get(token);
3453 Log.w(TAG, "handleSleeping: no activity for token " + token);
3480 ActivityManagerNative.getDefault().activitySlept(r.token);
3549 ActivityClientRecord r = mActivities.get(res.token);
3590 public final ActivityClientRecord performDestroyActivity(IBinder token, boolean finishing) {
3591 return performDestroyActivity(token, finishing, 0, false);
3594 private ActivityClientRecord performDestroyActivity(IBinder token, boolean finishing,
3596 ActivityClientRecord r = mActivities.get(token);
3677 mActivities.remove(token);
3687 private void handleDestroyActivity(IBinder token, boolean finishing,
3689 ActivityClientRecord r = performDestroyActivity(token, finishing,
3723 WindowManagerGlobal.getInstance().closeAll(token,
3739 ActivityManagerNative.getDefault().activityDestroyed(token);
3747 public final void requestRelaunchActivity(IBinder token,
3756 if (r.token == token) {
3778 target.token = token;
3782 ActivityClientRecord existing = mActivities.get(token);
3817 IBinder token = tmp.token;
3821 if (r.token == token) {
3836 + tmp.token + " with configChanges=0x"
3860 + tmp.token + ": changedConfig=" + changedConfig);
3869 ActivityClientRecord r = mActivities.get(tmp.token);
3883 performPauseActivity(r.token, false, r.isPreHoneycomb());
3889 handleDestroyActivity(r.token, false, configChanges, true);
4098 final void handleActivityConfigurationChanged(IBinder token) {
4099 ActivityClientRecord r = mActivities.get(token);