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

123456

/frameworks/base/core/java/android/app/backup/
H A DRestoreSet.java48 public long token; field in class:RestoreSet
58 token = _token;
70 out.writeLong(token);
87 token = in.readLong();
H A DRestoreSession.java71 * @param token The token from {@link #getAvailableRestoreSets()} corresponding to
76 public int restoreAll(long token, RestoreObserver observer) { argument
84 err = mBinder.restoreAll(token, mObserver);
100 * @param token The token from {@link getAvailableRestoreSets()} corresponding to
105 * the contents of the actual back-end dataset named by {@code token}, only
110 public int restoreSome(long token, RestoreObserver observer, String[] packages) { argument
118 err = mBinder.restoreSome(token, mObserver, packages);
/frameworks/base/core/java/android/content/pm/
H A DKeySet.java31 private IBinder token; field in class:KeySet
34 public KeySet(IBinder token) { argument
35 if (token == null) {
36 throw new NullPointerException("null value for KeySet IBinder token");
38 this.token = token;
43 return token;
51 return token == ks.token;
59 return 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/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);
/frameworks/base/core/java/android/content/res/
H A DResourcesKey.java32 float scale, IBinder token) {
39 mToken = token;
31 ResourcesKey(String resDir, int displayId, Configuration overrideConfiguration, float scale, IBinder token) 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/android/view/
H A DDisplayAdjustments.java36 public DisplayAdjustments(IBinder token) { argument
37 mActivityToken = token;
44 public DisplayAdjustments(CompatibilityInfo compatInfo, IBinder token) { argument
46 mActivityToken = token;
66 public void setActivityToken(IBinder token) { argument
71 mActivityToken = token;
H A DWindowInfo.java42 public IBinder token; field in class:WindowInfo
64 window.token = other.token;
94 parcel.writeStrongBinder(token);
113 builder.append(", token=").append(token);
125 token = parcel.readStrongBinder();
142 token = null;
/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/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/native/cmds/servicemanager/
H A Dbctest.c56 unsigned token; variable
96 svcmgr_publish(bs, svcmgr, argv[1], &token);
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java42 IVirtualDisplayCallback token, Surface surface) {
45 mToken = token;
110 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken
41 VirtualDisplay(DisplayManagerGlobal global, Display display, IVirtualDisplayCallback token, Surface surface) argument
/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...]
/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/media/java/android/media/audiopolicy/
H A DAudioPolicy.java56 public IBinder token() { return mToken; } method in class:AudioPolicy
/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) throws RemoteException {
97 Log.d(TAG, "play(token=" + token + ", uri=" + uri + ", uid="
102 client = mClients.get(token);
105 client = new Client(token, uri, user, aa);
106 token.linkToDeath(client, 0);
107 mClients.put(token, clien
[all...]
/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/base/services/core/java/com/android/server/am/
H A DUriPermissionOwner.java57 static UriPermissionOwner fromExternalToken(IBinder token) { argument
58 if (token instanceof ExternalToken) {
59 return ((ExternalToken)token).getOwner();
/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/native/libs/binder/
H A DIAppOpsService.cpp63 virtual int32_t startOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument
67 data.writeStrongBinder(token);
77 virtual void finishOperation(const sp<IBinder>& token, int32_t code, int32_t uid, argument
81 data.writeStrongBinder(token);
147 sp<IBinder> token = data.readStrongBinder(); local
151 int32_t res = startOperation(token, code, uid, packageName);
158 sp<IBinder> token = data.readStrongBinder(); local
162 finishOperation(token, code, uid, packageName);
185 sp<IBinder> token = getToken(clientToken); local
187 reply->writeStrongBinder(token);
[all...]
/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/av/drm/mediadrm/plugins/clearkey/
H A DJsonWebKey.cpp208 String8 token; local
214 token.setTo(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start);
215 tokens->add(token);
236 // Computes number of tokens. A token marks the type, offset in
257 String8 token; local
262 token.setTo(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start);
263 jsonObjects->add(token);
/frameworks/base/core/java/android/app/
H A DResourcesManager.java150 * @param token the application token for determining stack bounds.
154 Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) {
156 ResourcesKey key = new ResourcesKey(resDir, displayId, overrideConfiguration, scale, token);
229 r = new Resources(assets, dm, config, compatInfo, token);
152 getTopLevelResources(String resDir, String[] splitResDirs, String[] overlayDirs, String[] libDirs, int displayId, Configuration overrideConfiguration, CompatibilityInfo compatInfo, IBinder token) argument
/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...]

Completed in 647 milliseconds

123456