Searched refs:cookie (Results 1 - 25 of 54) sorted by relevance

123

/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
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 DAsyncQueryService.java152 * @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 DCalendarUtils.java94 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName);
H A DAsyncQueryServiceHelper.java63 public Object cookie; field in class:AsyncQueryServiceHelper.OperationInfo
131 builder.append(",\n\t cookie= ");
132 builder.append(cookie);
/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/ContactsCommon/tests/src/com/android/contacts/common/database/
H A DNoNullCursorAsyncQueryHandlerTest.java69 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 DCallerInfoAsyncQuery.java63 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
68 * Wrap the cookie from the WorkerArgs with additional information needed by our
73 public Object cookie; field in class:CallerInfoAsyncQuery.CookieWrapper
128 CookieWrapper cw = (CookieWrapper) args.cookie;
198 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
201 //get the cookie and notify the listener.
202 CookieWrapper cw = (CookieWrapper) cookie;
289 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo);
305 OnQueryCompleteListener listener, Object cookie) {
315 cw.cookie
304 startQuery(int token, Context context, Uri contactRef, OnQueryCompleteListener listener, Object cookie) argument
334 startQuery(int token, Context context, String number, OnQueryCompleteListener listener, Object cookie) argument
420 addQueryListener(int token, OnQueryCompleteListener listener, Object cookie) argument
[all...]
H A DContactsAsyncHelper.java51 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int,
53 * cookie is null.
56 Object cookie);
73 args.cookie);
97 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs
291 * @param cookie Arbitrary object the caller wants to remember, which will become the
296 OnImageLoadCompleteListener listener, Object cookie) {
309 args.cookie = cookie;
55 onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) argument
295 startObtainPhotoAsync(int token, Context context, Uri personUri, OnImageLoadCompleteListener listener, Object cookie) argument
H A DContactInfoCache.java99 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { argument
100 final CallIdentification identification = (CallIdentification) cookie;
267 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { argument
272 final int callId = (Integer) cookie;
/packages/services/Telephony/src/com/android/phone/
H A DADNList.java185 protected void onQueryComplete(int token, Object cookie, Cursor c) { argument
196 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument
202 protected void onUpdateComplete(int token, Object cookie, int result) { argument
208 protected void onDeleteComplete(int token, Object cookie, int result) { argument
H A DDeleteFdnContactScreen.java166 protected void onQueryComplete(int token, Object cookie, Cursor c) { argument
170 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument
174 protected void onUpdateComplete(int token, Object cookie, int result) { argument
178 protected void onDeleteComplete(int token, Object cookie, int result) { argument
H A DContactsAsyncHelper.java58 * @param cookie Object passed in {@link ContactsAsyncHelper#startObtainPhotoAsync(int,
60 * cookie is null.
63 Object cookie);
82 args.cookie);
106 public Object cookie; field in class:ContactsAsyncHelper.WorkerArgs
322 * @param cookie Arbitrary object the caller wants to remember, which will become the
327 OnImageLoadCompleteListener listener, Object cookie) {
340 args.cookie = cookie;
62 onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) argument
326 startObtainPhotoAsync(int token, Context context, Uri personUri, OnImageLoadCompleteListener listener, Object cookie) argument
H A DEditFdnContactScreen.java442 protected void onQueryComplete(int token, Object cookie, Cursor c) { argument
446 protected void onInsertComplete(int token, Object cookie, Uri uri) { argument
453 protected void onUpdateComplete(int token, Object cookie, int result) { argument
460 protected void onDeleteComplete(int token, Object cookie, int result) { argument
H A DNotificationMgr.java327 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
368 if ((cursor != null) && (cookie != null)){
369 NotificationInfo n = (NotificationInfo) cookie;
415 int token, Drawable photo, Bitmap photoIcon, Object cookie) {
417 NotificationInfo n = (NotificationInfo) cookie;
414 onImageLoadComplete( int token, Drawable photo, Bitmap photoIcon, Object cookie) argument
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DAsyncQueryServiceTest.java114 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/Calendar/src/com/android/calendar/selectcalendars/
H A DCalendarColorCache.java61 public void onQueryComplete(int token, Object cookie, Cursor c) {
H A DSelectSyncedCalendarsMultiAccountActivity.java84 protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
H A DSelectSyncedCalendarsMultiAccountAdapter.java148 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
159 Cursor currentCursor = mChildrenCursors.get(cookie);
173 mChildrenCursors.put((String)cookie, newCursor);
/packages/apps/Dialer/src/com/android/dialer/
H A DCallDetailActivityQueryHandler.java66 protected synchronized void onNotNullableQueryComplete(int token, Object cookie, argument
H A DSpecialCharSequenceMgr.java191 // create the cookie object
195 // setup the cookie fields
354 * the cookie that a cancel request is made.
389 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { argument
395 SimContactQueryCookie sc = (SimContactQueryCookie) cookie;
/packages/experimental/LoaderApp/src/com/android/loaderapp/
H A DContactHeaderWidget.java233 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 DAttendeesView.java418 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/apps/Dialer/src/com/android/dialer/calllog/
H A DCallLogQueryHandler.java249 * Start a new request and return its id. The request id will be used as the cookie for the
261 protected synchronized void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor) { argument
263 int requestId = ((Integer) cookie).intValue();
/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/Mms/src/com/android/mms/ui/
H A DConversationList.java871 // protected void onQueryComplete(final int token, final Object cookie, final Cursor cursor) {
874 // myonQueryComplete(token, cookie, cursor);
879 // protected void myonQueryComplete(int token, Object cookie, Cursor cursor) {
882 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
923 Collection<Long> threadIds = (Collection<Long>)cookie;
939 protected void onDeleteComplete(int token, Object cookie, int result) { argument
940 super.onDeleteComplete(token, cookie, result);
943 long threadId = cookie != null ? (Long)cookie : -1; // default to all threads

Completed in 545 milliseconds

123