Searched refs:token (Results 101 - 125 of 290) sorted by last modified time

1234567891011>>

/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java647 final long token = Binder.clearCallingIdentity();
652 Binder.restoreCallingIdentity(token);
717 final long token = Binder.clearCallingIdentity();
721 Binder.restoreCallingIdentity(token);
730 final long token = Binder.clearCallingIdentity();
734 Binder.restoreCallingIdentity(token);
1309 final long token = Binder.clearCallingIdentity();
1316 Binder.restoreCallingIdentity(token);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java82 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DMediaSessions.java106 public void setVolume(Token token, int level) { argument
107 final MediaControllerRecord r = mRecords.get(token);
109 Log.w(TAG, "setVolume: No record found for token " + token);
120 final Token token = controller.getSessionToken();
121 mCallbacks.onRemoteVolumeChanged(token, flags);
137 final Token token = controller.getSessionToken();
139 toRemove.remove(token);
140 if (!mRecords.containsKey(token)) {
143 mRecords.put(token,
198 updateRemoteH(Token token, String name, PlaybackInfo pi) argument
373 onRemoteUpdate(Token token, String name, PlaybackInfo pi) argument
375 onRemoteVolumeChanged(Token token, int flags) argument
[all...]
H A DVolumeDialogController.java842 public void onRemoteUpdate(Token token, String name, PlaybackInfo pi) { argument
843 if (!mRemoteStreams.containsKey(token)) {
844 mRemoteStreams.put(token, mNextStream);
848 final int stream = mRemoteStreams.get(token);
870 public void onRemoteVolumeChanged(Token token, int flags) { argument
871 final int stream = mRemoteStreams.get(token);
886 public void onRemoteRemoved(Token token) { argument
887 final int stream = mRemoteStreams.get(token);
898 Log.w(TAG, "setStreamVolume: No token found for stream: " + stream);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java551 + " with windowId: " + windowId + " and token: " + windowToken.asBinder());
563 + " and token: " + windowToken.asBinder());
578 IBinder token = window.asBinder();
580 token, mGlobalWindowTokens, mGlobalInteractionConnections);
584 + " with windowId: " + removedWindowId + " and token: " + window.asBinder());
593 token, userState.mWindowTokens, userState.mInteractionConnections);
598 + mUserStates.keyAt(i) + " and token: " + window.asBinder());
735 IBinder token = mGlobalWindowTokens.get(windowId);
736 if (token != null) {
737 return token;
1880 findWindowIdLocked(IBinder token) argument
[all...]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java1443 long token = Binder.clearCallingIdentity();
1447 Binder.restoreCallingIdentity(token);
1497 final long token = Binder.clearCallingIdentity();
1503 Binder.restoreCallingIdentity(token);
1935 long token = Binder.clearCallingIdentity();
1940 Binder.restoreCallingIdentity(token);
2998 final long token = Binder.clearCallingIdentity();
3004 Binder.restoreCallingIdentity(token);
3009 final long token = Binder.clearCallingIdentity();
3013 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java398 public long token; field in class:BackupManagerService.RestoreParams
400 public int pmToken; // in post-install restore, the PM's token for this transaction
412 token = _token;
420 * Restore at install: PM token needed, kill after restore
427 token = _token;
443 token = _token;
459 token = _token;
531 // token is the index of the entry in the pending-operations list.
620 // Utility: build a new random integer token
622 int token;
2339 prepareOperationTimeout(int token, long interval, BackupRestoreTask callback) argument
2351 waitUntilOperationComplete(int token) argument
2383 handleTimeout(int token, Object obj) argument
3186 restoreObbFile(String pkgName, ParcelFileDescriptor data, long fileSize, int type, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
3304 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest, byte[] widgetData) argument
4694 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
5875 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
8771 startConfirmationUi(int token, String action) argument
8785 startConfirmationTimeout(int token, FullParams params) argument
8812 acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, String encPpassword, IFullBackupRestoreObserver observer) argument
9121 restoreAtInstall(String packageName, int token) argument
9246 opComplete(int token, long result) argument
9331 restoreAll(long token, IRestoreObserver observer) argument
9392 restoreSome(long token, IRestoreObserver observer, String[] packages) argument
[all...]
H A DTrampoline.java166 public void restoreAtInstall(String packageName, int token) throws RemoteException { argument
169 svc.restoreAtInstall(packageName, token);
252 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, argument
257 svc.acknowledgeFullBackupOrRestore(token, allow,
312 public void opComplete(int token, long result) throws RemoteException { argument
315 svc.opComplete(token, result);
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java993 public int startOperation(IBinder token, int code, int uid, String packageName) { argument
996 ClientState client = (ClientState)token;
1043 public void finishOperation(IBinder token, int code, int uid, String packageName) { argument
1046 ClientState client = (ClientState)token;
1574 long token = Binder.clearCallingIdentity();
1582 Binder.restoreCallingIdentity(token);
1586 long token = Binder.clearCallingIdentity();
1591 Binder.restoreCallingIdentity(token);
H A DBluetoothManagerService.java491 public int updateBleAppCount(IBinder token, boolean enable) { argument
493 ClientDeathRecipient r = mBleApps.get(token);
497 token.linkToDeath(deathRec, 0);
501 mBleApps.put(token, deathRec);
509 ClientDeathRecipient r = mBleApps.get(token);
512 token.unlinkToDeath(r, 0);
513 mBleApps.remove(token);
H A DConnectivityService.java1237 final long token = Binder.clearCallingIdentity();
1248 Binder.restoreCallingIdentity(token);
1256 final long token = Binder.clearCallingIdentity();
1260 Binder.restoreCallingIdentity(token);
1336 final long token = Binder.clearCallingIdentity();
1348 Binder.restoreCallingIdentity(token);
2831 final long token = Binder.clearCallingIdentity();
2839 Binder.restoreCallingIdentity(token);
H A DDeviceIdleController.java770 final long token = Binder.clearCallingIdentity();
775 Binder.restoreCallingIdentity(token);
1690 long token = Binder.clearCallingIdentity();
1696 Binder.restoreCallingIdentity(token);
1702 long token = Binder.clearCallingIdentity();
1723 Binder.restoreCallingIdentity(token);
1729 long token = Binder.clearCallingIdentity();
1737 Binder.restoreCallingIdentity(token);
1743 long token = Binder.clearCallingIdentity();
1752 Binder.restoreCallingIdentity(token);
[all...]
H A DDropBoxManagerService.java269 final long token = Binder.clearCallingIdentity();
274 Binder.restoreCallingIdentity(token);
H A DGraphicsStatsService.java89 public ParcelFileDescriptor requestBufferForProcess(String packageName, IBinder token) argument
100 pfd = requestBufferForProcessLocked(token, uid, pid, packageName);
116 private ParcelFileDescriptor requestBufferForProcessLocked(IBinder token, argument
118 ActiveBuffer buffer = fetchActiveBuffersLocked(token, uid, pid, packageName);
142 private ActiveBuffer fetchActiveBuffersLocked(IBinder token, int uid, int pid, argument
154 ActiveBuffer buffers = new ActiveBuffer(token, uid, pid, packageName);
215 ActiveBuffer(IBinder token, int uid, int pid, String packageName) argument
220 mToken = token;
H A DInputMethodManagerService.java317 * The last window token that gained focus.
387 * The token we have made for the currently active input method, to
1140 // by a token.
1157 * Returns true iff the caller is identified to be the current input method with the token.
1158 * @param token The window token given to the input method when it was started.
1159 * @return true if and only if non-null valid token is specified.
1161 private boolean calledWithValidToken(IBinder token) { argument
1162 if (token == null || mCurToken != token) {
1650 updateStatusIcon(IBinder token, String packageName, int iconId) argument
1753 setImeWindowStatus(IBinder token, int vis, int backDisposition) argument
1768 updateSystemUi(IBinder token, int vis, int backDisposition) argument
1775 updateSystemUiLocked(IBinder token, int vis, int backDisposition) argument
2358 setInputMethod(IBinder token, String id) argument
2366 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
2398 switchToLastInputMethod(IBinder token) argument
2470 switchToNextInputMethod(IBinder token, boolean onlyCurrentIme) argument
2493 shouldOfferSwitchingToNextInputMethod(IBinder token) argument
2603 setInputMethodWithSubtypeId(IBinder token, String id, int subtypeId) argument
2609 setInputMethodWithSubtypeIdLocked(IBinder token, String id, int subtypeId) argument
2633 hideMySoftInput(IBinder token, int flags) argument
2654 showMySoftInput(IBinder token, int flags) argument
[all...]
H A DLockSettingsService.java619 // Fall through to get the auth token. Technically this should never happen,
630 byte[] token = null;
637 token = gateKeeperResponse.getPayload();
638 if (token == null) {
644 response = new VerifyCredentialResponse(token);
H A DMmsServiceBroker.java506 long token = Binder.clearCallingIdentity();
520 Binder.restoreCallingIdentity(token);
H A DMountService.java460 IObbActionListener token, int nonce) {
469 this.token = token;
481 final IObbActionListener token; field in class:MountService.ObbState
483 // Identifier to pass back to the token
487 return token.asBinder();
512 sb.append(",token=").append(token);
758 final long token = Binder.clearCallingIdentity();
771 Binder.restoreCallingIdentity(token);
459 ObbState(String rawPath, String canonicalPath, int callingUid, IObbActionListener token, int nonce) argument
2301 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
2317 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
[all...]
H A DNetworkScoreService.java231 long token = Binder.clearCallingIdentity();
246 Binder.restoreCallingIdentity(token);
H A DUpdateLockService.java88 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument
90 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag));
94 mLocks.acquire(token, makeTag(tag));
98 public void releaseUpdateLock(IBinder token) throws RemoteException { argument
100 Slog.d(TAG, "release(" + token + ')');
104 mLocks.release(token);
H A DVibratorService.java104 Vibration(IBinder token, long millis, int usageHint, int uid, String opPkg) { argument
105 this(token, millis, null, 0, usageHint, uid, opPkg);
108 Vibration(IBinder token, long[] pattern, int repeat, int usageHint, int uid, argument
110 this(token, 0, pattern, repeat, usageHint, uid, opPkg);
113 private Vibration(IBinder token, long millis, long[] pattern, argument
115 mToken = token;
279 IBinder token) {
299 Vibration vib = new Vibration(token, milliseconds, usageHint, uid, opPkg);
304 removeVibrationLocked(token);
327 int usageHint, IBinder token) {
278 vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token) argument
326 vibratePattern(int uid, String packageName, long[] pattern, int repeat, int usageHint, IBinder token) argument
388 cancelVibrate(IBinder token) argument
494 removeVibrationLocked(IBinder token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java1162 * Extract the data and token caches before removing the
1440 // Also wipe out cached token in memory.
1484 String token,
1494 account, token, tokenType, callerPkg, callerSigDigest, expiryMillis);
1912 String token = readCachedTokenInternal(
1918 if (token != null) {
1920 Log.v(TAG, "getAuthToken: cache hit ofr custom token authenticator.");
1923 result.putString(AccountManager.KEY_AUTHTOKEN, token);
1478 saveCachedToken( UserAccounts accounts, Account account, String callerPkg, byte[] callerSigDigest, String tokenType, String token, long expiryMillis) argument
H A DTokenCache.java39 public final String token; field in class:TokenCache.Value
42 public Value(String token, long expiryEpochMillis) { argument
43 this.token = token;
104 * Map associated tokens with an Evictor that will manage evicting the token from the
105 * cache. This reverse lookup is needed because very little information is given at token
117 return v.token.length();
122 // When a token has been removed, clean up the associated Evictor.
128 Evictor evictor = mTokenEvictors.remove(oldVal.token);
136 // Prepare for removal by token strin
156 evict(String accountType, String token) argument
188 put( Account account, String token, String tokenType, String packageName, byte[] sigDigest, long expiryMillis) argument
208 remove(String accountType, String token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActiveServices.java536 boolean stopServiceTokenLocked(ComponentName className, IBinder token, argument
539 + " " + token + " startId=" + startId);
540 ServiceRecord r = findServiceLocked(className, token, UserHandle.getCallingUserId());
585 public void setServiceForegroundLocked(ComponentName className, IBinder token, argument
590 ServiceRecord r = findServiceLocked(className, token, userId);
697 int bindServiceLocked(IApplicationThread caller, IBinder token, Intent service, argument
712 if (token != null) {
713 activity = ActivityRecord.isInStackLocked(token);
715 Slog.w(TAG, "Binding with unknown activity: " + token);
996 IBinder token, in
995 findServiceLocked(ComponentName name, IBinder token, int userId) argument
[all...]
H A DActivityManagerService.java616 IBinder token; field in class:ActivityManagerService.ForegroundToken
941 public final IBinder token; field in class:ActivityManagerService.Identity
946 token = _token;
2741 public void notifyActivityDrawn(IBinder token) { argument
2742 if (DEBUG_VISIBILITY) Slog.d(TAG_VISIBILITY, "notifyActivityDrawn: token=" + token);
2744 ActivityRecord r = mStackSupervisor.isInAnyStackLocked(token);
3889 throw new SecurityException("Called with bad activity token: " + resultTo);
4230 public void reportActivityFullyDrawn(IBinder token) { argument
4232 ActivityRecord r = ActivityRecord.isInStackLocked(token);
4241 setRequestedOrientation(IBinder token, int requestedOrientation) argument
4266 getRequestedOrientation(IBinder token) argument
4288 finishActivity(IBinder token, int resultCode, Intent resultData, boolean finishTask) argument
4448 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
4461 finishActivityAffinity(IBinder token) argument
4499 releaseActivityInstance(IBinder token) argument
4528 willActivityBeVisible(IBinder token) argument
4539 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
6256 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
6486 activityResumed(IBinder token) argument
6498 activityPaused(IBinder token) argument
6510 activityStopped(IBinder token, Bundle icicle, PersistableBundle persistentState, CharSequence description) argument
6534 activityDestroyed(IBinder token) argument
6545 backgroundResourcesReleased(IBinder token) argument
6560 notifyLaunchTaskBehindComplete(IBinder token) argument
6565 notifyEnterAnimationComplete(IBinder token) argument
6570 getCallingPackage(IBinder token) argument
6578 getCallingActivity(IBinder token) argument
6585 getCallingRecordLocked(IBinder token) argument
6594 getActivityClassForToken(IBinder token) argument
6605 getPackageForToken(IBinder token) argument
6616 isRootVoiceInteraction(IBinder token) argument
6627 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
6698 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options) argument
6929 foregroundTokenDied(ForegroundToken token) argument
6950 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
7911 grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, Uri uri, final int modeFlags, int sourceUserId, int targetUserId) argument
7944 revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode, int userId) argument
8606 setTaskDescription(IBinder token, ActivityManager.TaskDescription td) argument
8863 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
9036 getTaskForActivity(IBinder token, boolean onlyRoot) argument
9121 startLockTaskMode(IBinder token) argument
9212 showLockTaskEscapeMessage(IBinder token) argument
9468 getContentProviderImpl(IApplicationThread caller, String name, IBinder token, boolean stable, int userId) argument
9823 getContentProviderExternal( String name, int userId, IBinder token) argument
9832 getContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
9866 removeContentProviderExternal(String name, IBinder token) argument
9878 removeContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
10439 activitySlept(IBinder token) argument
10820 showAssistFromActivity(IBinder token, Bundle args) argument
10920 reportAssistContextExtras(IBinder token, Bundle extras, AssistStructure structure, AssistContent content, Uri referrer) argument
11019 convertFromTranslucent(IBinder token) argument
11041 convertToTranslucent(IBinder token, ActivityOptions options) argument
11068 requestVisibleBehind(IBinder token, boolean visible) argument
11084 isBackgroundVisibleBehind(IBinder token) argument
11100 getActivityOptions(IBinder token) argument
11118 setImmersive(IBinder token, boolean immersive) argument
11135 isImmersive(IBinder token) argument
11154 isTopOfTask(IBinder token) argument
15809 stopServiceToken(ComponentName className, IBinder token, int startId) argument
15817 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
15973 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, String callingPackage, int userId) argument
15999 publishService(IBinder token, Intent intent, IBinder service) argument
16013 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
16024 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
17507 shouldUpRecreateTask(IBinder token, String destAffinity) argument
17517 navigateUpTo(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument
[all...]

Completed in 2322 milliseconds

1234567891011>>