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

123456789

/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/fingerprint/
H A DEnrollClient.java40 public EnrollClient(Context context, long halDeviceId, IBinder token, argument
43 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
H A DEnumerateClient.java32 public EnumerateClient(Context context, long halDeviceId, IBinder token, argument
35 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
H A DInternalEnumerateClient.java35 public InternalEnumerateClient(Context context, long halDeviceId, IBinder token, argument
39 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
H A DRemovalClient.java35 public RemovalClient(Context context, long halDeviceId, IBinder token, argument
38 super(context, halDeviceId, token, receiver, userId, groupId, restricted, owner);
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageUsage.java170 private long parseAsLong(String token) throws IOException { argument
172 return Long.parseLong(token);
174 throw new IOException("Failed to parse " + token + " as a long.", e);
/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());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DAppSmsManager.java42 * that is triggered when an incoming SMS is received that contains the provided token.
66 * This method returns a token that if included in a subsequent incoming SMS message the
81 String token = generateNonce();
88 AppRequestInfo info = new AppRequestInfo(callingPkg, intent, token);
91 return token;
107 // The message didn't contain a token -- nothing to do.
141 for (String token : mTokenMap.keySet()) {
142 if (fullMessage.contains(token)) {
143 return mTokenMap.get(token);
156 mTokenMap.remove(info.token);
168 public final String token; field in class:AppSmsManager.AppRequestInfo
170 AppRequestInfo(String packageName, PendingIntent pendingIntent, String token) argument
[all...]
H A DClientWakelockAccountant.java40 int token, int concurrentRequests, long time) {
42 RilWakelockInfo wlInfo = new RilWakelockInfo(request, token, concurrentRequests, time);
49 public void stopAttributingWakelock(int request, int token, long time) { argument
50 RilWakelockInfo wlInfo = removePendingWakelock(request, token);
106 private RilWakelockInfo removePendingWakelock(int request, int token) { argument
110 if ((wlInfo.getTokenNumber() == token) &&
120 Rlog.w(LOG_TAG, "Looking for Request<" + request + "," + token + "> in "
39 startAttributingWakelock(int request, int token, int concurrentRequests, long time) argument
H A DClientWakelockTracker.java38 public void startTracking(String clientId, int requestId, int token, int numRequestsInQueue) { argument
41 client.startAttributingWakelock(requestId, token, numRequestsInQueue, uptime);
51 public void stopTracking(String clientId, int requestId, int token, int numRequestsInQueue) { argument
54 client.stopAttributingWakelock(requestId, token, uptime);
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DJsonAssetLoader.cpp170 String8 token; local
177 token.setTo(pjs, mJsmnTokens[j].end - mJsmnTokens[j].start);
178 tokens->add(token);
179 ALOGV("add token: %s", token.string());
200 // Computes number of tokens. A token marks the type, offset in
221 String8 token; local
226 token.setTo(pjs, mJsmnTokens[i].end - mJsmnTokens[i].start);
227 jsonObjects->add(token);
/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 DInstantAppResolverService.java61 int digestPrefix[], String token, InstantAppResolutionCallback callback) {
71 int digestPrefix[], String token, InstantAppResolutionCallback callback) {
93 int digestPrefix[], String token, int sequence, IRemoteCallback callback) {
95 Slog.v(TAG, "[" + token + "] Phase1 called; posting");
100 args.arg3 = token;
108 int digestPrefix[], String token, String hostName, IRemoteCallback callback) {
110 Slog.v(TAG, "[" + token + "] Phase2 called; posting");
115 args.arg3 = token;
146 void _onGetInstantAppResolveInfo(int[] digestPrefix, String token, argument
149 Slog.d(TAG, "[" + token
60 onGetInstantAppResolveInfo( int digestPrefix[], String token, InstantAppResolutionCallback callback) argument
70 onGetInstantAppIntentFilter( int digestPrefix[], String token, InstantAppResolutionCallback callback) argument
155 _onGetInstantAppIntentFilter(int digestPrefix[], String token, String hostName, InstantAppResolutionCallback callback) argument
[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/inputmethodservice/
H A DSoftInputWindow.java49 public void setToken(IBinder token) { argument
51 lp.token = token;
/frameworks/base/core/java/android/view/
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
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...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethod.java84 * unique token for the session it has with the system service. It is
86 * This token <strong>must not</strong> be passed to applications, since
90 * accept the first token given to you. Any after that may come from the
93 public void attachToken(IBinder token); argument
168 * @param startInputToken a token that identifies a logical session that starts with this method
171 * require this token to work, and you have to keep the token alive until
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/base/media/java/android/media/midi/
H A DMidiInputPort.java50 /* package */ MidiInputPort(IMidiDeviceServer server, IBinder token, argument
55 mToken = token;
/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/
H A DRemoteInputController.java52 * @param token a token identifying the view that is managing the remote input
54 public void addRemoteInput(NotificationData.Entry entry, Object token) { argument
56 Preconditions.checkNotNull(token);
59 entry /* contains */, null /* remove */, token /* removeToken */);
61 mOpen.add(new Pair<>(new WeakReference<>(entry), token));
71 * @param token a token identifying the view that is requesting the removal. If non-null,
72 * the entry is only removed if the token matches the last added token fo
75 removeRemoteInput(NotificationData.Entry entry, Object token) argument
89 addSpinning(String key, Object token) argument
104 removeSpinning(String key, Object token) argument
[all...]

Completed in 5082 milliseconds

123456789