/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument 38 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); 44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 45 CookieWithProjection projectionCookie = (CookieWithProjection) cookie; 55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); argument 58 * Class to add projection to an existing cookie. 64 public CookieWithProjection(Object cookie, String[] projection) { argument 65 this.originalCookie = cookie;
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | AsyncQueryService.java | 152 * @param cookie An object that gets passed into {@link #onQueryComplete} 169 public void startQuery(int token, Object cookie, Uri uri, String[] projection, argument 177 info.cookie = cookie; 193 * @param cookie An object that gets passed into {@link #onInsertComplete} 201 public void startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, argument 209 info.cookie = cookie; 223 * @param cookie An object that gets passed into {@link #onUpdateComplete} 237 public void startUpdate(int token, Object cookie, Ur 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 D | CalendarUtils.java | 94 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | NotifyingAsyncQueryHandler.java | 40 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/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallerInfoAsyncQueryFactory.java | 23 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie); 22 startQuery(int token, Context context, String number, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) argument
|
H A D | ContactsAsyncHelper.java | 52 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, 54 * cookie is null. 57 Object cookie); 76 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs 135 args.cookie); 190 * @param cookie Arbitrary object the caller wants to remember, which will become the 195 OnImageLoadCompleteListener listener, Object cookie) { 210 args.cookie = cookie; 56 onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) argument 194 startObtainPhotoAsync(int token, Context context, Uri displayPhotoUri, OnImageLoadCompleteListener listener, Object cookie) argument
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandlerTest.java | 69 protected void onNotNullableQueryComplete(int token, Object cookie, 89 final String cookie = "TEST COOKIE"; 96 protected void onNotNullableQueryComplete(int token, Object cookie, 99 cookieHolder.obj = cookie; 103 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); 108 assertSame(cookie, cookieHolder.obj); 116 final String cookie = "TEST COOKIE"; 123 protected void onNotNullableQueryComplete(int token, Object cookie, 130 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null);
|
/packages/apps/InCallUI/src/com/android/incallui/ |
H A D | CallerInfoAsyncQuery.java | 68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 73 * Wrap the cookie from the WorkerArgs with additional information needed by our 78 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 99 public void startQuery(int token, Object cookie, Uri uri, String[] projection, argument 109 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); 147 CookieWrapper cw = (CookieWrapper) args.cookie; 217 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 221 //get the cookie and notify the listener. 222 CookieWrapper cw = (CookieWrapper) cookie; 310 cw.listener.onQueryComplete(token, cw.cookie, mCallerInf 338 startQuery(int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie) argument [all...] |
H A D | ContactsAsyncHelper.java | 52 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, 54 * cookie is null. 57 Object cookie); 74 args.cookie); 98 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs 220 * @param cookie Arbitrary object the caller wants to remember, which will become the 225 OnImageLoadCompleteListener listener, Object cookie) { 238 args.cookie = cookie; 56 onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) argument 224 startObtainPhotoAsync(int token, Context context, Uri displayPhotoUri, OnImageLoadCompleteListener listener, Object cookie) argument
|
H A D | ContactInfoCache.java | 148 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { argument 149 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true); 318 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { argument 323 final String callId = (String) cookie;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | TextInfoCompatUtils.java | 42 public static TextInfo newInstance(CharSequence charSequence, int start, int end, int cookie, argument 46 charSequence, start, end, cookie, sequenceNumber); 48 return new TextInfo(charSequence.subSequence(start, end).toString(), cookie,
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | CallerInfoAsyncQueryFactoryFixture.java | 48 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { 51 r.mCookie = cookie;
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | TelecomService.java | 73 Object cookie) { 75 "CallerInfoAsyncQuery.startQuery number=%s cookie=%s", 76 Log.pii(number), cookie); 78 token, context, number, listener, cookie);
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | ADNList.java | 191 protected void onQueryComplete(int token, Object cookie, Cursor c) { argument 202 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument 208 protected void onUpdateComplete(int token, Object cookie, int result) { argument 214 protected void onDeleteComplete(int token, Object cookie, int result) { argument
|
H A D | PhoneUtils.java | 1317 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { 1331 return startGetCallerInfo(context, conn, listener, cookie); 1335 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { 1336 return startGetCallerInfo(context, c, listener, cookie, null); 1344 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie, 1399 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); 1472 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); 1499 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); 1548 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); 1603 public void onQueryComplete(int token, Object cookie, CallerInf 1316 startGetCallerInfo(Context context, Call call, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) argument 1334 startGetCallerInfo(Context context, Connection c, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) argument 1343 startGetCallerInfo(Context context, Connection c, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie, RawGatewayInfo info) argument [all...] |
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
H A D | DeleteFdnContactScreen.java | 175 protected void onQueryComplete(int token, Object cookie, Cursor c) { argument 179 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument 183 protected void onUpdateComplete(int token, Object cookie, int result) { argument 187 protected void onDeleteComplete(int token, Object cookie, int result) { argument
|
H A D | EditFdnContactScreen.java | 448 protected void onQueryComplete(int token, Object cookie, Cursor c) { argument 452 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument 459 protected void onUpdateComplete(int token, Object cookie, int result) { argument 466 protected void onDeleteComplete(int token, Object cookie, int result) { argument
|
/packages/apps/Dialer/src/com/android/dialer/ |
H A D | SpecialCharSequenceMgr.java | 99 QueryHandler queryHandler, SimContactQueryCookie cookie) { 102 mCookie = cookie; 230 // create the cookie object 234 // setup the cookie fields 279 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, argument 281 if (handler == null || cookie == null || uri == null) { 287 cookie.progressDialog.show(); 290 handler.startQuery(ADN_QUERY_TOKEN, cookie, uri, new String[]{ADN_PHONE_NUMBER_COLUMN_NAME}, 418 * the cookie that a cancel request is made. 453 protected void onNotNullableQueryComplete(int token, Object cookie, Curso argument 98 HandleAdnEntryAccountSelectedCallback(TelecomManager telecomManager, QueryHandler queryHandler, SimContactQueryCookie cookie) argument [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | AsyncQueryServiceTest.java | 114 work[index].cookie = ++mId; 125 aqs.startQuery(work[index].token, work[index].cookie, work[index].uri, 143 work[index].cookie = ++mId; 152 aqs.startInsert(work[index].token, work[index].cookie, work[index].uri, work[index].values, 169 work[index].cookie = ++mId; 180 aqs.startUpdate(work[index].token, work[index].cookie, work[index].uri, work[index].values, 197 work[index].cookie = ++mId; 207 work[index].cookie, 227 work[index].cookie = ++mId; 240 work[index].cookie, 495 onQueryComplete(int token, Object cookie, Cursor cursor) argument 514 onInsertComplete(int token, Object cookie, Uri uri) argument 527 onUpdateComplete(int token, Object cookie, int result) argument 540 onDeleteComplete(int token, Object cookie, int result) argument 553 onBatchComplete(int token, Object cookie, ContentProviderResult[] results) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | VoicemailQueryHandler.java | 58 protected void onUpdateComplete(int token, Object cookie, int result) { argument
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
H A D | CalendarColorCache.java | 61 public void onQueryComplete(int token, Object cookie, Cursor c) {
|
H A D | SelectSyncedCalendarsMultiAccountActivity.java | 84 protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | ContactHeaderWidget.java | 233 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 255 if (cookie != null && cookie instanceof Uri) { 256 mPhotoView.assignContactUri((Uri) cookie); 287 String phoneNumber = (String) cookie; 303 String emailAddress = (String) cookie;
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
H A D | AttendeesView.java | 418 protected void onQueryComplete(int queryIndex, Object cookie, Cursor cursor) { argument 419 if (cursor == null || cookie == null) { 421 Log.d(TAG, "onQueryComplete: cursor=" + cursor + ", cookie=" + cookie); 426 final AttendeeItem item = (AttendeeItem)cookie;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
H A D | SentenceLevelAdapter.java | 142 final int cookie = originalTextInfo.getCookie(); 151 wordEnd, cookie, originalText.subSequence(wordStart, wordEnd).hashCode());
|