Searched defs:token (Results 26 - 50 of 96) sorted by relevance

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallerInfoTest.java201 public void onQueryComplete(int token, Object cookie, CallerInfo info) { argument
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcAdapterExtras.java225 * to authenticate with a token, before using other methods.
227 * @param token a implementation specific token
230 public void authenticate(byte[] token) { argument
232 sService.authenticate(mPackageName, token);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DInputMethodButton.java159 public void setImeWindowStatus(IBinder token, boolean showButton) { argument
160 mToken = token;
/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp113 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
152 IPCThreadState::self()->restoreCallingIdentity(token);
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
H A DBmgr.java274 System.out.println(" " + Long.toHexString(s.token) + " : " + s.name);
332 long token = Long.parseLong(arg, 16);
339 doRestoreAll(token, filter);
374 private void doRestoreAll(long token, HashSet<String> filter) { argument
391 if (s.token == token) {
394 didRestore = (mRestore.restoreAll(token, observer) == 0);
398 didRestore = (mRestore.restoreSome(token, observer, names) == 0);
409 System.out.println("No matching restore set token. Available sets:");
468 System.err.println("The 'list sets' command reports the token an
[all...]
/frameworks/base/core/java/android/app/
H A DService.java412 * unique integer token representing the start request. Do not call this method directly.
690 ActivityThread thread, String className, IBinder token,
695 mToken = token;
688 attach( Context context, ActivityThread thread, String className, IBinder token, Application application, Object activityManager) argument
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java482 int token, IBackupManager callbackBinder) throws RemoteException {
500 callbackBinder.opComplete(token);
510 int token, IBackupManager callbackBinder) throws RemoteException {
527 callbackBinder.opComplete(token);
536 int token, IBackupManager callbackBinder) {
563 callbackBinder.opComplete(token);
573 int token, IBackupManager callbackBinder) throws RemoteException {
582 callbackBinder.opComplete(token);
479 doBackup(ParcelFileDescriptor oldState, ParcelFileDescriptor data, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
508 doRestore(ParcelFileDescriptor data, int appVersionCode, ParcelFileDescriptor newState, int token, IBackupManager callbackBinder) argument
535 doFullBackup(ParcelFileDescriptor data, int token, IBackupManager callbackBinder) argument
571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java165 public void updateExtractedText(int token, ExtractedText text) { argument
167 DO_UPDATE_EXTRACTED_TEXT, token, text));
H A DIInputMethodWrapper.java226 public void attachToken(IBinder token) { argument
227 mCaller.executeOrSendMessage(mCaller.obtainMessageO(DO_ATTACH_TOKEN, token));
/frameworks/base/core/java/android/net/http/
H A DHttpAuthHeader.java340 String token = parameter.substring(0, i).trim();
346 " token: " + token +
350 if (token.equalsIgnoreCase(REALM_TOKEN)) {
354 parseParameter(token, value);
362 * If the token is a known parameter name, parses and initializes
363 * the token value.
365 private void parseParameter(String token, String value) { argument
366 if (token != null && value != null) {
367 if (token
[all...]
/frameworks/base/core/java/android/os/
H A DBinder.java39 * token that can be shared across processes.
95 * @return Returns an opaque token that can be used to restore the
110 * @param token The opaque token that was previously returned by
115 public static final native void restoreCallingIdentity(long token); argument
H A DHandler.java367 public final boolean postAtTime(Runnable r, Object token, long uptimeMillis) argument
369 return sendMessageAtTime(getPostMessage(r, token), uptimeMillis);
476 * <var>token</var> that are in the message queue. If <var>token</var> is null,
479 public final void removeCallbacks(Runnable r, Object token) argument
481 mQueue.removeMessages(this, r, token);
640 * <var>obj</var> is <var>token</var>. If <var>token</var> is null,
643 public final void removeCallbacksAndMessages(Object token) { argument
644 mQueue.removeCallbacksAndMessages(this, token);
717 getPostMessage(Runnable r, Object token) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DQuickContactBadge.java261 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
267 switch(token) {
/frameworks/base/core/jni/
H A Dandroid_util_XmlBlock.cpp62 jint token)
64 ResXMLTree* osb = (ResXMLTree*)token;
74 jint token)
76 ResXMLTree* osb = (ResXMLTree*)token;
94 jint token)
96 ResXMLParser* st = (ResXMLParser*)token;
126 jint token)
128 ResXMLParser* st = (ResXMLParser*)token;
137 jint token)
139 ResXMLParser* st = (ResXMLParser*)token;
61 android_content_XmlBlock_nativeGetStringBlock(JNIEnv* env, jobject clazz, jint token) argument
73 android_content_XmlBlock_nativeCreateParseState(JNIEnv* env, jobject clazz, jint token) argument
93 android_content_XmlBlock_nativeNext(JNIEnv* env, jobject clazz, jint token) argument
125 android_content_XmlBlock_nativeGetNamespace(JNIEnv* env, jobject clazz, jint token) argument
136 android_content_XmlBlock_nativeGetName(JNIEnv* env, jobject clazz, jint token) argument
147 android_content_XmlBlock_nativeGetText(JNIEnv* env, jobject clazz, jint token) argument
158 android_content_XmlBlock_nativeGetLineNumber(JNIEnv* env, jobject clazz, jint token) argument
170 android_content_XmlBlock_nativeGetAttributeCount(JNIEnv* env, jobject clazz, jint token) argument
182 android_content_XmlBlock_nativeGetAttributeNamespace(JNIEnv* env, jobject clazz, jint token, jint idx) argument
194 android_content_XmlBlock_nativeGetAttributeName(JNIEnv* env, jobject clazz, jint token, jint idx) argument
206 android_content_XmlBlock_nativeGetAttributeResource(JNIEnv* env, jobject clazz, jint token, jint idx) argument
218 android_content_XmlBlock_nativeGetAttributeDataType(JNIEnv* env, jobject clazz, jint token, jint idx) argument
230 android_content_XmlBlock_nativeGetAttributeData(JNIEnv* env, jobject clazz, jint token, jint idx) argument
242 android_content_XmlBlock_nativeGetAttributeStringValue(JNIEnv* env, jobject clazz, jint token, jint idx) argument
254 android_content_XmlBlock_nativeGetAttributeIndex(JNIEnv* env, jobject clazz, jint token, jstring ns, jstring name) argument
284 android_content_XmlBlock_nativeGetIdAttribute(JNIEnv* env, jobject clazz, jint token) argument
297 android_content_XmlBlock_nativeGetClassAttribute(JNIEnv* env, jobject clazz, jint token) argument
310 android_content_XmlBlock_nativeGetStyleAttribute(JNIEnv* env, jobject clazz, jint token) argument
334 android_content_XmlBlock_nativeDestroyParseState(JNIEnv* env, jobject clazz, jint token) argument
346 android_content_XmlBlock_nativeDestroy(JNIEnv* env, jobject clazz, jint token) argument
[all...]
/frameworks/base/libs/androidfw/
H A DKeyLayoutMap.cpp283 String8 token = mTokenizer->nextToken(WHITESPACE); local
284 if (token == "invert") {
295 } else if (token == "split") {
325 axisInfo.axis = getAxisByLabel(token.string());
328 mTokenizer->getLocation().string(), token.string());
/frameworks/base/services/java/com/android/server/
H A DVibratorService.java79 Vibration(IBinder token, long millis, int uid) { argument
80 this(token, millis, null, 0, uid);
83 Vibration(IBinder token, long[] pattern, int repeat, int uid) { argument
84 this(token, 0, pattern, repeat, uid);
87 private Vibration(IBinder token, long millis, long[] pattern, argument
89 mToken = token;
167 public void vibrate(long milliseconds, IBinder token) { argument
183 Vibration vib = new Vibration(token, milliseconds, uid);
185 removeVibrationLocked(token);
202 public void vibratePattern(long[] pattern, int repeat, IBinder token) { argument
253 cancelVibrate(IBinder token) argument
320 removeVibrationLocked(IBinder token) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DContentProviderRecord.java92 public void addExternalProcessHandleLocked(IBinder token) { argument
93 if (token == null) {
99 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
101 handle = new ExternalProcessHandle(token);
102 externalProcessTokenToHandle.put(token, handle);
108 public boolean removeExternalProcessHandleLocked(IBinder token) { argument
112 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
117 removeExternalProcessHandleInternalLocked(token);
130 private void removeExternalProcessHandleInternalLocked(IBinder token) { argument
131 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token);
229 ExternalProcessHandle(IBinder token) argument
[all...]
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamManagerService.java222 public void finishSelf(IBinder token) { argument
224 if (token == null) {
225 throw new IllegalArgumentException("token must not be null");
231 Slog.d(TAG, "Dream finished: " + token);
242 if (mCurrentDreamToken == token) {
365 public void onDreamStopped(Binder token) {
367 if (mCurrentDreamToken == token) {
/frameworks/base/services/java/com/android/server/wm/
H A DDragState.java67 DragState(WindowManagerService service, IBinder token, Surface surface, argument
70 mToken = token;
369 final IBinder token = touchedWin.mClient.asBinder();
376 mService.mH.removeMessages(H.DRAG_END_TIMEOUT, token);
377 Message msg = mService.mH.obtainMessage(H.DRAG_END_TIMEOUT, token);
387 mToken = token;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfoAsyncQuery.java67 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
146 if (DBG) Log.d(LOG_TAG, "Processing event: " + cw.event + " token (arg1): " + msg.arg1 +
162 // passing the original token value back to the caller
201 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
202 if (DBG) Log.d(LOG_TAG, "##### onQueryComplete() ##### query complete for token: " + token);
220 // check the token and if needed, create the callerinfo object.
282 if (DBG) Log.d(LOG_TAG, "constructing CallerInfo object for token: " + token);
287 startQuery(token, endMarke
309 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
339 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
427 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/frameworks/native/include/private/gui/
H A DLayerState.h116 sp<IBinder> token; member in struct:android::DisplayState
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/
H A DBackupRestoreConfirmation.java153 Slog.e(TAG, "Backup/restore confirmation requested but no token passed!");
244 void sendAcknowledgement(int token, boolean allow, IFullBackupRestoreObserver observer) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/
H A DTvStatusBar.java80 public void setImeWindowStatus(IBinder token, int vis, int backDisposition) { argument
/frameworks/base/core/java/android/content/
H A DBroadcastReceiver.java250 int type, boolean ordered, boolean sticky, IBinder token, int userId) {
257 mToken = token;
249 PendingResult(int resultCode, String resultData, Bundle resultExtras, int type, boolean ordered, boolean sticky, IBinder token, int userId) argument
/frameworks/base/core/java/android/util/
H A DJsonReader.java33 * Within JSON objects, name/value pairs are represented by a single token.
193 * long as the longest token that can be reported as a number.
211 * The type of the next token to be returned by {@link #peek} and {@link
214 private JsonToken token; field in class:JsonReader
273 * Consumes the next token from the JSON stream and asserts that it is the
281 * Consumes the next token from the JSON stream and asserts that it is the
289 * Consumes the next token from the JSON stream and asserts that it is the
297 * Consumes the next token from the JSON stream and asserts that it is the
309 if (token != expected) {
320 return token !
[all...]

Completed in 504 milliseconds

1234