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

1234567891011

/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamManagerService.java172 private void finishSelfInternal(IBinder token, boolean immediate) { argument
174 Slog.d(TAG, "Dream finished: " + token + ", immediate=" + immediate);
185 if (mCurrentDreamToken == token) {
213 private void startDozingInternal(IBinder token, int screenState, argument
216 Slog.d(TAG, "Dream requested to start dozing: " + token
222 if (mCurrentDreamToken == token && mCurrentDreamCanDoze) {
235 private void stopDozingInternal(IBinder token) { argument
237 Slog.d(TAG, "Dream requested to stop dozing: " + token);
241 if (mCurrentDreamToken == token && mCurrentDreamIsDozing) {
443 public void onDreamStopped(Binder token) {
581 finishSelf(IBinder token, boolean immediate) argument
596 startDozing(IBinder token, int screenState, int screenBrightness) argument
611 stopDozing(IBinder token) argument
[all...]
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/services/core/java/com/android/server/media/projection/
H A DMediaProjectionManagerService.java58 * grants <b>must</b> validate the token before use by calling {@link
156 final IBinder token = callback.asBinder();
157 token.linkToDeath(deathRecipient, 0);
158 mDeathEaters.put(token, deathRecipient);
165 final IBinder token = callback.asBinder();
166 IBinder.DeathRecipient deathRecipient = mDeathEaters.remove(token);
168 token.unlinkToDeath(deathRecipient, 0);
180 private boolean isValidMediaProjection(IBinder token) { argument
183 return mProjectionToken.equals(token);
214 long token
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java130 // first token)
235 Token token = tokens.get(i);
236 if (token.isMedia() || (parts.size() == 0) || lastPart().isMedia()) {
239 lastPart().add(token);
453 // Figure out the appropriate token type.
461 * Adds the appropriate token for the given URL. This might be a simple
498 // and whether we should append a closing format token (if value in
507 // Already seen this character, just append an unmatched token, which
513 // Match the start token, and ask an end token t
1235 addToken(Token token) argument
1470 add(Token token) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_SurfaceControl.cpp321 sp<IBinder> token(SurfaceComposerClient::getBuiltInDisplay(id));
322 return javaObjectForIBinder(env, token);
328 sp<IBinder> token(SurfaceComposerClient::createDisplay(
330 return javaObjectForIBinder(env, token);
334 sp<IBinder> token(ibinderForJavaObject(env, tokenObj));
335 if (token == NULL) return;
336 SurfaceComposerClient::destroyDisplay(token);
341 sp<IBinder> token(ibinderForJavaObject(env, tokenObj));
342 if (token == NULL) return;
348 SurfaceComposerClient::setDisplaySurface(token, bufferProduce
[all...]
/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.java265 if (mRoots.get(i).mWindow.asBinder() == wparams.token) {
334 public void closeAll(IBinder token, String who, String what) { argument
337 //Log.i("foo", "Closing all windows of " + token);
339 //Log.i("foo", "@ " + i + " token " + mParams[i].token
341 if (token == null || mParams.get(i).token == token) {
516 public void setStoppedState(IBinder token, boolean stopped) { argument
520 if (token
540 changeCanvasOpacity(IBinder token, boolean opaque) argument
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java318 IBinder token = data.readStrongBinder();
325 boolean res = finishActivity(token, resultCode, resultData, finishTask);
333 IBinder token = data.readStrongBinder();
336 finishSubActivity(token, resultWho, requestCode);
343 IBinder token = data.readStrongBinder();
344 boolean res = finishActivityAffinity(token);
361 IBinder token = data.readStrongBinder();
362 boolean res = releaseActivityInstance(token);
378 IBinder token = data.readStrongBinder();
379 boolean res = willActivityBeVisible(token);
2678 finishActivity(IBinder token, int resultCode, Intent resultData, boolean finishTask) argument
2699 finishSubActivity(IBinder token, String resultWho, int requestCode) argument
2712 finishActivityAffinity(IBinder token) argument
2734 releaseActivityInstance(IBinder token) argument
2756 willActivityBeVisible(IBinder token) argument
2871 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument
2890 activityResumed(IBinder token) argument
2901 activityPaused(IBinder token) argument
2912 activityStopped(IBinder token, Bundle state, PersistableBundle persistentState, CharSequence description) argument
2927 activitySlept(IBinder token) argument
2938 activityDestroyed(IBinder token) argument
2949 getCallingPackage(IBinder token) argument
2962 getCallingActivity(IBinder token) argument
3170 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument
3290 getTaskForActivity(IBinder token, boolean onlyRoot) argument
3324 getContentProviderExternal(String name, int userId, IBinder token) argument
3407 removeContentProviderExternal(String name, IBinder token) argument
3468 stopServiceToken(ComponentName className, IBinder token, int startId) argument
3483 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument
3503 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument
3537 publishService(IBinder token, Intent intent, IBinder service) argument
3551 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
3565 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument
3699 setRequestedOrientation(IBinder token, int requestedOrientation) argument
3711 getRequestedOrientation(IBinder token) argument
3723 getActivityClassForToken(IBinder token) argument
3736 getPackageForToken(IBinder token) argument
3749 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument
3860 setProcessForeground(IBinder token, int pid, boolean isForeground) argument
4395 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument
4443 convertFromTranslucent(IBinder token) argument
4457 convertToTranslucent(IBinder token, ActivityOptions options) argument
4477 getActivityOptions(IBinder token) argument
4491 setImmersive(IBinder token, boolean immersive) argument
4504 isImmersive(IBinder token) argument
4518 isTopOfTask(IBinder token) argument
4982 shouldUpRecreateTask(IBinder token, String destAffinity) argument
4997 navigateUpTo(IBinder token, Intent target, int resultCode, Intent resultData) argument
5106 reportAssistContextExtras(IBinder token, Bundle extras) argument
5160 reportActivityFullyDrawn(IBinder token) argument
5171 notifyActivityDrawn(IBinder token) argument
5275 startLockTaskMode(IBinder token) argument
5333 setTaskDescription(IBinder token, ActivityManager.TaskDescription values) argument
5379 requestVisibleBehind(IBinder token, boolean visible) argument
5394 isBackgroundVisibleBehind(IBinder token) argument
5408 backgroundResourcesReleased(IBinder token) argument
5421 notifyLaunchTaskBehindComplete(IBinder token) argument
5434 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/base/cmds/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);
/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/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,

Completed in 1797 milliseconds

1234567891011