/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 478 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 482 IPCThreadState::self()->restoreCallingIdentity(token); 574 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 597 IPCThreadState::self()->restoreCallingIdentity(token); 648 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 657 IPCThreadState::self()->restoreCallingIdentity(token); 672 int64_t token; local 675 token = IPCThreadState::self()->clearCallingIdentity(); 690 IPCThreadState::self()->restoreCallingIdentity(token); 713 int64_t token local [all...] |
H A D | CameraSourceTimeLapse.cpp | 113 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 152 IPCThreadState::self()->restoreCallingIdentity(token);
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 274 System.out.println(" " + Long.toHexString(s.token) + " : " + s.name); 332 long token = Long.parseLong(arg, 16); 339 doRestoreAll(token, filter); 374 private void doRestoreAll(long token, HashSet<String> filter) { argument 391 if (s.token == token) { 394 didRestore = (mRestore.restoreAll(token, observer) == 0); 398 didRestore = (mRestore.restoreSome(token, observer, names) == 0); 409 System.out.println("No matching restore set token. Available sets:"); 468 System.err.println("The 'list sets' command reports the token an [all...] |
/frameworks/base/cmds/servicemanager/ |
H A D | bctest.c | 56 unsigned token; variable 92 svcmgr_publish(bs, svcmgr, argv[1], &token);
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 3401 * @hide Implement to provide correct calling token. 3408 * @hide Implement to provide correct calling token. 4142 if (false) Log.v(TAG, "Finishing self: token=" + mToken); 5045 final void attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, argument 5049 attach(context, aThread, instr, token, 0, application, intent, info, title, parent, id, 5054 Instrumentation instr, IBinder token, int ident, 5076 mToken = token; 5053 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument
|
H A D | ActivityManagerNative.java | 252 IBinder token = data.readStrongBinder(); 258 boolean res = finishActivity(token, resultCode, resultData); 266 IBinder token = data.readStrongBinder(); 269 finishSubActivity(token, resultWho, requestCode); 276 IBinder token = data.readStrongBinder(); 277 boolean res = finishActivityAffinity(token); 285 IBinder token = data.readStrongBinder(); 286 boolean res = willActivityBeVisible(token); 394 IBinder token = data.readStrongBinder(); 400 if (token ! 2030 finishActivity(IBinder token, int resultCode, Intent resultData) argument 2050 finishSubActivity(IBinder token, String resultWho, int requestCode) argument 2063 finishActivityAffinity(IBinder token) argument 2075 willActivityBeVisible(IBinder token) argument 2189 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument 2208 activityResumed(IBinder token) argument 2219 activityPaused(IBinder token) argument 2230 activityStopped(IBinder token, Bundle state, Bitmap thumbnail, CharSequence description) argument 2250 activitySlept(IBinder token) argument 2261 activityDestroyed(IBinder token) argument 2272 getCallingPackage(IBinder token) argument 2285 getCallingActivity(IBinder token) argument 2462 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument 2487 getTaskForActivity(IBinder token, boolean onlyRoot) argument 2501 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument 2540 getContentProviderExternal(String name, int userId, IBinder token) argument 2610 removeContentProviderExternal(String name, IBinder token) argument 2671 stopServiceToken(ComponentName className, IBinder token, int startId) argument 2686 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument 2706 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 2740 publishService(IBinder token, Intent intent, IBinder service) argument 2754 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument 2768 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument 2899 setRequestedOrientation(IBinder token, int requestedOrientation) argument 2911 getRequestedOrientation(IBinder token) argument 2923 getActivityClassForToken(IBinder token) argument 2936 getPackageForToken(IBinder token) argument 2949 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 3060 setProcessForeground(IBinder token, int pid, boolean isForeground) argument 3544 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument 3581 setImmersive(IBinder token, boolean immersive) argument 3594 isImmersive(IBinder token) argument 4027 targetTaskAffinityMatchesActivity(IBinder token, String destAffinity) argument 4042 navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) argument [all...] |
H A D | ActivityThread.java | 265 IBinder token; field in class:ActivityThread.ActivityClientRecord 321 + " token=" + token + " " + (componentName == null 345 IBinder token; field in class:ActivityThread.NewIntentData 347 return "NewIntentData{intents=" + intents + " token=" + token + "}"; 353 boolean ordered, boolean sticky, IBinder token, int sendingUser) { 355 token, sendingUser); 382 IBinder token; field in class:ActivityThread.CreateServiceData 387 return "CreateServiceData{token 352 ReceiverData(Intent intent, int resultCode, String resultData, Bundle resultExtras, boolean ordered, boolean sticky, IBinder token, int sendingUser) argument 394 IBinder token; field in class:ActivityThread.BindServiceData 403 IBinder token; field in class:ActivityThread.ServiceArgsData 502 IBinder token; field in class:ActivityThread.DumpComponentInfo 508 IBinder token; field in class:ActivityThread.ResultData 556 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges) argument 565 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 572 scheduleWindowVisibility(IBinder token, boolean showWindow) argument 578 scheduleSleeping(IBinder token, boolean sleeping) argument 582 scheduleResumeActivity(IBinder token, boolean isForward) argument 586 scheduleSendResult(IBinder token, List<ResultInfo> results) argument 595 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument 624 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument 631 scheduleNewIntent(List<Intent> intents, IBinder token) argument 639 scheduleDestroyActivity(IBinder token, boolean finishing, int configChanges) argument 674 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo) argument 684 scheduleBindService(IBinder token, Intent intent, boolean rebind) argument 697 scheduleUnbindService(IBinder token, Intent intent) argument 705 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags ,Intent args) argument 717 scheduleStopService(IBinder token) argument 764 requestThumbnail(IBinder token) argument 817 scheduleActivityConfigurationChanged(IBinder token) argument 1999 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument 2026 getActivity(IBinder token) argument 2030 sendActivityResult( IBinder token, String id, int requestCode, int resultCode, Intent data) argument 2303 performNewIntents(IBinder token, List<Intent> intents) argument 2681 handleStopService(IBinder token) argument 2712 performResumeActivity(IBinder token, boolean clearHide) argument 2765 handleResumeActivity(IBinder token, boolean clearHide, boolean isForward, boolean reallyResume) argument 2939 handlePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges) argument 2968 performPauseActivity(IBinder token, boolean finished, boolean saveState) argument 3037 performStopActivity(IBinder token, boolean saveState) argument 3183 handleStopActivity(IBinder token, boolean show, int configChanges) argument 3211 performRestartActivity(IBinder token) argument 3219 handleWindowVisibility(IBinder token, boolean show) argument 3244 handleSleeping(IBinder token, boolean sleeping) argument 3370 performDestroyActivity(IBinder token, boolean finishing) argument 3374 performDestroyActivity(IBinder token, boolean finishing, int configChanges, boolean getNonConfigInstance) argument 3467 handleDestroyActivity(IBinder token, boolean finishing, int configChanges, boolean getNonConfigInstance) argument 3526 requestRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, boolean fromServer) argument 3695 handleRequestThumbnail(IBinder token) argument 3989 handleActivityConfigurationChanged(IBinder token) argument [all...] |
H A D | ApplicationThreadNative.java | 204 IBinder token = data.readStrongBinder(); 207 scheduleCreateService(token, info, compatInfo); 213 IBinder token = data.readStrongBinder(); 216 scheduleBindService(token, intent, rebind); 222 IBinder token = data.readStrongBinder(); 224 scheduleUnbindService(token, intent); 231 IBinder token = data.readStrongBinder(); 241 scheduleServiceArgs(token, taskRemoved, startId, fl, args); 248 IBinder token = data.readStrongBinder(); 249 scheduleStopService(token); 612 schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, int configChanges) argument 625 scheduleStopActivity(IBinder token, boolean showWindow, int configChanges) argument 637 scheduleWindowVisibility(IBinder token, boolean showWindow) argument 648 scheduleSleeping(IBinder token, boolean sleeping) argument 659 scheduleResumeActivity(IBinder token, boolean isForward) argument 670 scheduleSendResult(IBinder token, List<ResultInfo> results) argument 681 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument 713 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument 735 scheduleNewIntent(List<Intent> intents, IBinder token) argument 746 scheduleDestroyActivity(IBinder token, boolean finishing, int configChanges) argument 799 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo) argument 811 scheduleBindService(IBinder token, Intent intent, boolean rebind) argument 823 scheduleUnbindService(IBinder token, Intent intent) argument 834 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags, Intent args) argument 853 scheduleStopService(IBinder token) argument 920 requestThumbnail(IBinder token) argument 974 dumpService(FileDescriptor fd, IBinder token, String[] args) argument 985 dumpProvider(FileDescriptor fd, IBinder token, String[] args) argument 1022 scheduleActivityConfigurationChanged( IBinder token) argument 1108 dumpActivity(FileDescriptor fd, IBinder token, String prefix, String[] args) argument [all...] |
H A D | IActivityManager.java | 76 public boolean finishActivity(IBinder token, int code, Intent data) argument 78 public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteException; argument 79 public boolean finishActivityAffinity(IBinder token) throws RemoteException; argument 80 public boolean willActivityBeVisible(IBinder token) throws RemoteException; argument 92 public void activityResumed(IBinder token) throws RemoteException; argument 93 public void activityIdle(IBinder token, Configuration config, argument 95 public void activityPaused(IBinder token) throws RemoteException; argument 96 public void activityStopped(IBinder token, Bundle state, argument 98 public void activitySlept(IBinder token) throws RemoteException; argument 99 public void activityDestroyed(IBinder token) throw argument 100 getCallingPackage(IBinder token) argument 101 getCallingActivity(IBinder token) argument 113 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument 115 getTaskForActivity(IBinder token, boolean onlyRoot) argument 117 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument 121 getContentProviderExternal(String name, int userId, IBinder token) argument 124 removeContentProviderExternal(String name, IBinder token) argument 136 stopServiceToken(ComponentName className, IBinder token, int startId) argument 138 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean keepNotification) argument 140 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 144 publishService(IBinder token, Intent intent, IBinder service) argument 146 unbindFinished(IBinder token, Intent service, boolean doRebind) argument 149 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument 168 setRequestedOrientation(IBinder token, int requestedOrientation) argument 170 getRequestedOrientation(IBinder token) argument 172 getActivityClassForToken(IBinder token) argument 173 getPackageForToken(IBinder token) argument 175 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 191 setProcessForeground(IBinder token, int pid, boolean isForeground) argument 284 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument 291 setImmersive(IBinder token, boolean immersive) argument 292 isImmersive(IBinder token) argument 352 targetTaskAffinityMatchesActivity(IBinder token, String destAffinity) argument 355 navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) argument [all...] |
H A D | IApplicationThread.java | 47 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, argument 49 void scheduleStopActivity(IBinder token, boolean showWindow, argument 51 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; argument 52 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; argument 53 void scheduleResumeActivity(IBinder token, boolean isForward) throws RemoteException; argument 54 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument 55 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, argument 61 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, argument 64 void scheduleNewIntent(List<Intent> intent, IBinder token) throws RemoteException; argument 65 void scheduleDestroyActivity(IBinder token, boolea argument 78 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo) argument 80 scheduleBindService(IBinder token, Intent intent, boolean rebind) argument 82 scheduleUnbindService(IBinder token, Intent intent) argument 84 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags, Intent args) argument 86 scheduleStopService(IBinder token) argument 98 requestThumbnail(IBinder token) argument 112 scheduleActivityConfigurationChanged(IBinder token) argument [all...] |
H A D | Instrumentation.java | 1010 * @param token The token for this activity to communicate with 1025 IBinder token, Application application, Intent intent, ActivityInfo info, 1031 activity.attach(context, aThread, this, token, application, intent, 1368 * @param token Internal token identifying to the system who is starting 1391 Context who, IBinder contextThread, IBinder token, Activity target, 1415 token, target != null ? target.mEmbeddedID : null, 1432 IBinder token, Activity target, Intent[] intents, Bundle options) { 1433 execStartActivitiesAsUser(who, contextThread, token, targe 1024 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument 1390 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options) argument 1431 execStartActivities(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options) argument 1445 execStartActivitiesAsUser(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options, int userId) argument 1505 execStartActivity( Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options) argument 1565 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument [all...] |
H A D | Service.java | 412 * unique integer token representing the start request. Do not call this method directly. 690 ActivityThread thread, String className, IBinder token, 695 mToken = token; 688 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupAgent.java | 482 int token, IBackupManager callbackBinder) throws RemoteException { 500 callbackBinder.opComplete(token); 510 int token, IBackupManager callbackBinder) throws RemoteException { 527 callbackBinder.opComplete(token); 536 int token, IBackupManager callbackBinder) { 563 callbackBinder.opComplete(token); 573 int token, IBackupManager callbackBinder) throws RemoteException { 582 callbackBinder.opComplete(token); 479 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 508 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 535 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument 571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
|
H A D | RestoreSession.java | 69 * @param token The token from {@link #getAvailableRestoreSets()} corresponding to 74 public int restoreAll(long token, RestoreObserver observer) { argument 82 err = mBinder.restoreAll(token, mObserver); 98 * @param token The token from {@link getAvailableRestoreSets()} corresponding to 103 * the contents of the actual back-end dataset named by {@code token}, only 108 public int restoreSome(long token, RestoreObserver observer, String[] packages) { argument 116 err = mBinder.restoreSome(token, mObserver, packages);
|
H A D | RestoreSet.java | 46 public long token; field in class:RestoreSet 56 token = _token; 68 out.writeLong(token); 85 token = in.readLong();
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 72 int token = msg.what; 109 // passing the original token value back to the caller 111 Message reply = args.handler.obtainMessage(token); 146 * @param token A token passed into {@link #onQueryComplete} to identify 164 public void startQuery(int token, Object cookie, Uri uri, argument 167 // Use the token as what so cancelOperations works properly 168 Message msg = mWorkerThreadHandler.obtainMessage(token); 190 * @param token The token representin 193 cancelOperation(int token) argument 207 startInsert(int token, Object cookie, Uri uri, ContentValues initialValues) argument 233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument 261 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument 286 onQueryComplete(int token, Object cookie, Cursor cursor) argument 299 onInsertComplete(int token, Object cookie, Uri uri) argument 312 onUpdateComplete(int token, Object cookie, int result) argument 325 onDeleteComplete(int token, Object cookie, int result) argument [all...] |
H A D | BroadcastReceiver.java | 250 int type, boolean ordered, boolean sticky, IBinder token, int userId) { 257 mToken = token; 249 PendingResult(int resultCode, String resultData, Bundle resultExtras, int type, boolean ordered, boolean sticky, IBinder token, int userId) argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 165 public void updateExtractedText(int token, ExtractedText text) { argument 167 DO_UPDATE_EXTRACTED_TEXT, token, text));
|
H A D | IInputMethodWrapper.java | 226 public void attachToken(IBinder token) { argument 227 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_ATTACH_TOKEN, token));
|
H A D | InputMethodService.java | 351 * Take care of attaching the given window token provided by the system. 353 public void attachToken(IBinder token) { argument 355 mToken = token; 356 mWindow.setToken(token); 473 public void updateExtractedText(int token, ExtractedText text) { argument 477 onUpdateExtractedText(token, text); 1627 public void onUpdateExtractedText(int token, ExtractedText text) { argument 1628 if (mExtractedToken != token) { 2248 req.token = mExtractedToken;
|
H A D | SoftInputWindow.java | 38 public void setToken(IBinder token) { argument 40 lp.token = token;
|
/frameworks/base/core/java/android/net/http/ |
H A D | HttpAuthHeader.java | 340 String token = parameter.substring(0, i).trim(); 346 " token: " + token + 350 if (token.equalsIgnoreCase(REALM_TOKEN)) { 354 parseParameter(token, value); 362 * If the token is a known parameter name, parses and initializes 363 * the token value. 365 private void parseParameter(String token, String value) { argument 366 if (token != null && value != null) { 367 if (token [all...] |
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 39 * token that can be shared across processes. 95 * @return Returns an opaque token that can be used to restore the 110 * @param token The opaque token that was previously returned by 115 public static final native void restoreCallingIdentity(long token); argument
|
H A D | Handler.java | 367 public final boolean postAtTime(Runnable r, Object token, long uptimeMillis) argument 369 return sendMessageAtTime(getPostMessage(r, token), uptimeMillis); 476 * <var>token</var> that are in the message queue. If <var>token</var> is null, 479 public final void removeCallbacks(Runnable r, Object token) argument 481 mQueue.removeMessages(this, r, token); 640 * <var>obj</var> is <var>token</var>. If <var>token</var> is null, 643 public final void removeCallbacksAndMessages(Object token) { argument 644 mQueue.removeCallbacksAndMessages(this, token); 717 getPostMessage(Runnable r, Object token) argument [all...] |
H A D | Looper.java | 119 // and keep track of what that identity token actually is. 210 * the token that identifies the synchronization barrier. 218 * the same token to ensure that the message queue resumes normal operation. 221 * @return A token that uniquely identifies the barrier. This token must be 234 * @param token The synchronization barrier token that was returned by 241 public final void removeSyncBarrier(int token) { argument 242 mQueue.removeSyncBarrier(token);
|