Searched refs:token (Results 101 - 125 of 201) sorted by relevance

123456789

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java80 public void setImeWindowStatus(IBinder token, int vis, int backDisposition) { argument
/frameworks/native/include/private/gui/
H A DLayerState.h115 sp<IBinder> token; member in struct:android::DisplayState
/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java123 IBinder token = new Binder();
126 "settings", UserHandle.USER_OWNER, token);
146 activityManager.removeContentProviderExternal("settings", token);
/frameworks/base/core/java/android/app/
H A DInstrumentation.java1017 * @param token The token for this activity to communicate with
1032 IBinder token, Application application, Intent intent, ActivityInfo info,
1038 activity.attach(context, aThread, this, token, application, intent,
1375 * @param token Internal token identifying to the system who is starting
1398 Context who, IBinder contextThread, IBinder token, Activity target,
1422 token, target != null ? target.mEmbeddedID : null,
1439 IBinder token, Activity target, Intent[] intents, Bundle options) {
1440 execStartActivitiesAsUser(who, contextThread, token, targe
1031 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
1397 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options) argument
1438 execStartActivities(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options) argument
1452 execStartActivitiesAsUser(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options, int userId) argument
1514 execStartActivity( Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options) argument
1574 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument
[all...]
H A DResourcesManager.java148 * @param token the application token for determining stack bounds.
151 Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) {
154 token);
199 r = new Resources(assets, dm, config, compatInfo, token);
150 getTopLevelResources(String resDir, int displayId, Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) argument
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java825 public void updateExtractedText(View view, int token, ExtractedText text) { argument
835 mCurMethod.updateExtractedText(token, text);
962 * @param windowToken The token of the window that is making the request,
977 * @param windowToken The token of the window that is making the request,
1008 * @param windowToken The token of the window that is making the request,
1080 // Make sure we have a window token for the served view.
1519 * from an application or a service which has a token of the currently active input method.
1520 * @param token Supplies the identifying token given to an input method
1525 public void setInputMethod(IBinder token, Strin argument
1542 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
1562 hideSoftInputFromInputMethod(IBinder token, int flags) argument
1583 showSoftInputFromInputMethod(IBinder token, int flags) argument
1601 dispatchInputEvent(InputEvent event, Object token, FinishedInputEventCallback callback, Handler handler) argument
1726 obtainPendingEventLocked(InputEvent event, Object token, String inputMethodId, FinishedInputEventCallback callback, Handler handler) argument
1977 onFinishedInputEvent(Object token, boolean handled) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMessageQueue.java48 // The next barrier token.
49 // Barriers are indicated by messages with a null target whose arg1 field carries the token.
251 // Enqueue a new sync barrier token.
254 final int token = mNextBarrierToken++;
257 msg.arg1 = token;
274 return token;
278 void removeSyncBarrier(int token) { argument
279 // Remove a sync barrier token from the queue.
284 while (p != null && (p.target != null || p.arg1 != token)) {
290 + " barrier token ha
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java356 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, IBinder token) { argument
357 getMetricsWithSize(outMetrics, ci, token, appWidth, appHeight);
361 IBinder token) {
362 getMetricsWithSize(outMetrics, compatInfo, token, logicalWidth, logicalHeight);
383 IBinder token, int width, int height) {
360 getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token) argument
382 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token, int width, int height) argument
H A DWindow.java493 if (wp.token == null) {
496 wp.token = decor.getWindowToken();
520 if (wp.token == null) {
521 wp.token = mContainer == null ? mAppToken : mContainer.mAppToken;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardViewManager.java438 // token so it doesn't wait for us to draw...
439 final IBinder token = isShowing() ? mKeyguardHost.getWindowToken() : null;
441 if (DEBUG && token == null) Slog.v(TAG, "send wm null token: "
457 callback.onShown(token);
465 callback.onShown(token);
473 callback.onShown(token);
/frameworks/native/libs/input/
H A DKeyCharacterMap.cpp877 String8 token = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); local
878 if (token == "}") {
887 if (token == "label") {
889 } else if (token == "number") {
893 status_t status = parseModifier(token, &metaState);
896 mTokenizer->getLocation().string(), token.string());
909 token = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER);
944 token = mTokenizer->nextToken(WHITESPACE);
945 if (token == "none") {
952 } else if (token
1050 parseModifier(const String8& token, int32_t* outMetaState) argument
[all...]
/frameworks/base/services/java/com/android/server/media/
H A DMediaRouterService.java134 final long token = Binder.clearCallingIdentity();
140 Binder.restoreCallingIdentity(token);
151 final long token = Binder.clearCallingIdentity();
157 Binder.restoreCallingIdentity(token);
168 final long token = Binder.clearCallingIdentity();
174 Binder.restoreCallingIdentity(token);
186 final long token = Binder.clearCallingIdentity();
192 Binder.restoreCallingIdentity(token);
208 final long token = Binder.clearCallingIdentity();
214 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java64 final IApplicationToken.Stub appToken; // window manager token
333 static ActivityRecord forToken(IBinder token) { argument
335 return token != null ? ((Token)token).weakActivity.get() : null;
337 Slog.w(ActivityManagerService.TAG, "Bad activity token: " + token, e);
971 /** Returns the key dispatching timeout for this application token. */
1005 static void activityResumedLocked(IBinder token) { argument
1006 final ActivityRecord r = ActivityRecord.forToken(token);
1012 static int getTaskForActivityLocked(IBinder token, boolea argument
1025 isInStackLocked(IBinder token) argument
1033 getStackLocked(IBinder token) argument
[all...]
H A DActivityManagerService.java502 IBinder token; field in class:ActivityManagerService.ForegroundToken
2253 public void notifyActivityDrawn(IBinder token) { argument
2254 if (DEBUG_VISBILITY) Slog.d(TAG, "notifyActivityDrawn: token=" + token);
2256 ActivityRecord r= mStackSupervisor.isInAnyStackLocked(token);
3361 public void reportActivityFullyDrawn(IBinder token) { argument
3363 ActivityRecord r = ActivityRecord.isInStackLocked(token);
3372 public void setRequestedOrientation(IBinder token, int requestedOrientation) { argument
3374 ActivityRecord r = ActivityRecord.isInStackLocked(token);
3393 public int getRequestedOrientation(IBinder token) { argument
3413 finishActivity(IBinder token, int resultCode, Intent resultData) argument
3541 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
3554 finishActivityAffinity(IBinder token) argument
3568 willActivityBeVisible(IBinder token) argument
3579 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
5069 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
5217 activityResumed(IBinder token) argument
5229 activityPaused(IBinder token) argument
5241 activityStopped(IBinder token, Bundle icicle, Bitmap thumbnail, CharSequence description) argument
5272 activityDestroyed(IBinder token) argument
5283 getCallingPackage(IBinder token) argument
5291 getCallingActivity(IBinder token) argument
5298 getCallingRecordLocked(IBinder token) argument
5307 getActivityClassForToken(IBinder token) argument
5318 getPackageForToken(IBinder token) argument
5329 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
5400 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options) argument
5593 foregroundTokenDied(ForegroundToken token) argument
5614 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
6404 grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, Uri uri, int modeFlags) argument
6430 revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode) argument
7076 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
7250 getTaskForActivity(IBinder token, boolean onlyRoot) argument
7260 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument
7268 sendPendingThumbnail(ActivityRecord r, IBinder token, Bitmap thumbnail, CharSequence description, boolean always) argument
7514 getContentProviderImpl(IApplicationThread caller, String name, IBinder token, boolean stable, int userId) argument
7807 getContentProviderExternal( String name, int userId, IBinder token) argument
7816 getContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
7845 removeContentProviderExternal(String name, IBinder token) argument
7851 removeContentProviderExternalUnchecked(String name, IBinder token, int userId) argument
8301 activitySlept(IBinder token) argument
8682 reportAssistContextExtras(IBinder token, Bundle extras) argument
8707 convertFromTranslucent(IBinder token) argument
8728 convertToTranslucent(IBinder token) argument
8750 setImmersive(IBinder token, boolean immersive) argument
8769 isImmersive(IBinder token) argument
12659 stopServiceToken(ComponentName className, IBinder token, int startId) argument
12666 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
12759 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument
12780 publishService(IBinder token, Intent intent, IBinder service) argument
12794 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
12805 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
14189 targetTaskAffinityMatchesActivity(IBinder token, String destAffinity) argument
14195 navigateUpTo(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DDisplayContent.java503 WindowToken token = mExitingTokens.get(i);
505 pw.print(' '); pw.print(token);
507 token.dump(pw, " ");
514 WindowToken token = mExitingAppTokens.get(i);
516 pw.print(' '); pw.print(token);
518 token.dump(pw, " ");
/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java502 // This token was already tokenized, so skip past the ending token.
507 // and commit the whole token.
878 // When we have a valid token, include it with the token
974 String token = editable.toString().substring(tokenStart, tokenEnd);
975 final String trimmedToken = token.trim();
978 token = trimmedToken.substring(0, trimmedToken.length() - 1);
980 RecipientEntry entry = createTokenizedEntry(token);
1005 chip.setOriginalText(token);
1024 createTokenizedEntry(final String token) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java93 public void setImeWindowStatus(IBinder token, int vis, int backDisposition); argument
191 public void setImeWindowStatus(IBinder token, int vis, int backDisposition) { argument
194 mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token)
/frameworks/base/tools/aidl/
H A Daidl_language.h23 unsigned token; member in struct:buffer_type
H A Daidl_language_l.l24 yylval.buffer.token = (t); \
102 yylval.buffer.token = IDENTIFIER;
/frameworks/native/include/binder/
H A DIPCThreadState.h52 void restoreCallingIdentity(int64_t token);
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp141 virtual status_t connect(const sp<IBinder>& token, argument
145 data.writeStrongBinder(token);
245 sp<IBinder> token = data.readStrongBinder(); local
251 status_t res = connect(token, api, producerControlledByApp, output);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.h105 virtual status_t connect(const sp<IBinder>& token,
/frameworks/base/services/java/com/android/server/accessibility/
H A DAccessibilityManagerService.java523 IBinder token = window.asBinder();
525 token, mGlobalWindowTokens, mGlobalInteractionConnections);
538 token, userState.mWindowTokens, userState.mInteractionConnections);
740 IBinder token;
743 token = mGlobalWindowTokens.get(windowId);
744 if (token == null) {
745 token = getCurrentUserStateLocked().mWindowTokens.get(windowId);
749 mWindowManagerService.getWindowFrame(token, outBounds);
2412 final long token = Binder.clearCallingIdentity();
2432 Binder.restoreCallingIdentity(token);
2904 getFocusedWindowIdLocked(IBinder token, SparseArray<IBinder> windows) argument
[all...]
/frameworks/base/services/java/com/android/server/input/
H A DInputManagerService.java183 int repeat, int token);
184 private static native void nativeCancelVibrate(int ptr, int deviceId, int token); argument
1155 public void vibrate(int deviceId, long[] pattern, int repeat, IBinder token) { argument
1162 v = mVibratorTokens.get(token);
1164 v = new VibratorToken(deviceId, token, mNextVibratorTokenValue++);
1166 token.linkToDeath(v, 0);
1171 mVibratorTokens.put(token, v);
1183 public void cancelVibrate(int deviceId, IBinder token) { argument
1186 v = mVibratorTokens.get(token);
1628 public VibratorToken(int deviceId, IBinder token, in argument
182 nativeVibrate(int ptr, int deviceId, long[] pattern, int repeat, int token) argument
[all...]
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp123 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
162 IPCThreadState::self()->restoreCallingIdentity(token);

Completed in 703 milliseconds

123456789