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

1234567891011>>

/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerService.java457 Binder token; field in class:NotificationManagerService.ToastRecord
460 Binder token) {
465 this.token = token;
1333 Binder token = new Binder();
1334 mWindowManagerInternal.addWindowToken(token,
1336 record = new ToastRecord(callingPid, pkg, callback, duration, token);
1602 public void unregisterListener(INotificationListener token, int userid) {
1603 mListeners.unregisterService(token, userid);
1611 * @param token Th
459 ToastRecord(int pid, String pkg, ITransientNotification callback, int duration, Binder token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java336 final long token = Binder.clearCallingIdentity();
344 Binder.restoreCallingIdentity(token);
479 long token = Binder.clearCallingIdentity();
523 Binder.restoreCallingIdentity(token);
540 long token = Binder.clearCallingIdentity();
550 Binder.restoreCallingIdentity(token);
655 long token = Binder.clearCallingIdentity();
665 Binder.restoreCallingIdentity(token);
677 long token = Binder.clearCallingIdentity();
681 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp105 for(char *token = strtok(patterns, delim);
106 !ignore && token != NULL;
107 token = strtok(NULL, delim)) {
108 chatty = token[0] != '!';
109 if (!chatty) token++; // skip !
110 if (strncasecmp(token, "<dir>" , 5) == 0) {
112 token += 5;
114 if (strncasecmp(token, "<file>", 6) == 0) {
116 token += 6;
119 matchedPattern = token;
[all...]
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java70 // The currently-active restore set always has the same (nonzero!) token
433 for (long token : POSSIBLE_SETS) {
434 if ((new File(mDataDir, Long.toString(token))).exists()) {
435 existing[num++] = token;
450 // The current restore set always has the same token
455 public int startRestore(long token, PackageInfo[] packages) { argument
456 if (DEBUG) Log.v(TAG, "start restore " + token + " : " + packages.length
460 mRestoreSetDir = new File(mDataDir, Long.toString(token));
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java110 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, argument
113 mToken = token;
510 final IBinder token = touchedWin.mClient.asBinder();
517 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, token);
518 Message msg = mService.mH.obtainMessage(H.DRAG_END_TIMEOUT, token);
528 mToken = token;
/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/core/java/android/widget/
H A DToast.java344 IBinder token = (IBinder) msg.obj;
345 handleShow(token);
428 mParams.token = windowToken;
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java771 IBinder token; field in class:ActivityManagerService.ForegroundToken
1103 public final IBinder token; field in class:ActivityManagerService.Identity
1108 token = _token;
3133 public void notifyActivityDrawn(IBinder token) { argument
3134 if (DEBUG_VISIBILITY) Slog.d(TAG_VISIBILITY, "notifyActivityDrawn: token=" + token);
3136 ActivityRecord r = mStackSupervisor.isInAnyStackLocked(token);
4387 throw new SecurityException("Called with bad activity token: " + resultTo);
4578 long token = Binder.clearCallingIdentity();
4582 Binder.restoreCallingIdentity(token);
4772 reportActivityFullyDrawn(IBinder token) argument
4783 setRequestedOrientation(IBinder token, int requestedOrientation) argument
4810 getRequestedOrientation(IBinder token) argument
4831 finishActivity(IBinder token, int resultCode, Intent resultData, int finishTask) argument
4957 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
4970 finishActivityAffinity(IBinder token) argument
5010 releaseActivityInstance(IBinder token) argument
5039 willActivityBeVisible(IBinder token) argument
5050 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
6677 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
6901 activityResumed(IBinder token) argument
6913 activityPaused(IBinder token) argument
6925 activityStopped(IBinder token, Bundle icicle, PersistableBundle persistentState, CharSequence description) argument
6949 activityDestroyed(IBinder token) argument
6960 activityRelaunched(IBinder token) argument
6969 reportSizeConfigurations(IBinder token, int[] horizontalSizeConfiguration, int[] verticalSizeConfigurations, int[] smallestSizeConfigurations) argument
6985 backgroundResourcesReleased(IBinder token) argument
7000 notifyLaunchTaskBehindComplete(IBinder token) argument
7005 notifyEnterAnimationComplete(IBinder token) argument
7010 getCallingPackage(IBinder token) argument
7018 getCallingActivity(IBinder token) argument
7025 getCallingRecordLocked(IBinder token) argument
7034 getActivityClassForToken(IBinder token) argument
7045 getPackageForToken(IBinder token) argument
7056 isRootVoiceInteraction(IBinder token) argument
7067 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle bOptions, int userId) argument
7138 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle bOptions) argument
7452 foregroundTokenDied(ForegroundToken token) argument
7473 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
7542 isInMultiWindowMode(IBinder token) argument
7559 isInPictureInPictureMode(IBinder token) argument
7575 enterPictureInPictureMode(IBinder token) argument
8601 grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, Uri uri, final int modeFlags, int sourceUserId, int targetUserId) argument
8635 revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode, int userId) argument
9379 setTaskDescription(IBinder token, ActivityManager.TaskDescription td) argument
9744 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
9838 getActivityStackId(IBinder token) argument
9849 exitFreeformMode(IBinder token) argument
10137 getTaskForActivity(IBinder token, boolean onlyRoot) argument
10223 startLockTaskMode(IBinder token) argument
10322 showLockTaskEscapeMessage(IBinder token) argument
10613 getContentProviderImpl(IApplicationThread caller, String name, IBinder token, boolean stable, int userId) argument
11024 getContentProviderExternal( String name, int userId, IBinder token) argument
11033 getContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
11067 removeContentProviderExternal(String name, IBinder token) argument
11079 removeContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
11748 activitySlept(IBinder token) argument
12243 showAssistFromActivity(IBinder token, Bundle args) argument
12365 reportAssistContextExtras(IBinder token, Bundle extras, AssistStructure structure, AssistContent content, Uri referrer) argument
12468 convertFromTranslucent(IBinder token) argument
12490 convertToTranslucent(IBinder token, ActivityOptions options) argument
12517 requestVisibleBehind(IBinder token, boolean visible) argument
12533 isBackgroundVisibleBehind(IBinder token) argument
12549 getActivityOptions(IBinder token) argument
12567 setImmersive(IBinder token, boolean immersive) argument
12584 isImmersive(IBinder token) argument
12680 setVrMode(IBinder token, boolean enabled, ComponentName packageName) argument
12734 isTopOfTask(IBinder token) argument
17171 stopServiceToken(ComponentName className, IBinder token, int startId) argument
17179 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, int flags) argument
17240 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, String callingPackage, int userId) argument
17266 publishService(IBinder token, Intent intent, IBinder service) argument
17280 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
17291 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
19112 shouldUpRecreateTask(IBinder token, String destAffinity) argument
19122 navigateUpTo(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument
21627 unlockUser(int userId, byte[] token, byte[] secret, IProgressListener listener) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsService.java652 final long token = Binder.clearCallingIdentity();
657 Binder.restoreCallingIdentity(token);
722 final long token = Binder.clearCallingIdentity();
726 Binder.restoreCallingIdentity(token);
735 final long token = Binder.clearCallingIdentity();
739 Binder.restoreCallingIdentity(token);
785 final long token = Binder.clearCallingIdentity();
790 Binder.restoreCallingIdentity(token);
804 final long token = Binder.clearCallingIdentity();
808 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java81 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutService.java1112 final long token = injectClearCallingIdentity();
1116 injectRestoreCallingIdentity(token);
1313 final long token = injectClearCallingIdentity();
1379 injectRestoreCallingIdentity(token);
2029 final long token = injectClearCallingIdentity();
2033 injectRestoreCallingIdentity(token);
2530 final long token = injectClearCallingIdentity();
2534 injectRestoreCallingIdentity(token);
2556 final long token = injectClearCallingIdentity();
2611 injectRestoreCallingIdentity(token);
3625 injectRestoreCallingIdentity(long token) argument
[all...]
/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/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...]

Completed in 9457 milliseconds

1234567891011>>