Searched refs:token (Results 251 - 275 of 289) sorted by relevance

<<1112

/frameworks/support/v4/java/android/support/v4/media/session/
H A DMediaSessionCompat.java63 * {@link #getSessionToken() session token} to other processes to allow them to
299 * Retrieve a token object that can be used by apps to create a
305 * {@link android.os.Build.VERSION_CODES#LOLLIPOP} this token may only be
309 * @return A token that can be used to create a media controller for this
711 * @param token The framework token object.
714 public static Token fromToken(Object token) { argument
715 if (token == null || android.os.Build.VERSION.SDK_INT < 21) {
718 return new Token(MediaSessionCompatApi21.verifyToken(token));
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java50 // Have we been asked to have this token keep the screen frozen?
59 // Offset to the window of all layers in the token, for use by
244 // token's anim layer.
367 mService.mAppTransition.notifyAppTransitionFinishedLocked(mAppToken.token);
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp1309 jint repeat, jint token) {
1329 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token);
1333 jclass /* clazz */, jlong ptr, jint deviceId, jint token) {
1336 im->getInputManager()->getReader()->cancelVibrate(deviceId, token);
1307 nativeVibrate(JNIEnv* env, jclass , jlong ptr, jint deviceId, jlongArray patternObj, jint repeat, jint token) argument
1332 nativeCancelVibrate(JNIEnv* , jclass , jlong ptr, jint deviceId, jint token) argument
/frameworks/base/services/print/java/com/android/server/print/
H A DUserState.java1173 IBinder token = mStartedPrinterDiscoveryTokens.get(i);
1174 stopPrinterDiscoveryLocked(IPrinterDiscoveryObserver.Stub.asInterface(token));
1302 IBinder token = mStartedPrinterDiscoveryTokens.get(i);
1303 pw.append(prefix).append(tab).append(tab).append(token.toString()).println();
/frameworks/native/services/inputflinger/
H A DInputReader.cpp742 ssize_t repeat, int32_t token) {
748 device->vibrate(pattern, patternSize, repeat, token);
752 void InputReader::cancelVibrate(int32_t deviceId, int32_t token) { argument
758 device->cancelVibrate(token);
1136 int32_t token) {
1140 mapper->vibrate(pattern, patternSize, repeat, token);
1144 void InputDevice::cancelVibrate(int32_t token) { argument
1148 mapper->cancelVibrate(token);
1865 int32_t token) {
1868 void InputMapper::cancelVibrate(int32_t token) { argument
741 vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument
1135 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument
1864 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument
1989 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument
2013 cancelVibrate(int32_t token) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java1090 final long token = Binder.clearCallingIdentity();
1094 Binder.restoreCallingIdentity(token);
1121 final long token = Binder.clearCallingIdentity();
1125 Binder.restoreCallingIdentity(token);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DPhoneBase.java1973 private void sendIncomingCallRingNotification(int token) { argument
1975 (token == mCallRingContinueToken)) {
1979 obtainMessage(EVENT_CALL_RING_CONTINUE, token, 0), mCallRingDelay);
1983 + " token=" + token
H A DSubscriptionController.java1705 final long token = Binder.clearCallingIdentity();
1731 Binder.restoreCallingIdentity(token);
1808 final long token = Binder.clearCallingIdentity();
1859 Binder.restoreCallingIdentity(token);
H A DInboundSmsHandler.java1213 final long token = Binder.clearCallingIdentity();
1219 Binder.restoreCallingIdentity(token);
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger.cpp232 sp<BBinder> token = new DisplayToken(this); local
238 mCurrentState.displays.add(token, info);
240 return token;
248 ALOGW("destroyDisplay: invalid display token");
264 "Overwriting display token for display type %d", type);
467 wp<IBinder> token = mBuiltinDisplays[i]; local
478 type, hwcId, mHwc->getFormat(hwcId), isSecure, token,
488 mDisplays.add(token, hw);
2150 ssize_t dpyIdx = mCurrentState.displays.indexOfKey(s.token);
2379 d.token
[all...]
/frameworks/av/services/radio/
H A DRadioService.cpp633 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
638 IPCThreadState::self()->restoreCallingIdentity(token);
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java579 String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token)
590 data.writeStrongBinder(token);
578 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument
/frameworks/base/core/java/android/content/pm/
H A DIPackageManager.aidl230 void finishPackageInstall(int token);
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java1222 final long token = Binder.clearCallingIdentity();
1233 Binder.restoreCallingIdentity(token);
1241 final long token = Binder.clearCallingIdentity();
1245 Binder.restoreCallingIdentity(token);
1321 final long token = Binder.clearCallingIdentity();
1333 Binder.restoreCallingIdentity(token);
2767 final long token = Binder.clearCallingIdentity();
2775 Binder.restoreCallingIdentity(token);
H A DDropBoxManagerService.java269 final long token = Binder.clearCallingIdentity();
274 Binder.restoreCallingIdentity(token);
/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java230 final IBinder token = service.asBinder();
234 if (info.service.asBinder() == token) return info;
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp913 sp<IBinder> token = local
917 token->unlinkToDeath(
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java568 "Unable to add window -- token " + attrs.token
572 "Unable to add window -- token " + attrs.token
576 "Unable to add window -- app for token " + attrs.token
3907 public void onFinishedInputEvent(Object token, boolean handled) { argument
3908 QueuedInputEvent q = (QueuedInputEvent)token;
3975 public void onFinishedInputEvent(Object token, boolean handled) { argument
3976 QueuedInputEvent q = (QueuedInputEvent)token;
4068 onFinishedInputEvent(Object token, boolean handled) argument
[all...]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java1169 long token = Binder.clearCallingIdentity();
1181 Binder.restoreCallingIdentity(token);
1767 long token = Binder.clearCallingIdentity();
1774 Binder.restoreCallingIdentity(token);
3678 long token = Binder.clearCallingIdentity();
3684 Binder.restoreCallingIdentity(token);
3848 final long token = Binder.clearCallingIdentity();
3854 Binder.restoreCallingIdentity(token);
4603 long token = Binder.clearCallingIdentity();
4621 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java943 * @param windowToken A window token that will allow a window to be created in the correct layer.
947 Slog.e(TAG, "attach() called when already attached with token=" + mWindowToken);
972 if (mDebug) Slog.v(TAG, String.format("Attaching window token: %s to window of type %s",
977 lp.token = windowToken;
1000 // This can happen because the dream manager service will remove the token
1003 Slog.i(TAG, "attach() called after window token already removed, dream will "
1070 pw.println("running (token=" + mWindowToken + ")");
/frameworks/base/core/java/android/widget/
H A DMediaController.java165 p.token = null;
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java495 throw new SessionNotFoundException("Session state not found for token " + sessionToken);
499 throw new SecurityException("Illegal access to the session with token " + sessionToken
512 throw new IllegalStateException("Session not yet created for token "
600 // Set up a callback to send the session token.
603 // Create a session. When failed, send a null token immediately.
661 // Also remove the session token from the session token list of the current client and
1026 // Send a null token immediately while reconnecting.
1032 // Create a new session token and a session state.
1739 for (IBinder token
[all...]
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java956 void doCreate(IVoiceInteractionManagerService service, IBinder token) { argument
958 mToken = token;
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java488 * (Absolute-token Date-value | Relative-token Delta-seconds-value) */
496 /* Absolute-token or Relative-token */
497 int token = extractByteValue(pduDataStream);
507 if (PduHeaders.VALUE_RELATIVE_TOKEN == token) {
529 * (Address-present-token Encoded-string-value | Insert-address-token)
534 /* Address-present-token or Insert-address-token */
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java1457 Slog.e(TAG, "Bogus post-install token " + msg.arg1);
1547 Slog.w(TAG, "Invalid verification token " + verificationId + " received");
1594 Slog.w(TAG, "Invalid IntentFilter verification token "
1602 "Processing IntentFilter verification with token:"
1611 "IntentFilter verification with token:" + verificationId
1625 "IntentFilter verification with token:" + verificationId
3535 final long token = Binder.clearCallingIdentity();
3543 Binder.restoreCallingIdentity(token);
9900 public void finishPackageInstall(int token) { argument
9904 Slog.v(TAG, "BM finishing package install for " + token);
[all...]

Completed in 930 milliseconds

<<1112