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

1234567891011>>

/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java257 public void addSubscription(final String id, final IBinder token, final Bundle options, argument
272 MediaBrowserService.this.addSubscription(id, connection, token, options);
283 public void removeSubscription(final String id, final IBinder token, argument
296 if (!MediaBrowserService.this.removeSubscription(id, connection, token)) {
455 * @param token The token for the service's {@link MediaSession}.
457 public void setSessionToken(final MediaSession.Token token) { argument
458 if (token == null) {
459 throw new IllegalArgumentException("Session token may not be null.");
462 throw new IllegalStateException("The session token ha
584 addSubscription(String id, ConnectionRecord connection, IBinder token, Bundle options) argument
606 removeSubscription(String id, ConnectionRecord connection, IBinder token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/wm/
H A DTask.java192 EventLog.writeEvent(EventLogTags.WM_TASK_REMOVED, mTaskId, "removeAppToken: last token");
458 final AppWindowToken token = mAppTokens.get(i);
460 if (token.mIsExiting || token.clientHidden || token.hiddenRequested) {
463 final WindowState win = token.findMainWindow();
730 final AppWindowToken token = getTopVisibleAppToken();
731 return token != null ? token.findMainWindow() : null;
736 final AppWindowToken token
[all...]
/frameworks/support/media-compat/java/android/support/v4/media/
H A DMediaBrowserServiceCompat.java137 void setSessionToken(MediaSessionCompat.Token token); argument
159 public void setSessionToken(final MediaSessionCompat.Token token) { argument
167 connection.callbacks.onConnect(connection.root.getRootId(), token,
228 public void setSessionToken(MediaSessionCompat.Token token) { argument
229 MediaBrowserServiceCompatApi21.setSessionToken(mServiceObj, token.getToken());
627 public void addSubscription(final String id, final IBinder token, final Bundle options, argument
642 MediaBrowserServiceCompat.this.addSubscription(id, connection, token, options);
647 public void removeSubscription(final String id, final IBinder token, argument
661 id, connection, token)) {
905 * @param token Th
907 setSessionToken(MediaSessionCompat.Token token) argument
1003 addSubscription(String id, ConnectionRecord connection, IBinder token, Bundle options) argument
1025 removeSubscription(String id, ConnectionRecord connection, IBinder token) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java49 public void setToken(IBinder token) { argument
51 lp.token = token;
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/
H A DWindowManagerPermissionTests.java219 Binder token = new Binder();
221 mWm.disableKeyguard(token, "foo");
231 mWm.reenableKeyguard(token);
/frameworks/base/core/java/android/app/
H A DUiAutomationConnection.java176 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId);
177 if (token == null) {
180 return mWindowManager.clearWindowContentFrameStats(token);
196 IBinder token = mAccessibilityManager.getWindowToken(windowId, callingUserId);
197 if (token == null) {
200 return mWindowManager.getWindowContentFrameStats(token);
H A DService.java471 * unique integer token representing the start request. Do not call this method directly.
761 ActivityThread thread, String className, IBinder token,
766 mToken = token;
759 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
/frameworks/base/services/backup/java/com/android/server/backup/
H A DTrampoline.java169 public void restoreAtInstall(String packageName, int token) throws RemoteException { argument
172 svc.restoreAtInstall(packageName, token);
255 public void acknowledgeFullBackupOrRestore(int token, boolean allow, String curPassword, argument
260 svc.acknowledgeFullBackupOrRestore(token, allow,
321 public void opComplete(int token, long result) throws RemoteException { argument
324 svc.opComplete(token, result);
/frameworks/base/services/core/java/com/android/server/dreams/
H A DDreamController.java121 public void startDream(Binder token, ComponentName name, argument
134 mCurrentDream = new DreamRecord(token, name, isTest, canDoze, userId, wakeLock);
141 mIWindowManager.addWindowToken(token, WindowManager.LayoutParams.TYPE_DREAM);
143 Slog.e(TAG, "Unable to add window token for dream.", ex);
217 // it can shut down nicely before we yank its window token out from
241 Slog.w(TAG, "Error removing window token for dream.", ex);
278 void onDreamStopped(Binder token); argument
296 public DreamRecord(Binder token, ComponentName name, argument
298 mToken = token;
/frameworks/base/services/core/java/com/android/server/notification/
H A DScheduleConditionProvider.java297 String token = tokens[i];
298 if (token != null) {
299 token = token.trim();
301 if (TextUtils.isEmpty(token)) {
304 mSnoozed.add(Uri.parse(token));
/frameworks/base/core/java/com/android/internal/backup/
H A DIBackupTransport.aidl176 * Get the identifying token of the backup set currently being stored from
180 * @return A token that can be passed to {@link #startRestore}, or 0 if there
190 * @param token A backup token as returned by {@link #getAvailableRestoreSets}
198 int startRestore(long token, in PackageInfo[] packages);
/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/media/java/android/media/midi/
H A DMidiInputPort.java50 /* package */ MidiInputPort(IMidiDeviceServer server, IBinder token, argument
55 mToken = token;
H A DMidiOutputPort.java93 /* package */ MidiOutputPort(IMidiDeviceServer server, IBinder token, argument
96 mToken = token;
/frameworks/base/media/java/android/media/tv/
H A DITvInputClient.aidl32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq);
/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/base/services/core/java/com/android/server/fingerprint/
H A DEnrollClient.java40 public EnrollClient(Context context, long halDeviceId, IBinder token, argument
43 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
/frameworks/base/services/midi/java/com/android/server/midi/
H A DMidiService.java88 // list of all our clients, keyed by Binder token
130 // Binder token for this client
143 public Client(IBinder token) { argument
144 mToken = token;
173 public void removeDeviceConnection(IBinder token) { argument
174 DeviceConnection connection = mDeviceConnections.remove(token);
267 private Client getClient(IBinder token) { argument
269 Client client = mClients.get(token);
271 client = new Client(token);
274 token
602 registerListener(IBinder token, IMidiDeviceListener listener) argument
611 unregisterListener(IBinder token, IMidiDeviceListener listener) argument
654 openDevice(IBinder token, MidiDeviceInfo deviceInfo, IMidiDeviceOpenCallback callback) argument
680 openBluetoothDevice(IBinder token, BluetoothDevice bluetoothDevice, IMidiDeviceOpenCallback callback) argument
[all...]
/frameworks/base/keystore/java/android/security/
H A DKeyStore.java494 public OperationResult update(IBinder token, KeymasterArguments arguments, byte[] input) { argument
496 return mBinder.update(token, arguments, input);
503 public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature, argument
506 return mBinder.finish(token, arguments, signature, entropy);
513 public OperationResult finish(IBinder token, KeymasterArguments arguments, byte[] signature) { argument
514 return finish(token, arguments, signature, null);
517 public int abort(IBinder token) { argument
519 return mBinder.abort(token);
527 * Check if the operation referenced by {@code token} is currently authorized.
529 * @param token A
532 isOperationAuthorized(IBinder token) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java876 public void updateExtractedText(View view, int token, ExtractedText text) { argument
886 mCurMethod.updateExtractedText(token, text);
1023 * @param windowToken The token of the window that is making the request,
1048 * @param windowToken The token of the window that is making the request,
1079 * @param windowToken The token of the window that is making the request,
1153 // Make sure we have a window token for the served view.
1751 * from an application or a service which has a token of the currently active input method.
1752 * @param token Supplies the identifying token given to an input method
1757 public void setInputMethod(IBinder token, Strin argument
1774 setInputMethodAndSubtype(IBinder token, String id, InputMethodSubtype subtype) argument
1794 hideSoftInputFromInputMethod(IBinder token, int flags) argument
1815 showSoftInputFromInputMethod(IBinder token, int flags) argument
1833 dispatchInputEvent(InputEvent event, Object token, FinishedInputEventCallback callback, Handler handler) argument
1986 obtainPendingEventLocked(InputEvent event, Object token, String inputMethodId, FinishedInputEventCallback callback, Handler handler) argument
2177 clearLastInputMethodWindowForTransition(final IBinder token) argument
2307 exposeContent(@onNull IBinder token, @NonNull InputContentInfo inputContentInfo, @NonNull EditorInfo editorInfo) argument
2367 onFinishedInputEvent(Object token, boolean handled) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsApplication.java207 final long token = Binder.clearCallingIdentity();
211 Binder.restoreCallingIdentity(token);
514 final long token = Binder.clearCallingIdentity();
518 Binder.restoreCallingIdentity(token);
772 final long token = Binder.clearCallingIdentity();
783 Binder.restoreCallingIdentity(token);
795 final long token = Binder.clearCallingIdentity();
806 Binder.restoreCallingIdentity(token);
819 final long token = Binder.clearCallingIdentity();
830 Binder.restoreCallingIdentity(token);
[all...]
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java403 public void setVirtualDisplaySurface(IVirtualDisplayCallback token, Surface surface) { argument
405 mDm.setVirtualDisplaySurface(token, surface);
411 public void resizeVirtualDisplay(IVirtualDisplayCallback token, argument
414 mDm.resizeVirtualDisplay(token, width, height, densityDpi);
420 public void releaseVirtualDisplay(IVirtualDisplayCallback token) { argument
422 mDm.releaseVirtualDisplay(token);
/frameworks/av/media/libstagefright/
H A DCameraSource.cpp514 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
518 IPCThreadState::self()->restoreCallingIdentity(token);
699 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
756 IPCThreadState::self()->restoreCallingIdentity(token);
835 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
842 IPCThreadState::self()->restoreCallingIdentity(token);
863 int64_t token; local
866 token = IPCThreadState::self()->clearCallingIdentity();
880 IPCThreadState::self()->restoreCallingIdentity(token);
962 int64_t token local
1117 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
[all...]
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java458 System.out.println(" " + Long.toHexString(s.token) + " : " + s.name);
516 long token = Long.parseLong(arg, 16);
523 doRestoreAll(token, filter);
558 private void doRestoreAll(long token, HashSet<String> filter) { argument
575 if (s.token == token) {
578 didRestore = (mRestore.restoreAll(token, observer) == 0);
582 didRestore = (mRestore.restoreSome(token, observer, names) == 0);
593 System.out.println("No matching restore set token. Available sets:");
668 System.err.println("The 'list sets' command reports the token an
[all...]

Completed in 874 milliseconds

1234567891011>>