Searched refs:token (Results 101 - 125 of 249) sorted by relevance

12345678910

/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java49 public void setToken(IBinder token) { argument
51 lp.token = token;
/frameworks/base/services/core/java/com/android/server/am/
H A DUriPermissionOwner.java57 static UriPermissionOwner fromExternalToken(IBinder token) { argument
58 if (token instanceof ExternalToken) {
59 return ((ExternalToken)token).getOwner();
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DWindowManagerPermissionTests.java229 Binder token = new Binder();
231 mWm.disableKeyguard(token, "foo");
241 mWm.reenableKeyguard(token);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java164 final long token = Binder.clearCallingIdentity();
168 Binder.restoreCallingIdentity(token);
453 final long token = Binder.clearCallingIdentity();
457 Binder.restoreCallingIdentity(token);
644 final long token = Binder.clearCallingIdentity();
655 Binder.restoreCallingIdentity(token);
667 final long token = Binder.clearCallingIdentity();
678 Binder.restoreCallingIdentity(token);
691 final long token = Binder.clearCallingIdentity();
702 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
H A DVoiceInteractionManagerServiceImpl.java122 Slog.w(TAG, "Failed adding window token", e);
137 Slog.w(TAG, "Failed adding window token", e);
167 Slog.w(TAG, "Failed removing window token", e);
233 public boolean deliverNewSessionLocked(int callingPid, int callingUid, IBinder token, argument
235 if (mActiveSession == null || token != mActiveSession.mToken) {
244 public int startVoiceActivityLocked(int callingPid, int callingUid, IBinder token, argument
247 if (mActiveSession == null || token != mActiveSession.mToken) {
263 public void finishLocked(int callingPid, int callingUid, IBinder token) { argument
264 if (mActiveSession == null || token != mActiveSession.mToken) {
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java304 System.out.println(" " + Long.toHexString(s.token) + " : " + s.name);
362 long token = Long.parseLong(arg, 16);
369 doRestoreAll(token, filter);
404 private void doRestoreAll(long token, HashSet<String> filter) { argument
421 if (s.token == token) {
424 didRestore = (mRestore.restoreAll(token, observer) == 0);
428 didRestore = (mRestore.restoreSome(token, observer, names) == 0);
439 System.out.println("No matching restore set token. Available sets:");
499 System.err.println("The 'list sets' command reports the token an
[all...]
/frameworks/base/core/java/android/app/
H A DService.java420 * unique integer token representing the start request. Do not call this method directly.
700 ActivityThread thread, String className, IBinder token,
705 mToken = token;
698 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
H A DInstrumentation.java1021 * @param token The token for this activity to communicate with
1036 IBinder token, Application application, Intent intent, ActivityInfo info,
1042 activity.attach(context, aThread, this, token, 0, application, intent,
1436 * @param token Internal token identifying to the system who is starting
1459 Context who, IBinder contextThread, IBinder token, Activity target,
1483 token, target != null ? target.mEmbeddedID : null,
1500 IBinder token, Activity target, Intent[] intents, Bundle options) {
1501 execStartActivitiesAsUser(who, contextThread, token, targe
1035 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument
1458 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options) argument
1499 execStartActivities(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options) argument
1513 execStartActivitiesAsUser(Context who, IBinder contextThread, IBinder token, Activity target, Intent[] intents, Bundle options, int userId) argument
1575 execStartActivity( Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options) argument
1635 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument
1672 execStartActivityAsCaller( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, int userId) argument
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java199 * @param IBinder the activity token for this display.
202 public Display getRealDisplay(int displayId, IBinder token) { argument
203 return getCompatibleDisplay(displayId, new DisplayAdjustments(token));
411 public void setVirtualDisplaySurface(IVirtualDisplayCallback token, Surface surface) { argument
413 mDm.setVirtualDisplaySurface(token, surface);
419 public void resizeVirtualDisplay(IVirtualDisplayCallback token, argument
422 mDm.resizeVirtualDisplay(token, width, height, densityDpi);
428 public void releaseVirtualDisplay(IVirtualDisplayCallback token) { argument
430 mDm.releaseVirtualDisplay(token);
/frameworks/base/core/java/android/os/
H A DLooper.java117 // and keep track of what that identity token actually is.
242 * the token that identifies the synchronization barrier.
250 * the same token to ensure that the message queue resumes normal operation.
253 * @return A token that uniquely identifies the barrier. This token must be
266 * @param token The synchronization barrier token that was returned by
273 public void removeSyncBarrier(int token) { argument
274 mQueue.removeSyncBarrier(token);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethod.aidl35 void attachToken(IBinder token);
/frameworks/base/include/storage/
H A DIMountService.h66 const String16& key, const sp<IObbActionListener>& token,
69 const sp<IObbActionListener>& token, const int32_t nonce) = 0;
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java225 * to authenticate with a token, before using other methods.
227 * @param token a implementation specific token
230 public void authenticate(byte[] token) { argument
232 sService.authenticate(mPackageName, token);
/frameworks/native/libs/gui/
H A DLayerState.cpp77 output.writeStrongBinder(token);
90 token = input.readStrongBinder();
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp497 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
501 IPCThreadState::self()->restoreCallingIdentity(token);
596 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
627 IPCThreadState::self()->restoreCallingIdentity(token);
691 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
698 IPCThreadState::self()->restoreCallingIdentity(token);
719 int64_t token; local
722 token = IPCThreadState::self()->clearCallingIdentity();
736 IPCThreadState::self()->restoreCallingIdentity(token);
763 int64_t token local
[all...]
H A DTimedEventQueue.cpp337 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
342 IPCThreadState::self()->restoreCallingIdentity(token);
365 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
367 IPCThreadState::self()->restoreCallingIdentity(token);
/frameworks/base/media/java/android/media/audiopolicy/
H A DAudioPolicy.java56 public IBinder token() { return mToken; } method in class:AudioPolicy
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java543 mode = -1; // < 0 is a token to skip attempting a chmod()
613 int token, IBackupManager callbackBinder) throws RemoteException {
636 callbackBinder.opComplete(token);
646 int token, IBackupManager callbackBinder) throws RemoteException {
666 callbackBinder.opComplete(token);
675 int token, IBackupManager callbackBinder) {
709 callbackBinder.opComplete(token);
719 int token, IBackupManager callbackBinder) throws RemoteException {
731 callbackBinder.opComplete(token);
739 public void doRestoreFinished(int token, IBackupManage argument
610 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
644 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
674 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument
717 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DVpn.java222 long token = Binder.clearCallingIdentity();
229 Binder.restoreCallingIdentity(token);
269 long token = Binder.clearCallingIdentity();
275 Binder.restoreCallingIdentity(token);
281 token = Binder.clearCallingIdentity();
287 Binder.restoreCallingIdentity(token);
306 long token = Binder.clearCallingIdentity();
315 Binder.restoreCallingIdentity(token);
416 long token = Binder.clearCallingIdentity();
426 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java67 DragState(WindowManagerService service, IBinder token, SurfaceControl surface, argument
70 mToken = token;
370 final IBinder token = touchedWin.mClient.asBinder();
377 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, token);
378 Message msg = mService.mH.obtainMessage(H.DRAG_END_TIMEOUT, token);
388 mToken = token;
/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsService.java371 final long token = Binder.clearCallingIdentity();
379 Binder.restoreCallingIdentity(token);
392 final long token = Binder.clearCallingIdentity();
401 Binder.restoreCallingIdentity(token);
413 final long token = Binder.clearCallingIdentity();
417 Binder.restoreCallingIdentity(token);
/frameworks/base/test-runner/src/android/test/
H A DActivityUnitTestCase.java131 IBinder token = null;
144 token, mApplication, intent, info, title, mMockParent, id,
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.h50 virtual status_t connect(const sp<IProducerListener>& token, int api,
/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.java596 final long token = Binder.clearCallingIdentity();
607 Binder.restoreCallingIdentity(token);
615 final long token = Binder.clearCallingIdentity();
630 Binder.restoreCallingIdentity(token);
639 final long token = Binder.clearCallingIdentity();
660 Binder.restoreCallingIdentity(token);
698 final long token = Binder.clearCallingIdentity();
711 Binder.restoreCallingIdentity(token);
720 final long token = Binder.clearCallingIdentity();
728 Binder.restoreCallingIdentity(token);
[all...]

Completed in 3013 milliseconds

12345678910