Searched refs:token (Results 26 - 50 of 289) sorted by relevance

1234567891011>>

/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/compile/mclinker/lib/Script/
H A DScriptParser.yy82 %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 OUTPU
[all...]
H A DGroupCmd.cpp87 InputToken* token = llvm::cast<InputToken>(*it); local
88 if (token->asNeeded())
93 switch (token->type()) {
100 (token->name().size() > 0 && token->name()[0] == '/')) {
102 path.append(token->name());
105 path.assign(token->name());
109 script.directories().find(token->name(), Input::Script);
130 path = script.directories().find(token->name(), Input::Archive);
134 path = script.directories().find(token
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedTextRequest.java31 public int token; field in class:ExtractedTextRequest
57 dest.writeInt(token);
70 res.token = source.readInt();
/frameworks/base/core/java/android/service/trust/
H A DITrustAgentServiceCallback.aidl30 void onConfigureCompleted(boolean result, IBinder token);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl65 void setInputMethod(in IBinder token, String id);
66 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype);
67 void hideMySoftInput(in IBinder token, int flags);
68 void showMySoftInput(in IBinder token, int flags);
69 void updateStatusIcon(in IBinder token, String packageName, int iconId);
70 void setImeWindowStatus(in IBinder token, int vis, int backDisposition);
75 boolean switchToLastInputMethod(in IBinder token);
76 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme);
77 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token);
/frameworks/base/core/java/com/android/internal/alsa/
H A DAlsaDevicesParser.java92 String token = line.substring(tokenOffset, delimOffset);
101 mCardNum = Integer.parseInt(token);
103 tokenIndex++; // no device # in the token stream
108 mDeviceNum = Integer.parseInt(token);
112 if (token.equals("digital")) {
114 } else if (token.equals("control")) {
116 } else if (token.equals("raw")) {
122 if (token.equals("audio")) {
124 } else if (token.equals("midi")) {
131 if (token
[all...]
/frameworks/base/services/core/java/com/android/server/accounts/
H A DTokenCache.java39 public final String token; field in class:TokenCache.Value
42 public Value(String token, long expiryEpochMillis) { argument
43 this.token = token;
104 * Map associated tokens with an Evictor that will manage evicting the token from the
105 * cache. This reverse lookup is needed because very little information is given at token
117 return v.token.length();
122 // When a token has been removed, clean up the associated Evictor.
128 Evictor evictor = mTokenEvictors.remove(oldVal.token);
136 // Prepare for removal by token strin
156 evict(String accountType, String token) argument
188 put( Account account, String token, String tokenType, String packageName, byte[] sigDigest, long expiryMillis) argument
208 remove(String accountType, String token) argument
[all...]
/frameworks/base/core/java/android/app/
H A DIApplicationThread.java51 void schedulePauseActivity(IBinder token, boolean finished, boolean userLeaving, argument
53 void scheduleStopActivity(IBinder token, boolean showWindow, argument
55 void scheduleWindowVisibility(IBinder token, boolean showWindow) throws RemoteException; argument
56 void scheduleSleeping(IBinder token, boolean sleeping) throws RemoteException; argument
57 void scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) argument
59 void scheduleSendResult(IBinder token, List<ResultInfo> results) throws RemoteException; argument
60 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, argument
66 void scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, argument
69 void scheduleNewIntent(List<ReferrerIntent> intent, IBinder token) throws RemoteException; argument
70 void scheduleDestroyActivity(IBinder token, boolea argument
83 scheduleCreateService(IBinder token, ServiceInfo info, CompatibilityInfo compatInfo, int processState) argument
85 scheduleBindService(IBinder token, Intent intent, boolean rebind, int processState) argument
87 scheduleUnbindService(IBinder token, Intent intent) argument
89 scheduleServiceArgs(IBinder token, boolean taskRemoved, int startId, int flags, Intent args) argument
91 scheduleStopService(IBinder token) argument
117 scheduleActivityConfigurationChanged(IBinder token, Configuration overrideConfig) argument
140 scheduleTranslucentConversionComplete(IBinder token, boolean timeout) argument
142 scheduleOnNewActivityOptions(IBinder token, ActivityOptions options) argument
147 scheduleCancelVisibleBehind(IBinder token) argument
148 scheduleBackgroundVisibleBehindChanged(IBinder token, boolean enabled) argument
149 scheduleEnterAnimationComplete(IBinder token) argument
[all...]
H A DINotificationManager.aidl66 void cancelNotificationFromListener(in INotificationListener token, String pkg, String tag, int id);
67 void cancelNotificationsFromListener(in INotificationListener token, in String[] keys);
69 void setNotificationsShownFromListener(in INotificationListener token, in String[] keys);
71 ParceledListSlice getActiveNotificationsFromListener(in INotificationListener token, in String[] keys, int trim);
72 void requestHintsFromListener(in INotificationListener token, int hints);
73 int getHintsFromListener(in INotificationListener token);
74 void requestInterruptionFilterFromListener(in INotificationListener token, int interruptionFilter);
75 int getInterruptionFilterFromListener(in INotificationListener token);
76 void setOnNotificationPostedTrimFromListener(in INotificationListener token, int trim);
/frameworks/base/core/java/android/view/
H A DWindowManagerImpl.java73 * Sets the window token to assign when none is specified by the client or
76 * @param token The default token to assign.
78 public void setDefaultToken(IBinder token) { argument
79 mDefaultToken = token;
95 // Only use the default token if we don't have a parent window.
101 // Only use the default token if we don't already have a token.
103 if (wparams.token == null) {
104 wparams.token
[all...]
H A DWindowManagerInternal.java106 * @param openToken the token for the opening app
107 * @param closeToken the token for the closing app
117 * @param token the token for app whose transition has finished
119 public void onAppTransitionFinishedLocked(IBinder token) {} argument
151 * Gets the magnification and translation applied to a window given its token.
156 * @param windowToken The window's token.
182 * Gets the token of the window that has input focus.
184 * @return The token.
194 * Gets the frame of a window given its token
199 getWindowFrame(IBinder token, Rect outBounds) argument
218 addWindowToken(android.os.IBinder token, int type) argument
226 removeWindowToken(android.os.IBinder token, boolean removeWindows) argument
[all...]
H A DWindowId.java52 WindowId token;
54 token = mRegistrations.get(inputToken);
57 mHandler.sendMessage(mHandler.obtainMessage(1, token));
59 onFocusGained(token);
65 WindowId token;
67 token = mRegistrations.get(inputToken);
70 mHandler.sendMessage(mHandler.obtainMessage(2, token));
72 onFocusLost(token);
109 public abstract void onFocusGained(WindowId token); argument
114 public abstract void onFocusLost(WindowId token); argument
[all...]
H A DChoreographer.java125 // All frame callbacks posted by applications have this token.
325 * @param token The callback token, or null if none.
330 public void postCallback(int callbackType, Runnable action, Object token) { argument
331 postCallbackDelayed(callbackType, action, token, 0);
342 * @param token The callback token, or null if none.
349 Runnable action, Object token, long delayMillis) {
357 postCallbackDelayedInternal(callbackType, action, token, delayMillis);
361 Object action, Object token, lon
348 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument
360 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument
397 removeCallbacks(int callbackType, Runnable action, Object token) argument
405 removeCallbacksInternal(int callbackType, Object action, Object token) argument
712 obtainCallbackLocked(long dueTime, Object action, Object token) argument
852 public Object token; field in class:Choreographer.CallbackRecord
890 addCallbackLocked(long dueTime, Object action, Object token) argument
912 removeCallbacksLocked(Object action, Object token) argument
[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/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DJsonParser.java55 JsonToken token = reader.peek();
56 if (token.equals(JsonToken.BEGIN_ARRAY)) {
58 } else if (token.equals(JsonToken.STRING)) {
60 } else if (token.equals(JsonToken.BEGIN_OBJECT)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java75 public Client(IBinder token, Uri uri, UserHandle user, AudioAttributes aa) { argument
76 mToken = token;
85 if (LOGD) Log.d(TAG, "binderDied() token=" + mToken);
95 public void play(IBinder token, Uri uri, AudioAttributes aa, float volume, boolean looping)
98 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
103 client = mClients.get(token);
106 client = new Client(token, uri, user, aa);
107 token.linkToDeath(client, 0);
108 mClients.put(token, clien
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DChronograph.java20 private AlarmEntry(long at, AlarmHandler alarmHandler, Object token) { argument
23 mToken = token;
37 public Object addAlarm(long interval, AlarmHandler handler, Object token) { argument
40 AlarmEntry alarmEntry = new AlarmEntry(at, handler, token);
131 public void wake(Object token) {
132 System.out.println("3: " + token);
138 public void wake(Object token) {
139 System.out.println("7: " + token);
145 public void wake(Object token) {
146 System.out.println("10: " + token);
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java153 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/media/java/android/media/midi/
H A DMidiDevice.java126 IBinder token = new Binder();
127 ParcelFileDescriptor pfd = mDeviceServer.openInputPort(token, portNumber);
131 return new MidiInputPort(mDeviceServer, token, pfd, portNumber);
149 IBinder token = new Binder();
150 ParcelFileDescriptor pfd = mDeviceServer.openOutputPort(token, portNumber);
154 return new MidiOutputPort(mDeviceServer, token, pfd, portNumber);
183 IBinder token = new Binder();
184 mDeviceServer.connectPorts(token, pfd, outputPortNumber);
187 return new MidiConnection(token, inputPort);
H A DMidiDeviceServer.java93 PortClient(IBinder token) { argument
94 mToken = token;
97 token.linkToDeath(this, 0);
114 InputPortClient(IBinder token, MidiOutputPort outputPort) { argument
115 super(token);
135 OutputPortClient(IBinder token, MidiInputPort inputPort) { argument
136 super(token);
163 public ParcelFileDescriptor openInputPort(IBinder token, int portNumber) {
187 InputPortClient client = new InputPortClient(token, outputPort);
189 mPortClients.put(token, clien
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHttpHeaderParser.java67 String token = tokens[i].trim();
68 if (token.equals("no-cache") || token.equals("no-store")) {
70 } else if (token.startsWith("max-age=")) {
72 maxAge = Long.parseLong(token.substring(8));
75 } else if (token.startsWith("stale-while-revalidate=")) {
77 staleWhileRevalidate = Long.parseLong(token.substring(23));
80 } else if (token.equals("must-revalidate") || token.equals("proxy-revalidate")) {
/frameworks/base/core/java/android/hardware/display/
H A DIDisplayManager.aidl63 // MediaProjection token for certain combinations of flags.
69 void resizeVirtualDisplay(in IVirtualDisplayCallback token,
73 void setVirtualDisplaySurface(in IVirtualDisplayCallback token, in Surface surface);
76 void releaseVirtualDisplay(in IVirtualDisplayCallback token);
/frameworks/base/services/core/java/com/android/server/
H A DUpdateLockService.java88 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument
90 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag));
94 mLocks.acquire(token, makeTag(tag));
98 public void releaseUpdateLock(IBinder token) throws RemoteException { argument
100 Slog.d(TAG, "release(" + token + ')');
104 mLocks.release(token);

Completed in 1322 milliseconds

1234567891011>>