Searched refs:token (Results 226 - 250 of 290) sorted by relevance

1234567891011>>

/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java2406 int token;
2407 while ((token=in.readInt()) != STATUS_FILE_END) {
2408 if (token == STATUS_FILE_ITEM) {
2419 Log.w(TAG, "Unknown status token: " + token);
2767 int token;
2769 while ((token=in.readInt()) != STATISTICS_FILE_END) {
2770 if (token == STATISTICS_FILE_ITEM
2771 || token == STATISTICS_FILE_ITEM_OLD) {
2773 if (token
[all...]
/frameworks/base/core/java/android/widget/
H A DPopupWindow.java989 * @param parent a parent view to get the {@link android.view.View#getWindowToken()} token from
1001 * @param token Window token to use for creating the new window
1009 public void showAtLocation(IBinder token, int gravity, int x, int y) { argument
1021 final WindowManager.LayoutParams p = createPopupLayoutParams(token);
1277 * @param token the window token used to bind the popup's window
1281 private WindowManager.LayoutParams createPopupLayoutParams(IBinder token) { argument
1291 p.token = token;
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityStack.java400 * @param token If non-null, any history records matching this token will be skipped.
405 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument
415 if (!r.finishing && (token != r.appToken) && okToShowLocked(r)) {
454 ActivityRecord isInStackLocked(IBinder token) { argument
455 final ActivityRecord r = ActivityRecord.forTokenLocked(token);
928 final void activityPausedLocked(IBinder token, boolean timeout) { argument
930 "Activity paused: token=" + token + ", timeout=" + timeout);
932 final ActivityRecord r = isInStackLocked(token);
2722 requestFinishActivityLocked(IBinder token, int resultCode, Intent resultData, String reason, boolean oomAdj) argument
3436 activityDestroyedLocked(IBinder token, String reason) argument
4011 willActivityBeVisibleLocked(IBinder token) argument
[all...]
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...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java493 IObbActionListener token, int nonce) throws RemoteException {
501 _data.writeStrongBinder((token != null ? token.asBinder() : null));
519 String rawPath, boolean force, IObbActionListener token, int nonce)
527 _data.writeStrongBinder((token != null ? token.asBinder() : null));
1993 IObbActionListener token, int nonce) throws RemoteException;
2037 public void unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
492 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
518 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument
1992 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
/frameworks/base/core/java/android/view/
H A DSurfaceView.java222 mLayout.token = getWindowToken();
281 mLayout.token = null;
/frameworks/base/media/java/android/media/session/
H A DMediaController.java90 throw new IllegalArgumentException("Session token cannot be null");
102 * Create a new MediaController from a session's token.
105 * @param token The token for the session.
107 public MediaController(@NonNull Context context, @NonNull MediaSession.Token token) { argument
108 this(context, token.getBinder());
283 * Get the token for the session this is connected to.
285 * @return The token for the connected session.
/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);
/frameworks/base/services/core/java/com/android/server/display/
H A DLocalDisplayAdapter.java433 final IBinder token = getDisplayTokenLocked();
490 SurfaceControl.setDisplayPowerMode(token, mode);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java1536 final long token = Binder.clearCallingIdentity();
1543 Binder.restoreCallingIdentity(token);
1733 final long token = Binder.clearCallingIdentity();
1737 Binder.restoreCallingIdentity(token);
1832 final long token = Binder.clearCallingIdentity();
1836 Binder.restoreCallingIdentity(token);
2542 final long token = Binder.clearCallingIdentity();
2549 Binder.restoreCallingIdentity(token);
/frameworks/base/core/java/android/os/
H A DBinder.java41 * token that can be shared across processes.
120 * @return Returns an opaque token that can be used to restore the
135 * @param token The opaque token that was previously returned by
140 public static final native void restoreCallingIdentity(long token); argument
/frameworks/base/core/java/android/text/
H A DTextUtils.java304 for (Object token: tokens) {
310 sb.append(token);
323 for (Object token: tokens) {
329 sb.append(token);
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreAuthenticatedAESCipherSpi.java425 result.token,
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java155 Slog.e(TAG, "Backup/restore confirmation requested but no token passed!");
255 void sendAcknowledgement(int token, boolean allow, IFullBackupRestoreObserver observer) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarWindowView.java157 lp.token = windowToken;
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java314 openingAppAnimator != null ? openingAppAnimator.mAppToken.token : null,
315 closingAppAnimator != null ? closingAppAnimator.mAppToken.token : null,
337 public void notifyAppTransitionFinishedLocked(IBinder token) { argument
339 mListeners.get(i).onAppTransitionFinishedLocked(token);
H A DAppWindowToken.java47 // application token. Note this list is NOT sorted!
61 // The input dispatching timeout for this application token in nanoseconds.
77 // Is this token going to be hidden in a little while? If so, it
82 // it will sometimes be true a little earlier: when the token has
90 // Last visibility state we reported to the app token.
93 // Last drawn state we reported to the app token.
96 // Set to true when the token has been removed from the window mgr.
263 Slog.e(WindowManagerService.TAG, "removeAppFromTaskLocked: token=" + this
345 sb.append(" token="); sb.append(token); s
[all...]
H A DWindowState.java370 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, argument
377 mToken = token;
403 + " token=" + token + " (" + mAttrs.token + ")" + " params=" + a);
482 WindowToken parent = mService.mTokenMap.get(appToken.token);
518 TAG, "Attaching " + this + " token=" + mToken
916 * that will remove the surface, or its app token has been hidden.
951 * Is this window visible, ignoring its app token? It is not visible
964 * the associated app token, no
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiMonitor.java1253 for (String token : dataTokens) {
1254 String[] nameValue = token.split("=");
1373 for (String token : dataTokens) {
1374 String[] nameValue = token.split("=");
/frameworks/base/media/java/android/media/tv/
H A DTvView.java138 public void onFinishedInputEvent(Object token, boolean handled) {
140 Log.d(TAG, "onFinishedInputEvent(token=" + token + ", handled=" + handled + ")");
146 InputEvent event = (InputEvent) token;
/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaControllerCompat.java82 * Creates a media controller from a session token which may have
85 * @param sessionToken The token of the session to be controlled.
215 * Get the token for the session this controller is connected to.
217 * @return The session's token.
806 public MediaControllerImplBase(MediaSessionCompat.Token token) { argument
807 mToken = token;
808 mBinder = IMediaSession.Stub.asInterface((IBinder) token.getToken());
H A DMediaSessionCompat.java63 * {@link #getSessionToken() session token} to other processes to allow them to
299 * Retrieve a token object that can be used by apps to create a
305 * {@link android.os.Build.VERSION_CODES#LOLLIPOP} this token may only be
309 * @return A token that can be used to create a media controller for this
711 * @param token The framework token object.
714 public static Token fromToken(Object token) { argument
715 if (token == null || android.os.Build.VERSION.SDK_INT < 21) {
718 return new Token(MediaSessionCompatApi21.verifyToken(token));
/frameworks/base/services/core/java/com/android/server/audio/
H A DMediaFocusControl.java1289 ComponentName target, IBinder token) {
1291 mPRStack.push(new PlayerRecord(mediaIntent, target, token));
1321 prse = new PlayerRecord(mediaIntent, target, token);
1603 IBinder token) {
1607 if (pushMediaButtonReceiver_syncPrs(mediaIntent, eventReceiver, token)) {
1288 pushMediaButtonReceiver_syncPrs(PendingIntent mediaIntent, ComponentName target, IBinder token) argument
1602 registerMediaButtonIntent(PendingIntent mediaIntent, ComponentName eventReceiver, IBinder token) argument
/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/av/services/camera/libcameraservice/
H A DCameraService.cpp833 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
835 IPCThreadState::self()->restoreCallingIdentity(token);
1114 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
1122 IPCThreadState::self()->restoreCallingIdentity(token);
1703 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
1709 IPCThreadState::self()->restoreCallingIdentity(token);

Completed in 1482 milliseconds

1234567891011>>