Searched refs:token (Results 76 - 100 of 249) sorted by relevance

12345678910

/frameworks/base/services/core/java/com/android/server/
H A DVibratorService.java98 Vibration(IBinder token, long millis, int usageHint, int uid, String opPkg) { argument
99 this(token, millis, null, 0, usageHint, uid, opPkg);
102 Vibration(IBinder token, long[] pattern, int repeat, int usageHint, int uid, argument
104 this(token, 0, pattern, repeat, usageHint, uid, opPkg);
107 private Vibration(IBinder token, long millis, long[] pattern, argument
109 mToken = token;
227 IBinder token) {
247 Vibration vib = new Vibration(token, milliseconds, usageHint, uid, opPkg);
252 removeVibrationLocked(token);
274 int usageHint, IBinder token) {
226 vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token) argument
273 vibratePattern(int uid, String packageName, long[] pattern, int repeat, int usageHint, IBinder token) argument
326 cancelVibrate(IBinder token) argument
432 removeVibrationLocked(IBinder token) argument
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java255 if (mRoots.get(i).mWindow.asBinder() == wparams.token) {
324 public void closeAll(IBinder token, String who, String what) { argument
327 //Log.i("foo", "Closing all windows of " + token);
329 //Log.i("foo", "@ " + i + " token " + mParams[i].token
331 if (token == null || mParams.get(i).token == token) {
506 public void setStoppedState(IBinder token, boolean stopped) { argument
510 if (token
530 changeCanvasOpacity(IBinder token, boolean opaque) argument
[all...]
H A DWindowManagerInternal.java116 * Gets the magnification and translation applied to a window given its token.
121 * @param windowToken The window's token.
147 * Gets the token of the window that has input focus.
149 * @return The token.
159 * Gets the frame of a window given its token.
161 * @param token The token.
164 public abstract void getWindowFrame(IBinder token, Rect outBounds); argument
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java319 IBinder token = data.readStrongBinder();
326 boolean res = finishActivity(token, resultCode, resultData, finishTask);
334 IBinder token = data.readStrongBinder();
337 finishSubActivity(token, resultWho, requestCode);
344 IBinder token = data.readStrongBinder();
345 boolean res = finishActivityAffinity(token);
362 IBinder token = data.readStrongBinder();
363 boolean res = releaseActivityInstance(token);
379 IBinder token = data.readStrongBinder();
380 boolean res = willActivityBeVisible(token);
2643 finishActivity(IBinder token, int resultCode, Intent resultData, boolean finishTask) argument
2664 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
2677 finishActivityAffinity(IBinder token) argument
2699 releaseActivityInstance(IBinder token) argument
2721 willActivityBeVisible(IBinder token) argument
2836 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
2855 activityResumed(IBinder token) argument
2866 activityPaused(IBinder token) argument
2877 activityStopped(IBinder token, Bundle state, PersistableBundle persistentState, CharSequence description) argument
2892 activitySlept(IBinder token) argument
2903 activityDestroyed(IBinder token) argument
2914 getCallingPackage(IBinder token) argument
2927 getCallingActivity(IBinder token) argument
3135 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
3243 getTaskForActivity(IBinder token, boolean onlyRoot) argument
3277 getContentProviderExternal(String name, int userId, IBinder token) argument
3360 removeContentProviderExternal(String name, IBinder token) argument
3421 stopServiceToken(ComponentName className, IBinder token, int startId) argument
3436 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
3456 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument
3490 publishService(IBinder token, Intent intent, IBinder service) argument
3504 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
3518 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
3652 setRequestedOrientation(IBinder token, int requestedOrientation) argument
3664 getRequestedOrientation(IBinder token) argument
3676 getActivityClassForToken(IBinder token) argument
3689 getPackageForToken(IBinder token) argument
3702 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
3813 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
4331 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
4379 convertFromTranslucent(IBinder token) argument
4393 convertToTranslucent(IBinder token, ActivityOptions options) argument
4413 getActivityOptions(IBinder token) argument
4427 setImmersive(IBinder token, boolean immersive) argument
4440 isImmersive(IBinder token) argument
4454 isTopOfTask(IBinder token) argument
4919 shouldUpRecreateTask(IBinder token, String destAffinity) argument
4934 navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) argument
5043 reportAssistContextExtras(IBinder token, Bundle extras) argument
5097 reportActivityFullyDrawn(IBinder token) argument
5108 notifyActivityDrawn(IBinder token) argument
5217 startLockTaskMode(IBinder token) argument
5275 setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument
5303 requestVisibleBehind(IBinder token, boolean visible) argument
5318 isBackgroundVisibleBehind(IBinder token) argument
5332 backgroundResourcesReleased(IBinder token) argument
5345 notifyLaunchTaskBehindComplete(IBinder token) argument
5358 notifyEnterAnimationComplete(IBinder token) argument
[all...]
H A DUiAutomationConnection.java168 IBinder token = mAccessibilityManager.getWindowToken(windowId);
169 if (token == null) {
172 return mWindowManager.clearWindowContentFrameStats(token);
187 IBinder token = mAccessibilityManager.getWindowToken(windowId);
188 if (token == null) {
191 return mWindowManager.getWindowContentFrameStats(token);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPolicyControl.java240 // value = comma-delimited list of tokens, where token = (package name|apps|*)
246 for (String token : value.split(",")) {
247 token = token.trim();
248 if (token.startsWith("-") && token.length() > 1) {
249 token = token.substring(1);
250 blacklist.add(token);
252 whitelist.add(token);
[all...]
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DShellUiAutomatorBridge.java61 IBinder token = new Binder();
64 providerName, UserHandle.USER_OWNER, token);
84 activityManager.removeContentProviderExternal(providerName, token);
/frameworks/base/core/java/android/app/backup/
H A DRestoreSession.java71 * @param token The token from {@link #getAvailableRestoreSets()} corresponding to
76 public int restoreAll(long token, RestoreObserver observer) { argument
84 err = mBinder.restoreAll(token, mObserver);
100 * @param token The token from {@link getAvailableRestoreSets()} corresponding to
105 * the contents of the actual back-end dataset named by {@code token}, only
110 public int restoreSome(long token, RestoreObserver observer, String[] packages) { argument
118 err = mBinder.restoreSome(token, mObserver, packages);
H A DBackupTransport.java251 * Get the identifying token of the backup set currently being stored from
255 * @return A token that can be passed to {@link #startRestore}, or 0 if there
267 * @param token A backup token as returned by {@link #getAvailableRestoreSets}
275 public int startRestore(long token, PackageInfo[] packages) { argument
558 public int startRestore(long token, PackageInfo[] packages) throws RemoteException { argument
559 return BackupTransport.this.startRestore(token, packages);
/frameworks/base/core/java/android/service/trust/
H A DTrustAgentService.java117 IBinder token = (IBinder) msg.obj;
121 mCallback.onSetTrustAgentFeaturesEnabledCompleted(result, token);
318 public void setTrustAgentFeaturesEnabled(Bundle features, IBinder token) { argument
319 Message msg = mHandler.obtainMessage(MSG_SET_TRUST_AGENT_FEATURES_ENABLED, token);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java82 * unique token for the session it has with the system service. It is
84 * This token <strong>must not</strong> be passed to applications, since
88 * accept the first token given to you. Any after that may come from the
91 public void attachToken(IBinder token); argument
H A DInputMethodSession.java102 * @param token The input method supplied token for identifying its request.
105 public void updateExtractedText(int token, ExtractedText text); argument
/frameworks/base/core/java/com/android/internal/statusbar/
H A DIStatusBarService.aidl29 void disable(int what, IBinder token, String pkg);
34 void setImeWindowStatus(in IBinder token, int vis, int backDisposition,
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DObbBackupService.java57 int token, IBackupManager callbackBinder) {
95 callbackBinder.opComplete(token);
107 int token, IBackupManager callbackBinder) {
122 callbackBinder.opComplete(token);
/frameworks/base/core/java/android/os/
H A DHandler.java372 public final boolean postAtTime(Runnable r, Object token, long uptimeMillis) argument
374 return sendMessageAtTime(getPostMessage(r, token), uptimeMillis);
488 * <var>token</var> that are in the message queue. If <var>token</var> is null,
491 public final void removeCallbacks(Runnable r, Object token) argument
493 mQueue.removeMessages(this, r, token);
653 * <var>obj</var> is <var>token</var>. If <var>token</var> is null,
656 public final void removeCallbacksAndMessages(Object token) { argument
657 mQueue.removeCallbacksAndMessages(this, token);
731 getPostMessage(Runnable r, Object token) argument
[all...]
/frameworks/base/core/java/com/android/internal/backup/
H A DIBackupTransport.aidl179 * Get the identifying token of the backup set currently being stored from
183 * @return A token that can be passed to {@link #startRestore}, or 0 if there
193 * @param token A backup token as returned by {@link #getAvailableRestoreSets}
201 int startRestore(long token, in PackageInfo[] packages);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodSession.aidl34 void updateExtractedText(int token, in ExtractedText text);
/frameworks/base/media/java/android/media/tv/
H A DITvInputClient.aidl32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq);
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp142 Token token = scan<true>(handler, file_off, sect_reg); local
143 llvm::StringRef entry = pInput.memArea()->request(token.file_off, token.size);
145 if (!transition[cur_state][token.kind](pEhFrame, entry, token)) {
151 file_off += token.size;
152 handler += token.size;
160 cur_state = autometa[cur_state][token.kind];
/frameworks/native/cmds/servicemanager/
H A Dbctest.c56 unsigned token; variable
96 svcmgr_publish(bs, svcmgr, argv[1], &token);
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp208 String8 token; local
214 token.setTo(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start);
215 tokens->add(token);
236 // Computes number of tokens. A token marks the type, offset in
257 String8 token; local
262 token.setTo(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start);
263 jsonObjects->add(token);
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamController.java111 public void startDream(Binder token, ComponentName name, argument
124 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId);
127 mIWindowManager.addWindowToken(token, WindowManager.LayoutParams.TYPE_DREAM);
129 Slog.e(TAG, "Unable to add window token for dream.", ex);
197 // it can shut down nicely before we yank its window token out from
220 Slog.w(TAG, "Error removing window token for dream.", ex);
256 void onDreamStopped(Binder token); argument
273 public DreamRecord(Binder token, ComponentName name, argument
275 mToken = token;
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
H A DMainActivity.java138 IBinder token = getWindow().getDecorView().getWindowToken();
139 if (token != null) {
140 mWallpaperManager.setWallpaperOffsets(token, loadFloatText(mWallOffXView),
155 IBinder token = getWindow().getDecorView().getWindowToken();
156 if (token != null) {
157 mWallpaperManager.setDisplayOffset(token, loadIntText(mDispOffXView),
/frameworks/native/include/gui/
H A DSurfaceComposerClient.h106 //! Get the token for the existing default displays.
139 status_t clearLayerFrameStats(const sp<IBinder>& token) const;
140 status_t getLayerFrameStats(const sp<IBinder>& token, FrameStats* outStats) const;
145 static void setDisplaySurface(const sp<IBinder>& token,
147 static void setDisplayLayerStack(const sp<IBinder>& token,
149 static void setDisplaySize(const sp<IBinder>& token, uint32_t width, uint32_t height);
161 static void setDisplayProjection(const sp<IBinder>& token,
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowManagerService.java365 * Mapping from a token IBinder to a WindowToken object.
946 //This method finds out the index of a window that has the same app token as
960 * Return the list of Windows from the passed token on the given Display.
961 * @param token The token with all the windows.
963 * @return List of windows from token that are on displayContent.
965 WindowList getTokenWindowsOnDisplay(WindowToken token, DisplayContent displayContent) { argument
967 final int count = token.windows.size();
969 final WindowState win = token.windows.get(i);
1000 final WindowToken token
2941 onRectangleOnScreenRequested(IBinder token, Rect rectangle) argument
2953 getWindowId(IBinder token) argument
3481 findAppWindowToken(IBinder token) argument
3490 addWindowToken(IBinder token, int type) argument
3511 removeWindowToken(IBinder token) argument
3590 addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, int requestedOrientation, boolean fullscreen, boolean showWhenLocked, int userId, int configChanges, boolean voiceInteraction, boolean launchTaskBehind) argument
3648 setAppGroupId(IBinder token, int groupId) argument
3902 setAppOrientation(IApplicationToken token, int requestedOrientation) argument
3920 getAppOrientation(IApplicationToken token) argument
3979 setFocusedApp(IBinder token, boolean moveFocusNow) argument
4116 setAppStartingWindow(IBinder token, String pkg, int theme, CompatibilityInfo compatInfo, CharSequence nonLocalizedLabel, int labelRes, int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded) argument
4329 removeAppStartingWindow(IBinder token) argument
4339 setAppWillBeHidden(IBinder token) argument
4357 setAppFullscreen(IBinder token, boolean toOpaque) argument
4368 setWindowOpaque(IBinder token, boolean isOpaque) argument
4374 setWindowOpaqueLocked(IBinder token, boolean isOpaque) argument
4506 setAppVisibility(IBinder token, boolean visible) argument
4673 startAppFreezingScreen(IBinder token, int configChanges) argument
4697 stopAppFreezingScreen(IBinder token, boolean force) argument
4728 removeAppToken(IBinder token) argument
4817 tmpRemoveAppWindowsLocked(WindowToken token) argument
4972 reAddAppWindowsLocked(final DisplayContent displayContent, int index, WindowToken token) argument
5250 disableKeyguard(IBinder token, String tag) argument
5265 reenableKeyguard(IBinder token) argument
10747 clearWindowContentFrameStats(IBinder token) argument
10766 getWindowContentFrameStats(IBinder token) argument
11578 getWindowFrame(IBinder token, Rect outBounds) argument
[all...]

Completed in 8508 milliseconds

12345678910