Searched refs:token (Results 1 - 25 of 652) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/tv/
H A DITvRemoteServiceInput.aidl24 void openInputBridge(IBinder token, String name, int width, int height, int maxPointers);
25 void closeInputBridge(IBinder token);
26 void clearInputBridge(IBinder token);
27 void sendTimestamp(IBinder token, long timestamp);
28 void sendKeyDown(IBinder token, int keyCode);
29 void sendKeyUp(IBinder token, int keyCode);
30 void sendPointerDown(IBinder token, int pointerId, int x, int y);
31 void sendPointerUp(IBinder token, int pointerId);
32 void sendPointerSync(IBinder token);
H A DITvRemoteProvider.aidl26 void onInputBridgeConnected(IBinder token);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DWindowTokenTests.java51 final WindowTestUtils.TestWindowToken token =
54 assertEquals(0, token.getWindowsCount());
56 final WindowState window1 = createWindow(null, TYPE_APPLICATION, token, "window1");
57 final WindowState window11 = createWindow(window1, FIRST_SUB_WINDOW, token, "window11");
58 final WindowState window12 = createWindow(window1, FIRST_SUB_WINDOW, token, "window12");
59 final WindowState window2 = createWindow(null, TYPE_APPLICATION, token, "window2");
60 final WindowState window3 = createWindow(null, TYPE_APPLICATION, token, "window3");
62 token.addWindow(window1);
63 // NOTE: Child windows will not be added to the token as window containers can only
65 token
[all...]
/frameworks/base/core/java/android/os/
H A DIUpdateLock.aidl25 void acquireUpdateLock(IBinder token, String tag);
26 void releaseUpdateLock(IBinder token);
H A DTokenWatcher.java65 * Record that this token has been acquired. When acquire is called, and
69 * Note that the same {@code token} can only be acquired once. If this
70 * {@code token} has already been acquired, no action is taken. The first
71 * subsequent call to {@link #release} will release this {@code token}
74 * @param token An IBinder object.
78 public void acquire(IBinder token, String tag) argument
81 if (mTokens.containsKey(token)) {
89 Death d = new Death(token, tag);
91 token.linkToDeath(d, 0);
95 mTokens.put(token,
104 cleanup(IBinder token, boolean unlink) argument
120 release(IBinder token) argument
196 IBinder token; field in class:TokenWatcher.Death
199 Death(IBinder token, String tag) argument
[all...]
H A DIVibratorService.aidl26 void vibrate(int uid, String opPkg, in VibrationEffect effect, int usageHint, IBinder token);
27 void cancelVibrate(IBinder token);
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvRemoteService.java89 private void informInputBridgeConnected(IBinder token) { argument
90 mHandler.obtainMessage(UserHandler.MSG_INPUT_BRIDGE_CONNECTED, 0, 0, token).sendToTarget();
94 private void openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, argument
98 Slog.d(TAG, "openInputBridgeInternalLocked(), token: " + token + ", name: " + name +
104 if (mBridgeMap.containsKey(token)) {
107 informInputBridgeConnected(token);
111 UinputBridge inputBridge = new UinputBridge(token, name, width, height, maxPointers);
113 mBridgeMap.put(token, inputBridge);
114 mProviderMap.put(token, provide
124 closeInputBridgeInternalLocked(IBinder token) argument
139 clearInputBridgeInternalLocked(IBinder token) argument
150 sendTimeStampInternalLocked(IBinder token, long timestamp) argument
157 sendKeyDownInternalLocked(IBinder token, int keyCode) argument
168 sendKeyUpInternalLocked(IBinder token, int keyCode) argument
179 sendPointerDownInternalLocked(IBinder token, int pointerId, int x, int y) argument
191 sendPointerUpInternalLocked(IBinder token, int pointerId) argument
203 sendPointerSyncInternalLocked(IBinder token) argument
263 openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument
280 closeInputBridge(TvRemoteProviderProxy provider, IBinder token) argument
291 clearInputBridge(TvRemoteProviderProxy provider, IBinder token) argument
301 sendTimeStamp(TvRemoteProviderProxy provider, IBinder token, long timestamp) argument
310 sendKeyDown(TvRemoteProviderProxy provider, IBinder token, int keyCode) argument
322 sendKeyUp(TvRemoteProviderProxy provider, IBinder token, int keyCode) argument
334 sendPointerDown(TvRemoteProviderProxy provider, IBinder token, int pointerId, int x, int y) argument
347 sendPointerUp(TvRemoteProviderProxy provider, IBinder token, int pointerId) argument
359 sendPointerSync(TvRemoteProviderProxy provider, IBinder token) argument
[all...]
H A DUinputBridge.java44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) argument
52 if (token == null) {
55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers);
59 mToken = token;
76 public void close(IBinder token) { argument
77 if (isTokenValid(token)) {
79 clear(token);
92 protected boolean isTokenValid(IBinder token) { argument
93 return mToken.equals(token);
96 public void sendTimestamp(IBinder token, lon argument
102 sendKeyDown(IBinder token, int keyCode) argument
108 sendKeyUp(IBinder token, int keyCode) argument
114 sendPointerDown(IBinder token, int pointerId, int x, int y) argument
120 sendPointerUp(IBinder token, int pointerId) argument
126 sendPointerSync(IBinder token) argument
133 clear(IBinder token) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/aidl/
H A DIImsSmsListener.aidl24 void onSendSmsResult(int token, int messageRef, int status, int reason);
25 void onSmsStatusReportReceived(int token, int messageRef, in String format,
27 void onSmsReceived(int token, in String format, in byte[] pdu);
/frameworks/base/media/java/android/media/midi/
H A DIMidiDeviceServer.aidl24 FileDescriptor openInputPort(IBinder token, int portNumber);
25 FileDescriptor openOutputPort(IBinder token, int portNumber);
26 void closePort(IBinder token);
31 int connectPorts(IBinder token, in FileDescriptor fd, int outputPortNumber);
H A DIMidiDeviceOpenCallback.aidl24 void onDeviceOpened(in IMidiDeviceServer server, IBinder token);
/frameworks/base/core/java/android/app/servertransaction/
H A DBaseClientRequest.java34 * @param token Target activity token.
36 default void preExecute(ClientTransactionHandler client, IBinder token) { argument
42 * @param token Target activity token.
45 void execute(ClientTransactionHandler client, IBinder token, argument
51 * @param token Target activity token.
54 default void postExecute(ClientTransactionHandler client, IBinder token, argument
/frameworks/base/core/java/android/content/pm/
H A DKeySet.java31 private IBinder token; field in class:KeySet
34 public KeySet(IBinder token) { argument
35 if (token == null) {
36 throw new NullPointerException("null value for KeySet IBinder token");
38 this.token = token;
43 return token;
51 return token == ks.token;
59 return token
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockSettingsInternal.java28 * Create an escrow token for the current user, which can later be used to unlock FBE
32 * confirm credential operation in order to activate the token for future use. If the user
33 * has no secure lockscreen, then the token is activated immediately.
35 * @return a unique 64-bit token handle which is needed to refer to this token later.
37 public abstract long addEscrowToken(byte[] token, int userId); argument
40 * Remove an escrow token.
41 * @return true if the given handle refers to a valid token previously returned from
47 * Check if the given escrow token is active or not. Only active token ca
52 setLockCredentialWithToken(String credential, int type, long tokenHandle, byte[] token, int requestedQuality, int userId) argument
55 unlockUserWithToken(long tokenHandle, byte[] token, int userId) argument
[all...]
/frameworks/compile/mclinker/lib/Script/
H A DScriptScanner.ll19 typedef mcld::ScriptParser::token token;
22 #define yyterminate() return token::END
68 return token::LINKER_SCRIPT;
79 <LDSCRIPT>"ENTRY" { return token::ENTRY; }
81 <LDSCRIPT>"INCLUDE" { return token::INCLUDE; }
82 <LDSCRIPT>"INPUT" { return token::INPUT; }
83 <LDSCRIPT>"GROUP" { return token::GROUP; }
84 <LDSCRIPT>"AS_NEEDED" { return token::AS_NEEDED; }
85 <LDSCRIPT>"OUTPUT" { return token
[all...]
/frameworks/native/services/sensorservice/hidl/
H A DDirectReportChannel.cpp36 int token = mManager.configureDirectChannel(mId, local
38 _hidl_cb(token <= 0 ? 0 : token,
39 token <= 0 ? convertResult(token) : Result::OK);
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/
H A DTvRemoteProvider.java97 * @param token Identifier for the connection. Null, if failed.
99 public void onInputBridgeConnected(IBinder token) { argument
113 * Clients should pass in a token that can be used to match this request with a token that
114 * will be returned by {@link TvRemoteProvider#onInputBridgeConnected(IBinder token)}
116 * The token should be used for subsequent calls.
120 * @param token Identifier for this connection
126 public void openRemoteInputBridge(IBinder token, String name, int width, int height, argument
129 mRemoteServiceInput.openInputBridge(token, name, width, height, maxPointers);
138 * @param token identifie
141 closeInputBridge(IBinder token) argument
157 clearInputBridge(IBinder token) argument
174 sendTimestamp(IBinder token, long timestamp) argument
191 sendKeyUp(IBinder token, int keyCode) argument
207 sendKeyDown(IBinder token, int keyCode) argument
225 sendPointerUp(IBinder token, int pointerId) argument
245 sendPointerDown(IBinder token, int pointerId, int x, int y) argument
262 sendPointerSync(IBinder token) argument
278 onInputBridgeConnected(IBinder token) argument
[all...]
/frameworks/support/core/ktx/src/main/java/androidx/core/os/
H A DHandler.kt35 token: Any? = null,
39 if (token == null) {
42 HandlerCompat.postDelayed(this, runnable, token, delayInMillis)
57 * @param token An optional object with which the posted message will be associated.
62 token: Any? = null,
66 postAtTime(runnable, token, uptimeMillis)
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DSessionToken2Test.java50 SessionToken2 token = new SessionToken2(mContext, new ComponentName(
53 assertEquals(MockMediaSessionService2.ID, token.getId());
54 assertEquals(mContext.getPackageName(), token.getPackageName());
55 assertEquals(Process.myUid(), token.getUid());
56 assertEquals(SessionToken2.TYPE_SESSION_SERVICE, token.getType());
61 SessionToken2 token = new SessionToken2(mContext, new ComponentName(
64 assertEquals(MockMediaLibraryService2.ID, token.getId());
65 assertEquals(mContext.getPackageName(), token.getPackageName());
66 assertEquals(Process.myUid(), token.getUid());
67 assertEquals(SessionToken2.TYPE_LIBRARY_SERVICE, token
[all...]
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp50 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/base/core/java/android/app/
H A DIBackupAgent.aidl46 * @param token Opaque token identifying this transaction. This must
58 long quotaBytes, int token, IBackupManager callbackBinder, int transportFlags);
75 * @param token Opaque token identifying this transaction. This must
85 int token, IBackupManager callbackBinder);
98 * @param token Opaque token identifying this transaction. This must
108 void doFullBackup(in ParcelFileDescriptor data, long quotaBytes, int token,
114 void doMeasureFullBackup(long quotaBytes, int token, IBackupManage
[all...]
/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl29 oneway void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping);
30 oneway void stop(IBinder token);
31 boolean isPlaying(IBinder token);
32 oneway void setPlaybackProperties(IBinder token, float volume, boolean looping);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAnimatingAppWindowTokenRegistry.java45 void notifyStarting(AppWindowToken token) { argument
46 mAnimatingTokens.add(token);
52 void notifyFinished(AppWindowToken token) { argument
53 mAnimatingTokens.remove(token);
54 mFinishedTokens.remove(token);
56 // If we were the last token, make sure the end all deferred finishes.
68 boolean notifyAboutToFinish(AppWindowToken token, Runnable endDeferFinishCallback) { argument
69 final boolean removed = mAnimatingTokens.remove(token);
82 mFinishedTokens.put(token, endDeferFinishCallback);
/frameworks/support/transition/src/main/java/androidx/transition/
H A DWindowIdApi14.java25 WindowIdApi14(IBinder token) { argument
26 mToken = token;
/frameworks/base/core/java/android/util/
H A DJsonReader.java33 * Within JSON objects, name/value pairs are represented by a single token.
193 * long as the longest token that can be reported as a number.
211 * The type of the next token to be returned by {@link #peek} and {@link
214 private JsonToken token; field in class:JsonReader
273 * Consumes the next token from the JSON stream and asserts that it is the
281 * Consumes the next token from the JSON stream and asserts that it is the
289 * Consumes the next token from the JSON stream and asserts that it is the
297 * Consumes the next token from the JSON stream and asserts that it is the
309 if (token != expected) {
320 return token !
[all...]

Completed in 559 milliseconds

1234567891011>>