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

12345678910

/frameworks/base/core/java/android/service/trust/
H A DITrustAgentServiceCallback.aidl30 void onSetTrustAgentFeaturesEnabledCompleted(boolean result, IBinder token);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethodManager.aidl64 void setInputMethod(in IBinder token, String id);
65 void setInputMethodAndSubtype(in IBinder token, String id, in InputMethodSubtype subtype);
66 void hideMySoftInput(in IBinder token, int flags);
67 void showMySoftInput(in IBinder token, int flags);
68 void updateStatusIcon(in IBinder token, String packageName, int iconId);
69 void setImeWindowStatus(in IBinder token, int vis, int backDisposition);
74 boolean switchToLastInputMethod(in IBinder token);
75 boolean switchToNextInputMethod(in IBinder token, boolean onlyCurrentIme);
76 boolean shouldOfferSwitchingToNextInputMethod(in IBinder token);
/frameworks/base/core/java/android/net/http/
H A DHttpAuthHeader.java342 String token = parameter.substring(0, i).trim();
348 " token: " + token +
352 if (token.equalsIgnoreCase(REALM_TOKEN)) {
356 parseParameter(token, value);
364 * If the token is a known parameter name, parses and initializes
365 * the token value.
367 private void parseParameter(String token, String value) { argument
368 if (token != null && value != null) {
369 if (token
[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<Intent> 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) argument
139 scheduleTranslucentConversionComplete(IBinder token, boolean timeout) argument
141 scheduleOnNewActivityOptions(IBinder token, ActivityOptions options) argument
146 scheduleCancelVisibleBehind(IBinder token) argument
147 scheduleBackgroundVisibleBehindChanged(IBinder token, boolean enabled) argument
148 scheduleEnterAnimationComplete(IBinder token) argument
[all...]
H A DINotificationManager.aidl62 void cancelNotificationFromListener(in INotificationListener token, String pkg, String tag, int id);
63 void cancelNotificationsFromListener(in INotificationListener token, in String[] keys);
65 ParceledListSlice getActiveNotificationsFromListener(in INotificationListener token, in String[] keys, int trim);
66 void requestHintsFromListener(in INotificationListener token, int hints);
67 int getHintsFromListener(in INotificationListener token);
68 void requestInterruptionFilterFromListener(in INotificationListener token, int interruptionFilter);
69 int getInterruptionFilterFromListener(in INotificationListener token);
70 void setOnNotificationPostedTrimFromListener(in INotificationListener token, int trim);
/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/volley/src/com/android/volley/toolbox/
H A DHttpHeaderParser.java63 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/android/alsa/
H A DAlsaDevicesParser.java90 String token = line.substring(tokenOffset, delimOffset);
98 mCardNum = Integer.parseInt(token);
100 tokenIndex++; // no device # in the token stream
105 mDeviceNum = Integer.parseInt(token);
109 if (token.equals("digital")) {
111 } else if (token.equals("control")) {
113 } else if (token.equals("raw")) {
119 if (token.equals("audio")) {
121 } else if (token.equals("midi")) {
128 if (token
[all...]
/frameworks/base/core/java/android/view/
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.java119 // All frame callbacks posted by applications have this token.
285 * @param token The callback token, or null if none.
290 public void postCallback(int callbackType, Runnable action, Object token) { argument
291 postCallbackDelayed(callbackType, action, token, 0);
302 * @param token The callback token, or null if none.
309 Runnable action, Object token, long delayMillis) {
317 postCallbackDelayedInternal(callbackType, action, token, delayMillis);
321 Object action, Object token, lon
308 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument
320 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument
357 removeCallbacks(int callbackType, Runnable action, Object token) argument
365 removeCallbacksInternal(int callbackType, Object action, Object token) argument
621 obtainCallbackLocked(long dueTime, Object action, Object token) argument
761 public Object token; field in class:Choreographer.CallbackRecord
799 addCallbackLocked(long dueTime, Object action, Object token) argument
821 removeCallbacksLocked(Object action, Object token) argument
[all...]
H A DInputEvent.java221 int token = in.readInt();
222 if (token == PARCEL_TOKEN_KEY_EVENT) {
224 } else if (token == PARCEL_TOKEN_MOTION_EVENT) {
227 throw new IllegalStateException("Unexpected input event type token in parcel.");
H A DInputQueue.java91 public void sendInputEvent(InputEvent e, Object token, boolean predispatch, argument
93 ActiveInputEvent event = obtainActiveInputEvent(token, callback);
113 private ActiveInputEvent obtainActiveInputEvent(Object token, argument
119 e.mToken = token;
159 void onFinishedInputEvent(Object token, boolean handled); argument
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSessionService.java43 public void newSession(IBinder token, Bundle args) {
45 token, args));
79 void doNewSession(IBinder token, Bundle args) { argument
86 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor);
87 mSession.doCreate(mSystemService, token, args);
/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/services/core/java/com/android/server/am/
H A DContentProviderRecord.java91 public void addExternalProcessHandleLocked(IBinder token) { argument
92 if (token == null) {
98 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
100 handle = new ExternalProcessHandle(token);
101 externalProcessTokenToHandle.put(token, handle);
107 public boolean removeExternalProcessHandleLocked(IBinder token) { argument
111 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
116 removeExternalProcessHandleInternalLocked(token);
129 private void removeExternalProcessHandleInternalLocked(IBinder token) { argument
130 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
236 ExternalProcessHandle(IBinder token) argument
[all...]
/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/core/java/com/android/internal/app/
H A DIVoiceInteractionManagerService.aidl30 boolean deliverNewSession(IBinder token, IVoiceInteractionSession session,
32 int startVoiceActivity(IBinder token, in Intent intent, String resolvedType);
33 void finish(IBinder 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);
/frameworks/native/libs/input/
H A DVirtualKeyMap.cpp106 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local
107 if (token != "0x01") {
162 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local
164 *outValue = strtol(token.string(), &end, 0);
165 if (token.isEmpty() || *end != '\0') {
166 ALOGE("Expected an integer, got '%s'.", token.string());
/frameworks/compile/mclinker/lib/Script/
H A DGroupCmd.cpp86 InputToken* token = llvm::cast<InputToken>(*it); local
87 if (token->asNeeded())
92 switch (token->type()) {
99 (token->name().size() > 0 && token->name()[0] == '/')) {
101 path.append(token->name());
104 path.assign(token->name());
108 script.directories().find(token->name(), Input::Script);
129 path = script.directories().find(token->name(), Input::Archive);
133 path = script.directories().find(token
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp63 jlong token)
65 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token);
75 jlong token, jint idx)
77 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token);
99 jlong token, jint idx)
101 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token);
142 jlong token)
144 ResStringPool* osb = reinterpret_cast<ResStringPool*>(token);
62 android_content_StringBlock_nativeGetSize(JNIEnv* env, jobject clazz, jlong token) argument
74 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
98 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jlong token, jint idx) argument
141 android_content_StringBlock_nativeDestroy(JNIEnv* env, jobject clazz, jlong token) argument
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowToken.java33 // The actual token.
34 final IBinder token; field in class:WindowToken
36 // The type of window this token is for, as per WindowManager.LayoutParams.
39 // Set if this token was explicitly added by a client, so should
49 // All of the windows associated with this token.
52 // Is key dispatching paused for this token?
55 // Should this token's windows be hidden?
61 // Set to true when this token is in a pending transaction where it
65 // Set to true when this token is in a pending transaction where it
69 // Set to true when this token i
[all...]
/frameworks/base/core/java/android/nfc/
H A DNfcActivityManager.java120 Binder token; field in class:NfcActivityManager.NfcActivityState
131 this.token = new Binder();
144 token = null;
207 Binder token;
213 token = state.token;
217 setReaderMode(token, flags, extras);
223 Binder token;
229 token = state.token;
238 setReaderMode(Binder token, int flags, Bundle extras) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java70 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
186 if (DBG) Rlog.d(LOG_TAG, "Processing event: " + cw.event + " token (arg1): " + msg.arg1 +
202 // passing the original token value back to the caller
242 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
243 if (DBG) Rlog.d(LOG_TAG, "##### onQueryComplete() ##### query complete for token: " + token);
267 // check the token and if needed, create the callerinfo object.
327 if (DBG) Rlog.d(LOG_TAG, "constructing CallerInfo object for token: " + token);
332 startQuery(token, endMarke
358 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
388 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
406 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie, long subId) argument
459 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]

Completed in 2211 milliseconds

12345678910