/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerController.java | 179 MediaSession.Token token; 181 token = mBinder.getSessionToken(); 186 mController = new MediaController(mContext, token);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 885 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 D | MessageQueue.java | 47 // 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 D | DisplayInfo.java | 399 public void getAppMetrics(DisplayMetrics outMetrics, CompatibilityInfo ci, IBinder token) { argument 400 getMetricsWithSize(outMetrics, ci, token, appWidth, appHeight); 404 IBinder token) { 405 getMetricsWithSize(outMetrics, compatInfo, token, logicalWidth, logicalHeight); 426 IBinder token, int width, int height) { 403 getLogicalMetrics(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token) argument 425 getMetricsWithSize(DisplayMetrics outMetrics, CompatibilityInfo compatInfo, IBinder token, int width, int height) argument
|
/frameworks/native/libs/input/ |
H A D | KeyLayoutMap.cpp | 322 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 D | KeyCharacterMap.cpp | 878 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/media/java/android/media/tv/ |
H A D | TvInputManager.java | 562 public void onSessionCreated(String inputId, IBinder token, InputChannel channel, 567 Log.e(TAG, "Callback not found for " + token); 571 if (token != null) { 572 session = new Session(token, channel, mService, mUserId, seq, 1143 private Session(IBinder token, InputChannel channel, ITvInputManager service, int userId, argument 1145 mToken = token; 1515 * @param token A token used to identify the input event later in the callback. 1525 public int dispatchInputEvent(InputEvent event, Object token, argument 1537 PendingEvent p = obtainPendingEventLocked(event, token, callbac 1565 onFinishedInputEvent(Object token, boolean handled) argument 1652 obtainPendingEventLocked(InputEvent event, Object token, FinishedInputEventCallback callback, Handler handler) argument [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | LocalTransport.java | 73 // The currently-active restore set always has the same (nonzero!) token 399 for (long token : POSSIBLE_SETS) { 400 if ((new File(mDataDir, Long.toString(token))).exists()) { 401 existing[num++] = token; 416 // The current restore set always has the same token 421 public int startRestore(long token, PackageInfo[] packages) { argument 422 if (DEBUG) Log.v(TAG, "start restore " + token + " : " + packages.length 426 mRestoreToken = token; 427 mRestoreSetDir = new File(mDataDir, Long.toString(token));
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
H A D | BackupManagerService.java | 396 public long token; field in class:BackupManagerService.RestoreParams 398 public int pmToken; // in post-install restore, the PM's token for this transaction 408 token = _token; 422 token = _token; 436 token = _token; 508 // token is the index of the entry in the pending-operations list. 593 // Utility: build a new random integer token 595 int token; 598 token = mTokenGenerator.nextInt(); 600 } while (token < 2218 prepareOperationTimeout(int token, long interval, BackupRestoreTask callback) argument 2230 waitUntilOperationComplete(int token) argument 2262 handleTimeout(int token, Object obj) argument 2945 restoreObbFile(String pkgName, ParcelFileDescriptor data, long fileSize, int type, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument 3027 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest, byte[] widgetData) argument 4259 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument 5446 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument 8305 startConfirmationUi(int token, String action) argument 8319 startConfirmationTimeout(int token, FullParams params) argument 8347 acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, String encPpassword, IFullBackupRestoreObserver observer) argument 8670 restoreAtInstall(String packageName, int token) argument 8802 opComplete(int token) argument 8883 restoreAll(long token, IRestoreObserver observer) argument 8944 restoreSome(long token, IRestoreObserver observer, String[] packages) argument [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaRouterService.java | 134 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/core/java/com/android/server/am/ |
H A D | ActivityRecord.java | 85 final IApplicationToken.Stub appToken; // window manager token 362 static ActivityRecord forToken(IBinder token) { argument 364 return token != null ? ((Token)token).weakActivity.get() : null; 366 Slog.w(ActivityManagerService.TAG, "Bad activity token: " + token, e); 1010 /** Returns the key dispatching timeout for this application token. */ 1044 static void activityResumedLocked(IBinder token) { argument 1045 final ActivityRecord r = ActivityRecord.forToken(token); 1051 static int getTaskForActivityLocked(IBinder token, boolea argument 1064 isInStackLocked(IBinder token) argument 1072 getStackLocked(IBinder token) argument [all...] |
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 106 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 D | VoiceInteractionManagerService.java | 387 public boolean deliverNewSession(IBinder token, IVoiceInteractionSession session, argument 398 return mImpl.deliverNewSessionLocked(callingPid, callingUid, token, session, 407 public int startVoiceActivity(IBinder token, Intent intent, String resolvedType) { argument 420 return mImpl.startVoiceActivityLocked(callingPid, callingUid, token, 429 public void finish(IBinder token) { argument 439 mImpl.finishLocked(callingPid, callingUid, token);
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 554 // 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 D | ResourcesManager.java | 150 * @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/media/java/android/service/media/ |
H A D | MediaBrowserService.java | 325 * @return The media session token, must not be null. 327 public void setSessionToken(MediaSession.Token token) { argument 328 if (token == null) { 332 mSession = token; 336 * Gets the session token, or null if it has not yet been created
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | CommandQueue.java | 87 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument 166 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument 170 Message m = mHandler.obtainMessage(MSG_SHOW_IME_BUTTON, vis, backDisposition, token);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
H A D | TvStatusBar.java | 82 public void setImeWindowStatus(IBinder token, int vis, int backDisposition, argument
|
/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustAgentWrapper.java | 167 IBinder token = (IBinder) msg.obj; 169 if (mSetTrustAgentFeaturesToken == token) { 179 + "with obsolete token: " + mName); 221 public void onSetTrustAgentFeaturesEnabledCompleted(boolean result, IBinder token) { 224 result ? 1 : 0, 0, token).sendToTarget();
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 23 unsigned token; member in struct:buffer_type
|
H A D | aidl_language_l.l | 24 yylval.buffer.token = (t); \ 102 yylval.buffer.token = IDENTIFIER;
|
/frameworks/native/include/binder/ |
H A D | IPCThreadState.h | 52 void restoreCallingIdentity(int64_t token);
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 121 sp<IBinder> token; member in struct:android::DisplayState
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 290 * The last window token that gained focus. 355 * The token we have made for the currently active input method, to 966 // by a token. 983 * Returns true iff the caller is identified to be the current input method with the token. 984 * @param token The window token given to the input method when it was started. 985 * @return true if and only if non-null valid token is specified. 987 private boolean calledWithValidToken(IBinder token) { argument 988 if (token == null || mCurToken != token) { 1466 updateStatusIcon(IBinder token, String packageName, int iconId) argument 1562 setImeWindowStatus(IBinder token, int vis, int backDisposition) argument 2143 setInputMethod(IBinder token, String id) argument 2151 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument 2183 switchToLastInputMethod(IBinder token) argument 2255 switchToNextInputMethod(IBinder token, boolean onlyCurrentIme) argument 2278 shouldOfferSwitchingToNextInputMethod(IBinder token) argument 2388 setInputMethodWithSubtypeId(IBinder token, String id, int subtypeId) argument 2394 setInputMethodWithSubtypeIdLocked(IBinder token, String id, int subtypeId) argument 2418 hideMySoftInput(IBinder token, int flags) argument 2439 showMySoftInput(IBinder token, int flags) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiNative.java | 983 for (String token : tokens) { 984 if (token.startsWith("p2p_device_address=")) { 985 String[] nameValue = token.split("="); 1004 for (String token : tokens) { 1005 if (token.startsWith("group_capab=")) { 1006 String[] nameValue = token.split("="); 1030 for (String token : tokens) { 1031 if (token.startsWith(key)) { 1032 String[] nameValue = token.split("=");
|