/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/Dialer/src/com/android/dialer/database/ |
H A D | FilteredNumberAsyncQueryHandler.java | 47 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 49 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument 51 protected void onUpdateComplete(int token, Object cookie, int result) { argument 53 protected void onDeleteComplete(int token, Object cookie, int result) { argument 91 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 92 if (cookie != null) { 93 ((Listener) cookie).onQueryComplete(token, cookie, cursor); 98 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument 99 if (cookie ! 105 onUpdateComplete(int token, Object cookie, int result) argument 112 onDeleteComplete(int token, Object cookie, int result) argument [all...] |
/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 | 24 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie); 23 startQuery(int token, Context context, String number, CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) argument
|
H A D | ContactsAsyncHelper.java | 53 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, 55 * cookie is null. 58 Object cookie); 84 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs 143 args.cookie); 198 * @param cookie Arbitrary object the caller wants to remember, which will become the 203 OnImageLoadCompleteListener listener, Object cookie) { 218 args.cookie = cookie; 57 onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) argument 202 startObtainPhotoAsync(int token, Context context, Uri displayPhotoUri, OnImageLoadCompleteListener listener, Object cookie) argument
|
H A D | CallerInfoLookupHelper.java | 139 return (token, cookie, ci) -> { 141 Log.continueSession((Session) cookie, "CILH.oQC"); 189 return (token, photo, photoIcon, cookie) -> { 191 Log.continueSession((Session) cookie, "CLIH.oILC");
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
H A D | CallerInfoAsyncQuery.java | 82 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument 87 * Wrap the cookie from the WorkerArgs with additional information needed by our 92 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper 112 public void startQuery(int token, Object cookie, Uri uri, String[] projection, argument 122 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); 160 CookieWrapper cw = (CookieWrapper) args.cookie; 229 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 233 //get the cookie and notify the listener. 234 CookieWrapper cw = (CookieWrapper) cookie; 322 cw.listener.onQueryComplete(token, cw.cookie, mCallerInf 339 startQuery(final int token, final Context context, final CallerInfo info, final OnQueryCompleteListener listener, final Object cookie) argument 370 startDefaultDirectoryQuery(int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie) argument 388 startQueryInternal(int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie, Uri contactRef) argument 425 startOtherDirectoriesQuery(int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie) argument 501 onQueryComplete(int token, Object cookie, CallerInfo ci) argument 514 onDirectoryQueryComplete(int token, Object cookie, CallerInfo ci, long directoryId) argument [all...] |
H A D | ContactsAsyncHelper.java | 54 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int, 56 * cookie is null. 59 Object cookie); 76 args.cookie); 100 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs 222 * @param cookie Arbitrary object the caller wants to remember, which will become the 227 OnImageLoadCompleteListener listener, Object cookie) { 240 args.cookie = cookie; 58 onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) argument 226 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/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 | 55 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { 58 r.mCookie = 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
|
/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 | 100 QueryHandler queryHandler, SimContactQueryCookie cookie) { 103 mCookie = cookie; 231 // create the cookie object 235 // setup the cookie fields 277 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, argument 279 if (handler == null || cookie == null || uri == null) { 285 cookie.progressDialog.show(); 288 handler.startQuery(ADN_QUERY_TOKEN, cookie, uri, new String[]{ADN_PHONE_NUMBER_COLUMN_NAME}, 420 * the cookie that a cancel request is made. 455 protected void onNotNullableQueryComplete(int token, Object cookie, Curso argument 99 HandleAdnEntryAccountSelectedCallback(Context context, 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/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | TelecomService.java | 100 Object cookie) { 102 "CallerInfoAsyncQuery.startQuery number=%s cookie=%s", 103 Log.pii(number), cookie); 105 token, context, number, listener, cookie);
|
/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());
|