Searched refs:token (Results 1 - 25 of 332) 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/core/java/android/os/
H A DIUpdateLock.aidl25 void acquireUpdateLock(IBinder token, String tag);
26 void releaseUpdateLock(IBinder token);
H A DIVibratorService.aidl23 void vibrate(int uid, String opPkg, long milliseconds, int usageHint, IBinder token);
24 void vibratePattern(int uid, String opPkg, in long[] pattern, int repeat, int usageHint, IBinder token);
25 void cancelVibrate(IBinder token);
H A DTokenWatcher.java59 * Record that this token has been acquired. When acquire is called, and
63 * @param token An IBinder object. If this token has already been acquired,
68 public void acquire(IBinder token, String tag) argument
75 Death d = new Death(token, tag);
77 token.linkToDeath(d, 0);
81 mTokens.put(token, d);
90 public void cleanup(IBinder token, boolean unlink) argument
93 Death d = mTokens.remove(token);
95 d.token
106 release(IBinder token) argument
182 IBinder token; field in class:TokenWatcher.Death
185 Death(IBinder token, String tag) argument
[all...]
/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/media/java/android/media/midi/
H A DIMidiDeviceServer.aidl25 ParcelFileDescriptor openInputPort(IBinder token, int portNumber);
26 ParcelFileDescriptor openOutputPort(IBinder token, int portNumber);
27 void closePort(IBinder token);
32 int connectPorts(IBinder token, in ParcelFileDescriptor pfd, int outputPortNumber);
H A DIMidiDeviceOpenCallback.aidl24 void onDeviceOpened(in IMidiDeviceServer server, IBinder token);
/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/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/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/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...]
H A DTokenManager.cpp27 // 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 DTokenizer.h37 status_t reserve(uint32_t token);
38 status_t release(uint32_t token);
39 bool isAcquired(uint32_t token) const;
50 ssize_t _indexOrderOf(uint32_t token, size_t* order=0) const;
51 ssize_t _insertTokenAt(uint32_t token, size_t index);
/frameworks/base/core/java/android/app/
H A DIBackupAgent.aidl44 * @param token Opaque token identifying this transaction. This must
54 int token, IBackupManager callbackBinder);
71 * @param token Opaque token identifying this transaction. This must
81 int token, IBackupManager callbackBinder);
92 * @param token Opaque token identifying this transaction. This must
100 void doFullBackup(in ParcelFileDescriptor data, int token, IBackupManager callbackBinder);
105 void doMeasureFullBackup(int token, IBackupManage
[all...]
/frameworks/base/core/java/android/view/
H A DIGraphicsStats.aidl25 ParcelFileDescriptor requestBufferForProcess(String packageName, IBinder token);
/frameworks/base/media/java/android/media/
H A DIRingtonePlayer.aidl29 void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping);
30 void stop(IBinder token);
31 boolean isPlaying(IBinder token);
32 void setPlaybackProperties(IBinder token, float volume, boolean looping);
/frameworks/base/core/java/android/hardware/fingerprint/
H A DIFingerprintService.aidl30 void authenticate(IBinder token, long sessionId, int userId,
34 void cancelAuthentication(IBinder token, String opPackageName);
37 void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiver,
41 void cancelEnrollment(IBinder token);
44 void remove(IBinder token, int fingerId, int groupId, int userId,
56 // Get a pre-enrollment authentication token
57 long preEnroll(IBinder token);
59 // Finish an enrollment sequence and invalidate the authentication token
60 int postEnroll(IBinder 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...]
/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp63 jlong token)
65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token);
75 jlong token)
77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token);
95 jlong token)
97 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token);
129 jlong token)
131 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token);
140 jlong token)
142 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token);
62 android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, jlong token) argument
74 android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, jlong token) argument
94 android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, jlong token) argument
128 android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, jlong token) argument
139 android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, jlong token) argument
150 android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, jlong token) argument
161 android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, jlong token) argument
173 android_content_XmlBlock_nativeGetAttributeCount(JNIEnv* env, jobject clazz, jlong token) argument
185 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
197 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
209 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
221 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
233 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
245 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
257 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jlong token, jstring ns, jstring name) argument
288 android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, jlong token) argument
301 android_content_XmlBlock_nativeGetClassAttribute(JNIEnv* env, jobject clazz, jlong token) argument
314 android_content_XmlBlock_nativeGetStyleAttribute(JNIEnv* env, jobject clazz, jlong token) argument
338 android_content_XmlBlock_nativeDestroyParseState(JNIEnv* env, jobject clazz, jlong token) argument
350 android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, jlong token) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DNotificationCompatImpl21.java27 Object token) {
32 if (token != null) {
33 style.setMediaSession((MediaSession.Token) token);
25 addMediaStyle(NotificationBuilderWithBuilderAccessor b, int[] actionsToShowInCompact, Object token) argument
/frameworks/base/core/java/android/app/backup/
H A DIRestoreSession.aidl47 * @param token The token from {@link getAvailableRestoreSets()} corresponding to
52 int restoreAll(long token, IRestoreObserver observer);
63 * @param token The token from {@link getAvailableRestoreSets()} corresponding to
68 * the contents of the actual back-end dataset named by {@code token}, only
71 int restoreSome(long token, IRestoreObserver observer, in String[] packages);
H A DRestoreSet.java48 public long token; field in class:RestoreSet
58 token = _token;
69 out.writeLong(token);
86 token = in.readLong();
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DEditorState.java89 for (String token : tokens) {
90 if (token.startsWith("'") && token.endsWith("'")) {
91 for (int i = 1; i < token.length() - 1; ++i) {
92 final char ch = token.charAt(1);
99 sb.append(token.substring(1, token.length() - 1));
100 } else if (token.startsWith("U+")) {
101 final int codePoint = Integer.parseInt(token.substring(2), 16);
103 throw new IllegalArgumentException("Invalid code point is specified:" + token);
[all...]

Completed in 6134 milliseconds

1234567891011>>