Searched defs:token (Results 126 - 150 of 221) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarFragment.java264 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
685 lp.token = new Binder();
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java175 public void restoreAtInstall(String packageName, int token) throws RemoteException { argument
178 svc.restoreAtInstall(packageName, token);
261 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, argument
266 svc.acknowledgeAdbBackupOrRestore(token, allow,
350 public void opComplete(int token, long result) throws RemoteException { argument
353 svc.opComplete(token, result);
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamManagerService.java184 private void finishSelfInternal(IBinder token, boolean immediate) { argument
186 Slog.d(TAG, "Dream finished: " + token + ", immediate=" + immediate);
197 if (mCurrentDreamToken == token) {
225 private void startDozingInternal(IBinder token, int screenState, argument
228 Slog.d(TAG, "Dream requested to start dozing: " + token
234 if (mCurrentDreamToken == token && mCurrentDreamCanDoze) {
247 private void stopDozingInternal(IBinder token) { argument
249 Slog.d(TAG, "Dream requested to stop dozing: " + token);
253 if (mCurrentDreamToken == token && mCurrentDreamIsDozing) {
455 public void onDreamStopped(Binder token) {
593 finishSelf(IBinder token, boolean immediate) argument
608 startDozing(IBinder token, int screenState, int screenBrightness) argument
623 stopDozing(IBinder token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java54 * grants <b>must</b> validate the token before use by calling {@link
150 final IBinder token = callback.asBinder();
151 token.linkToDeath(deathRecipient, 0);
152 mDeathEaters.put(token, deathRecipient);
159 final IBinder token = callback.asBinder();
160 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token);
162 token.unlinkToDeath(deathRecipient, 0);
174 private boolean isValidMediaProjection(IBinder token) { argument
177 return mProjectionToken.equals(token);
208 long token
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DLauncherAppsService.java141 void injectRestoreCallingIdentity(long token) { argument
142 Binder.restoreCallingIdentity(token);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowContainerController.java52 * Controller for the app window token container. This is created by activity manager to link
53 * activity records to the app window token container they use in window manager.
214 IApplicationToken token, AppWindowContainerListener listener, int index,
219 this(taskController, token, listener, index, requestedOrientation, fullscreen,
227 IApplicationToken token, AppWindowContainerListener listener, int index,
234 mToken = token;
239 Slog.w(TAG_WM, "Attempted to add existing app token: " + mToken);
249 atoken = createAppWindow(mService, token, voiceInteraction, task.getDisplayContent(),
260 AppWindowToken createAppWindow(WindowManagerService service, IApplicationToken token, argument
266 return new AppWindowToken(service, token, voiceInteractio
213 AppWindowContainerController(TaskWindowContainerController taskController, IApplicationToken token, AppWindowContainerListener listener, int index, int requestedOrientation, boolean fullscreen, boolean showForAllUsers, int configChanges, boolean voiceInteraction, boolean launchTaskBehind, boolean alwaysFocusable, int targetSdkVersion, int rotationAnimationHint, long inputDispatchingTimeoutNanos, Configuration overrideConfig, Rect bounds) argument
226 AppWindowContainerController(TaskWindowContainerController taskController, IApplicationToken token, AppWindowContainerListener listener, int index, int requestedOrientation, boolean fullscreen, boolean showForAllUsers, int configChanges, boolean voiceInteraction, boolean launchTaskBehind, boolean alwaysFocusable, int targetSdkVersion, int rotationAnimationHint, long inputDispatchingTimeoutNanos, WindowManagerService service, Configuration overrideConfig, Rect bounds) argument
[all...]
H A DDragState.java109 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, argument
112 mToken = token;
530 final IBinder token = touchedWin.mClient.asBinder();
537 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, token);
538 Message msg = mService.mH.obtainMessage(H.DRAG_END_TIMEOUT, token);
548 mToken = token;
H A DRootWindowContainer.java294 * Returns the app window token for the input binder if it exist in the system.
295 * NOTE: Only one AppWindowToken is allowed to exist in the system for a binder token, since
309 /** Returns the display object the input window token is currently mapped on. */
310 DisplayContent getWindowTokenDisplay(WindowToken token) { argument
311 if (token == null) {
317 final WindowToken current = dc.getWindowToken(token.token);
318 if (current == token) {
609 // token list reflects the correct Z-order, but the window list may now be out of sync
H A DTaskSnapshotSurface.java130 static TaskSnapshotSurface create(WindowManagerService service, AppWindowToken token, argument
152 final WindowState mainWindow = token.findMainWindow();
154 Slog.w(TAG, "TaskSnapshotSurface.create: Failed to find main window for token="
155 + token);
169 layoutParams.token = token.token;
173 final Task task = token.getTask();
192 View.VISIBLE, token.getDisplayContent().getDisplayId(), tmpRect, tmpRect,
H A DWallpaperController.java114 // If this window's app token is hidden and not animating, it is of no interest to us.
117 "Skipping hidden and not animating token: " + w);
162 "Win " + w + ": token animating, looking behind.");
199 final WallpaperWindowToken token = mWallpaperTokens.get(curTokenNdx);
200 token.startAnimation(a);
225 final WallpaperWindowToken token = mWallpaperTokens.get(curTokenNdx);
226 token.updateWallpaperVisibility(visible);
251 final WallpaperWindowToken token = mWallpaperTokens.get(i);
252 token.hideWallpaperToken(wasDeferred, "hideWallpapers");
253 if (DEBUG_WALLPAPER_LIGHT && !token
663 addWallpaperToken(WallpaperWindowToken token) argument
667 removeWallpaperToken(WallpaperWindowToken token) argument
[all...]
H A DSession.java391 IBinder token = window.asBinder();
393 Slog.d(TAG_WM, "Drop result=" + consumed + " reported by " + token);
406 if (mService.mDragState.mToken != token) {
521 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { argument
525 mService.onRectangleOnScreenRequested(token, rectangle);
H A DTask.java249 void removeChild(AppWindowToken token) { argument
250 if (!mChildren.contains(token)) {
251 Slog.e(TAG, "removeChild: token=" + this + " not found.");
255 super.removeChild(token);
258 EventLog.writeEvent(WM_TASK_REMOVED, mTaskId, "removeAppToken: last token");
457 final AppWindowToken token = mChildren.get(i);
459 if (token.mIsExiting || token.isClientHidden() || token.hiddenRequested) {
462 final WindowState win = token
[all...]
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java89 // list of all our clients, keyed by Binder token
131 // Binder token for this client
144 public Client(IBinder token) { argument
145 mToken = token;
174 public void removeDeviceConnection(IBinder token) { argument
175 DeviceConnection connection = mDeviceConnections.remove(token);
268 private Client getClient(IBinder token) { argument
270 Client client = mClients.get(token);
272 client = new Client(token);
275 token
603 registerListener(IBinder token, IMidiDeviceListener listener) argument
612 unregisterListener(IBinder token, IMidiDeviceListener listener) argument
655 openDevice(IBinder token, MidiDeviceInfo deviceInfo, IMidiDeviceOpenCallback callback) argument
681 openBluetoothDevice(IBinder token, BluetoothDevice bluetoothDevice, IMidiDeviceOpenCallback callback) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceTestable.java234 void binderRestoreCallingIdentity(long token) { argument
235 context.binder.restoreCallingIdentity(token);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp537 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
541 IPCThreadState::self()->restoreCallingIdentity(token);
722 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
779 IPCThreadState::self()->restoreCallingIdentity(token);
856 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
863 IPCThreadState::self()->restoreCallingIdentity(token);
884 int64_t token; local
887 token = IPCThreadState::self()->clearCallingIdentity();
901 IPCThreadState::self()->restoreCallingIdentity(token);
1008 int64_t token local
1163 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
1176 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
[all...]
/frameworks/base/core/java/android/hardware/fingerprint/
H A DFingerprintManager.java543 * @param token a unique token provided by a recent creation or verification of device
552 public void enroll(byte [] token, CancellationSignal cancel, int flags, argument
572 mService.enroll(mToken, token, userId, mServiceReceiver, flags,
586 * Requests a pre-enrollment auth token to tie enrollment to the confirmation of
602 * Finishes enrollment and cancels the current auth token.
778 * Retrieves the authenticator token for binding keys to the lifecycle
799 * @param token an opaque token returned by password confirmation.
803 public void resetTimeout(byte[] token) { argument
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java130 // first token)
235 Token token = tokens.get(i);
236 if (token.isMedia() || (parts.size() == 0) || lastPart().isMedia()) {
239 lastPart().add(token);
453 // Figure out the appropriate token type.
461 * Adds the appropriate token for the given URL. This might be a simple
498 // and whether we should append a closing format token (if value in
507 // Already seen this character, just append an unmatched token, which
513 // Match the start token, and ask an end token t
1235 addToken(Token token) argument
1470 add(Token token) argument
[all...]
/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/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java112 default void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
245 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
249 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token);
/frameworks/base/services/core/java/com/android/server/
H A DSyntheticPasswordManager.java228 * Initializing a new Authentication token, possibly from an existing credential and hash.
230 * The authentication token would bear a randomly-generated synthetic password.
236 * the synthetic password in the authentication token will produce the same SID
326 * Create a new password based SP blob based on the supplied authentication token, such that
328 * in the same authentication token.
371 public long createTokenBasedSyntheticPassword(byte[] token, int userId) { argument
373 byte[] applicationId = transformUnderSecdiscardable(token,
434 * verification to referesh the SID & Auth token maintained by the system.
482 * Decrypt a synthetic password by supplying an escrow token and corresponding token
486 unwrapTokenBasedSyntheticPassword( IGateKeeperService gatekeeper, long handle, byte[] token, int userId) argument
679 passwordTokenToGkInput(byte[] token) argument
[all...]
H A DVibratorService.java120 private Vibration(IBinder token, VibrationEffect effect, argument
122 mToken = token;
348 IBinder token) {
353 if (token == null) {
354 Slog.e(TAG, "token must not be null");
379 Vibration vib = new Vibration(token, effect, usageHint, uid, opPkg);
385 token.linkToDeath(vib, 0);
413 public void cancelVibrate(IBinder token) { argument
419 if (mCurrentVibration != null && mCurrentVibration.mToken == token) {
933 private VibratorShellCommand(IBinder token) { argument
347 vibrate(int uid, String opPkg, VibrationEffect effect, int usageHint, IBinder token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java612 CustomIntentReceiver(String action, int token, int what) { argument
613 mToken = token;
615 mAction = action + "_" + mNetworkAgentInfo.network.netId + "_" + token;
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java420 ArrayList<Byte> token) {
424 final byte[] byteToken = new byte[token.size()];
425 for (int i = 0; i < token.size(); i++) {
426 byteToken[i] = token.get(i);
514 public long startPreEnroll(IBinder token) { argument
528 public int startPostEnroll(IBinder token) { argument
577 void startRemove(IBinder token, int fingerId, int groupId, int userId, argument
588 token, receiver, fingerId, groupId, userId, restricted,
602 RemovalClient client = new RemovalClient(getContext(), mHalDeviceId, token,
603 receiver, fingerId, groupId, userId, restricted, token
419 handleAuthenticated(long deviceId, int fingerId, int groupId, ArrayList<Byte> token) argument
618 startEnumerate(IBinder token, int userId, IFingerprintServiceReceiver receiver, boolean restricted, boolean internal) argument
805 startAuthentication(IBinder token, long opId, int callingUserId, int groupId, IFingerprintServiceReceiver receiver, int flags, boolean restricted, String opPackageName) argument
864 startEnrollment(IBinder token, byte [] cryptoToken, int userId, IFingerprintServiceReceiver receiver, int flags, boolean restricted, String opPackageName) argument
1016 preEnroll(IBinder token) argument
1022 postEnroll(IBinder token) argument
1028 enroll(final IBinder token, final byte[] cryptoToken, final int userId, final IFingerprintServiceReceiver receiver, final int flags, final String opPackageName) argument
1064 cancelEnrollment(final IBinder token) argument
1078 authenticate(final IBinder token, final long opId, final int groupId, final IFingerprintServiceReceiver receiver, final int flags, final String opPackageName) argument
1113 cancelAuthentication(final IBinder token, final String opPackageName) argument
1154 remove(final IBinder token, final int fingerId, final int groupId, final int userId, final IFingerprintServiceReceiver receiver) argument
1168 enumerate(final IBinder token, final int userId, final IFingerprintServiceReceiver receiver) argument
1272 resetTimeout(byte [] token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/statusbar/
H A DStatusBarManagerService.java98 IBinder token; field in class:StatusBarManagerService.DisableRecord
102 disableForUser(0, token, pkg, userId);
103 disable2ForUser(0, token, pkg, userId);
104 token.unlinkToDeath(this, 0);
419 public void disable(int what, IBinder token, String pkg) { argument
420 disableForUser(what, token, pkg, mCurrentUserId);
424 public void disableForUser(int what, IBinder token, String pkg, int userId) { argument
428 disableLocked(userId, what, token, pkg, 1);
439 public void disable2(int what, IBinder token, String pkg) { argument
440 disable2ForUser(what, token, pk
450 disable2ForUser(int what, IBinder token, String pkg, int userId) argument
458 disableLocked(int userId, int what, IBinder token, String pkg, int whichFlag) argument
569 setImeWindowStatus(final IBinder token, final int vis, final int backDisposition, final boolean showImeSwitcher) argument
929 manageDisableListLocked(int userId, int what, IBinder token, String pkg, int which) argument
[all...]
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustManagerService.java230 public long addEscrowToken(byte[] token, int userId) { argument
231 return mLockPatternUtils.addEscrowToken(token, userId);
242 public void unlockUserWithToken(long handle, byte[] token, int userId) { argument
243 mLockPatternUtils.unlockUserWithToken(handle, token, userId);
821 long token = Binder.clearCallingIdentity();
828 Binder.restoreCallingIdentity(token);
837 long token = Binder.clearCallingIdentity();
844 Binder.restoreCallingIdentity(token);

Completed in 528 milliseconds

123456789