/frameworks/base/core/java/android/widget/ |
H A D | QuickContactBadge.java | 335 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 341 switch(token) {
|
H A D | PopupWindow.java | 891 * @param parent a parent view to get the {@link android.view.View#getWindowToken()} token from 903 * @param token Window token to use for creating the new window 911 public void showAtLocation(IBinder token, int gravity, int x, int y) { argument 921 WindowManager.LayoutParams p = createPopupLayout(token); 1119 * @param token the window token used to bind the popup's window 1123 private WindowManager.LayoutParams createPopupLayout(IBinder token) { argument 1141 p.token = token; [all...] |
H A D | ZoomButtonsController.java | 164 * If setVisible(true) is called and the owner view's window token is null, 347 * We need a window token to show ourselves, maybe the owner's 366 if (mContainerLayoutParams.token == null) { 367 mContainerLayoutParams.token = mOwnerView.getWindowToken();
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | NetworkScoreService.java | 231 long token = Binder.clearCallingIdentity(); 246 Binder.restoreCallingIdentity(token);
|
H A D | MountService.java | 271 IObbActionListener token, int nonce) { 280 this.token = token; 292 final IObbActionListener token; field in class:MountService.ObbState 294 // Identifier to pass back to the token 298 return token.asBinder(); 323 sb.append(",token=").append(token); 2147 String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) { 2150 Preconditions.checkNotNull(token, "toke 270 ObbState(String rawPath, String canonicalPath, int callingUid, IObbActionListener token, int nonce) argument 2146 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument 2162 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument [all...] |
H A D | MmsServiceBroker.java | 404 long token = Binder.clearCallingIdentity(); 418 Binder.restoreCallingIdentity(token);
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LocalDisplayAdapter.java | 231 final IBinder token = getDisplayTokenLocked(); 245 SurfaceControl.setDisplayPowerMode(token, mode);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 537 final long token = Binder.clearCallingIdentity(); 542 Binder.restoreCallingIdentity(token); 607 final long token = Binder.clearCallingIdentity(); 611 Binder.restoreCallingIdentity(token); 620 final long token = Binder.clearCallingIdentity(); 624 Binder.restoreCallingIdentity(token); 1205 final long token = Binder.clearCallingIdentity(); 1212 Binder.restoreCallingIdentity(token);
|
/frameworks/base/core/java/android/view/ |
H A D | WindowManager.java | 54 * {@link LayoutParams} {@link LayoutParams#token} 151 * windows. For these types of windows, the {@link #token} must be 152 * set to the token of the activity they are a part of (this will 153 * normally be done for you if {@link #token} is null). 157 * window. For these types of windows, the {@link #token} must be 158 * the token of the window it is attached to. 242 * Window type: a normal application window. The {@link #token} must be 243 * an Activity token identifying who the window belongs to. 263 * Start of types of sub-windows. The {@link #token} of these windows 1435 public IBinder token field in class:WindowManager.LayoutParams [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowAnimator.java | 160 final WindowToken token = wallpaperTokens.get(i); 161 final int numWindows = token.windows.size(); 163 final WindowState wallpaper = token.windows.get(j); 172 if (WindowManagerService.DEBUG_WALLPAPER_LIGHT && !token.hidden) Slog.d(TAG, 173 "Hiding wallpaper " + token + " from " + w 176 token.hidden = true; 549 // If this window's app token is running a detached wallpaper 596 // The token has now changed state to having all
|
H A D | AccessibilityController.java | 1012 addedWindows.add(window.token); 1052 addedWindows.add(window.token); 1073 // Leave the child token list if empty. 1149 window.token = windowState.mClient.asBinder(); 1201 if (oldWindow.token == null) { 1202 if (newWindow.token != null) { 1205 } else if (!oldWindow.token.equals(newWindow.token)) {
|
H A D | AppWindowAnimator.java | 44 // Have we been asked to have this token keep the screen frozen? 53 // Offset to the window of all layers in the token, for use by 206 // token's anim layer. 317 mService.mActivityManager.notifyLaunchTaskBehindComplete(mAppToken.token); 326 mService.mActivityManager.notifyEnterAnimationComplete(mAppToken.token);
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.h | 370 ssize_t repeat, int32_t token) = 0; 371 virtual void cancelVibrate(int32_t deviceId, int32_t token) = 0; 439 ssize_t repeat, int32_t token); 440 virtual void cancelVibrate(int32_t deviceId, int32_t token); 573 void vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token); 574 void cancelVibrate(int32_t token); 974 int32_t token); 975 virtual void cancelVibrate(int32_t token); 1023 int32_t token); 1024 virtual void cancelVibrate(int32_t token); [all...] |
/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/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 409 IBinder token = new Binder(); 412 providerName, mUserId, token); 420 activityManager.removeContentProviderExternal(providerName, token);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 138 public void onFinishedInputEvent(Object token, boolean handled) { 140 Log.d(TAG, "onFinishedInputEvent(token=" + token + ", handled=" + handled + ")"); 146 InputEvent event = (InputEvent) token;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkMonitor.java | 339 // Previous token was broadcast, come up with a new one. 512 CustomIntentReceiver(String action, int token, int what) { argument 513 mToken = token; 515 mAction = action + "_" + mNetworkAgentInfo.network.netId + "_" + token;
|
/frameworks/base/core/java/android/os/storage/ |
H A D | IMountService.java | 492 IObbActionListener token, int nonce) throws RemoteException { 500 _data.writeStrongBinder((token != null ? token.asBinder() : null)); 518 String rawPath, boolean force, IObbActionListener token, int nonce) 526 _data.writeStrongBinder((token != null ? token.asBinder() : null)); 1490 IObbActionListener token, int nonce) throws RemoteException; 1534 public void unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument 491 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument 517 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument 1489 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
|
/frameworks/base/core/java/android/transition/ |
H A D | Transition.java | 294 String token = st.nextToken().trim(); 295 if (MATCH_ID_STR.equalsIgnoreCase(token)) { 297 } else if (MATCH_INSTANCE_STR.equalsIgnoreCase(token)) { 299 } else if (MATCH_NAME_STR.equalsIgnoreCase(token)) { 301 } else if (MATCH_VIEW_NAME_STR.equalsIgnoreCase(token)) { 303 } else if (MATCH_ITEM_ID_STR.equalsIgnoreCase(token)) { 305 } else if (token.isEmpty()) { 311 throw new InflateException("Unknown match type in matchOrder: '" + token + "'");
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStack.java | 394 * @param token If non-null, any history records matching this token will be skipped. 399 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument 409 if (!r.finishing && (token != r.appToken) && okToShowLocked(r)) { 448 ActivityRecord isInStackLocked(IBinder token) { argument 449 final ActivityRecord r = ActivityRecord.forToken(token); 886 final void activityPausedLocked(IBinder token, boolean timeout) { argument 888 TAG, "Activity paused: token=" + token + ", timeout=" + timeout); 890 final ActivityRecord r = isInStackLocked(token); 2542 requestFinishActivityLocked(IBinder token, int resultCode, Intent resultData, String reason, boolean oomAdj) argument 2867 navigateUpToLocked(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument 3252 activityDestroyedLocked(IBinder token, String reason) argument 3780 willActivityBeVisibleLocked(IBinder token) argument [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerService.java | 1303 * @param token The binder for the listener, to check that the caller is allowed 1306 public void cancelNotificationsFromListener(INotificationListener token, String[] keys) { 1312 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token); 1351 * @param token The binder for the listener, to check that the caller is allowed 1354 public void cancelNotificationFromListener(INotificationListener token, String pkg, 1361 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token); 1381 * @param token The binder for the listener, to check that the caller is allowed 1388 INotificationListener token, String[] keys, int trim) { 1390 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token); 1411 public void requestHintsFromListener(INotificationListener token, in 1567 getActiveNotificationKeys(INotificationListener token) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | ProcessCpuTracker.java | 599 String token = st.nextToken(); 601 long val = Long.parseLong(token); 603 token = st.nextToken(); 604 val = Long.parseLong(token);
|
/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 760 static void android_os_Binder_restoreCallingIdentity(JNIEnv* env, jobject clazz, jlong token) argument 763 int uid = (int)(token>>32); 767 sprintf(buf, "Restoring bad calling ident: 0x%" PRIx64, token); 771 IPCThreadState::self()->restoreCallingIdentity(token);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | StatusBarWindowView.java | 111 lp.token = windowToken;
|
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionRecord.java | 1115 final long token = Binder.clearCallingIdentity(); 1119 Binder.restoreCallingIdentity(token); 1126 final long token = Binder.clearCallingIdentity(); 1130 Binder.restoreCallingIdentity(token);
|