Searched refs:token (Results 176 - 200 of 255) sorted by relevance

1234567891011

/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java335 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
341 switch(token) {
H A DPopupWindow.java891 * @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 DZoomButtonsController.java164 * 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 DNetworkScoreService.java231 long token = Binder.clearCallingIdentity();
246 Binder.restoreCallingIdentity(token);
H A DMountService.java271 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 DMmsServiceBroker.java404 long token = Binder.clearCallingIdentity();
418 Binder.restoreCallingIdentity(token);
/frameworks/base/services/core/java/com/android/server/display/
H A DLocalDisplayAdapter.java231 final IBinder token = getDisplayTokenLocked();
245 SurfaceControl.setDisplayPowerMode(token, mode);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java537 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 DWindowManager.java54 * {@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 DWindowAnimator.java160 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 DAccessibilityController.java1012 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 DAppWindowAnimator.java44 // 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 DInputReader.h370 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 DIPCThreadState.cpp376 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 DContent.java409 IBinder token = new Binder();
412 providerName, mUserId, token);
420 activityManager.removeContentProviderExternal(providerName, token);
/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/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java339 // 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 DIMountService.java492 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 DTransition.java294 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 DActivityStack.java394 * @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 DNotificationManagerService.java1303 * @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 DProcessCpuTracker.java599 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 Dandroid_util_Binder.cpp760 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 DStatusBarWindowView.java111 lp.token = windowToken;
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionRecord.java1115 final long token = Binder.clearCallingIdentity();
1119 Binder.restoreCallingIdentity(token);
1126 final long token = Binder.clearCallingIdentity();
1130 Binder.restoreCallingIdentity(token);

Completed in 489 milliseconds

1234567891011