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

1234567891011

/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/core/java/android/service/fingerprint/
H A DIFingerprintService.aidl27 void enroll(IBinder token, long timeout, int userId);
30 void enrollCancel(IBinder token, int userId);
33 void remove(IBinder token, int fingerprintId, int userId);
37 void startListening(IBinder token, IFingerprintServiceReceiver receiver, int userId);
40 void stopListening(IBinder token, int userId);
/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
61 return token::LINKER_SCRIPT;
72 <LDSCRIPT>"ENTRY" { return token::ENTRY; }
74 <LDSCRIPT>"INCLUDE" { return token::INCLUDE; }
75 <LDSCRIPT>"INPUT" { return token::INPUT; }
76 <LDSCRIPT>"GROUP" { return token::GROUP; }
77 <LDSCRIPT>"AS_NEEDED" { return token::AS_NEEDED; }
78 <LDSCRIPT>"OUTPUT" { return token
[all...]
H A DScriptParser.yy79 %token END 0 /* EOF */
80 %token <string> STRING LNAMESPEC
81 %token <integer> INTEGER
84 %token LINKER_SCRIPT DEFSYM VERSION_SCRIPT DYNAMIC_LIST
87 %token ENTRY
89 %token INCLUDE
90 %token INPUT
91 %token GROUP
92 %token AS_NEEDED
93 %token OUTPU
[all...]
/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);
116 * @param token Opaqu
[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/media/java/android/media/
H A DIRingtonePlayer.aidl28 void play(IBinder token, in Uri uri, in AudioAttributes aa);
29 void stop(IBinder token);
30 boolean isPlaying(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
287 android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, jlong token) argument
300 android_content_XmlBlock_nativeGetClassAttribute(JNIEnv* env, jobject clazz, jlong token) argument
313 android_content_XmlBlock_nativeGetStyleAttribute(JNIEnv* env, jobject clazz, jlong token) argument
337 android_content_XmlBlock_nativeDestroyParseState(JNIEnv* env, jobject clazz, jlong token) argument
349 android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, jlong token) argument
[all...]
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DFingerprintService.java89 WeakReference<IBinder> token; field in class:FingerprintService.TokenWatcher
91 TokenWatcher(IBinder token) { argument
92 this.token = new WeakReference<IBinder>(token);
95 IBinder getToken() { return token.get(); }
97 mClients.remove(token);
98 this.token = null;
103 if (token != null) {
104 if (DEBUG) Slog.w(TAG, "removing leaked reference: " + token);
105 mClients.remove(token);
216 startEnroll(IBinder token, long timeout, int userId) argument
227 startEnrollCancel(IBinder token, int userId) argument
239 startRemove(IBinder token, int fingerId, int userId) argument
254 addListener(IBinder token, IFingerprintServiceReceiver receiver, int userId) argument
273 removeListener(IBinder token, int userId) argument
291 enroll(IBinder token, long timeout, int userId) argument
297 enrollCancel(IBinder token,int userId) argument
303 remove(IBinder token, int fingerprintId, int userId) argument
309 startListening(IBinder token, IFingerprintServiceReceiver receiver, int userId) argument
316 stopListening(IBinder token, int userId) argument
[all...]
/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;
70 out.writeLong(token);
87 token = in.readLong();
/frameworks/base/core/java/android/service/voice/
H A DIVoiceInteractionSessionService.aidl27 void newSession(IBinder token, in Bundle args);
/frameworks/base/core/java/android/service/dreams/
H A DIDreamManager.aidl33 void finishSelf(in IBinder token, boolean immediate);
34 void startDozing(in IBinder token, int screenState, int screenBrightness);
35 void stopDozing(in IBinder token);
/frameworks/base/core/java/android/view/
H A DDisplayAdjustments.java36 public DisplayAdjustments(IBinder token) { argument
37 mActivityToken = token;
44 public DisplayAdjustments(CompatibilityInfo compatInfo, IBinder token) { argument
46 mActivityToken = token;
66 public void setActivityToken(IBinder token) { argument
71 mActivityToken = token;
H A DIWindowManager.aidl76 void pauseKeyDispatching(IBinder token);
77 void resumeKeyDispatching(IBinder token);
79 void addWindowToken(IBinder token, int type);
80 void removeWindowToken(IBinder token);
81 void addAppToken(int addPos, IApplicationToken token, int groupId, int stackId,
84 void setAppGroupId(IBinder token, int groupId);
85 void setAppOrientation(IApplicationToken token, int requestedOrientation);
86 int getAppOrientation(IApplicationToken token);
87 void setFocusedApp(IBinder token, boolean moveFocusNow);
101 void setAppStartingWindow(IBinder token, Strin
[all...]
H A DWindowManagerInternal.java116 * Gets the magnification and translation applied to a window given its token.
121 * @param windowToken The window's token.
147 * Gets the token of the window that has input focus.
149 * @return The token.
159 * Gets the frame of a window given its token.
161 * @param token The token.
164 public abstract void getWindowFrame(IBinder token, Rect outBounds); argument
178 * Adds a window token for a given window type.
180 * @param token Th
183 addWindowToken(android.os.IBinder token, int type) argument
191 removeWindowToken(android.os.IBinder token, boolean removeWindows) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java75 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { argument
76 mToken = token;
85 if (LOGD) Log.d(TAG, "binderDied() token=" + mToken);
95 public void play(IBinder token, Uri uri, AudioAttributes aa) throws RemoteException {
97 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
102 client = mClients.get(token);
105 client = new Client(token, uri, user, aa);
106 token.linkToDeath(client, 0);
107 mClients.put(token, clien
[all...]
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java72 int token = msg.what;
109 // passing the original token value back to the caller
111 Message reply = args.handler.obtainMessage(token);
146 * @param token A token passed into {@link #onQueryComplete} to identify
164 public void startQuery(int token, Object cookie, Uri uri, argument
167 // Use the token as what so cancelOperations works properly
168 Message msg = mWorkerThreadHandler.obtainMessage(token);
190 * @param token The token representin
193 cancelOperation(int token) argument
207 startInsert(int token, Object cookie, Uri uri, ContentValues initialValues) argument
233 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
261 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument
286 onQueryComplete(int token, Object cookie, Cursor cursor) argument
299 onInsertComplete(int token, Object cookie, Uri uri) argument
312 onUpdateComplete(int token, Object cookie, int result) argument
325 onDeleteComplete(int token, Object cookie, int result) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedTextRequest.java31 public int token; field in class:ExtractedTextRequest
57 dest.writeInt(token);
70 res.token = source.readInt();

Completed in 699 milliseconds

1234567891011