/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteService.java | 89 private void informInputBridgeConnected(IBinder token) { in informInputBridgeConnected() argument 90 mHandler.obtainMessage(UserHandler.MSG_INPUT_BRIDGE_CONNECTED, 0, 0, token).sendToTarget(); in informInputBridgeConnected() 94 private void openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, in openInputBridgeInternalLocked() argument 98 Slog.d(TAG, "openInputBridgeInternalLocked(), token: " + token + ", name: " + name + in openInputBridgeInternalLocked() 104 if (mBridgeMap.containsKey(token)) { in openInputBridgeInternalLocked() 107 informInputBridgeConnected(token); in openInputBridgeInternalLocked() 111 UinputBridge inputBridge = new UinputBridge(token, name, width, height, maxPointers); in openInputBridgeInternalLocked() 113 mBridgeMap.put(token, inputBridge); in openInputBridgeInternalLocked() 114 mProviderMap.put(token, provider); in openInputBridgeInternalLocked() 117 informInputBridgeConnected(token); in openInputBridgeInternalLocked() [all …]
|
D | UinputBridge.java | 44 public UinputBridge(IBinder token, String name, int width, int height, int maxPointers) in UinputBridge() argument 52 if (token == null) { in UinputBridge() 55 mPtr = nativeOpen(name, token.toString(), width, height, maxPointers); in UinputBridge() 59 mToken = token; in UinputBridge() 76 public void close(IBinder token) { in close() argument 77 if (isTokenValid(token)) { in close() 79 clear(token); in close() 92 protected boolean isTokenValid(IBinder token) { in isTokenValid() argument 93 return mToken.equals(token); in isTokenValid() 96 public void sendTimestamp(IBinder token, long timestamp) { in sendTimestamp() argument [all …]
|
D | TvRemoteProviderProxy.java | 240 public void inputBridgeConnected(IBinder token) { in inputBridgeConnected() argument 242 if (DEBUG) Slog.d(TAG, this + ": inputBridgeConnected token: " + token); in inputBridgeConnected() 244 mActiveConnection.onInputBridgeConnected(token); in inputBridgeConnected() 251 void openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, in openInputBridge() argument 254 void closeInputBridge(TvRemoteProviderProxy provider, IBinder token); in closeInputBridge() argument 256 void clearInputBridge(TvRemoteProviderProxy provider, IBinder token); in clearInputBridge() argument 258 void sendTimeStamp(TvRemoteProviderProxy provider, IBinder token, long timestamp); in sendTimeStamp() argument 260 void sendKeyDown(TvRemoteProviderProxy provider, IBinder token, int keyCode); in sendKeyDown() argument 262 void sendKeyUp(TvRemoteProviderProxy provider, IBinder token, int keyCode); in sendKeyUp() argument 264 void sendPointerDown(TvRemoteProviderProxy provider, IBinder token, int pointerId, int x, in sendPointerDown() argument [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptScanner.ll | 19 typedef mcld::ScriptParser::token token; 22 #define yyterminate() return token::END 68 return token::LINKER_SCRIPT; 79 <LDSCRIPT>"ENTRY" { return token::ENTRY; } 81 <LDSCRIPT>"INCLUDE" { return token::INCLUDE; } 82 <LDSCRIPT>"INPUT" { return token::INPUT; } 83 <LDSCRIPT>"GROUP" { return token::GROUP; } 84 <LDSCRIPT>"AS_NEEDED" { return token::AS_NEEDED; } 85 <LDSCRIPT>"OUTPUT" { return token::OUTPUT; } 86 <LDSCRIPT>"SEARCH_DIR" { return token::SEARCH_DIR; } [all …]
|
D | ScriptParser.yy | 82 %token END 0 /* EOF */ 83 %token <string> STRING LNAMESPEC 84 %token <integer> INTEGER 87 %token LINKER_SCRIPT DEFSYM VERSION_SCRIPT DYNAMIC_LIST 90 %token ENTRY 92 %token INCLUDE 93 %token INPUT 94 %token GROUP 95 %token AS_NEEDED 96 %token OUTPUT [all …]
|
D | GroupCmd.cpp | 87 InputToken* token = llvm::cast<InputToken>(*it); in activate() local 88 if (token->asNeeded()) in activate() 93 switch (token->type()) { in activate() 100 (token->name().size() > 0 && token->name()[0] == '/')) { in activate() 102 path.append(token->name()); in activate() 105 path.assign(token->name()); in activate() 109 script.directories().find(token->name(), Input::Script); in activate() 130 path = script.directories().find(token->name(), Input::Archive); in activate() 134 path = script.directories().find(token->name(), Input::DynObj); in activate() 139 path = script.directories().find(token->name(), Input::Archive); in activate() [all …]
|
/frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/ |
D | TvRemoteProvider.java | 99 public void onInputBridgeConnected(IBinder token) { in onInputBridgeConnected() argument 126 public void openRemoteInputBridge(IBinder token, String name, int width, int height, in openRemoteInputBridge() argument 129 mRemoteServiceInput.openInputBridge(token, name, width, height, maxPointers); in openRemoteInputBridge() 141 public void closeInputBridge(IBinder token) throws RuntimeException { in closeInputBridge() argument 143 mRemoteServiceInput.closeInputBridge(token); in closeInputBridge() 157 public void clearInputBridge(IBinder token) throws RuntimeException { in clearInputBridge() argument 158 if (DEBUG_KEYS) Log.d(TAG, "clearInputBridge() token " + token); in clearInputBridge() 160 mRemoteServiceInput.clearInputBridge(token); in clearInputBridge() 174 public void sendTimestamp(IBinder token, long timestamp) throws RuntimeException { in sendTimestamp() argument 175 if (DEBUG_KEYS) Log.d(TAG, "sendTimestamp() token: " + token + in sendTimestamp() [all …]
|
/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 …]
|
/frameworks/base/core/jni/ |
D | android_util_XmlBlock.cpp | 63 jlong token) in android_content_XmlBlock_nativeGetStringBlock() argument 65 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeGetStringBlock() 75 jlong token) in android_content_XmlBlock_nativeCreateParseState() argument 77 ResXMLTree* osb = reinterpret_cast<ResXMLTree*>(token); in android_content_XmlBlock_nativeCreateParseState() 95 jlong token) in android_content_XmlBlock_nativeNext() argument 97 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeNext() 129 jlong token) in android_content_XmlBlock_nativeGetNamespace() argument 131 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeGetNamespace() 140 jlong token) in android_content_XmlBlock_nativeGetName() argument 142 ResXMLParser* st = reinterpret_cast<ResXMLParser*>(token); in android_content_XmlBlock_nativeGetName() [all …]
|
/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/content/pm/ |
D | KeySet.java | 31 private IBinder token; field in KeySet 34 public KeySet(IBinder token) { in KeySet() argument 35 if (token == null) { in KeySet() 38 this.token = token; in KeySet() 43 return token; in getToken() 51 return token == ks.token; in equals() 59 return token.hashCode(); in hashCode() 90 IBinder token = in.readStrongBinder(); in readFromParcel() local 91 return new KeySet(token); in readFromParcel() 99 out.writeStrongBinder(token); in writeToParcel()
|
/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/tests/coretests/src/android/text/method/ |
D | EditorState.java | 89 for (String token : tokens) { in setByString() 90 if (token.startsWith("'") && token.endsWith("'")) { in setByString() 91 for (int i = 1; i < token.length() - 1; ++i) { in setByString() 92 final char ch = token.charAt(1); in setByString() 99 sb.append(token.substring(1, token.length() - 1)); in setByString() 100 } else if (token.startsWith("U+")) { in setByString() 101 final int codePoint = Integer.parseInt(token.substring(2), 16); in setByString() 103 throw new IllegalArgumentException("Invalid code point is specified:" + token); in setByString() 106 } else if (token.equals(CURSOR)) { in setByString() 112 } else if (token.equals(SELECTION_START)) { in setByString() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | ITvRemoteServiceInput.aidl | 24 void openInputBridge(IBinder token, String name, int width, int height, int maxPointers); in openInputBridge() argument 25 void closeInputBridge(IBinder token); in closeInputBridge() argument 26 void clearInputBridge(IBinder token); in clearInputBridge() argument 27 void sendTimestamp(IBinder token, long timestamp); in sendTimestamp() argument 28 void sendKeyDown(IBinder token, int keyCode); in sendKeyDown() argument 29 void sendKeyUp(IBinder token, int keyCode); in sendKeyUp() argument 30 void sendPointerDown(IBinder token, int pointerId, int x, int y); in sendPointerDown() argument 31 void sendPointerUp(IBinder token, int pointerId); in sendPointerUp() argument 32 void sendPointerSync(IBinder token); in sendPointerSync() argument
|
/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/core/java/android/view/ |
D | IWindowManager.aidl | 83 void pauseKeyDispatching(IBinder token); in pauseKeyDispatching() argument 84 void resumeKeyDispatching(IBinder token); in resumeKeyDispatching() argument 86 void addWindowToken(IBinder token, int type); in addWindowToken() argument 87 void removeWindowToken(IBinder token); in removeWindowToken() argument 111 void addAppToken(int addPos, IApplicationToken token, int taskId, int stackId, in addAppToken() argument 128 void setAppTask(IBinder token, int taskId, int stackId, in Rect taskBounds, in setAppTask() argument 130 void setAppOrientation(IApplicationToken token, int requestedOrientation); in setAppOrientation() argument 131 int getAppOrientation(IApplicationToken token); in getAppOrientation() argument 132 void setFocusedApp(IBinder token, boolean moveFocusNow); in setFocusedApp() argument 172 boolean setAppStartingWindow(IBinder token, String pkg, int theme, in setAppStartingWindow() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | TokenCache.java | 39 public final String token; field in TokenCache.Value 42 public Value(String token, long expiryEpochMillis) { in Value() argument 43 this.token = token; in Value() 117 return v.token.length(); in sizeOf() 128 Evictor evictor = mTokenEvictors.remove(oldVal.token); in entryRemoved() 137 Evictor tokenEvictor = mTokenEvictors.get(v.token); in putToken() 142 mTokenEvictors.put(new Pair<>(k.account.type, v.token), tokenEvictor); in putToken() 156 public void evict(String accountType, String token) { in evict() argument 157 Evictor evictor = mTokenEvictors.get(new Pair<>(accountType, token)); in evict() 190 String token, in put() argument [all …]
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.java | 51 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, in schedulePauseActivity() argument 53 void scheduleStopActivity(IBinder token, boolean showWindow, in scheduleStopActivity() argument 55 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; in scheduleWindowVisibility() argument 56 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; in scheduleSleeping() argument 57 void scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) in scheduleResumeActivity() argument 59 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; in scheduleSendResult() argument 60 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, in scheduleLaunchActivity() argument 66 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, in scheduleRelaunchActivity() argument 71 List<ReferrerIntent> intent, IBinder token, boolean andPause) throws RemoteException; in scheduleNewIntent() argument 72 void scheduleDestroyActivity(IBinder token, boolean finished, in scheduleDestroyActivity() argument [all …]
|
D | INotificationManager.aidl | 68 …void cancelNotificationFromListener(in INotificationListener token, String pkg, String tag, int id… in cancelNotificationFromListener() argument 69 void cancelNotificationsFromListener(in INotificationListener token, in String[] keys); in cancelNotificationsFromListener() argument 72 void requestUnbindListener(in INotificationListener token); in requestUnbindListener() argument 74 void setNotificationsShownFromListener(in INotificationListener token, in String[] keys); in setNotificationsShownFromListener() argument 76 …ParceledListSlice getActiveNotificationsFromListener(in INotificationListener token, in String[] k… in getActiveNotificationsFromListener() argument 77 void requestHintsFromListener(in INotificationListener token, int hints); in requestHintsFromListener() argument 78 int getHintsFromListener(in INotificationListener token); in getHintsFromListener() argument 79 …void requestInterruptionFilterFromListener(in INotificationListener token, int interruptionFilter); in requestInterruptionFilterFromListener() argument 80 int getInterruptionFilterFromListener(in INotificationListener token); in getInterruptionFilterFromListener() argument 81 void setOnNotificationPostedTrimFromListener(in INotificationListener token, int trim); in setOnNotificationPostedTrimFromListener() argument [all …]
|
/frameworks/base/core/java/com/android/internal/view/ |
D | IInputMethodManager.aidl | 68 void setInputMethod(in IBinder token, String id); in setInputMethod() argument 69 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype); in setInputMethodAndSubtype() argument 70 void hideMySoftInput(in IBinder token, int flags); in hideMySoftInput() argument 71 void showMySoftInput(in IBinder token, int flags); in showMySoftInput() argument 72 void updateStatusIcon(in IBinder token, String packageName, int iconId); in updateStatusIcon() argument 73 void setImeWindowStatus(in IBinder token, int vis, int backDisposition); in setImeWindowStatus() argument 78 boolean switchToLastInputMethod(in IBinder token); in switchToLastInputMethod() argument 79 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme); in switchToNextInputMethod() argument 80 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token); in shouldOfferSwitchingToNextInputMethod() argument 84 void clearLastInputMethodWindowForTransition(in IBinder token); in clearLastInputMethodWindowForTransition() argument [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/packages/SystemUI/src/com/android/systemui/media/ |
D | RingtonePlayer.java | 82 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { in Client() argument 83 mToken = token; in Client() 102 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping) 105 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid=" 110 client = mClients.get(token); 113 client = new Client(token, uri, user, aa); 114 token.linkToDeath(client, 0); 115 mClients.put(token, client); 124 public void stop(IBinder token) { 125 if (LOGD) Log.d(TAG, "stop(token=" + token + ")"); [all …]
|
/frameworks/base/media/java/android/media/midi/ |
D | MidiDeviceServer.java | 93 PortClient(IBinder token) { in PortClient() argument 94 mToken = token; in PortClient() 97 token.linkToDeath(this, 0); in PortClient() 114 InputPortClient(IBinder token, MidiOutputPort outputPort) { in InputPortClient() argument 115 super(token); in InputPortClient() 135 OutputPortClient(IBinder token, MidiInputPort inputPort) { in OutputPortClient() argument 136 super(token); in OutputPortClient() 163 public ParcelFileDescriptor openInputPort(IBinder token, int portNumber) { 187 InputPortClient client = new InputPortClient(token, outputPort); 189 mPortClients.put(token, client); [all …]
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | IFingerprintService.aidl | 30 void authenticate(IBinder token, long sessionId, int userId, in authenticate() argument 34 void cancelAuthentication(IBinder token, String opPackageName); in cancelAuthentication() argument 37 …void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiv… in enroll() argument 41 void cancelEnrollment(IBinder token); in cancelEnrollment() argument 44 void remove(IBinder token, int fingerId, int groupId, int userId, in remove() argument 57 long preEnroll(IBinder token); in preEnroll() argument 60 int postEnroll(IBinder token); in postEnroll() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | RemoteInputController.java | 53 public void addRemoteInput(NotificationData.Entry entry, Object token) { in addRemoteInput() argument 55 Preconditions.checkNotNull(token); in addRemoteInput() 58 entry /* contains */, null /* remove */, token /* removeToken */); in addRemoteInput() 60 mOpen.add(new Pair<>(new WeakReference<>(entry), token)); in addRemoteInput() 74 public void removeRemoteInput(NotificationData.Entry entry, Object token) { in removeRemoteInput() argument 77 pruneWeakThenRemoveAndContains(null /* contains */, entry /* remove */, token); in removeRemoteInput() 88 public void addSpinning(String key, Object token) { in addSpinning() argument 90 Preconditions.checkNotNull(token); in addSpinning() 92 mSpinning.put(key, token); in addSpinning() 103 public void removeSpinning(String key, Object token) { in removeSpinning() argument [all …]
|