/frameworks/base/core/java/android/os/ |
H A D | IVibratorService.aidl | 23 void vibrate(long milliseconds, IBinder token); 24 void vibratePattern(in long[] pattern, int repeat, IBinder token); 25 void cancelVibrate(IBinder token);
|
H A D | IUpdateLock.aidl | 25 void acquireUpdateLock(IBinder token, String tag); 26 void releaseUpdateLock(IBinder token);
|
H A D | TokenWatcher.java | 59 * 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 D | Tokenizer.cpp | 50 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 D | TokenManager.cpp | 27 // 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 D | Tokenizer.h | 37 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 D | IRingtonePlayer.aidl | 27 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 D | IBackupAgent.aidl | 44 * @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 D | JsonReader.java | 33 * 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/java/android/view/ |
H A D | IWindowManager.aidl | 72 void pauseKeyDispatching(IBinder token); 73 void resumeKeyDispatching(IBinder token); 75 void addWindowToken(IBinder token, int type); 76 void removeWindowToken(IBinder token); 77 void addAppToken(int addPos, int userId, IApplicationToken token, 79 void setAppGroupId(IBinder token, int groupId); 80 void setAppOrientation(IApplicationToken token, int requestedOrientation); 81 int getAppOrientation(IApplicationToken token); 82 void setFocusedApp(IBinder token, boolean moveFocusNow); 92 void setAppStartingWindow(IBinder token, Strin [all...] |
H A D | Choreographer.java | 118 // All frame callbacks posted by applications have this token. 267 * @param token The callback token, or null if none. 272 public void postCallback(int callbackType, Runnable action, Object token) { argument 273 postCallbackDelayed(callbackType, action, token, 0); 284 * @param token The callback token, or null if none. 291 Runnable action, Object token, long delayMillis) { 299 postCallbackDelayedInternal(callbackType, action, token, delayMillis); 303 Object action, Object token, lon 290 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument 302 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument 339 removeCallbacks(int callbackType, Runnable action, Object token) argument 347 removeCallbacksInternal(int callbackType, Object action, Object token) argument 603 obtainCallbackLocked(long dueTime, Object action, Object token) argument 743 public Object token; field in class:Choreographer.CallbackRecord 781 addCallbackLocked(long dueTime, Object action, Object token) argument 803 removeCallbacksLocked(Object action, Object token) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_util_XmlBlock.cpp | 62 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/app/backup/ |
H A D | IRestoreSession.aidl | 47 * @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 D | RestoreSet.java | 46 public long token; field in class:RestoreSet 56 token = _token; 68 out.writeLong(token); 85 token = in.readLong();
|
H A D | IBackupManager.aidl | 71 void restoreAtInstall(String packageName, int token); 181 * UI calls back into the Backup Manager to confirm, passing the correct token. At 192 void acknowledgeFullBackupOrRestore(int token, boolean allow, 264 * corresponding to the given token. 266 * @param token The transaction token passed to a BackupAgent's doBackup() or 270 void opComplete(int token);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | RingtonePlayer.java | 75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument 76 mToken = token; 85 if (LOGD) Slog.d(TAG, "binderDied() token=" + mToken); 95 public void play(IBinder token, Uri uri, int streamType) throws RemoteException { 97 Slog.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid=" 102 client = mClients.get(token); 105 client = new Client(token, uri, user, streamType); 106 token.linkToDeath(client, 0); 107 mClients.put(token, clien [all...] |
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 72 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 D | ExtractedTextRequest.java | 32 public int token; field in class:ExtractedTextRequest 58 dest.writeInt(token); 71 res.token = source.readInt();
|
/frameworks/base/core/java/android/net/http/ |
H A D | HttpAuthHeader.java | 340 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/com/android/internal/view/ |
H A D | IInputMethodManager.aidl | 60 void setInputMethod(in IBinder token, String id); 61 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); 62 void hideMySoftInput(in IBinder token, int flags); 63 void showMySoftInput(in IBinder token, int flags); 64 void updateStatusIcon(in IBinder token, String packageName, int iconId); 65 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); 70 boolean switchToLastInputMethod(in IBinder token); 71 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme);
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | SmileyParser.java | 67 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/support/volley/src/com/android/volley/toolbox/ |
H A D | HttpHeaderParser.java | 63 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")) {
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | TypedProperties.java | 153 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/services/java/com/android/server/am/ |
H A D | ContentProviderRecord.java | 92 public void addExternalProcessHandleLocked(IBinder token) { argument 93 if (token == null) { 99 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 101 handle = new ExternalProcessHandle(token); 102 externalProcessTokenToHandle.put(token, handle); 108 public boolean removeExternalProcessHandleLocked(IBinder token) { argument 112 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 117 removeExternalProcessHandleInternalLocked(token); 130 private void removeExternalProcessHandleInternalLocked(IBinder token) { argument 131 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 229 ExternalProcessHandle(IBinder token) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | VirtualKeyMap.cpp | 105 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local 106 if (token != "0x01") { 161 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local 163 *outValue = strtol(token.string(), &end, 0); 164 if (token.isEmpty() || *end != '\0') { 165 ALOGE("Expected an integer, got '%s'.", token.string());
|