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

12345

/frameworks/base/core/java/android/os/
H A DIHardwareService.aidl23 void vibrate(long milliseconds, IBinder token);
24 void vibratePattern(in long[] pattern, int repeat, IBinder token);
25 void cancelVibrate(IBinder token);
H A DTokenWatcher.java57 * Record that this token has been acquired. When acquire is called, and
61 * @param token An IBinder object. If this token has already been acquired,
66 public void acquire(IBinder token, String tag) argument
73 Death d = new Death(token, tag);
75 token.linkToDeath(d, 0);
79 mTokens.put(token, d);
88 public void cleanup(IBinder token, boolean unlink) argument
91 Death d = mTokens.remove(token);
93 d.token
104 release(IBinder token) argument
164 IBinder token; field in class:TokenWatcher.Death
167 Death(IBinder token, String tag) argument
[all...]
/frameworks/base/libs/surfaceflinger/
H A DTokenizer.cpp49 uint32_t token = run.first + run.length; local
50 _insertTokenAt(token, 1);
51 return token;
54 bool Tokenizer::isAcquired(uint32_t token) const
56 return (_indexOrderOf(token) >= 0);
59 status_t Tokenizer::reserve(uint32_t token) argument
62 const ssize_t i = _indexOrderOf(token, &o);
64 return BAD_VALUE; // this token is already taken
66 ssize_t err = _insertTokenAt(token, o);
70 status_t Tokenizer::release(uint32_t token) argument
101 _indexOrderOf(uint32_t token, size_t* order) const argument
128 _insertTokenAt(uint32_t token, size_t index) argument
[all...]
H A DTokenizer.h35 status_t reserve(uint32_t token);
36 status_t release(uint32_t token);
37 bool isAcquired(uint32_t token) const;
48 ssize_t _indexOrderOf(uint32_t token, size_t* order=0) const;
49 ssize_t _insertTokenAt(uint32_t token, size_t index);
/frameworks/base/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/view/
H A DIWindowManager.aidl59 void pauseKeyDispatching(IBinder token);
60 void resumeKeyDispatching(IBinder token);
62 void addWindowToken(IBinder token, int type);
63 void removeWindowToken(IBinder token);
64 void addAppToken(int addPos, IApplicationToken token,
66 void setAppGroupId(IBinder token, int groupId);
69 void setAppOrientation(IApplicationToken token, int requestedOrientation);
70 int getAppOrientation(IApplicationToken token);
71 void setFocusedApp(IBinder token, boolean moveFocusNow);
76 void setAppStartingWindow(IBinder token, Strin
[all...]
/frameworks/base/core/java/android/backup/
H A DIRestoreSession.aidl45 * @param token The token from {@link getAvailableRestoreSets()} corresponding to
50 int performRestore(long token, IRestoreObserver observer);
H A DRestoreSet.java46 public long token; field in class:RestoreSet
56 token = _token;
68 out.writeLong(token);
85 token = in.readLong();
/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp72 jint token)
74 ResXMLTree* osb = (ResXMLTree*)token;
84 jint token)
86 ResXMLTree* osb = (ResXMLTree*)token;
104 jint token)
106 ResXMLParser* st = (ResXMLParser*)token;
136 jint token)
138 ResXMLParser* st = (ResXMLParser*)token;
147 jint token)
149 ResXMLParser* st = (ResXMLParser*)token;
71 android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, jint token) argument
83 android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, jint token) argument
103 android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, jint token) argument
135 android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, jint token) argument
146 android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, jint token) argument
157 android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, jint token) argument
168 android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, jint token) argument
180 android_content_XmlBlock_nativeGetAttributeCount(JNIEnv* env, jobject clazz, jint token) argument
192 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jint token, jint idx) argument
204 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jint token, jint idx) argument
216 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jint token, jint idx) argument
228 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jint token, jint idx) argument
240 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jint token, jint idx) argument
252 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jint token, jint idx) argument
264 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
294 android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, jint token) argument
307 android_content_XmlBlock_nativeGetClassAttribute(JNIEnv* env, jobject clazz, jint token) argument
320 android_content_XmlBlock_nativeGetStyleAttribute(JNIEnv* env, jobject clazz, jint token) argument
344 android_content_XmlBlock_nativeDestroyParseState(JNIEnv* env, jobject clazz, jint token) argument
356 android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, jint token) argument
[all...]
H A Dandroid_util_StringBlock.cpp71 jint token)
73 ResStringPool* osb = (ResStringPool*)token;
83 jint token, jint idx)
85 ResStringPool* osb = (ResStringPool*)token;
102 jint token, jint idx)
104 ResStringPool* osb = (ResStringPool*)token;
146 jint token, jstring str)
148 ResStringPool* osb = (ResStringPool*)token;
165 jint token)
167 ResStringPool* osb = (ResStringPool*)token;
70 android_content_StringBlock_nativeGetSize(JNIEnv* env, jobject clazz, jint token) argument
82 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jint token, jint idx) argument
101 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jint token, jint idx) argument
145 android_content_StringBlock_nativeIndexOfString(JNIEnv* env, jobject clazz, jint token, jstring str) argument
164 android_content_StringBlock_nativeDestroy(JNIEnv* env, jobject clazz, jint token) argument
[all...]
/frameworks/base/media/libdrm/mobile2/src/rights/
H A DRo.cpp176 const DOMString *token = NULL; local
177 token = static_cast<const XMLElementImpl*>(node)->getSoloText(STR_RO_CONTEXT_ID);
179 if (token)
181 LOGI(*token);
182 mRoID = *token;
185 token = static_cast<const XMLElementImpl*>(node)->getSoloText(STR_RO_CONTEXT_VERSION);
186 if (token)
188 LOGI(*token);
189 mRoVersion = *token;
275 const string *token local
368 const string *token = NULL; local
484 const string *token = NULL; local
[all...]
/frameworks/base/core/java/android/content/
H A DAsyncQueryHandler.java73 int token = msg.what;
122 // passing the original token value back to the caller
124 Message reply = args.handler.obtainMessage(token);
159 * @param token A token passed into {@link #onQueryComplete} to identify
177 public void startQuery(int token, Object cookie, Uri uri, argument
180 // Use the token as what so cancelOperations works properly
181 Message msg = mWorkerThreadHandler.obtainMessage(token);
201 * @param token A token passe
218 startQueryEntities(int token, Object cookie, Uri uri, String selection, String[] selectionArgs, String orderBy) argument
245 cancelOperation(int token) argument
259 startInsert(int token, Object cookie, Uri uri, ContentValues initialValues) argument
285 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs) argument
313 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs) argument
338 onQueryComplete(int token, Object cookie, Cursor cursor) argument
350 onQueryEntitiesComplete(int token, Object cookie, EntityIterator iterator) argument
363 onInsertComplete(int token, Object cookie, Uri uri) argument
376 onUpdateComplete(int token, Object cookie, int result) argument
389 onDeleteComplete(int token, Object cookie, int result) argument
[all...]
H A DUriMatcher.java143 * matched. URI nodes may be exact match string, the token "*"
144 * that matches any text, or the token "#" that matches only
162 String token = i < 0 ? authority : tokens[i];
169 if (token.equals(child.mText)) {
177 if (token.equals("#")) {
179 } else if (token.equals("*")) {
184 child.mText = token;
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedTextRequest.java16 public int token; field in class:ExtractedTextRequest
42 dest.writeInt(token);
55 res.token = source.readInt();
/frameworks/base/core/java/android/net/http/
H A DHttpAuthHeader.java340 String token = parameter.substring(0, i).trim();
346 " token: " + token +
350 if (token.equalsIgnoreCase(REALM_TOKEN)) {
354 parseParameter(token, value);
362 * If the token is a known parameter name, parses and initializes
363 * the token value.
365 private void parseParameter(String token, String value) { argument
366 if (token != null && value != null) {
367 if (token
[all...]
/frameworks/base/core/java/android/app/
H A DIApplicationThread.java46 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, argument
48 void scheduleStopActivity(IBinder token, boolean showWindow, argument
50 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; argument
51 void scheduleResumeActivity(IBinder token, boolean isForward) throws RemoteException; argument
52 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument
53 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, argument
57 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, argument
60 void scheduleNewIntent(List<Intent> intent, IBinder token) throws RemoteException; argument
61 void scheduleDestroyActivity(IBinder token, boolean finished, argument
70 void scheduleCreateService(IBinder token, ServiceInf argument
71 scheduleBindService(IBinder token, Intent intent, boolean rebind) argument
73 scheduleUnbindService(IBinder token, Intent intent) argument
75 scheduleServiceArgs(IBinder token, int startId, int flags, Intent args) argument
77 scheduleStopService(IBinder token) argument
87 requestThumbnail(IBinder token) argument
97 scheduleActivityConfigurationChanged(IBinder token) argument
[all...]
H A DIStatusBar.aidl25 void disable(int what, IBinder token, String pkg);
/frameworks/base/core/java/com/google/android/util/
H A DSmileyParser.java67 Token token = tokens.get(i);
69 builder.append(token.getRawText());
70 if (token.getType() == AbstractMessageParser.Token.Type.SMILEY) {
71 int resid = mRes.getSmileyRes(token.getRawText());
/frameworks/base/libs/ui/
H A DKeyLayoutMap.cpp118 String8 token = next_token(&p, &line); local
125 if (token == "key") {
129 token.string());
135 scancode = strtol(token.string(), &end, 0);
138 filename, line, token.string());
145 keycode = token_to_value(token.string(), KEYCODES);
146 //LOGI("%s:%d: got keycode %d for %s\n", filename, line, keycode, token.string() );
149 filename, line, token.string());
155 if (token == "key") {
168 tmp = token_to_value(token
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java153 int token;
155 // Read the next token, which is either the type or EOF.
156 token = st.nextToken();
157 if (token == StreamTokenizer.TT_EOF) {
160 if (token != StreamTokenizer.TT_WORD) {
171 token = st.nextToken();
172 if (token != '(') {
178 token = st.nextToken();
179 if (token != StreamTokenizer.TT_WORD) {
190 token
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java57 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
136 if (DBG) log("Processing event: " + cw.event + " token (arg1): " + msg.arg1 +
152 // passing the original token value back to the caller
191 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
192 if (DBG) log("query complete for token: " + token);
210 // check the token and if needed, create the callerinfo object.
236 if (DBG) log("constructing CallerInfo object for token: " + token);
241 startQuery (token, endMarke
263 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
285 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
318 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl51 void setInputMethod(in IBinder token, String id);
52 void hideMySoftInput(in IBinder token, int flags);
53 void showMySoftInput(in IBinder token, int flags);
54 void updateStatusIcon(in IBinder token, String packageName, int iconId);
/frameworks/base/media/libdrm/mobile2/src/util/xml/
H A DXMLElementImpl.cpp94 string token; local
98 token.assign(tag);
99 nodeList = getElementsByTagName(&token);

Completed in 347 milliseconds

12345