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

123456789

/frameworks/base/core/java/android/content/pm/
H A DKeySet.java24 private Binder token; field in class:KeySet
27 public KeySet(Binder token) { argument
28 this.token = token;
32 return 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 packageName, long milliseconds, IBinder token);
24 void vibratePattern(int uid, String packageName, in long[] pattern, int repeat, 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/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.aidl27 void play(IBinder token, in Uri uri, int streamType);
28 void stop(IBinder token);
29 boolean isPlaying(IBinder token);
/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
80 in ParcelFileDescriptor newState, int token, IBackupManager callbackBinder);
91 * @param token Opaque token identifying this transaction. This must
99 void doFullBackup(in ParcelFileDescriptor data, int token, IBackupManager callbackBinder);
118 int token, IBackupManage
[all...]
/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.cpp62 jint token)
64 ResXMLTree* osb = (ResXMLTree*)token;
74 jint token)
76 ResXMLTree* osb = (ResXMLTree*)token;
94 jint token)
96 ResXMLParser* st = (ResXMLParser*)token;
126 jint token)
128 ResXMLParser* st = (ResXMLParser*)token;
137 jint token)
139 ResXMLParser* st = (ResXMLParser*)token;
61 android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, jint token) argument
73 android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, jint token) argument
93 android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, jint token) argument
125 android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, jint token) argument
136 android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, jint token) argument
147 android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, jint token) argument
158 android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, jint token) argument
170 android_content_XmlBlock_nativeGetAttributeCount(JNIEnv* env, jobject clazz, jint token) argument
182 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jint token, jint idx) argument
194 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jint token, jint idx) argument
206 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jint token, jint idx) argument
218 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jint token, jint idx) argument
230 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jint token, jint idx) argument
242 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jint token, jint idx) argument
254 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
284 android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, jint token) argument
297 android_content_XmlBlock_nativeGetClassAttribute(JNIEnv* env, jobject clazz, jint token) argument
310 android_content_XmlBlock_nativeGetStyleAttribute(JNIEnv* env, jobject clazz, jint token) argument
334 android_content_XmlBlock_nativeDestroyParseState(JNIEnv* env, jobject clazz, jint token) argument
346 android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, jint token) argument
[all...]
/frameworks/base/core/java/android/view/
H A DIWindowManager.aidl75 void pauseKeyDispatching(IBinder token);
76 void resumeKeyDispatching(IBinder token);
78 void addWindowToken(IBinder token, int type);
79 void removeWindowToken(IBinder token);
80 void addAppToken(int addPos, IApplicationToken token, int groupId, int stackId,
83 void setAppGroupId(IBinder token, int groupId);
84 void setAppOrientation(IApplicationToken token, int requestedOrientation);
85 int getAppOrientation(IApplicationToken token);
86 void setFocusedApp(IBinder token, boolean moveFocusNow);
96 void setAppStartingWindow(IBinder token, Strin
[all...]
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;
/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.java46 public long token; field in class:RestoreSet
56 token = _token;
68 out.writeLong(token);
85 token = in.readLong();
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java74 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument
75 mToken = token;
84 if (LOGD) Log.d(TAG, "binderDied() token=" + mToken);
94 public void play(IBinder token, Uri uri, int streamType) throws RemoteException {
96 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
101 client = mClients.get(token);
104 client = new Client(token, uri, user, streamType);
105 token.linkToDeath(client, 0);
106 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.java32 public int token; field in class:ExtractedTextRequest
58 dest.writeInt(token);
71 res.token = source.readInt();
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java37 VirtualDisplay(DisplayManagerGlobal global, Display display, IBinder token) { argument
40 mToken = token;
66 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken + "}";
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl62 void setInputMethod(in IBinder token, String id);
63 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype);
64 void hideMySoftInput(in IBinder token, int flags);
65 void showMySoftInput(in IBinder token, int flags);
66 void updateStatusIcon(in IBinder token, String packageName, int iconId);
67 void setImeWindowStatus(in IBinder token, int vis, int backDisposition);
72 boolean switchToLastInputMethod(in IBinder token);
73 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme);
74 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token);
/frameworks/base/core/java/android/net/http/
H A DHttpAuthHeader.java342 String token = parameter.substring(0, i).trim();
348 " token: " + token +
352 if (token.equalsIgnoreCase(REALM_TOKEN)) {
356 parseParameter(token, value);
364 * If the token is a known parameter name, parses and initializes
365 * the token value.
367 private void parseParameter(String token, String value) { argument
368 if (token != null && value != null) {
369 if (token
[all...]
/frameworks/base/core/java/com/android/internal/backup/
H A DIObbBackupService.aidl37 int token, in IBackupManager callbackBinder);
44 int token, in IBackupManager callbackBinder);
/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/compile/mclinker/lib/Support/
H A DDefSymParser.cpp41 std::string token; local
50 if (token.empty() && (*si == '+' || *si == '-'))
52 // pushing 0 when a token begins with a + or - operator
54 token = "0";
55 // An operator encountered means a token ended, push it to
57 postfixString.push_back(token);
58 token.clear();
83 // keep reading the token when there is no operator encountered
84 token += *si;
87 postfixString.push_back(token);
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DHttpHeaderParser.java63 String token = tokens[i].trim();
64 if (token.equals("no-cache") || token.equals("no-store")) {
66 } else if (token.startsWith("max-age=")) {
68 maxAge = Long.parseLong(token.substring(8));
71 } else if (token.equals("must-revalidate") || token.equals("proxy-revalidate")) {

Completed in 3181 milliseconds

123456789