/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 1662 final long token = Binder.clearCallingIdentity(); 1669 Binder.restoreCallingIdentity(token); 1845 final long token = Binder.clearCallingIdentity(); 1856 Binder.restoreCallingIdentity(token); 1919 final long token = Binder.clearCallingIdentity(); 1923 Binder.restoreCallingIdentity(token); 1971 final long token = Binder.clearCallingIdentity(); 1984 Binder.restoreCallingIdentity(token); 2116 final long token = Binder.clearCallingIdentity(); 2121 Binder.restoreCallingIdentity(token); [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityStack.java | 579 * @param token If non-null, any history records matching this token will be skipped. 584 final ActivityRecord topRunningActivityLocked(IBinder token, int taskId) { argument 594 if (!r.finishing && (token != r.appToken) && okToShowLocked(r)) { 633 ActivityRecord isInStackLocked(IBinder token) { argument 634 final ActivityRecord r = ActivityRecord.forTokenLocked(token); 1189 final void activityPausedLocked(IBinder token, boolean timeout) { argument 1191 "Activity paused: token=" + token + ", timeout=" + timeout); 1193 final ActivityRecord r = isInStackLocked(token); 1219 activityResumedLocked(IBinder token) argument 3277 requestFinishActivityLocked(IBinder token, int resultCode, Intent resultData, String reason, boolean oomAdj) argument 4024 activityDestroyedLocked(IBinder token, String reason) argument 4757 willActivityBeVisibleLocked(IBinder token) argument [all...] |
H A D | ActiveServices.java | 346 final long token = Binder.clearCallingIdentity(); 360 Binder.restoreCallingIdentity(token); 641 boolean stopServiceTokenLocked(ComponentName className, IBinder token, argument 644 + " " + token + " startId=" + startId); 645 ServiceRecord r = findServiceLocked(className, token, UserHandle.getCallingUserId()); 690 public void setServiceForegroundLocked(ComponentName className, IBinder token, argument 695 ServiceRecord r = findServiceLocked(className, token, userId); 819 int bindServiceLocked(IApplicationThread caller, IBinder token, Intent service, argument 834 if (token != null) { 835 activity = ActivityRecord.isInStackLocked(token); 1214 findServiceLocked(ComponentName name, IBinder token, int userId) argument [all...] |
H A D | UserController.java | 911 boolean unlockUser(final int userId, byte[] token, byte[] secret, IProgressListener listener) { argument 924 return unlockUserCleared(userId, token, secret, listener); 931 * Attempt to unlock user without a credential token. This typically 937 // Try unlocking storage using empty token 949 boolean unlockUserCleared(final int userId, byte[] token, byte[] secret, argument 958 mountService.unlockUserKey(userId, userInfo.serialNumber, token, secret);
|
/frameworks/base/media/java/android/media/session/ |
H A D | MediaController.java | 90 throw new IllegalArgumentException("Session token cannot be null"); 102 * Create a new MediaController from a session's token. 105 * @param token The token for the session. 107 public MediaController(@NonNull Context context, @NonNull MediaSession.Token token) { argument 108 this(context, token.getBinder()); 283 * Get the token for the session this is connected to. 285 * @return The token for the connected session.
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | LocalDisplayAdapter.java | 440 final IBinder token = getDisplayTokenLocked(); 497 SurfaceControl.setDisplayPowerMode(token, mode);
|
/frameworks/base/keystore/java/android/security/keystore/ |
H A D | AndroidKeyStoreAuthenticatedAESCipherSpi.java | 425 result.token,
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
H A D | BackupRestoreConfirmation.java | 155 Slog.e(TAG, "Backup/restore confirmation requested but no token passed!"); 255 void sendAcknowledgement(int token, boolean allow, IFullBackupRestoreObserver observer) { argument
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvView.java | 140 public void onFinishedInputEvent(Object token, boolean handled) { 142 Log.d(TAG, "onFinishedInputEvent(token=" + token + ", handled=" + handled + ")"); 148 InputEvent event = (InputEvent) token;
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | NetworkMonitor.java | 569 CustomIntentReceiver(String action, int token, int what) { argument 570 mToken = token; 572 mAction = action + "_" + mNetworkAgentInfo.network.netId + "_" + token;
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 705 String8 token = tokenizer->nextToken(" "); local 706 if (token.isEmpty()) { 710 ok &= setCategoryEnable(token.string(), true);
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaControllerCompat.java | 84 * Creates a media controller from a session token which may have 87 * @param sessionToken The token of the session to be controlled. 221 * Get the token for the session this controller is connected to. 223 * @return The session's token. 867 public MediaControllerImplBase(MediaSessionCompat.Token token) { argument 868 mToken = token; 869 mBinder = IMediaSession.Stub.asInterface((IBinder) token.getToken());
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 881 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 883 IPCThreadState::self()->restoreCallingIdentity(token); 1206 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 1214 IPCThreadState::self()->restoreCallingIdentity(token); 1866 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local 1872 IPCThreadState::self()->restoreCallingIdentity(token);
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 1696 long token = Binder.clearCallingIdentity(); 1700 Binder.restoreCallingIdentity(token); 1750 final long token = Binder.clearCallingIdentity(); 1756 Binder.restoreCallingIdentity(token); 2202 long token = Binder.clearCallingIdentity(); 2207 Binder.restoreCallingIdentity(token); 3299 final long token = Binder.clearCallingIdentity(); 3305 Binder.restoreCallingIdentity(token); 3310 final long token = Binder.clearCallingIdentity(); 3314 Binder.restoreCallingIdentity(token); [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | TaskStack.java | 1148 WindowToken token = mExitingAppTokens.get(i); 1150 pw.print(' '); pw.print(token); 1152 token.dump(pw, " ");
|
H A D | AppTransition.java | 370 topOpeningAppAnimator != null ? topOpeningAppAnimator.mAppToken.token : null, 371 topClosingAppAnimator != null ? topClosingAppAnimator.mAppToken.token : null, 415 public void notifyAppTransitionFinishedLocked(IBinder token) { argument 417 mListeners.get(i).onAppTransitionFinishedLocked(token);
|
H A D | AppWindowAnimator.java | 58 // Have we been asked to have this token keep the screen frozen? 67 // Offset to the window of all layers in the token, for use by 287 // token's anim layer. 429 mService.mAppTransition.notifyAppTransitionFinishedLocked(mAppToken.token);
|
/frameworks/base/core/java/android/os/ |
H A D | Binder.java | 42 * token that can be shared across processes. 175 * @return Returns an opaque token that can be used to restore the 190 * @param token The opaque token that was previously returned by 195 public static final native void restoreCallingIdentity(long token); argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 1389 jint repeat, jint token) { 1409 im->getInputManager()->getReader()->vibrate(deviceId, pattern, patternSize, repeat, token); 1413 jclass /* clazz */, jlong ptr, jint deviceId, jint token) { 1416 im->getInputManager()->getReader()->cancelVibrate(deviceId, token); 1387 nativeVibrate(JNIEnv* env, jclass , jlong ptr, jint deviceId, jlongArray patternObj, jint repeat, jint token) argument 1412 nativeCancelVibrate(JNIEnv* , jclass , jlong ptr, jint deviceId, jint token) argument
|
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | UserState.java | 1485 IBinder token = mStartedPrinterDiscoveryTokens.get(i); 1486 stopPrinterDiscoveryLocked(IPrinterDiscoveryObserver.Stub.asInterface(token)); 1645 IBinder token = mStartedPrinterDiscoveryTokens.get(i); 1646 pw.append(prefix).append(tab).append(tab).append(token.toString()).println();
|
/frameworks/native/services/inputflinger/ |
H A D | InputReader.cpp | 762 ssize_t repeat, int32_t token) { 768 device->vibrate(pattern, patternSize, repeat, token); 772 void InputReader::cancelVibrate(int32_t deviceId, int32_t token) { argument 778 device->cancelVibrate(token); 1156 int32_t token) { 1160 mapper->vibrate(pattern, patternSize, repeat, token); 1164 void InputDevice::cancelVibrate(int32_t token) { argument 1168 mapper->cancelVibrate(token); 1892 int32_t token) { 1895 void InputMapper::cancelVibrate(int32_t token) { argument 761 vibrate(int32_t deviceId, const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 1155 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 1891 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 2019 vibrate(const nsecs_t* pattern, size_t patternSize, ssize_t repeat, int32_t token) argument 2043 cancelVibrate(int32_t token) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiServiceImpl.java | 1117 final long token = Binder.clearCallingIdentity(); 1126 Binder.restoreCallingIdentity(token); 1153 final long token = Binder.clearCallingIdentity(); 1157 Binder.restoreCallingIdentity(token);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | SubscriptionController.java | 1757 final long token = Binder.clearCallingIdentity(); 1783 Binder.restoreCallingIdentity(token); 1860 final long token = Binder.clearCallingIdentity(); 1911 Binder.restoreCallingIdentity(token);
|
/frameworks/native/services/surfaceflinger/ |
H A D | SurfaceFlinger.cpp | 239 sp<BBinder> token = new DisplayToken(this); local 244 mCurrentState.displays.add(token, info); 246 return token; 254 ALOGW("destroyDisplay: invalid display token"); 271 "Overwriting display token for display type %d", type); 869 wp<IBinder> token = mBuiltinDisplays[type]; local 879 DisplayDevice::DISPLAY_PRIMARY, disp, isSecure, token, fbs, 881 mDisplays.add(token, hw); 2198 ssize_t dpyIdx = mCurrentState.displays.indexOfKey(s.token); 2444 d.token [all...] |
H A D | SurfaceFlinger_hwc1.cpp | 238 sp<BBinder> token = new DisplayToken(this); local 243 mCurrentState.displays.add(token, info); 245 return token; 253 ALOGW("destroyDisplay: invalid display token"); 269 "Overwriting display token for display type %d", type); 487 wp<IBinder> token = mBuiltinDisplays[i]; local 498 type, hwcId, mHwc->getFormat(hwcId), isSecure, token, 508 mDisplays.add(token, hw); 2214 ssize_t dpyIdx = mCurrentState.displays.indexOfKey(s.token); 2460 d.token [all...] |