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

1234567

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DAlarmHandler.java4 public void wake(Object token); argument
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DNotificationCompatImpl21.java30 Object token) {
35 if (token != null) {
36 style.setMediaSession((MediaSession.Token) token);
28 addMediaStyle(NotificationBuilderWithBuilderAccessor b, int[] actionsToShowInCompact, Object token) argument
/frameworks/av/media/libstagefright/foundation/
H A DAWakeLock.cpp61 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
65 IPCThreadState::self()->restoreCallingIdentity(token);
90 int64_t token = IPCThreadState::self()->clearCallingIdentity(); local
92 IPCThreadState::self()->restoreCallingIdentity(token);
/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();
/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/security/keymaster/
H A DOperationResult.java30 public final IBinder token; field in class:OperationResult
50 int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output,
53 this.token = token;
62 token = in.readStrongBinder();
77 out.writeStrongBinder(token);
49 OperationResult( int resultCode, IBinder token, long operationHandle, int inputConsumed, byte[] output, KeymasterArguments outParams) argument
/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/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/cmds/servicemanager/
H A Dbctest.c57 unsigned token; variable
97 svcmgr_publish(bs, svcmgr, argv[1], &token);
/frameworks/base/core/java/android/hardware/display/
H A DVirtualDisplay.java41 IVirtualDisplayCallback token, Surface surface) {
44 mToken = token;
109 return "VirtualDisplay{display=" + mDisplay + ", token=" + mToken
40 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/java/android/service/voice/
H A DVoiceInteractionSessionService.java47 public void newSession(IBinder token, Bundle args, int startFlags) {
49 startFlags, token, args));
117 void doNewSession(IBinder token, Bundle args, int startFlags) { argument
124 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor);
125 mSession.doCreate(mSystemService, token);
/frameworks/base/core/java/android/view/
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;
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...]
/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/midi/
H A DMidiOutputPort.java93 /* package */ MidiOutputPort(IMidiDeviceServer server, IBinder token, argument
96 mToken = token;
/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/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.java56 static UriPermissionOwner fromExternalToken(IBinder token) { argument
57 if (token instanceof ExternalToken) {
58 return ((ExternalToken)token).getOwner();
/frameworks/base/services/core/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 its
72 token
[all...]
/frameworks/compile/mclinker/lib/Script/
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...]
H A DInputCmd.cpp98 InputToken* token = llvm::cast<InputToken>(*it); local
99 if (token->asNeeded())
104 switch (token->type()) {
111 (token->name().size() > 0 && token->name()[0] == '/')) {
113 path.append(token->name());
116 path.assign(token->name());
120 script.directories().find(token->name(), Input::Script);
141 path = script.directories().find(token->name(), Input::Archive);
145 path = script.directories().find(token
[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);
158 sp<IBinder> token = data.readStrongBinder(); local
162 int32_t res = startOperation(token, code, uid, packageName);
169 sp<IBinder> token = data.readStrongBinder(); local
173 finishOperation(token, code, uid, packageName);
196 sp<IBinder> token = getToken(clientToken); local
198 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());

Completed in 510 milliseconds

1234567