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

1234567891011>>

/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java164 public void updateExtractedText(int token, ExtractedText text) { argument
166 DO_UPDATE_EXTRACTED_TEXT, token, text));
H A DIInputMethodWrapper.java243 public void attachToken(IBinder token) { argument
244 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_ATTACH_TOKEN, token));
H A DInputMethodService.java363 * Take care of attaching the given window token provided by the system.
365 public void attachToken(IBinder token) { argument
367 mToken = token;
368 mWindow.setToken(token);
492 public void updateExtractedText(int token, ExtractedText text) { argument
496 onUpdateExtractedText(token, text);
1700 public void onUpdateExtractedText(int token, ExtractedText text) { argument
1701 if (mExtractedToken != token) {
2351 req.token = mExtractedToken;
/frameworks/base/keystore/java/android/security/keystore/
H A DAndroidKeyStoreSignatureSpiBase.java213 // Store operation token and handle regardless of the error code returned by KeyStore to
215 mOperationToken = opResult.token;
226 throw new ProviderException("Keystore returned null operation token");
232 mMessageStreamer = createMainDataStreamer(mKeyStore, opResult.token);
H A DAndroidKeyStoreHmacSpi.java177 // Store operation token and handle regardless of the error code returned by KeyStore to
179 mOperationToken = opResult.token;
190 throw new ProviderException("Keystore returned null operation token");
/frameworks/base/services/core/java/com/android/server/audio/
H A DPlayerRecord.java65 * A non-null token implies this record tracks a "live" player whose death is being monitored.
222 protected PlayerRecord(PendingIntent mediaIntent, ComponentName eventReceiver, IBinder token) argument
226 mToken = token;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java503 public boolean clearWindowContentFrameStats(IBinder token) throws RemoteException { argument
509 public WindowContentFrameStats getWindowContentFrameStats(IBinder token) argument
/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pGroup.java129 for (String token : tokens) {
130 String[] nameValue = token.split("=");
/frameworks/ex/common/java/com/android/common/contacts/
H A DDataUsageStatUpdater.java87 for (Rfc822Token token : tokens) {
88 addresses.add(token.getAddress());
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java598 IBinder token; field in class:ActivityManagerService.ForegroundToken
923 public final IBinder token; field in class:ActivityManagerService.Identity
928 token = _token;
2701 public void notifyActivityDrawn(IBinder token) { argument
2702 if (DEBUG_VISIBILITY) Slog.d(TAG_VISIBILITY, "notifyActivityDrawn: token=" + token);
2704 ActivityRecord r = mStackSupervisor.isInAnyStackLocked(token);
3839 throw new SecurityException("Called with bad activity token: " + resultTo);
4180 public void reportActivityFullyDrawn(IBinder token) { argument
4182 ActivityRecord r = ActivityRecord.isInStackLocked(token);
4191 setRequestedOrientation(IBinder token, int requestedOrientation) argument
4216 getRequestedOrientation(IBinder token) argument
4238 finishActivity(IBinder token, int resultCode, Intent resultData, boolean finishTask) argument
4398 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
4411 finishActivityAffinity(IBinder token) argument
4449 releaseActivityInstance(IBinder token) argument
4478 willActivityBeVisible(IBinder token) argument
4489 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
6195 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
6425 activityResumed(IBinder token) argument
6437 activityPaused(IBinder token) argument
6449 activityStopped(IBinder token, Bundle icicle, PersistableBundle persistentState, CharSequence description) argument
6473 activityDestroyed(IBinder token) argument
6484 backgroundResourcesReleased(IBinder token) argument
6499 notifyLaunchTaskBehindComplete(IBinder token) argument
6504 notifyEnterAnimationComplete(IBinder token) argument
6509 getCallingPackage(IBinder token) argument
6517 getCallingActivity(IBinder token) argument
6524 getCallingRecordLocked(IBinder token) argument
6533 getActivityClassForToken(IBinder token) argument
6544 getPackageForToken(IBinder token) argument
6555 isRootVoiceInteraction(IBinder token) argument
6566 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
6637 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options) argument
6868 foregroundTokenDied(ForegroundToken token) argument
6889 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
7850 grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, Uri uri, final int modeFlags, int sourceUserId, int targetUserId) argument
7883 revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode, int userId) argument
8545 setTaskDescription(IBinder token, ActivityManager.TaskDescription td) argument
8802 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
8975 getTaskForActivity(IBinder token, boolean onlyRoot) argument
9060 startLockTaskMode(IBinder token) argument
9151 showLockTaskEscapeMessage(IBinder token) argument
9407 getContentProviderImpl(IApplicationThread caller, String name, IBinder token, boolean stable, int userId) argument
9762 getContentProviderExternal( String name, int userId, IBinder token) argument
9771 getContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
9805 removeContentProviderExternal(String name, IBinder token) argument
9817 removeContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
10373 activitySlept(IBinder token) argument
10754 showAssistFromActivity(IBinder token, Bundle args) argument
10854 reportAssistContextExtras(IBinder token, Bundle extras, AssistStructure structure, AssistContent content, Uri referrer) argument
10953 convertFromTranslucent(IBinder token) argument
10975 convertToTranslucent(IBinder token, ActivityOptions options) argument
11002 requestVisibleBehind(IBinder token, boolean visible) argument
11018 isBackgroundVisibleBehind(IBinder token) argument
11034 getActivityOptions(IBinder token) argument
11052 setImmersive(IBinder token, boolean immersive) argument
11069 isImmersive(IBinder token) argument
11088 isTopOfTask(IBinder token) argument
15733 stopServiceToken(ComponentName className, IBinder token, int startId) argument
15741 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
15897 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, String callingPackage, int userId) argument
15923 publishService(IBinder token, Intent intent, IBinder service) argument
15937 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
15948 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
17431 shouldUpRecreateTask(IBinder token, String destAffinity) argument
17441 navigateUpTo(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument
[all...]
H A DActivityRecord.java93 final IApplicationToken.Stub appToken; // window manager token
399 private static final ActivityRecord tokenToActivityRecordLocked(Token token) { argument
400 if (token == null) {
403 ActivityRecord r = token.weakActivity.get();
422 static ActivityRecord forTokenLocked(IBinder token) { argument
424 return Token.tokenToActivityRecordLocked((Token)token);
426 Slog.w(TAG, "Bad activity token: " + token, e);
1100 static void activityResumedLocked(IBinder token) { argument
1101 final ActivityRecord r = ActivityRecord.forTokenLocked(token);
1107 getTaskForActivityLocked(IBinder token, boolean onlyRoot) argument
1120 isInStackLocked(IBinder token) argument
1125 getStackLocked(IBinder token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DDeviceIdleController.java762 final long token = Binder.clearCallingIdentity();
767 Binder.restoreCallingIdentity(token);
1674 long token = Binder.clearCallingIdentity();
1680 Binder.restoreCallingIdentity(token);
1686 long token = Binder.clearCallingIdentity();
1707 Binder.restoreCallingIdentity(token);
1713 long token = Binder.clearCallingIdentity();
1721 Binder.restoreCallingIdentity(token);
1727 long token = Binder.clearCallingIdentity();
1736 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/core/java/android/os/
H A DMessageQueue.java57 // The next barrier token.
58 // Barriers are indicated by messages with a null target whose arg1 field carries the token.
442 * the token that identifies the synchronization barrier.
450 * the same token to ensure that the message queue resumes normal operation.
453 * @return A token that uniquely identifies the barrier. This token must be
463 // Enqueue a new sync barrier token.
466 final int token = mNextBarrierToken++;
470 msg.arg1 = token;
487 return token;
501 removeSyncBarrier(int token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DSession.java352 IBinder token = window.asBinder();
354 Slog.d(WindowManagerService.TAG, "Drop result=" + consumed + " reported by " + token);
367 if (mService.mDragState.mToken != token) {
450 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { argument
454 mService.onRectangleOnScreenRequested(token, rectangle);
H A DDisplayContent.java414 WindowToken token = mExitingTokens.get(i);
416 pw.print(' '); pw.print(token);
418 token.dump(pw, " ");
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1172 final long token = Binder.clearCallingIdentity();
1180 Binder.restoreCallingIdentity(token);
1193 final long token = Binder.clearCallingIdentity();
1202 Binder.restoreCallingIdentity(token);
1214 final long token = Binder.clearCallingIdentity();
1218 Binder.restoreCallingIdentity(token);
1230 final long token = Binder.clearCallingIdentity();
1234 Binder.restoreCallingIdentity(token);
1250 final long token = Binder.clearCallingIdentity();
1258 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp375 sp<AReplyToken> token = looper->createReplyToken(); local
376 if (token == NULL) {
377 ALOGE("failed to create reply token");
380 setObject("replyID", token);
383 return looper->awaitResponse(token, response);
388 ALOGW("failed to post reply to a NULL token");
/frameworks/base/core/java/android/text/method/
H A DCharacterPickerDialog.java71 params.token = mView.getApplicationWindowToken();
/frameworks/base/core/java/android/view/
H A DWindow.java582 if (wp.token == null) {
585 wp.token = decor.getWindowToken();
611 if (wp.token == null) {
612 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuDialogHelper.java49 * @param windowToken Optional token to assign to the window.
85 lp.token = windowToken;
/frameworks/base/libs/storage/
H A DIMountService.cpp446 const sp<IObbActionListener>& token, int32_t nonce)
453 data.writeStrongBinder(IInterface::asBinder(token));
467 const sp<IObbActionListener>& token, const int32_t nonce)
473 data.writeStrongBinder(IInterface::asBinder(token));
445 mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, const sp<IObbActionListener>& token, int32_t nonce) argument
466 unmountObb(const String16& filename, const bool force, const sp<IObbActionListener>& token, const int32_t nonce) argument
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java551 + " with windowId: " + windowId + " and token: " + windowToken.asBinder());
563 + " and token: " + windowToken.asBinder());
578 IBinder token = window.asBinder();
580 token, mGlobalWindowTokens, mGlobalInteractionConnections);
584 + " with windowId: " + removedWindowId + " and token: " + window.asBinder());
593 token, userState.mWindowTokens, userState.mInteractionConnections);
598 + mUserStates.keyAt(i) + " and token: " + window.asBinder());
735 IBinder token = mGlobalWindowTokens.get(windowId);
736 if (token != null) {
737 return token;
1880 findWindowIdLocked(IBinder token) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContentProvider.java93 String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token)
92 openFile( String callingPackage, Uri arg0, String arg1, ICancellationSignal signal, IBinder token) argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuDialogHelper.java50 * @param windowToken Optional token to assign to the window.
86 lp.token = windowToken;
/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java192 int repeat, int token);
193 private static native void nativeCancelVibrate(long ptr, int deviceId, int token); argument
1285 public void vibrate(int deviceId, long[] pattern, int repeat, IBinder token) { argument
1292 v = mVibratorTokens.get(token);
1294 v = new VibratorToken(deviceId, token, mNextVibratorTokenValue++);
1296 token.linkToDeath(v, 0);
1301 mVibratorTokens.put(token, v);
1313 public void cancelVibrate(int deviceId, IBinder token) { argument
1316 v = mVibratorTokens.get(token);
1765 public VibratorToken(int deviceId, IBinder token, in argument
191 nativeVibrate(long ptr, int deviceId, long[] pattern, int repeat, int token) argument
[all...]

Completed in 823 milliseconds

1234567891011>>