/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | PhoneBase.java | 1118 private void sendIncomingCallRingNotification(int token) { argument 1120 (token == mCallRingContinueToken)) { 1124 obtainMessage(EVENT_CALL_RING_CONTINUE, token, 0), mCallRingDelay); 1128 + " token=" + token
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CallerInfoTest.java | 201 public void onQueryComplete(int token, Object cookie, CallerInfo info) { argument
|
/frameworks/opt/telephony/mockril/src/com/android/internal/telephony/mockril/ |
H A D | MockRilController.java | 56 * @param token for MsgHeader 61 private boolean sendCtrlCommand(int cmd, long token, int status, MessageMicro pbData) { argument 63 Msg.send(mRilChannel, cmd, token, status, pbData);
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 428 // This token was already tokenized, so skip past the ending token. 433 // and commit the whole token. 798 // When we have a valid token, include it with the token 892 String token = editable.toString().substring(tokenStart, tokenEnd); 893 int commitCharIndex = token.trim().lastIndexOf(COMMIT_CHAR_COMMA); 894 if (commitCharIndex == token.length() - 1) { 895 token = token 945 createTokenizedEntry(String token) argument [all...] |
/frameworks/native/include/gui/ |
H A D | ISurfaceComposerClient.h | 58 int32_t token; member in struct:android::ISurfaceComposerClient::surface_data_t
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 116 sp<IBinder> token; member in struct:android::DisplayState
|
/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 376 int64_t token = ((int64_t)mCallingUid<<32) | mCallingPid; local 378 return token; 401 void IPCThreadState::restoreCallingIdentity(int64_t token) argument 403 mCallingUid = (int)(token>>32); 404 mCallingPid = (int)token;
|
/frameworks/native/libs/gui/ |
H A D | SurfaceComposerClient.cpp | 107 return compare_type(lhs.token, rhs.token); 131 DisplayState& getDisplayStateLocked(const sp<IBinder>& token); 158 void setDisplaySurface(const sp<IBinder>& token, const sp<ISurfaceTexture>& surface); 159 void setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack); 160 void setDisplayProjection(const sp<IBinder>& token, 355 DisplayState& Composer::getDisplayStateLocked(const sp<IBinder>& token) { argument 357 s.token = token; 367 void Composer::setDisplaySurface(const sp<IBinder>& token, argument 375 setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack) argument 383 setDisplayProjection(const sp<IBinder>& token, uint32_t orientation, const Rect& layerStackRect, const Rect& displayRect) argument 552 setDisplaySurface(const sp<IBinder>& token, const sp<ISurfaceTexture>& surface) argument 557 setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack) argument 562 setDisplayProjection(const sp<IBinder>& token, uint32_t orientation, const Rect& layerStackRect, const Rect& displayRect) argument 578 blankDisplay(const sp<IBinder>& token) argument 582 unblankDisplay(const sp<IBinder>& token) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | TokenManager.cpp | 27 // token 0 is always reserved 47 const GLuint token = *tokens++; local 48 if (token) { 49 mTokenizer.release(token); 54 bool TokenManager::isTokenValid(GLuint token) const 57 return mTokenizer.isAcquired(token);
|
H A D | Tokenizer.cpp | 50 uint32_t token = run.first + run.length; local 51 _insertTokenAt(token, 1); 52 return token; 55 bool Tokenizer::isAcquired(uint32_t token) const 57 return (_indexOrderOf(token) >= 0); 60 status_t Tokenizer::reserve(uint32_t token) argument 63 const ssize_t i = _indexOrderOf(token, &o); 65 return BAD_VALUE; // this token is already taken 67 ssize_t err = _insertTokenAt(token, o); 71 status_t Tokenizer::release(uint32_t token) argument 102 _indexOrderOf(uint32_t token, size_t* order) const argument 129 _insertTokenAt(uint32_t token, size_t index) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 183 sp<BBinder> token = new DisplayToken(this); local 189 mCurrentState.displays.add(token, info); 191 return token; 486 wp<IBinder> token = mDefaultDisplays[i]; local 492 mCurrentState.displays.add(token, DisplayDeviceState(type)); 497 type, isSecure, token, stc, fbs, mEGLConfig); 505 mDisplays.add(token, hw); 1755 ssize_t dpyIdx = mCurrentState.displays.indexOfKey(s.token); 1889 ssize_t token = addClientLayer(client, layer); local 1892 params->token [all...] |
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 23 unsigned token; member in struct:buffer_type
|
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 426 public boolean waitForWindowDrawn(IBinder token, IRemoteCallback callback) { argument 496 public WindowInfo getWindowInfo(IBinder token) throws RemoteException { argument
|
/frameworks/base/services/input/ |
H A D | InputReader.cpp | 676 ssize_t repeat, int32_t token) { 682 device->vibrate(pattern, patternSize, repeat, token); 686 void InputReader::cancelVibrate(int32_t deviceId, int32_t token) { argument 692 device->cancelVibrate(token); 1051 int32_t token) { 1055 mapper->vibrate(pattern, patternSize, repeat, token); 1059 void InputDevice::cancelVibrate(int32_t token) { argument 1063 mapper->cancelVibrate(token); 1769 int32_t token) { 1772 void InputMapper::cancelVibrate(int32_t token) { argument 675 vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 1050 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 1768 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 1874 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 1898 cancelVibrate(int32_t token) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | BackupManagerService.java | 302 public long token; field in class:BackupManagerService.RestoreParams 304 public int pmToken; // in post-install restore, the PM's token for this transaction 312 token = _token; 323 token = _token; 334 token = _token; 389 // token is the index of the entry in the pending-operations list. 448 // Utility: build a new random integer token 450 int token; 453 token = mTokenGenerator.nextInt(); 455 } while (token < 1723 prepareOperationTimeout(int token, long interval, BackupRestoreTask callback) argument 1735 waitUntilOperationComplete(int token) argument 1767 handleTimeout(int token, Object obj) argument 2334 FullBackupRunner(PackageInfo pack, IBackupAgent agent, ParcelFileDescriptor pipe, int token, boolean sendApk, boolean writeManifest) argument 2954 RestoreFileRunnable(IBackupAgent agent, FileMetadata info, ParcelFileDescriptor socket, int token) argument 5115 startConfirmationUi(int token, String action) argument 5129 startConfirmationTimeout(int token, FullParams params) argument 5157 acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, String encPpassword, IFullBackupRestoreObserver observer) argument 5434 restoreAtInstall(String packageName, int token) argument 5532 opComplete(int token) argument 5597 restoreAll(long token, IRestoreObserver observer) argument 5636 restoreSome(long token, IRestoreObserver observer, String[] packages) argument [all...] |
H A D | InputMethodManagerService.java | 283 * The last window token that gained focus. 345 * The token we have made for the currently active input method, to 913 // by a token. 1219 if (DEBUG) Slog.v(TAG, "Adding window token: " + mCurToken); 1259 Slog.w(TAG, "Service connected without a token!"); 1263 if (DEBUG) Slog.v(TAG, "Initiating attach with token: " + mCurToken); 1308 if (DEBUG) Slog.v(TAG, "Removing window token: " + mCurToken); 1378 public void updateStatusIcon(IBinder token, String packageName, int iconId) { argument 1382 if (token == null || mCurToken != token) { 1469 setImeWindowStatus(IBinder token, int vis, int backDisposition) argument 1977 setInputMethod(IBinder token, String id) argument 1985 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument 2016 switchToLastInputMethod(IBinder token) argument 2086 switchToNextInputMethod(IBinder token, boolean onlyCurrentIme) argument 2163 setInputMethodWithSubtypeId(IBinder token, String id, int subtypeId) argument 2189 hideMySoftInput(IBinder token, int flags) argument 2209 showMySoftInput(IBinder token, int flags) argument [all...] |
H A D | MountService.java | 234 IObbActionListener token, int nonce) { 243 this.token = token; 255 final IObbActionListener token; field in class:MountService.ObbState 257 // Identifier to pass back to the token 261 return token.asBinder(); 286 sb.append(",token=").append(token); 1914 String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) { 1917 Preconditions.checkNotNull(token, "toke 233 ObbState(String rawPath, String canonicalPath, int callingUid, IObbActionListener token, int nonce) argument 1913 mountObb( String rawPath, String canonicalPath, String key, IObbActionListener token, int nonce) argument 1929 unmountObb(String rawPath, boolean force, IObbActionListener token, int nonce) argument [all...] |
H A D | StatusBarManagerService.java | 84 IBinder token; field in class:StatusBarManagerService.DisableRecord 88 disableInternal(userId, 0, token, pkg); 89 token.unlinkToDeath(this, 0); 155 public void disable(int what, IBinder token, String pkg) { argument 156 disableInternal(mCurrentUserId, what, token, pkg); 159 private void disableInternal(int userId, int what, IBinder token, String pkg) { argument 163 disableLocked(userId, what, token, pkg); 167 private void disableLocked(int userId, int what, IBinder token, String pkg) { argument 172 manageDisableListLocked(userId, what, token, pkg); 286 public void setImeWindowStatus(final IBinder token, fina argument 536 manageDisableListLocked(int userId, int what, IBinder token, String pkg) argument [all...] |
H A D | UpdateLockService.java | 89 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument 91 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag)); 95 mLocks.acquire(token, makeTag(tag)); 99 public void releaseUpdateLock(IBinder token) throws RemoteException { argument 101 Slog.d(TAG, "release(" + token + ')'); 105 mLocks.release(token);
|
H A D | VibratorService.java | 79 Vibration(IBinder token, long millis, int uid) { argument 80 this(token, millis, null, 0, uid); 83 Vibration(IBinder token, long[] pattern, int repeat, int uid) { argument 84 this(token, 0, pattern, repeat, uid); 87 private Vibration(IBinder token, long millis, long[] pattern, argument 89 mToken = token; 167 public void vibrate(long milliseconds, IBinder token) { argument 183 Vibration vib = new Vibration(token, milliseconds, uid); 185 removeVibrationLocked(token); 202 public void vibratePattern(long[] pattern, int repeat, IBinder token) { argument 253 cancelVibrate(IBinder token) argument 320 removeVibrationLocked(IBinder token) argument [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 465 IBinder token = window.asBinder(); 467 token, mGlobalWindowTokens, mGlobalInteractionConnections); 480 token, userState.mWindowTokens, userState.mInteractionConnections); 639 IBinder token; 642 token = mGlobalWindowTokens.get(windowId); 643 if (token == null) { 644 token = getCurrentUserStateLocked().mWindowTokens.get(windowId); 649 info = mWindowManagerService.getWindowInfo(token); 2037 final long token = Binder.clearCallingIdentity(); 2057 Binder.restoreCallingIdentity(token); 2346 getFocusedWindowIdLocked(IBinder token, SparseArray<IBinder> windows) argument [all...] |
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActiveServices.java | 323 boolean stopServiceTokenLocked(ComponentName className, IBinder token, argument 326 + " " + token + " startId=" + startId); 327 ServiceRecord r = findServiceLocked(className, token, UserHandle.getCallingUserId()); 368 public void setServiceForegroundLocked(ComponentName className, IBinder token, argument 373 ServiceRecord r = findServiceLocked(className, token, userId); 426 int bindServiceLocked(IApplicationThread caller, IBinder token, argument 441 if (token != null) { 442 activity = mAm.mMainStack.isInStackLocked(token); 444 Slog.w(TAG, "Binding with unknown activity: " + token); 673 IBinder token, in 672 findServiceLocked(ComponentName name, IBinder token, int userId) argument [all...] |
H A D | ActivityManagerService.java | 385 IBinder token; field in class:ActivityManagerService.ForegroundToken 2693 public void setRequestedOrientation(IBinder token, argument 2696 ActivityRecord r = mMainStack.isInStackLocked(token); 2715 public int getRequestedOrientation(IBinder token) { argument 2717 ActivityRecord r = mMainStack.isInStackLocked(token); 2728 * @param token The Binder token referencing the Activity we want to finish. 2734 public final boolean finishActivity(IBinder token, int resultCode, Intent resultData) { argument 2743 ActivityRecord next = mMainStack.topRunningActivityLocked(token, 0); 2759 boolean res = mMainStack.requestFinishActivityLocked(token, resultCod 2859 finishSubActivity(IBinder token, String resultWho, int requestCode) argument 2868 finishActivityAffinity(IBinder token) argument 2877 willActivityBeVisible(IBinder token) argument 2893 overridePendingTransition(IBinder token, String packageName, int enterAnim, int exitAnim) argument 4322 activityIdle(IBinder token, Configuration config, boolean stopProfiling) argument 4450 activityResumed(IBinder token) argument 4456 activityPaused(IBinder token) argument 4462 activityStopped(IBinder token, Bundle icicle, Bitmap thumbnail, CharSequence description) argument 4492 activityDestroyed(IBinder token) argument 4497 getCallingPackage(IBinder token) argument 4504 getCallingActivity(IBinder token) argument 4511 getCallingRecordLocked(IBinder token) argument 4519 getActivityClassForToken(IBinder token) argument 4529 getPackageForToken(IBinder token) argument 4539 getIntentSender(int type, String packageName, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options, int userId) argument 4610 getIntentSenderLocked(int type, String packageName, int callingUid, int userId, IBinder token, String resultWho, int requestCode, Intent[] intents, String[] resolvedTypes, int flags, Bundle options) argument 4783 foregroundTokenDied(ForegroundToken token) argument 4803 setProcessForeground(IBinder token, int pid, boolean isForeground) argument 5526 grantUriPermissionFromOwner(IBinder token, int fromUid, String targetPkg, Uri uri, int modeFlags) argument 5552 revokeUriPermissionFromOwner(IBinder token, Uri uri, int mode) argument 6062 moveActivityTaskToBack(IBinder token, boolean nonRoot) argument 6094 getTaskForActivity(IBinder token, boolean onlyRoot) argument 6100 getTaskForActivityLocked(IBinder token, boolean onlyRoot) argument 6121 reportThumbnail(IBinder token, Bitmap thumbnail, CharSequence description) argument 6129 sendPendingThumbnail(ActivityRecord r, IBinder token, Bitmap thumbnail, CharSequence description, boolean always) argument 6369 getContentProviderImpl(IApplicationThread caller, String name, IBinder token, boolean stable, int userId) argument 6648 getContentProviderExternal( String name, int userId, IBinder token) argument 6657 getContentProviderExternalUnchecked(String name, IBinder token, int userId) argument 6687 removeContentProviderExternal(String name, IBinder token) argument 6693 removeContentProviderExternalUnchecked(String name, IBinder token, int userId) argument 7136 activitySlept(IBinder token) argument 7411 setImmersive(IBinder token, boolean immersive) argument 7421 isImmersive(IBinder token) argument 10959 stopServiceToken(ComponentName className, IBinder token, int startId) argument 10966 setServiceForeground(ComponentName className, IBinder token, int id, Notification notification, boolean removeNotification) argument 11059 bindService(IApplicationThread caller, IBinder token, Intent service, String resolvedType, IServiceConnection connection, int flags, int userId) argument 11080 publishService(IBinder token, Intent intent, IBinder service) argument 11094 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument 11105 serviceDoneExecuting(IBinder token, int type, int startId, int res) argument 12425 targetTaskAffinityMatchesActivity(IBinder token, String destAffinity) argument 12431 navigateUpTo(IBinder token, Intent destIntent, int resultCode, Intent resultData) argument [all...] |
H A D | ActivityRecord.java | 59 final IApplicationToken.Stub appToken; // window manager token 311 static ActivityRecord forToken(IBinder token) { argument 313 return token != null ? ((Token)token).weakActivity.get() : null; 315 Slog.w(ActivityManagerService.TAG, "Bad activity token: " + token, e); 894 /** Returns the key dispatching timeout for this application token. */
|
H A D | ActivityStack.java | 457 * @param token If non-null, any history records matching this token will be skipped. 462 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument 467 if (!r.finishing && (token != r.appToken) && (taskId != r.task.taskId) 476 final int indexOfTokenLocked(IBinder token) { argument 477 return mHistory.indexOf(ActivityRecord.forToken(token)); 484 final ActivityRecord isInStackLocked(IBinder token) { argument 485 ActivityRecord r = ActivityRecord.forToken(token); 1017 final void activityResumed(IBinder token) { argument 1021 int index = indexOfTokenLocked(token); 1031 activityPaused(IBinder token, boolean timeout) argument 3472 activityIdleInternal(IBinder token, boolean fromTimeout, Configuration config) argument 3636 requestFinishActivityLocked(IBinder token, int resultCode, Intent resultData, String reason, boolean oomAdj) argument 3652 finishSubActivityLocked(IBinder token, String resultWho, int requestCode) argument 3672 finishActivityAffinityLocked(IBinder token) argument 4133 activityDestroyed(IBinder token) argument [all...] |