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

1234

/packages/apps/Mms/src/com/android/mms/transaction/
H A DMessageSender.java27 * @param token The token to identify the sending progress.
33 boolean sendMessage(long token) throws MmsException; argument
H A DProgressCallbackEntity.java40 public ProgressCallbackEntity(Context context, long token, byte[] b) { argument
45 mToken = token;
85 intent.putExtra("token", mToken);
H A DSmsSingleRecipientSender.java36 public boolean sendMessage(long token) throws MmsException { argument
38 Log.v(TAG, "sendMessage token: " + token);
H A DMmsMessageSender.java70 public boolean sendMessage(long token) throws MmsException { argument
123 SendingProgressTokenManager.put(messageId, token);
H A DSmsMessageSender.java73 public boolean sendMessage(long token) throws MmsException { argument
76 return queueMessage(token);
79 private boolean queueMessage(long token) throws MmsException { argument
H A DHttpUtils.java84 * @param token The token to identify the sending progress.
94 protected static byte[] httpConnection(Context context, long token, argument
103 Log.v(TAG, "\ttoken\t\t= " + token);
129 context, token, pdu);
H A DTransaction.java143 * @param token The token to identify the sending progress.
151 protected byte[] sendPdu(long token, byte[] pdu) throws IOException, MmsException { argument
152 return sendPdu(token, pdu, mTransactionSettings.getMmscUrl());
158 * @param token The token to identify the sending progress.
167 protected byte[] sendPdu(long token, byte[] pdu, argument
175 mContext, token,
/packages/apps/Contacts/src/com/android/contacts/util/
H A DNotifyingAsyncQueryHandler.java40 void onQueryComplete(int token, Object cookie, Cursor cursor); argument
58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
61 listener.onQueryComplete(token, cookie, cursor);
/packages/apps/Mms/src/com/android/mms/util/
H A DSendingProgressTokenManager.java37 Long token = TOKEN_POOL.get(key);
39 Log.v(TAG, "TokenManager.get(" + key + ") -> " + token);
41 return token != null ? token : NO_TOKEN;
44 synchronized public static void put(Object key, long token) { argument
46 Log.v(TAG, "TokenManager.put(" + key + ", " + token + ")");
48 TOKEN_POOL.put(key, token);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DInputMethodManagerCompatWrapper.java37 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { argument
39 METHOD_switchToNextInputMethod, token, onlyCurrentIme);
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DNoNullCursorAsyncQueryHandler.java36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument
39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,
44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
47 super.onQueryComplete(token, projectionCookie.originalCookie, cursor);
52 onNotNullableQueryComplete(token, projectionCookie.originalCookie, cursor);
55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); argument
/packages/apps/Dialer/src/com/android/dialer/
H A DCallDetailActivityQueryHandler.java66 protected synchronized void onNotNullableQueryComplete(int token, Object cookie, argument
69 if (token == QUERY_VOICEMAIL_CONTENT_TOKEN) {
79 } else if (token == QUERY_VOICEMAIL_STATUS_TOKEN) {
82 Log.w(TAG, "Unknown query completed: ignoring: " + token);
H A DSpecialCharSequenceMgr.java332 public SimContactQueryCookie(int number, QueryHandler handler, int token) { argument
335 mToken = token;
389 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DHanziToPinyin.java60 * Type of this token, ASCII, PINYIN or UNKNOWN.
97 private void tokenize(char character, Token token) { argument
98 token.source = Character.toString(character);
102 token.type = Token.LATIN;
103 token.target = token.source;
109 token.type = Token.LATIN;
110 token.target = mAsciiTransliterator == null ? token.source :
111 mAsciiTransliterator.transliterate(token
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DContactsAsyncHelper.java54 public void onImageLoadComplete(int token, Object cookie, ImageView iView, argument
104 " token: " + msg.what + " image URI: " + args.uri);
108 " token: " + msg.what + " image URI: " + args.uri +
H A DAsyncQueryService.java69 public int token; field in class:AsyncQueryService.Operation
103 builder.append(", token=");
104 builder.append(token);
117 * returns a practically unique token for db operations
138 * @param token The token representing the operation to be canceled. If
139 * multiple operations have the same token they will all be
142 public final int cancelOperation(int token) { argument
143 return AsyncQueryServiceHelper.cancelOperation(token);
150 * @param token
169 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
201 startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, long delayMillis) argument
237 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs, long delayMillis) argument
274 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs, long delayMillis) argument
305 startBatch(int token, Object cookie, String authority, ArrayList<ContentProviderOperation> cpo, long delayMillis) argument
329 onQueryComplete(int token, Object cookie, Cursor cursor) argument
344 onInsertComplete(int token, Object cookie, Uri uri) argument
359 onUpdateComplete(int token, Object cookie, int result) argument
374 onDeleteComplete(int token, Object cookie, int result) argument
391 onBatchComplete(int token, Object cookie, ContentProviderResult[] results) argument
[all...]
H A DAsyncQueryServiceHelper.java52 public int token; // Used for cancel field in class:AsyncQueryServiceHelper.OperationInfo
105 builder.append("OperationInfo [\n\t token= ");
106 builder.append(token);
149 return o.token == this.token && o.op == this.op;
190 op.token = info.token;
201 + " token:" + op.token);
212 * @param token Th
216 cancelOperation(int token) argument
[all...]
H A DCalendarColorPickerDialog.java81 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
95 switch (token) {
H A DCalendarUtils.java94 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
/packages/apps/Contacts/src/com/android/contacts/activities/
H A DShowOrCreateActivity.java149 public void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
/packages/apps/InCallUI/src/com/android/incallui/
H A DContactsAsyncHelper.java47 * @param token Integer passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int,
55 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, argument
206 " token: " + msg.what + " image URI: " + args.uri);
211 " token: " + msg.what + " image URI: " + args.uri +
284 * @param token Arbitrary integer which will be returned as the first argument of
295 public static final void startObtainPhotoAsync(int token, Context context, Uri personUri, argument
315 Message msg = sThreadHandler.obtainMessage(token);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertActivity.java154 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
169 protected void onUpdateComplete(int token, Object cookie, int result) { argument
/packages/apps/Calendar/src/com/android/calendar/event/
H A DCreateEventDialogFragment.java96 public void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
/packages/apps/Camera/jni/feature_stab/src/dbregtest/
H A Ddbregtest.cpp320 string token; local
322 while (cmdline >> token)
326 int pos = token.find("-");
330 switch (token[1])
333 --c; cmdline >> token; local
334 if (token.compare("rt") == 0)
338 else if (token.compare("a") == 0)
342 else if (token.compare("p") == 0)
371 cerr << progname << "illegal option " << token << endl;
388 image_list_file_name = token;
[all...]
/packages/apps/Camera2/jni/feature_stab/src/dbregtest/
H A Ddbregtest.cpp320 string token; local
322 while (cmdline >> token)
326 int pos = token.find("-");
330 switch (token[1])
333 --c; cmdline >> token; local
334 if (token.compare("rt") == 0)
338 else if (token.compare("a") == 0)
342 else if (token.compare("p") == 0)
371 cerr << progname << "illegal option " << token << endl;
388 image_list_file_name = token;
[all...]

Completed in 350 milliseconds

1234