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

1234567891011>>

/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java146 IBinder token = new Binder();
149 "settings", UserHandle.USER_SYSTEM, token);
178 activityManager.removeContentProviderExternal("settings", token);
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java755 IBinder token; field in class:ActivityManagerService.ForegroundToken
1087 public final IBinder token; field in class:ActivityManagerService.Identity
1092 token = _token;
3079 public void notifyActivityDrawn(IBinder token) { argument
3080 if (DEBUG_VISIBILITY) Slog.d(TAG_VISIBILITY, "notifyActivityDrawn: token=" + token);
3082 ActivityRecord r = mStackSupervisor.isInAnyStackLocked(token);
4324 throw new SecurityException("Called with bad activity token: " + resultTo);
4515 long token = Binder.clearCallingIdentity();
4519 Binder.restoreCallingIdentity(token);
4709 reportActivityFullyDrawn(IBinder token) argument
4720 setRequestedOrientation(IBinder token, int requestedOrientation) argument
4747 getRequestedOrientation(IBinder token) argument
4768 finishActivity(IBinder token, int resultCode, Intent resultData, int finishTask) argument
4894 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
4907 finishActivityAffinity(IBinder token) argument
4947 releaseActivityInstance(IBinder token) argument
4976 willActivityBeVisible(IBinder token) argument
4987 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
6610 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
6835 activityResumed(IBinder token) argument
6847 activityPaused(IBinder token) argument
6859 activityStopped(IBinder token, Bundle icicle, PersistableBundle persistentState, CharSequence description) argument
6883 activityDestroyed(IBinder token) argument
6894 activityRelaunched(IBinder token) argument
6903 reportSizeConfigurations(IBinder token, int[] horizontalSizeConfiguration, int[] verticalSizeConfigurations, int[] smallestSizeConfigurations) argument
6919 backgroundResourcesReleased(IBinder token) argument
6934 notifyLaunchTaskBehindComplete(IBinder token) argument
6939 notifyEnterAnimationComplete(IBinder token) argument
6944 getCallingPackage(IBinder token) argument
6952 getCallingActivity(IBinder token) argument
6959 getCallingRecordLocked(IBinder token) argument
6968 getActivityClassForToken(IBinder token) argument
6979 getPackageForToken(IBinder token) argument
6990 isRootVoiceInteraction(IBinder token) argument
7001 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle bOptions, int userId) argument
7072 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle bOptions) argument
7386 foregroundTokenDied(ForegroundToken token) argument
7407 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
7476 isInMultiWindowMode(IBinder token) argument
7493 isInPictureInPictureMode(IBinder token) argument
7509 enterPictureInPictureMode(IBinder token) argument
8535 grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, Uri uri, final int modeFlags, int sourceUserId, int targetUserId) argument
8569 revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode, int userId) argument
9315 setTaskDescription(IBinder token, ActivityManager.TaskDescription td) argument
9680 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
9774 getActivityStackId(IBinder token) argument
9785 exitFreeformMode(IBinder token) argument
10073 getTaskForActivity(IBinder token, boolean onlyRoot) argument
10159 startLockTaskMode(IBinder token) argument
10258 showLockTaskEscapeMessage(IBinder token) argument
10549 getContentProviderImpl(IApplicationThread caller, String name, IBinder token, boolean stable, int userId) argument
10960 getContentProviderExternal( String name, int userId, IBinder token) argument
10969 getContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
11003 removeContentProviderExternal(String name, IBinder token) argument
11015 removeContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
11676 activitySlept(IBinder token) argument
12162 showAssistFromActivity(IBinder token, Bundle args) argument
12284 reportAssistContextExtras(IBinder token, Bundle extras, AssistStructure structure, AssistContent content, Uri referrer) argument
12387 convertFromTranslucent(IBinder token) argument
12409 convertToTranslucent(IBinder token, ActivityOptions options) argument
12436 requestVisibleBehind(IBinder token, boolean visible) argument
12452 isBackgroundVisibleBehind(IBinder token) argument
12468 getActivityOptions(IBinder token) argument
12486 setImmersive(IBinder token, boolean immersive) argument
12503 isImmersive(IBinder token) argument
12514 setVrMode(IBinder token, boolean enabled, ComponentName packageName) argument
12568 isTopOfTask(IBinder token) argument
16962 stopServiceToken(ComponentName className, IBinder token, int startId) argument
16970 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, int flags) argument
17031 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, String callingPackage, int userId) argument
17057 publishService(IBinder token, Intent intent, IBinder service) argument
17071 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
17082 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
18854 shouldUpRecreateTask(IBinder token, String destAffinity) argument
18864 navigateUpTo(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument
21294 unlockUser(int userId, byte[] token, byte[] secret, IProgressListener listener) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java645 final long token = Binder.clearCallingIdentity();
650 Binder.restoreCallingIdentity(token);
715 final long token = Binder.clearCallingIdentity();
719 Binder.restoreCallingIdentity(token);
728 final long token = Binder.clearCallingIdentity();
732 Binder.restoreCallingIdentity(token);
778 final long token = Binder.clearCallingIdentity();
783 Binder.restoreCallingIdentity(token);
797 final long token = Binder.clearCallingIdentity();
801 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java353 public void notifyAppStopped(IBinder token, boolean stopped) throws RemoteException { argument
528 public boolean clearWindowContentFrameStats(IBinder token) throws RemoteException { argument
534 public WindowContentFrameStats getWindowContentFrameStats(IBinder token) argument
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustAgentWrapper.java167 IBinder token = (IBinder) msg.obj;
169 if (mSetTrustAgentFeaturesToken == token) {
179 + "with obsolete token: " + mName);
221 public void onConfigureCompleted(boolean result, IBinder token) {
224 result ? 1 : 0, 0, token).sendToTarget();
/frameworks/native/include/binder/
H A DIPCThreadState.h52 void restoreCallingIdentity(int64_t token);
/frameworks/native/include/private/gui/
H A DLayerState.h132 sp<IBinder> token; member in struct:android::DisplayState
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.h51 virtual status_t connect(const sp<IProducerListener>& token, int api,
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java73 IBinder token = data.readStrongBinder();
75 + " using token " + token);
76 if (token != null) {
77 if (DEBUG_PARCEL) Log.d(TAG, "Resuming partial write of " + token);
78 if (token instanceof ParcelTransferWriter) {
79 ParcelTransferWriter xfer = (ParcelTransferWriter)token;
83 Log.w(TAG, "Caller supplied bad token type: " + token);
290 int token
[all...]
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java870 public void onSessionCreated(String inputId, IBinder token, InputChannel channel,
875 Log.e(TAG, "Callback not found for " + token);
879 if (token != null) {
880 session = new Session(token, channel, mService, mUserId, seq,
1662 private Session(IBinder token, InputChannel channel, ITvInputManager service, int userId, argument
1664 mToken = token;
2231 * @param token A token used to identify the input event later in the callback.
2241 public int dispatchInputEvent(@NonNull InputEvent event, Object token, argument
2250 PendingEvent p = obtainPendingEventLocked(event, token, callbac
2278 onFinishedInputEvent(Object token, boolean handled) argument
2365 obtainPendingEventLocked(InputEvent event, Object token, FinishedInputEventCallback callback, Handler handler) argument
[all...]
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp928 String8 token = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); local
929 if (token == "}") {
938 if (token == "label") {
940 } else if (token == "number") {
944 status_t status = parseModifier(token, &metaState);
947 mTokenizer->getLocation().string(), token.string());
960 token = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER);
1001 token = mTokenizer->nextToken(WHITESPACE);
1002 if (token == "none") {
1014 } else if (token
1137 parseModifier(const String8& token, int32_t* outMetaState) argument
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp128 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
167 IPCThreadState::self()->restoreCallingIdentity(token);
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java251 boolean ordered, boolean sticky, IBinder token, int userId, int flags) {
258 mToken = token;
250 PendingResult(int resultCode, String resultData, Bundle resultExtras, int type, boolean ordered, boolean sticky, IBinder token, int userId, int flags) argument
/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));
/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);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java1580 public void unregisterListener(INotificationListener token, int userid) {
1581 mListeners.unregisterService(token, userid);
1589 * @param token The binder for the listener, to check that the caller is allowed
1592 public void cancelNotificationsFromListener(INotificationListener token, String[] keys) {
1598 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
1645 public void requestUnbindListener(INotificationListener token) {
1649 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
1657 public void setNotificationsShownFromListener(INotificationListener token, String[] keys) {
1661 final ManagedServiceInfo info = mListeners.checkServiceTokenLocked(token);
1702 * @param token Th
[all...]
/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/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.java381 IBinder token = window.asBinder();
383 Slog.d(TAG_WM, "Drop result=" + consumed + " reported by " + token);
396 if (mService.mDragState.mToken != token) {
511 public void onRectangleOnScreenRequested(IBinder token, Rect rectangle) { argument
515 mService.onRectangleOnScreenRequested(token, rectangle);
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java101 final long token = (((long) callingUid) << 32) | (callingPid);
104 return token;
107 public void restoreCallingIdentity(long token) { argument
108 callingUid = (int) (token >> 32);
109 callingPid = (int) token;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java1231 final long token = Binder.clearCallingIdentity();
1239 Binder.restoreCallingIdentity(token);
1252 final long token = Binder.clearCallingIdentity();
1261 Binder.restoreCallingIdentity(token);
1273 final long token = Binder.clearCallingIdentity();
1277 Binder.restoreCallingIdentity(token);
1289 final long token = Binder.clearCallingIdentity();
1294 Binder.restoreCallingIdentity(token);
1310 final long token = Binder.clearCallingIdentity();
1316 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java497 IObbActionListener token, int nonce) {
502 this.token = token;
512 final IObbActionListener token; field in class:MountService.ObbState
514 // Identifier to pass back to the token
518 return token.asBinder();
541 sb.append(",token=").append(token);
817 final long token = Binder.clearCallingIdentity();
840 Binder.restoreCallingIdentity(token);
496 ObbState(String rawPath, String canonicalPath, int callingUid, IObbActionListener token, int nonce) argument
2467 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
2483 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
2832 addUserKeyAuth(int userId, int serialNumber, byte[] token, byte[] secret) argument
2860 unlockUserKey(int userId, int serialNumber, byte[] token, byte[] secret) argument
[all...]
H A DDeviceIdleController.java1583 final long token = Binder.clearCallingIdentity();
1588 Binder.restoreCallingIdentity(token);
2525 long token = Binder.clearCallingIdentity();
2539 Binder.restoreCallingIdentity(token);
2546 long token = Binder.clearCallingIdentity();
2587 Binder.restoreCallingIdentity(token);
2594 long token = Binder.clearCallingIdentity();
2603 Binder.restoreCallingIdentity(token);
2610 long token = Binder.clearCallingIdentity();
2618 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/core/java/android/os/storage/
H A DIMountService.java495 IObbActionListener token, int nonce) throws RemoteException {
503 _data.writeStrongBinder((token != null ? token.asBinder() : null));
521 String rawPath, boolean force, IObbActionListener token, int nonce)
529 _data.writeStrongBinder((token != null ? token.asBinder() : null));
1237 byte[] token, byte[] secret) throws RemoteException {
1244 _data.writeByteArray(token);
1271 byte[] token, byte[] secret) throws RemoteException {
1278 _data.writeByteArray(token);
494 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
520 unmountObb( String rawPath, boolean force, IObbActionListener token, int nonce) argument
1236 addUserKeyAuth(int userId, int serialNumber, byte[] token, byte[] secret) argument
1270 unlockUserKey(int userId, int serialNumber, byte[] token, byte[] secret) argument
2247 mountObb(String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument
2292 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument
2477 addUserKeyAuth(int userId, int serialNumber, byte[] token, byte[] secret) argument
2481 unlockUserKey(int userId, int serialNumber, byte[] token, byte[] secret) argument
[all...]

Completed in 1486 milliseconds

1234567891011>>