/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowManagerService.java | 369 * Mapping from a token IBinder to a WindowToken object. 968 //This method finds out the index of a window that has the same app token as 982 * Return the list of Windows from the passed token on the given Display. 983 * @param token The token with all the windows. 985 * @return List of windows from token that are on displayContent. 987 WindowList getTokenWindowsOnDisplay(WindowToken token, DisplayContent displayContent) { argument 989 final int count = token.windows.size(); 991 final WindowState win = token.windows.get(i); 1022 final WindowToken token 2976 onRectangleOnScreenRequested(IBinder token, Rect rectangle) argument 2988 getWindowId(IBinder token) argument 3518 findAppWindowToken(IBinder token) argument 3527 addWindowToken(IBinder token, int type) argument 3548 removeWindowToken(IBinder token) argument 3627 addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, int requestedOrientation, boolean fullscreen, boolean showWhenLocked, int userId, int configChanges, boolean voiceInteraction, boolean launchTaskBehind) argument 3685 setAppGroupId(IBinder token, int groupId) argument 3939 setAppOrientation(IApplicationToken token, int requestedOrientation) argument 3957 getAppOrientation(IApplicationToken token) argument 4016 setFocusedApp(IBinder token, boolean moveFocusNow) argument 4160 setAppStartingWindow(IBinder token, String pkg, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded) argument 4373 removeAppStartingWindow(IBinder token) argument 4383 setAppWillBeHidden(IBinder token) argument 4401 setAppFullscreen(IBinder token, boolean toOpaque) argument 4412 setWindowOpaque(IBinder token, boolean isOpaque) argument 4418 setWindowOpaqueLocked(IBinder token, boolean isOpaque) argument 4559 setAppVisibility(IBinder token, boolean visible) argument 4726 startAppFreezingScreen(IBinder token, int configChanges) argument 4750 stopAppFreezingScreen(IBinder token, boolean force) argument 4781 removeAppToken(IBinder token) argument 4870 tmpRemoveAppWindowsLocked(WindowToken token) argument 5025 reAddAppWindowsLocked(final DisplayContent displayContent, int index, WindowToken token) argument 5319 disableKeyguard(IBinder token, String tag) argument 5334 reenableKeyguard(IBinder token) argument 10896 clearWindowContentFrameStats(IBinder token) argument 10915 getWindowContentFrameStats(IBinder token) argument 11733 getWindowFrame(IBinder token, Rect outBounds) argument 11771 addWindowToken(IBinder token, int type) argument 11776 removeWindowToken(IBinder token, boolean removeWindows) argument [all...] |
H A D | DragState.java | 67 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, argument 70 mToken = token; 369 final IBinder token = touchedWin.mClient.asBinder(); 376 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, token); 377 Message msg = mService.mH.obtainMessage(H.DRAG_END_TIMEOUT, token); 387 mToken = token;
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BackupTransport.java | 254 * Get the identifying token of the backup set currently being stored from 258 * @return A token that can be passed to {@link #startRestore}, or 0 if there 270 * @param token A backup token as returned by {@link #getAvailableRestoreSets} 278 public int startRestore(long token, PackageInfo[] packages) { argument 561 public int startRestore(long token, PackageInfo[] packages) throws RemoteException { argument 562 return BackupTransport.this.startRestore(token, packages);
|
H A D | BackupAgent.java | 543 mode = -1; // < 0 is a token to skip attempting a chmod() 613 int token, IBackupManager callbackBinder) throws RemoteException { 636 callbackBinder.opComplete(token); 646 int token, IBackupManager callbackBinder) throws RemoteException { 666 callbackBinder.opComplete(token); 675 int token, IBackupManager callbackBinder) { 709 callbackBinder.opComplete(token); 719 int token, IBackupManager callbackBinder) throws RemoteException { 731 callbackBinder.opComplete(token); 739 public void doRestoreFinished(int token, IBackupManage argument 610 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 644 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument 674 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument 717 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | SoftInputWindow.java | 49 public void setToken(IBinder token) { argument 51 lp.token = token;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UriPermissionOwner.java | 57 static UriPermissionOwner fromExternalToken(IBinder token) { argument 58 if (token instanceof ExternalToken) { 59 return ((ExternalToken)token).getOwner();
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
H A D | WindowManagerPermissionTests.java | 229 Binder token = new Binder(); 231 mWm.disableKeyguard(token, "foo"); 241 mWm.reenableKeyguard(token);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SmsApplication.java | 164 final long token = Binder.clearCallingIdentity(); 168 Binder.restoreCallingIdentity(token); 453 final long token = Binder.clearCallingIdentity(); 457 Binder.restoreCallingIdentity(token); 644 final long token = Binder.clearCallingIdentity(); 655 Binder.restoreCallingIdentity(token); 667 final long token = Binder.clearCallingIdentity(); 678 Binder.restoreCallingIdentity(token); 691 final long token = Binder.clearCallingIdentity(); 702 Binder.restoreCallingIdentity(token); [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | Trampoline.java | 166 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) throws RemoteException { argument 315 svc.opComplete(token);
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 122 Slog.w(TAG, "Failed adding window token", e); 137 Slog.w(TAG, "Failed adding window token", e); 167 Slog.w(TAG, "Failed removing window token", e); 233 public boolean deliverNewSessionLocked(int callingPid, int callingUid, IBinder token, argument 235 if (mActiveSession == null || token != mActiveSession.mToken) { 244 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token, argument 247 if (mActiveSession == null || token != mActiveSession.mToken) { 263 public void finishLocked(int callingPid, int callingUid, IBinder token) { argument 264 if (mActiveSession == null || token != mActiveSession.mToken) {
|
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/ |
H A D | Bmgr.java | 304 System.out.println(" " + Long.toHexString(s.token) + " : " + s.name); 362 long token = Long.parseLong(arg, 16); 369 doRestoreAll(token, filter); 404 private void doRestoreAll(long token, HashSet<String> filter) { argument 421 if (s.token == token) { 424 didRestore = (mRestore.restoreAll(token, observer) == 0); 428 didRestore = (mRestore.restoreSome(token, observer, names) == 0); 439 System.out.println("No matching restore set token. Available sets:"); 499 System.err.println("The 'list sets' command reports the token an [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Service.java | 420 * unique integer token representing the start request. Do not call this method directly. 700 ActivityThread thread, String className, IBinder token, 705 mToken = token; 698 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
|
H A D | Instrumentation.java | 1022 * @param token The token for this activity to communicate with 1037 IBinder token, Application application, Intent intent, ActivityInfo info, 1043 activity.attach(context, aThread, this, token, 0, application, intent, 1452 * @param token Internal token identifying to the system who is starting 1475 Context who, IBinder contextThread, IBinder token, Activity target, 1499 token, target != null ? target.mEmbeddedID : null, 1516 IBinder token, Activity target, Intent[] intents, Bundle options) { 1517 execStartActivitiesAsUser(who, contextThread, token, targe 1036 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument 1474 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options) argument 1515 execStartActivities(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options) argument 1529 execStartActivitiesAsUser(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options, int userId) argument 1591 execStartActivity( Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options) argument 1651 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument 1688 execStartActivityAsCaller( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, int userId) argument [all...] |
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerGlobal.java | 199 * @param IBinder the activity token for this display. 202 public Display getRealDisplay(int displayId, IBinder token) { argument 203 return getCompatibleDisplay(displayId, new DisplayAdjustments(token)); 411 public void setVirtualDisplaySurface(IVirtualDisplayCallback token, Surface surface) { argument 413 mDm.setVirtualDisplaySurface(token, surface); 419 public void resizeVirtualDisplay(IVirtualDisplayCallback token, argument 422 mDm.resizeVirtualDisplay(token, width, height, densityDpi); 428 public void releaseVirtualDisplay(IVirtualDisplayCallback token) { argument 430 mDm.releaseVirtualDisplay(token);
|
/frameworks/base/core/java/android/os/ |
H A D | Looper.java | 117 // and keep track of what that identity token actually is. 242 * the token that identifies the synchronization barrier. 250 * the same token to ensure that the message queue resumes normal operation. 253 * @return A token that uniquely identifies the barrier. This token must be 266 * @param token The synchronization barrier token that was returned by 273 public void removeSyncBarrier(int token) { argument 274 mQueue.removeSyncBarrier(token);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethod.aidl | 35 void attachToken(IBinder token);
|
/frameworks/base/include/storage/ |
H A D | IMountService.h | 66 const String16& key, const sp<IObbActionListener>& token, 69 const sp<IObbActionListener>& token, const int32_t nonce) = 0;
|
/frameworks/base/nfc-extras/java/com/android/nfc_extras/ |
H A D | NfcAdapterExtras.java | 225 * to authenticate with a token, before using other methods. 227 * @param token a implementation specific token 230 public void authenticate(byte[] token) { argument 232 sService.authenticate(mPackageName, token);
|
/frameworks/native/libs/gui/ |
H A D | LayerState.cpp | 81 output.writeStrongBinder(token); 94 token = input.readStrongBinder();
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSource.cpp | 498 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 502 IPCThreadState::self()->restoreCallingIdentity(token); 597 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 628 IPCThreadState::self()->restoreCallingIdentity(token); 692 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 699 IPCThreadState::self()->restoreCallingIdentity(token); 720 int64_t token; local 723 token = IPCThreadState::self()->clearCallingIdentity(); 737 IPCThreadState::self()->restoreCallingIdentity(token); 764 int64_t token local [all...] |
H A D | TimedEventQueue.cpp | 337 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 342 IPCThreadState::self()->restoreCallingIdentity(token); 365 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 367 IPCThreadState::self()->restoreCallingIdentity(token);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsService.java | 402 final long token = Binder.clearCallingIdentity(); 410 Binder.restoreCallingIdentity(token); 423 final long token = Binder.clearCallingIdentity(); 432 Binder.restoreCallingIdentity(token); 444 final long token = Binder.clearCallingIdentity(); 448 Binder.restoreCallingIdentity(token);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityUnitTestCase.java | 135 IBinder token = null; 148 token, mApplication, intent, info, title, mMockParent, id,
|
/frameworks/base/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 327 public void setSessionToken(final MediaSession.Token token) { argument 328 if (token == null) { 329 throw new IllegalArgumentException("Session token may not be null."); 332 throw new IllegalStateException("The session token has already been set."); 334 mSession = token; 341 connection.callbacks.onConnect(connection.root.getRootId(), token, 353 * Gets the session token, or null if it has not yet been created
|
/frameworks/native/services/surfaceflinger/ |
H A D | MonitoredProducer.h | 50 virtual status_t connect(const sp<IProducerListener>& token, int api,
|