Searched refs:token (Results 126 - 150 of 255) sorted by relevance

1234567891011

/frameworks/base/cmds/settings/src/com/android/commands/settings/
H A DSettingsCmd.java127 IBinder token = new Binder();
130 "settings", UserHandle.USER_OWNER, token);
154 activityManager.removeContentProviderExternal("settings", token);
/frameworks/base/services/core/java/com/android/server/media/
H A DMediaSessionService.java619 final long token = Binder.clearCallingIdentity();
630 Binder.restoreCallingIdentity(token);
638 final long token = Binder.clearCallingIdentity();
653 Binder.restoreCallingIdentity(token);
662 final long token = Binder.clearCallingIdentity();
683 Binder.restoreCallingIdentity(token);
722 final long token = Binder.clearCallingIdentity();
746 Binder.restoreCallingIdentity(token);
754 final long token = Binder.clearCallingIdentity();
762 Binder.restoreCallingIdentity(token);
[all...]
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/tests/OneMedia/src/com/android/onemedia/
H A DPlayerController.java179 MediaSession.Token token;
181 token = mBinder.getSessionToken();
186 mController = new MediaController(mContext, token);
/frameworks/support/v4/api21/android/support/v4/media/session/
H A DMediaSessionCompatApi21.java49 public static Object verifyToken(Object token) { argument
50 if (token instanceof MediaSession.Token) {
51 return token;
53 throw new IllegalArgumentException("token is not a valid MediaSession.Token object");
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java885 public void updateExtractedText(View view, int token, ExtractedText text) { argument
895 mCurMethod.updateExtractedText(token, text);
1022 * @param windowToken The token of the window that is making the request,
1037 * @param windowToken The token of the window that is making the request,
1068 * @param windowToken The token of the window that is making the request,
1140 // Make sure we have a window token for the served view.
1664 * from an application or a service which has a token of the currently active input method.
1665 * @param token Supplies the identifying token given to an input method
1670 public void setInputMethod(IBinder token, Strin argument
1687 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
1707 hideSoftInputFromInputMethod(IBinder token, int flags) argument
1728 showSoftInputFromInputMethod(IBinder token, int flags) argument
1746 dispatchInputEvent(InputEvent event, Object token, FinishedInputEventCallback callback, Handler handler) argument
1871 obtainPendingEventLocked(InputEvent event, Object token, String inputMethodId, FinishedInputEventCallback callback, Handler handler) argument
2175 onFinishedInputEvent(Object token, boolean handled) argument
[all...]
/frameworks/base/core/java/android/os/
H A DMessageQueue.java47 // The next barrier token.
48 // Barriers are indicated by messages with a null target whose arg1 field carries the token.
255 // Enqueue a new sync barrier token.
258 final int token = mNextBarrierToken++;
262 msg.arg1 = token;
279 return token;
283 void removeSyncBarrier(int token) { argument
284 // Remove a sync barrier token from the queue.
289 while (p != null && (p.target != null || p.arg1 != token)) {
295 + " barrier token ha
[all...]
/frameworks/base/core/java/android/view/
H A DDisplayInfo.java407 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, IBinder token) { argument
408 getMetricsWithSize(outMetrics, ci, token, appWidth, appHeight);
412 IBinder token) {
413 getMetricsWithSize(outMetrics, compatInfo, token, logicalWidth, logicalHeight);
434 IBinder token, int width, int height) {
411 getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token) argument
433 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token, int width, int height) argument
/frameworks/native/libs/input/
H A DKeyLayoutMap.cpp322 String8 token = mTokenizer->nextToken(WHITESPACE); local
323 if (token == "invert") {
334 } else if (token == "split") {
364 axisInfo.axis = getAxisByLabel(token.string());
367 mTokenizer->getLocation().string(), token.string());
H A DKeyCharacterMap.cpp878 String8 token = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); local
879 if (token == "}") {
888 if (token == "label") {
890 } else if (token == "number") {
894 status_t status = parseModifier(token, &metaState);
897 mTokenizer->getLocation().string(), token.string());
910 token = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER);
945 token = mTokenizer->nextToken(WHITESPACE);
946 if (token == "none") {
953 } else if (token
1051 parseModifier(const String8& token, int32_t* outMetaState) argument
[all...]
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java75 // The currently-active restore set always has the same (nonzero!) token
401 for (long token : POSSIBLE_SETS) {
402 if ((new File(mDataDir, Long.toString(token))).exists()) {
403 existing[num++] = token;
418 // The current restore set always has the same token
423 public int startRestore(long token, PackageInfo[] packages) { argument
424 if (DEBUG) Log.v(TAG, "start restore " + token + " : " + packages.length
428 mRestoreToken = token;
429 mRestoreSetDir = new File(mDataDir, Long.toString(token));
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java408 public long token; field in class:BackupManagerService.RestoreParams
410 public int pmToken; // in post-install restore, the PM's token for this transaction
420 token = _token;
434 token = _token;
448 token = _token;
520 // token is the index of the entry in the pending-operations list.
605 // Utility: build a new random integer token
607 int token;
610 token = mTokenGenerator.nextInt();
612 } while (token <
2228 prepareOperationTimeout(int token, long interval, BackupRestoreTask callback) argument
2240 waitUntilOperationComplete(int token) argument
2272 handleTimeout(int token, Object obj) argument
3034 restoreObbFile(String pkgName, ParcelFileDescriptor data, long fileSize, int type, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
3116 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest, byte[] widgetData) argument
4369 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
5556 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument
8410 startConfirmationUi(int token, String action) argument
8424 startConfirmationTimeout(int token, FullParams params) argument
8451 acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, String encPpassword, IFullBackupRestoreObserver observer) argument
8773 restoreAtInstall(String packageName, int token) argument
8904 opComplete(int token) argument
8985 restoreAll(long token, IRestoreObserver observer) argument
9046 restoreSome(long token, IRestoreObserver observer, String[] packages) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java244 long token = Binder.clearCallingIdentity();
288 Binder.restoreCallingIdentity(token);
303 long token = Binder.clearCallingIdentity();
312 Binder.restoreCallingIdentity(token);
413 long token = Binder.clearCallingIdentity();
423 Binder.restoreCallingIdentity(token);
429 token = Binder.clearCallingIdentity();
434 Binder.restoreCallingIdentity(token);
482 long token = Binder.clearCallingIdentity();
501 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityRecord.java90 final IApplicationToken.Stub appToken; // window manager token
367 static ActivityRecord forToken(IBinder token) { argument
369 return token != null ? ((Token)token).weakActivity.get() : null;
371 Slog.w(ActivityManagerService.TAG, "Bad activity token: " + token, e);
1015 /** Returns the key dispatching timeout for this application token. */
1049 static void activityResumedLocked(IBinder token) { argument
1050 final ActivityRecord r = ActivityRecord.forToken(token);
1056 static int getTaskForActivityLocked(IBinder token, boolea argument
1069 isInStackLocked(IBinder token) argument
1077 getStackLocked(IBinder token) argument
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp106 for(char *token = strtok(patterns, delim);
107 !ignore && token != NULL;
108 token = strtok(NULL, delim)) {
109 chatty = token[0] != '!';
110 if (!chatty) token++; // skip !
111 if (strncasecmp(token, "<dir>" , 5) == 0) {
113 token += 5;
115 if (strncasecmp(token, "<file>", 6) == 0) {
117 token += 6;
120 matchedPattern = token;
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerService.java400 public boolean deliverNewSession(IBinder token, IVoiceInteractionSession session, argument
411 return mImpl.deliverNewSessionLocked(callingPid, callingUid, token, session,
420 public int startVoiceActivity(IBinder token, Intent intent, String resolvedType) { argument
433 return mImpl.startVoiceActivityLocked(callingPid, callingUid, token,
442 public void finish(IBinder token) { argument
452 mImpl.finishLocked(callingPid, callingUid, token);
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java554 // This token was already tokenized, so skip past the ending token.
559 // and commit the whole token.
1057 // When we have a valid token, include it with the token
1153 String token = editable.toString().substring(tokenStart, tokenEnd);
1154 final String trimmedToken = token.trim();
1157 token = trimmedToken.substring(0, trimmedToken.length() - 1);
1159 RecipientEntry entry = createTokenizedEntry(token);
1176 chip.setOriginalText(token);
1195 createTokenizedEntry(final String token) argument
[all...]
/frameworks/base/core/java/android/app/
H A DResourcesManager.java150 * @param token the application token for determining stack bounds.
154 Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) {
156 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale, token);
229 r = new Resources(assets, dm, config, compatInfo, token);
152 getTopLevelResources(String resDir, String[] splitResDirs, String[] overlayDirs, String[] libDirs, int displayId, Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DCommandQueue.java88 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
168 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
172 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java82 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
/frameworks/base/services/core/java/com/android/server/trust/
H A DTrustAgentWrapper.java165 IBinder token = (IBinder) msg.obj;
167 if (mSetTrustAgentFeaturesToken == token) {
177 + "with obsolete token: " + mName);
219 public void onConfigureCompleted(boolean result, IBinder token) {
222 result ? 1 : 0, 0, token).sendToTarget();
/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/include/private/gui/
H A DLayerState.h121 sp<IBinder> token; member in struct:android::DisplayState

Completed in 737 milliseconds

1234567891011