/frameworks/native/opengl/libagl/ |
D | Tokenizer.cpp | 50 uint32_t token = run.first + run.length; in acquire() local 51 _insertTokenAt(token, 1); in acquire() 52 return token; in acquire() 55 bool Tokenizer::isAcquired(uint32_t token) const in isAcquired() 57 return (_indexOrderOf(token) >= 0); in isAcquired() 60 status_t Tokenizer::reserve(uint32_t token) in reserve() argument 63 const ssize_t i = _indexOrderOf(token, &o); in reserve() 67 ssize_t err = _insertTokenAt(token, o); in reserve() 71 status_t Tokenizer::release(uint32_t token) in release() argument 73 const ssize_t i = _indexOrderOf(token); in release() [all …]
|
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);
|
D | TokenManager.cpp | 47 const GLuint token = *tokens++; in recycleTokens() local 48 if (token) { in recycleTokens() 49 mTokenizer.release(token); in recycleTokens() 54 bool TokenManager::isTokenValid(GLuint token) const in isTokenValid() 57 return mTokenizer.isAcquired(token); in isTokenValid()
|
/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 62 jint token) in android_content_XmlBlock_nativeGetStringBlock() argument 64 ResXMLTree* osb = (ResXMLTree*)token; in android_content_XmlBlock_nativeGetStringBlock() 74 jint token) in android_content_XmlBlock_nativeCreateParseState() argument 76 ResXMLTree* osb = (ResXMLTree*)token; in android_content_XmlBlock_nativeCreateParseState() 94 jint token) in android_content_XmlBlock_nativeNext() argument 96 ResXMLParser* st = (ResXMLParser*)token; in android_content_XmlBlock_nativeNext() 126 jint token) in android_content_XmlBlock_nativeGetNamespace() argument 128 ResXMLParser* st = (ResXMLParser*)token; in android_content_XmlBlock_nativeGetNamespace() 137 jint token) in android_content_XmlBlock_nativeGetName() argument 139 ResXMLParser* st = (ResXMLParser*)token; in android_content_XmlBlock_nativeGetName() [all …]
|
D | android_util_StringBlock.cpp | 62 jint token) in android_content_StringBlock_nativeGetSize() argument 64 ResStringPool* osb = (ResStringPool*)token; in android_content_StringBlock_nativeGetSize() 74 jint token, jint idx) in android_content_StringBlock_nativeGetString() argument 76 ResStringPool* osb = (ResStringPool*)token; in android_content_StringBlock_nativeGetString() 98 jint token, jint idx) in android_content_StringBlock_nativeGetStyle() argument 100 ResStringPool* osb = (ResStringPool*)token; in android_content_StringBlock_nativeGetStyle() 141 jint token) in android_content_StringBlock_nativeDestroy() argument 143 ResStringPool* osb = (ResStringPool*)token; in android_content_StringBlock_nativeDestroy()
|
/frameworks/base/core/java/android/util/ |
D | JsonReader.java | 214 private JsonToken token; field in JsonReader 309 if (token != expected) { in expect() 320 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY; in hasNext() 327 if (token != null) { in peek() 328 return token; in peek() 335 if (!lenient && token != JsonToken.BEGIN_ARRAY && token != JsonToken.BEGIN_OBJECT) { in peek() 337 "Expected JSON document to start with '[' or '{' but was " + token); in peek() 352 JsonToken token = nextValue(); in peek() local 354 return token; in peek() 358 return token = JsonToken.END_DOCUMENT; // TODO: avoid throwing here? in peek() [all …]
|
/frameworks/base/core/java/android/view/ |
D | IWindowManager.aidl | 70 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching() argument 71 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching() argument 73 void addWindowToken(IBinder token, int type); in addWindowToken() argument 74 void removeWindowToken(IBinder token); in removeWindowToken() argument 75 void addAppToken(int addPos, IApplicationToken token, in addAppToken() argument 77 void setAppGroupId(IBinder token, int groupId); in setAppGroupId() argument 78 void setAppOrientation(IApplicationToken token, int requestedOrientation); in setAppOrientation() argument 79 int getAppOrientation(IApplicationToken token); in getAppOrientation() argument 80 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp() argument 90 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow() argument [all …]
|
D | Choreographer.java | 265 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 266 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 284 Runnable action, Object token, long delayMillis) { in postCallbackDelayed() argument 292 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 296 Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument 299 + ", action=" + action + ", token=" + token in postCallbackDelayedInternal() 306 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 332 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument 337 removeCallbacksInternal(callbackType, action, token); in removeCallbacks() 340 private void removeCallbacksInternal(int callbackType, Object action, Object token) { in removeCallbacksInternal() argument [all …]
|
/frameworks/base/core/java/android/os/ |
D | TokenWatcher.java | 68 public void acquire(IBinder token, String tag) in acquire() argument 75 Death d = new Death(token, tag); in acquire() 77 token.linkToDeath(d, 0); in acquire() 81 mTokens.put(token, d); in acquire() 90 public void cleanup(IBinder token, boolean unlink) in cleanup() argument 93 Death d = mTokens.remove(token); in cleanup() 95 d.token.unlinkToDeath(d, 0); in cleanup() 96 d.token = null; in cleanup() 106 public void release(IBinder token) in release() argument 108 cleanup(token, true); in release() [all …]
|
/frameworks/base/core/java/android/content/ |
D | AsyncQueryHandler.java | 72 int token = msg.what; in handleMessage() local 111 Message reply = args.handler.obtainMessage(token); in handleMessage() 164 public void startQuery(int token, Object cookie, Uri uri, in startQuery() argument 168 Message msg = mWorkerThreadHandler.obtainMessage(token); in startQuery() 193 public final void cancelOperation(int token) { in cancelOperation() argument 194 mWorkerThreadHandler.removeMessages(token); in cancelOperation() 207 public final void startInsert(int token, Object cookie, Uri uri, in startInsert() argument 210 Message msg = mWorkerThreadHandler.obtainMessage(token); in startInsert() 233 public final void startUpdate(int token, Object cookie, Uri uri, in startUpdate() argument 236 Message msg = mWorkerThreadHandler.obtainMessage(token); in startUpdate() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 73 public Client(IBinder token, Uri uri, int streamType) { in Client() argument 74 mToken = token; in Client() 92 public void play(IBinder token, Uri uri, int streamType) throws RemoteException { 93 if (LOGD) Slog.d(TAG, "play(token=" + token + ", uri=" + uri + ")"); 96 client = mClients.get(token); 98 client = new Client(token, uri, streamType); 99 token.linkToDeath(client, 0); 100 mClients.put(token, client); 107 public void stop(IBinder token) { 108 if (LOGD) Slog.d(TAG, "stop(token=" + token + ")"); [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TypedProperties.java | 153 int token; in parse() local 156 token = st.nextToken(); in parse() 157 if (token == StreamTokenizer.TT_EOF) { in parse() 160 if (token != StreamTokenizer.TT_WORD) { in parse() 171 token = st.nextToken(); in parse() 172 if (token != '(') { in parse() 178 token = st.nextToken(); in parse() 179 if (token != StreamTokenizer.TT_WORD) { in parse() 190 token = st.nextToken(); in parse() 191 if (token != ')') { in parse() [all …]
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.java | 47 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, in schedulePauseActivity() argument 49 void scheduleStopActivity(IBinder token, boolean showWindow, in scheduleStopActivity() argument 51 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; in scheduleWindowVisibility() argument 52 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; in scheduleSleeping() argument 53 void scheduleResumeActivity(IBinder token, boolean isForward) throws RemoteException; in scheduleResumeActivity() argument 54 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; in scheduleSendResult() argument 55 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, in scheduleLaunchActivity() argument 61 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, in scheduleRelaunchActivity() argument 64 void scheduleNewIntent(List<Intent> intent, IBinder token) throws RemoteException; in scheduleNewIntent() argument 65 void scheduleDestroyActivity(IBinder token, boolean finished, in scheduleDestroyActivity() argument [all …]
|
D | IActivityManager.java | 72 public boolean finishActivity(IBinder token, int code, Intent data) in finishActivity() argument 74 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity() argument 75 public boolean finishActivityAffinity(IBinder token) throws RemoteException; in finishActivityAffinity() argument 76 public boolean willActivityBeVisible(IBinder token) throws RemoteException; in willActivityBeVisible() argument 90 public void activityIdle(IBinder token, Configuration config, in activityIdle() argument 92 public void activityPaused(IBinder token) throws RemoteException; in activityPaused() argument 94 public void activityStopped(IBinder token, Bundle state, in activityStopped() argument 97 public void activitySlept(IBinder token) throws RemoteException; in activitySlept() argument 99 public void activityDestroyed(IBinder token) throws RemoteException; in activityDestroyed() argument 100 public String getCallingPackage(IBinder token) throws RemoteException; in getCallingPackage() argument [all …]
|
D | ApplicationThreadNative.java | 203 IBinder token = data.readStrongBinder(); in onTransact() local 206 scheduleCreateService(token, info, compatInfo); in onTransact() 212 IBinder token = data.readStrongBinder(); in onTransact() local 215 scheduleBindService(token, intent, rebind); in onTransact() 221 IBinder token = data.readStrongBinder(); in onTransact() local 223 scheduleUnbindService(token, intent); in onTransact() 230 IBinder token = data.readStrongBinder(); in onTransact() local 240 scheduleServiceArgs(token, taskRemoved, startId, fl, args); in onTransact() 247 IBinder token = data.readStrongBinder(); in onTransact() local 248 scheduleStopService(token); in onTransact() [all …]
|
D | ActivityThread.java | 228 IBinder token; field in ActivityThread.ActivityClientRecord 284 + " token=" + token + " " + (componentName == null in toString() 308 IBinder token; field in ActivityThread.NewIntentData 310 return "NewIntentData{intents=" + intents + " token=" + token + "}"; in toString() 316 boolean ordered, boolean sticky, IBinder token) { in ReceiverData() argument 317 super(resultCode, resultData, resultExtras, TYPE_COMPONENT, ordered, sticky, token); in ReceiverData() 344 IBinder token; field in ActivityThread.CreateServiceData 349 return "CreateServiceData{token=" + token + " className=" in toString() 356 IBinder token; field in ActivityThread.BindServiceData 360 return "BindServiceData{token=" + token + " intent=" + intent + "}"; in toString() [all …]
|
D | IBackupAgent.aidl | 54 int token, IBackupManager callbackBinder); in doBackup() argument 80 in ParcelFileDescriptor newState, int token, IBackupManager callbackBinder); in doRestore() argument 99 void doFullBackup(in ParcelFileDescriptor data, int token, IBackupManager callbackBinder); in doFullBackup() argument 118 int token, IBackupManager callbackBinder); in doRestoreFile() argument
|
/frameworks/base/core/java/android/net/http/ |
D | HttpAuthHeader.java | 340 String token = parameter.substring(0, i).trim(); in parseParameter() local 346 " token: " + token + in parseParameter() 350 if (token.equalsIgnoreCase(REALM_TOKEN)) { in parseParameter() 354 parseParameter(token, value); in parseParameter() 365 private void parseParameter(String token, String value) { in parseParameter() argument 366 if (token != null && value != null) { in parseParameter() 367 if (token.equalsIgnoreCase(NONCE_TOKEN)) { in parseParameter() 372 if (token.equalsIgnoreCase(STALE_TOKEN)) { in parseParameter() 377 if (token.equalsIgnoreCase(OPAQUE_TOKEN)) { in parseParameter() 382 if (token.equalsIgnoreCase(QOP_TOKEN)) { in parseParameter() [all …]
|
/frameworks/base/services/java/com/android/server/ |
D | VibratorService.java | 78 Vibration(IBinder token, long millis, int uid) { in Vibration() argument 79 this(token, millis, null, 0, uid); in Vibration() 82 Vibration(IBinder token, long[] pattern, int repeat, int uid) { in Vibration() argument 83 this(token, 0, pattern, repeat, uid); in Vibration() 86 private Vibration(IBinder token, long millis, long[] pattern, in Vibration() argument 88 mToken = token; in Vibration() 157 public void vibrate(long milliseconds, IBinder token) { in vibrate() argument 173 Vibration vib = new Vibration(token, milliseconds, uid); in vibrate() 175 removeVibrationLocked(token); in vibrate() 192 public void vibratePattern(long[] pattern, int repeat, IBinder token) { in vibratePattern() argument [all …]
|
D | StatusBarManagerService.java | 82 IBinder token; field in StatusBarManagerService.DisableRecord 86 disable(0, token, pkg); in binderDied() 87 token.unlinkToDeath(this, 0); in binderDied() 142 public void disable(int what, IBinder token, String pkg) { in disable() argument 146 disableLocked(what, token, pkg); in disable() 150 private void disableLocked(int what, IBinder token, String pkg) { in disableLocked() argument 155 manageDisableListLocked(what, token, pkg); in disableLocked() 268 public void setImeWindowStatus(final IBinder token, final int vis, final int backDisposition) { in setImeWindowStatus() argument 281 mImeToken = token; in setImeWindowStatus() 286 mBar.setImeWindowStatus(token, vis, backDisposition); in setImeWindowStatus() [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | ContentProviderRecord.java | 88 public void addExternalProcessHandleLocked(IBinder token) { in addExternalProcessHandleLocked() argument 89 if (token == null) { in addExternalProcessHandleLocked() 95 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); in addExternalProcessHandleLocked() 97 handle = new ExternalProcessHandle(token); in addExternalProcessHandleLocked() 98 externalProcessTokenToHandle.put(token, handle); in addExternalProcessHandleLocked() 104 public boolean removeExternalProcessHandleLocked(IBinder token) { in removeExternalProcessHandleLocked() argument 108 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); in removeExternalProcessHandleLocked() 113 removeExternalProcessHandleInternalLocked(token); in removeExternalProcessHandleLocked() 126 private void removeExternalProcessHandleInternalLocked(IBinder token) { in removeExternalProcessHandleInternalLocked() argument 127 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); in removeExternalProcessHandleInternalLocked() [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 60 void setInputMethod(in IBinder token, String id); in setInputMethod() argument 61 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype() argument 62 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput() argument 63 void showMySoftInput(in IBinder token, int flags); in showMySoftInput() argument 64 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon() argument 65 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); in setImeWindowStatus() argument 70 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod() argument 71 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); in switchToNextInputMethod() argument
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
D | HttpHeaderParser.java | 63 String token = tokens[i].trim(); in parseCacheHeaders() local 64 if (token.equals("no-cache") || token.equals("no-store")) { in parseCacheHeaders() 66 } else if (token.startsWith("max-age=")) { in parseCacheHeaders() 68 maxAge = Long.parseLong(token.substring(8)); in parseCacheHeaders() 71 } else if (token.equals("must-revalidate") || token.equals("proxy-revalidate")) { in parseCacheHeaders()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 67 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 201 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 202 … if (DBG) Log.d(LOG_TAG, "##### onQueryComplete() ##### query complete for token: " + token); in onQueryComplete() 282 if (DBG) Log.d(LOG_TAG, "constructing CallerInfo object for token: " + token); in onQueryComplete() 287 startQuery(token, endMarker, null, null, null, null, null); in onQueryComplete() 293 " for token: " + token + mCallerInfo); in onQueryComplete() 294 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete() 309 public static CallerInfoAsyncQuery startQuery(int token, Context context, Uri contactRef, in startQuery() argument 323 c.mHandler.startQuery(token, cw, contactRef, null, null, null, null); in startQuery() 339 public static CallerInfoAsyncQuery startQuery(int token, Context context, String number, in startQuery() argument [all …]
|
/frameworks/base/tools/aidl/ |
D | aidl_language_y.y | 15 %token IMPORT 16 %token PACKAGE 17 %token IDENTIFIER 18 %token GENERIC 19 %token ARRAY 20 %token PARCELABLE 21 %token INTERFACE 22 %token FLATTENABLE 23 %token RPC 24 %token IN [all …]
|