/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 | 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()
|
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/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/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/view/ |
D | IWindowManager.aidl | 72 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching() argument 73 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching() argument 75 void addWindowToken(IBinder token, int type); in addWindowToken() argument 76 void removeWindowToken(IBinder token); in removeWindowToken() argument 77 void addAppToken(int addPos, int userId, IApplicationToken token, in addAppToken() argument 79 void setAppGroupId(IBinder token, int groupId); in setAppGroupId() argument 80 void setAppOrientation(IApplicationToken token, int requestedOrientation); in setAppOrientation() argument 81 int getAppOrientation(IApplicationToken token); in getAppOrientation() argument 82 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp() argument 92 void setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow() argument [all …]
|
D | Choreographer.java | 272 public void postCallback(int callbackType, Runnable action, Object token) { in postCallback() argument 273 postCallbackDelayed(callbackType, action, token, 0); in postCallback() 291 Runnable action, Object token, long delayMillis) { in postCallbackDelayed() argument 299 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 303 Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument 306 + ", action=" + action + ", token=" + token in postCallbackDelayedInternal() 313 mCallbackQueues[callbackType].addCallbackLocked(dueTime, action, token); in postCallbackDelayedInternal() 339 public void removeCallbacks(int callbackType, Runnable action, Object token) { in removeCallbacks() argument 344 removeCallbacksInternal(callbackType, action, token); in removeCallbacks() 347 private void removeCallbacksInternal(int callbackType, Object action, Object token) { in removeCallbacksInternal() argument [all …]
|
D | WindowInfo.java | 42 public IBinder token; field in WindowInfo 69 parcel.writeStrongBinder(token); in writeToParcel() 81 token = parcel.readStrongBinder(); in initFromParcel() 93 info.token = other.token; in obtain() 135 token = null; in clear() 148 builder.append("Window [token:").append((token != null) ? token.hashCode() : null); in toString()
|
/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 | 75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { in Client() argument 76 mToken = token; in Client() 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, client); 114 public void stop(IBinder token) { 115 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 | 76 public boolean finishActivity(IBinder token, int code, Intent data) in finishActivity() argument 78 …public void finishSubActivity(IBinder token, String resultWho, int requestCode) throws RemoteExcep… in finishSubActivity() argument 79 public boolean finishActivityAffinity(IBinder token) throws RemoteException; in finishActivityAffinity() argument 80 public boolean willActivityBeVisible(IBinder token) throws RemoteException; in willActivityBeVisible() argument 92 public void activityResumed(IBinder token) throws RemoteException; in activityResumed() argument 93 public void activityIdle(IBinder token, Configuration config, in activityIdle() argument 95 public void activityPaused(IBinder token) throws RemoteException; in activityPaused() argument 96 public void activityStopped(IBinder token, Bundle state, in activityStopped() argument 98 public void activitySlept(IBinder token) throws RemoteException; in activitySlept() argument 99 public void activityDestroyed(IBinder token) throws RemoteException; in activityDestroyed() argument [all …]
|
D | ApplicationThreadNative.java | 204 IBinder token = data.readStrongBinder(); in onTransact() local 207 scheduleCreateService(token, info, compatInfo); in onTransact() 213 IBinder token = data.readStrongBinder(); in onTransact() local 216 scheduleBindService(token, intent, rebind); in onTransact() 222 IBinder token = data.readStrongBinder(); in onTransact() local 224 scheduleUnbindService(token, intent); in onTransact() 231 IBinder token = data.readStrongBinder(); in onTransact() local 241 scheduleServiceArgs(token, taskRemoved, startId, fl, args); in onTransact() 248 IBinder token = data.readStrongBinder(); in onTransact() local 249 scheduleStopService(token); in onTransact() [all …]
|
/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 | 79 Vibration(IBinder token, long millis, int uid) { in Vibration() argument 80 this(token, millis, null, 0, uid); in Vibration() 83 Vibration(IBinder token, long[] pattern, int repeat, int uid) { in Vibration() argument 84 this(token, 0, pattern, repeat, uid); in Vibration() 87 private Vibration(IBinder token, long millis, long[] pattern, in Vibration() argument 89 mToken = token; in Vibration() 167 public void vibrate(long milliseconds, IBinder token) { in vibrate() argument 183 Vibration vib = new Vibration(token, milliseconds, uid); in vibrate() 185 removeVibrationLocked(token); in vibrate() 202 public void vibratePattern(long[] pattern, int repeat, IBinder token) { in vibratePattern() argument [all …]
|
D | StatusBarManagerService.java | 84 IBinder token; field in StatusBarManagerService.DisableRecord 88 disableInternal(userId, 0, token, pkg); in binderDied() 89 token.unlinkToDeath(this, 0); in binderDied() 155 public void disable(int what, IBinder token, String pkg) { in disable() argument 156 disableInternal(mCurrentUserId, what, token, pkg); in disable() 159 private void disableInternal(int userId, int what, IBinder token, String pkg) { in disableInternal() argument 163 disableLocked(userId, what, token, pkg); in disableInternal() 167 private void disableLocked(int userId, int what, IBinder token, String pkg) { in disableLocked() argument 172 manageDisableListLocked(userId, what, token, pkg); in disableLocked() 288 public void setImeWindowStatus(final IBinder token, final int vis, final int backDisposition) { in setImeWindowStatus() argument [all …]
|
/frameworks/base/services/java/com/android/server/am/ |
D | ContentProviderRecord.java | 92 public void addExternalProcessHandleLocked(IBinder token) { in addExternalProcessHandleLocked() argument 93 if (token == null) { in addExternalProcessHandleLocked() 99 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); in addExternalProcessHandleLocked() 101 handle = new ExternalProcessHandle(token); in addExternalProcessHandleLocked() 102 externalProcessTokenToHandle.put(token, handle); in addExternalProcessHandleLocked() 108 public boolean removeExternalProcessHandleLocked(IBinder token) { in removeExternalProcessHandleLocked() argument 112 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); in removeExternalProcessHandleLocked() 117 removeExternalProcessHandleInternalLocked(token); in removeExternalProcessHandleLocked() 130 private void removeExternalProcessHandleInternalLocked(IBinder token) { in removeExternalProcessHandleInternalLocked() argument 131 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/native/libs/gui/ |
D | SurfaceComposerClient.cpp | 107 return compare_type(lhs.token, rhs.token); in compare_type() 131 DisplayState& getDisplayStateLocked(const sp<IBinder>& token); 158 void setDisplaySurface(const sp<IBinder>& token, const sp<ISurfaceTexture>& surface); 159 void setDisplayLayerStack(const sp<IBinder>& token, uint32_t layerStack); 160 void setDisplayProjection(const sp<IBinder>& token, 355 DisplayState& Composer::getDisplayStateLocked(const sp<IBinder>& token) { in getDisplayStateLocked() argument 357 s.token = token; in getDisplayStateLocked() 367 void Composer::setDisplaySurface(const sp<IBinder>& token, in setDisplaySurface() argument 370 DisplayState& s(getDisplayStateLocked(token)); in setDisplaySurface() 375 void Composer::setDisplayLayerStack(const sp<IBinder>& token, in setDisplayLayerStack() argument [all …]
|
/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 …]
|