Searched defs:token (Results 1 - 25 of 96) sorted by relevance

1234

/frameworks/base/cmds/servicemanager/
H A Dbctest.c56 unsigned token; variable
92 svcmgr_publish(bs, svcmgr, argv[1], &token);
/frameworks/base/core/java/android/app/backup/
H A DRestoreSet.java46 public long token; field in class:RestoreSet
56 token = _token;
68 out.writeLong(token);
85 token = in.readLong();
H A DRestoreSession.java69 * @param token The token from {@link #getAvailableRestoreSets()} corresponding to
74 public int restoreAll(long token, RestoreObserver observer) { argument
82 err = mBinder.restoreAll(token, mObserver);
98 * @param token The token from {@link getAvailableRestoreSets()} corresponding to
103 * the contents of the actual back-end dataset named by {@code token}, only
108 public int restoreSome(long token, RestoreObserver observer, String[] packages) { argument
116 err = mBinder.restoreSome(token, mObserver, packages);
/frameworks/base/core/java/android/view/inputmethod/
H A DExtractedTextRequest.java32 public int token; field in class:ExtractedTextRequest
58 dest.writeInt(token);
71 res.token = source.readInt();
H A DInputMethod.java82 * unique token for the session it has with the system service. It is
84 * This token <strong>must not</strong> be passed to applications, since
88 * accept the first token given to you. Any after that may come from the
91 public void attachToken(IBinder token); argument
H A DInputMethodSession.java102 * @param token The input method supplied token for identifying its request.
105 public void updateExtractedText(int token, ExtractedText text); argument
/frameworks/native/opengl/libagl/
H A DTokenManager.cpp27 // token 0 is always reserved
47 const GLuint token = *tokens++; local
48 if (token) {
49 mTokenizer.release(token);
54 bool TokenManager::isTokenValid(GLuint token) const
57 return mTokenizer.isAcquired(token);
H A DTokenizer.cpp50 uint32_t token = run.first + run.length; local
51 _insertTokenAt(token, 1);
52 return token;
55 bool Tokenizer::isAcquired(uint32_t token) const
57 return (_indexOrderOf(token) >= 0);
60 status_t Tokenizer::reserve(uint32_t token) argument
63 const ssize_t i = _indexOrderOf(token, &o);
65 return BAD_VALUE; // this token is already taken
67 ssize_t err = _insertTokenAt(token, o);
71 status_t Tokenizer::release(uint32_t token) argument
102 _indexOrderOf(uint32_t token, size_t* order) const argument
129 _insertTokenAt(uint32_t token, size_t index) argument
[all...]
/frameworks/base/core/java/android/inputmethodservice/
H A DSoftInputWindow.java38 public void setToken(IBinder token) { argument
40 lp.token = token;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DContextMenuBuilder.java72 * @param token Optional, the window token that should be set on the context
77 public MenuDialogHelper show(View originalView, IBinder token) { argument
88 helper.show(token);
/frameworks/native/include/gui/
H A DISurfaceComposerClient.h58 int32_t token; member in struct:android::ISurfaceComposerClient::surface_data_t
/frameworks/base/core/java/android/os/
H A DTokenWatcher.java59 * Record that this token has been acquired. When acquire is called, and
63 * @param token An IBinder object. If this token has already been acquired,
68 public void acquire(IBinder token, String tag) argument
75 Death d = new Death(token, tag);
77 token.linkToDeath(d, 0);
81 mTokens.put(token, d);
90 public void cleanup(IBinder token, boolean unlink) argument
93 Death d = mTokens.remove(token);
95 d.token
106 release(IBinder token) argument
182 IBinder token; field in class:TokenWatcher.Death
185 Death(IBinder token, String tag) argument
[all...]
H A DLooper.java119 // and keep track of what that identity token actually is.
210 * the token that identifies the synchronization barrier.
218 * the same token to ensure that the message queue resumes normal operation.
221 * @return A token that uniquely identifies the barrier. This token must be
234 * @param token The synchronization barrier token that was returned by
241 public final void removeSyncBarrier(int token) { argument
242 mQueue.removeSyncBarrier(token);
H A DMessageQueue.java47 // The next barrier token.
48 // Barriers are indicated by messages with a null target whose arg1 field carries the token.
228 // Enqueue a new sync barrier token.
231 final int token = mNextBarrierToken++;
233 msg.arg1 = token;
250 return token;
254 final void removeSyncBarrier(int token) { argument
255 // Remove a sync barrier token from the queue.
261 while (p != null && (p.target != null || p.arg1 != token)) {
267 + " barrier token ha
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_StringBlock.cpp62 jint token)
64 ResStringPool* osb = (ResStringPool*)token;
74 jint token, jint idx)
76 ResStringPool* osb = (ResStringPool*)token;
98 jint token, jint idx)
100 ResStringPool* osb = (ResStringPool*)token;
141 jint token)
143 ResStringPool* osb = (ResStringPool*)token;
61 android_content_StringBlock_nativeGetSize(JNIEnv* env, jobject clazz, jint token) argument
73 android_content_StringBlock_nativeGetString(JNIEnv* env, jobject clazz, jint token, jint idx) argument
97 android_content_StringBlock_nativeGetStyle(JNIEnv* env, jobject clazz, jint token, jint idx) argument
140 android_content_StringBlock_nativeDestroy(JNIEnv* env, jobject clazz, jint token) argument
/frameworks/base/libs/androidfw/
H A DVirtualKeyMap.cpp105 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local
106 if (token != "0x01") {
161 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); local
163 *outValue = strtol(token.string(), &end, 0);
164 if (token.isEmpty() || *end != '\0') {
165 ALOGE("Expected an integer, got '%s'.", token.string());
/frameworks/base/services/java/com/android/server/
H A DUpdateLockService.java89 public void acquireUpdateLock(IBinder token, String tag) throws RemoteException { argument
91 Slog.d(TAG, "acquire(" + token + ") by " + makeTag(tag));
95 mLocks.acquire(token, makeTag(tag));
99 public void releaseUpdateLock(IBinder token) throws RemoteException { argument
101 Slog.d(TAG, "release(" + token + ')');
105 mLocks.release(token);
/frameworks/base/services/java/com/android/server/am/
H A DUriPermissionOwner.java54 static UriPermissionOwner fromExternalToken(IBinder token) { argument
55 if (token instanceof ExternalToken) {
56 return ((ExternalToken)token).getOwner();
/frameworks/base/services/java/com/android/server/wm/
H A DWindowToken.java34 // The actual token.
35 final IBinder token; field in class:WindowToken
37 // The type of window this token is for, as per WindowManager.LayoutParams.
40 // Set if this token was explicitly added by a client, so should
50 // All of the windows associated with this token.
53 // Is key dispatching paused for this token?
56 // Should this token's windows be hidden?
62 // Set to true when this token is in a pending transaction where it
66 // Set to true when this token is in a pending transaction where it
70 // Set to true when this token i
[all...]
/frameworks/opt/telephony/mockril/src/com/android/internal/telephony/mockril/
H A DMockRilController.java56 * @param token for MsgHeader
61 private boolean sendCtrlCommand(int cmd, long token, int status, MessageMicro pbData) { argument
63 Msg.send(mRilChannel, cmd, token, status, pbData);
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DRingtonePlayer.java75 public Client(IBinder token, Uri uri, UserHandle user, int streamType) { argument
76 mToken = token;
85 if (LOGD) Slog.d(TAG, "binderDied() token=" + mToken);
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, clien
[all...]
/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/base/core/java/android/view/
H A DWindowInfo.java42 public IBinder token; field in class:WindowInfo
69 parcel.writeStrongBinder(token);
81 token = parcel.readStrongBinder();
93 info.token = other.token;
135 token = null;
148 builder.append("Window [token:").append((token != null) ? token.hashCode() : null);
/frameworks/base/core/java/com/android/internal/backup/
H A DLocalTransport.java56 // The single hardcoded restore set always has the same (nonzero!) token
193 // The hardcoded restore set always has the same token
197 public int startRestore(long token, PackageInfo[] packages) { argument
198 if (DEBUG) Log.v(TAG, "start restore " + token);
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamController.java84 public void startDream(Binder token, ComponentName name, boolean isTest, int userId) { argument
92 mCurrentDream = new DreamRecord(token, name, isTest, userId);
95 mIWindowManager.addWindowToken(token, WindowManager.LayoutParams.TYPE_DREAM);
97 Slog.e(TAG, "Unable to add window token for dream.", ex);
137 // it can shut down nicely before we yank its window token out from
160 Slog.w(TAG, "Error removing window token for dream.", ex);
193 void onDreamStopped(Binder token); argument
206 public DreamRecord(Binder token, ComponentName name, argument
208 mToken = token;

Completed in 669 milliseconds

1234