/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 52 * {@link WindowManager.LayoutParams} {@link WindowManager.LayoutParams#token} 149 * windows. For these types of windows, the {@link #token} must be 150 * set to the token of the activity they are a part of (this will 151 * normally be done for you if {@link #token} is null). 155 * window. For these types of windows, the {@link #token} must be 156 * the token of the window it is attached to. 240 * Window type: a normal application window. The {@link #token} must be 241 * an Activity token identifying who the window belongs to. 261 * Start of types of sub-windows. The {@link #token} of these windows 1186 public IBinder token field in class:WindowManager.LayoutParams [all...] |
H A D | SurfaceView.java | 214 mLayout.token = getWindowToken(); 273 mLayout.token = null;
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Vpn.java | 180 final long token = Binder.clearCallingIdentity(); 185 Binder.restoreCallingIdentity(token); 312 final long token = Binder.clearCallingIdentity(); 317 Binder.restoreCallingIdentity(token); 347 final long token = Binder.clearCallingIdentity(); 352 Binder.restoreCallingIdentity(token);
|
/frameworks/base/services/java/com/android/server/ |
H A D | MountService.java | 234 IObbActionListener token, int nonce) { 243 this.token = token; 255 final IObbActionListener token; field in class:MountService.ObbState 257 // Identifier to pass back to the token 261 return token.asBinder(); 286 sb.append(",token=").append(token); 1914 String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) { 1917 Preconditions.checkNotNull(token, "toke 233 ObbState(String rawPath, String canonicalPath, int callingUid, IObbActionListener token, int nonce) argument 1913 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument 1929 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument [all...] |
H A D | AppWidgetServiceImpl.java | 532 long token = Binder.clearCallingIdentity(); 536 Binder.restoreCallingIdentity(token); 698 final long token = Binder.clearCallingIdentity(); 704 Binder.restoreCallingIdentity(token); 789 final long token = Binder.clearCallingIdentity(); 793 Binder.restoreCallingIdentity(token); 1071 final long token = Binder.clearCallingIdentity(); 1075 Binder.restoreCallingIdentity(token); 1297 long token = Binder.clearCallingIdentity(); 1302 Binder.restoreCallingIdentity(token); [all...] |
H A D | ConnectivityService.java | 938 final long token = Binder.clearCallingIdentity(); 949 Binder.restoreCallingIdentity(token); 956 final long token = Binder.clearCallingIdentity(); 960 Binder.restoreCallingIdentity(token); 1165 final long token = Binder.clearCallingIdentity(); 1171 Binder.restoreCallingIdentity(token); 1386 final long token = Binder.clearCallingIdentity(); 1394 Binder.restoreCallingIdentity(token);
|
/frameworks/base/core/java/android/widget/ |
H A D | PopupWindow.java | 805 * @param parent a parent view to get the {@link android.view.View#getWindowToken()} token from 817 * @param token Window token to use for creating the new window 825 public void showAtLocation(IBinder token, int gravity, int x, int y) { argument 835 WindowManager.LayoutParams p = createPopupLayout(token); 1008 * @param token the window token used to bind the popup's window 1012 private WindowManager.LayoutParams createPopupLayout(IBinder token) { argument 1030 p.token = token; [all...] |
H A D | ZoomButtonsController.java | 165 * If setVisible(true) is called and the owner view's window token is null, 348 * We need a window token to show ourselves, maybe the owner's 367 if (mContainerLayoutParams.token == null) { 368 mContainerLayoutParams.token = mOwnerView.getWindowToken();
|
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 376 int64_t token = ((int64_t)mCallingUid<<32) | mCallingPid; local 378 return token; 401 void IPCThreadState::restoreCallingIdentity(int64_t token) argument 403 mCallingUid = (int)(token>>32); 404 mCallingPid = (int)token;
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 183 sp<BBinder> token = new DisplayToken(this); local 189 mCurrentState.displays.add(token, info); 191 return token; 486 wp<IBinder> token = mDefaultDisplays[i]; local 492 mCurrentState.displays.add(token, DisplayDeviceState(type)); 497 type, isSecure, token, stc, fbs, mEGLConfig); 505 mDisplays.add(token, hw); 1755 ssize_t dpyIdx = mCurrentState.displays.indexOfKey(s.token); 1889 ssize_t token = addClientLayer(client, layer); local 1892 params->token [all...] |
/frameworks/base/services/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 588 final long token = Binder.clearCallingIdentity(); 593 Binder.restoreCallingIdentity(token); 658 final long token = Binder.clearCallingIdentity(); 662 Binder.restoreCallingIdentity(token); 1234 final long token = Binder.clearCallingIdentity(); 1241 Binder.restoreCallingIdentity(token);
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActiveServices.java | 323 boolean stopServiceTokenLocked(ComponentName className, IBinder token, argument 326 + " " + token + " startId=" + startId); 327 ServiceRecord r = findServiceLocked(className, token, UserHandle.getCallingUserId()); 368 public void setServiceForegroundLocked(ComponentName className, IBinder token, argument 373 ServiceRecord r = findServiceLocked(className, token, userId); 426 int bindServiceLocked(IApplicationThread caller, IBinder token, argument 441 if (token != null) { 442 activity = mAm.mMainStack.isInStackLocked(token); 444 Slog.w(TAG, "Binding with unknown activity: " + token); 673 IBinder token, in 672 findServiceLocked(ComponentName name, IBinder token, int userId) argument [all...] |
H A D | ActivityRecord.java | 59 final IApplicationToken.Stub appToken; // window manager token 311 static ActivityRecord forToken(IBinder token) { argument 313 return token != null ? ((Token)token).weakActivity.get() : null; 315 Slog.w(ActivityManagerService.TAG, "Bad activity token: " + token, e); 894 /** Returns the key dispatching timeout for this application token. */
|
/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
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessStats.java | 570 String token = st.nextToken(); 572 long val = Long.parseLong(token); 574 token = st.nextToken(); 575 val = Long.parseLong(token);
|
/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 737 static void android_os_Binder_restoreCallingIdentity(JNIEnv* env, jobject clazz, jlong token) argument 740 int uid = (int)(token>>32); 744 sprintf(buf, "Restoring bad calling ident: 0x%Lx", token); 748 IPCThreadState::self()->restoreCallingIdentity(token);
|
/frameworks/base/include/androidfw/ |
H A D | KeyCharacterMap.h | 210 status_t parseModifier(const String8& token, int32_t* outMetaState);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneBase.java | 1118 private void sendIncomingCallRingNotification(int token) { argument 1120 (token == mCallRingContinueToken)) { 1124 obtainMessage(EVENT_CALL_RING_CONTINUE, token, 0), mCallRingDelay); 1128 + " token=" + token
|
/frameworks/base/core/java/android/content/ |
H A D | SyncStorageEngine.java | 1985 int token; 1986 while ((token=in.readInt()) != STATUS_FILE_END) { 1987 if (token == STATUS_FILE_ITEM) { 1997 Log.w(TAG, "Unknown status token: " + token); 2225 int token; 2227 while ((token=in.readInt()) != STATISTICS_FILE_END) { 2228 if (token == STATISTICS_FILE_ITEM 2229 || token == STATISTICS_FILE_ITEM_OLD) { 2231 if (token [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
H A D | WindowState.java | 267 WindowState(WindowManagerService service, Session s, IWindow c, WindowToken token, argument 273 mToken = token; 285 + " token=" + token + " (" + mAttrs.token + ")" + " params=" + a); 341 WindowToken parent = mService.mTokenMap.get(appToken.token); 367 TAG, "Attaching " + this + " token=" + mToken 654 * that will remove the surface, or its app token has been hidden. 689 * Is this window visible, ignoring its app token? It is not visible 702 * the associated app token, no [all...] |
H A D | AppWindowToken.java | 44 // application token. Note this list is NOT sorted! 55 // The input dispatching timeout for this application token in nanoseconds. 68 // Is this token going to be hidden in a little while? If so, it 73 // it will sometimes be true a little earlier: when the token has 81 // Last visibility state we reported to the app token. 84 // Last drawn state we reported to the app token. 87 // Set to true when the token has been removed from the window mgr. 278 sb.append(" token="); sb.append(token); sb.append('}');
|
/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageManager.aidl | 183 void finishPackageInstall(int token);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiMonitor.java | 675 for (String token : dataTokens) { 676 String[] nameValue = token.split("=");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
H A D | InputMethodsPanel.java | 302 public void setImeToken(IBinder token) { argument 303 mToken = token;
|
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 286 for (Object token: tokens) { 292 sb.append(token); 305 for (Object token: tokens) { 311 sb.append(token);
|