Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryService.java169 public void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument
177 info.cookie = cookie; in startQuery()
201 public void startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, in startInsert() argument
209 info.cookie = cookie; in startInsert()
237 public void startUpdate(int token, Object cookie, Uri uri, ContentValues values, in startUpdate() argument
245 info.cookie = cookie; in startUpdate()
274 public void startDelete(int token, Object cookie, Uri uri, String selection, in startDelete() argument
282 info.cookie = cookie; in startDelete()
305 public void startBatch(int token, Object cookie, String authority, in startBatch() argument
313 info.cookie = cookie; in startBatch()
[all …]
DCalendarUtils.java93 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
125 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); in onQueryComplete()
DAsyncQueryServiceHelper.java63 public Object cookie; field in AsyncQueryServiceHelper.OperationInfo
132 builder.append(cookie); in toString()
DContactsAsyncHelper.java54 public void onImageLoadComplete(int token, Object cookie, ImageView iView, in onImageLoadComplete() argument
/packages/apps/Contacts/src/com/android/contacts/util/
DNotifyingAsyncQueryHandler.java40 void onQueryComplete(int token, Object cookie, Cursor cursor); in onQueryComplete() argument
58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
61 listener.onQueryComplete(token, cookie, cursor); in onQueryComplete()
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java93 work[index].cookie = ++mId; in testQuery()
104 aqs.startQuery(work[index].token, work[index].cookie, work[index].uri, in testQuery()
122 work[index].cookie = ++mId; in testInsert()
131 aqs.startInsert(work[index].token, work[index].cookie, work[index].uri, work[index].values, in testInsert()
148 work[index].cookie = ++mId; in testUpdate()
159 aqs.startUpdate(work[index].token, work[index].cookie, work[index].uri, work[index].values, in testUpdate()
176 work[index].cookie = ++mId; in testDelete()
186 work[index].cookie, in testDelete()
206 work[index].cookie = ++mId; in testBatch()
219 work[index].cookie, in testBatch()
[all …]
/packages/apps/Phone/src/com/android/phone/
DDeleteFdnContactScreen.java166 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument
169 protected void onInsertComplete(int token, Object cookie, in onInsertComplete() argument
173 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
176 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
DADNList.java185 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument
193 protected void onInsertComplete(int token, Object cookie, in onInsertComplete() argument
200 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
206 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
DEditFdnContactScreen.java414 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument
418 protected void onInsertComplete(int token, Object cookie, in onInsertComplete() argument
426 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
433 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
DNotificationMgr.java314 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
355 if ((cursor != null) && (cookie != null)){ in onQueryComplete()
356 NotificationInfo n = (NotificationInfo) cookie; in onQueryComplete()
975 public void onQueryComplete(int token, Object cookie, CallerInfo ci){ in onQueryComplete() argument
978 if (DBG) log("- cookie: " + cookie); in onQueryComplete()
981 if (cookie == this) { in onQueryComplete()
996 + "cookie = " + cookie); in onQueryComplete()
DCallCard.java556 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in onQueryComplete() argument
557 if (DBG) log("onQueryComplete: token " + token + ", cookie " + cookie + ", ci " + ci); in onQueryComplete()
559 if (cookie instanceof Call) { in onQueryComplete()
564 Call call = (Call) cookie; in onQueryComplete()
593 } else if (cookie instanceof TextView){ in onQueryComplete()
595 ((TextView) cookie).setText(PhoneUtils.getCompactNameFromCallerInfo(ci, mContext)); in onQueryComplete()
603 public void onImageLoadComplete(int token, Object cookie, ImageView iView, in onImageLoadComplete() argument
605 if (cookie != null) { in onImageLoadComplete()
606 updatePhotoForCallState((Call) cookie); in onImageLoadComplete()
DManageConferenceUtils.java324 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in onQueryComplete() argument
328 ViewGroup vg = (ViewGroup) cookie; in onQueryComplete()
DPhoneUtils.java1295 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument
1307 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo()
1315 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument
1369 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1432 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1457 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1489 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1540 public void onQueryComplete(int token, Object cookie, CallerInfo ci) {
1542 Connection conn = (Connection) cookie;
DCallNotifier.java946 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in onQueryComplete() argument
947 if (cookie instanceof Long) { in onQueryComplete()
951 ci.phoneLabel, ((Long) cookie).longValue()); in onQueryComplete()
952 } else if (cookie instanceof CallNotifier) { in onQueryComplete()
979 Ringer r = ((CallNotifier) cookie).mRinger; in onQueryComplete()
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectSyncedCalendarsMultiAccountAdapter.java129 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
134 Cursor currentCursor = mChildrenCursors.get(cookie); in onQueryComplete()
148 mChildrenCursors.put((String)cookie, newCursor); in onQueryComplete()
357 public RefreshCalendars(int token, String cookie, String accountType) { in RefreshCalendars() argument
359 mAccount = cookie; in RefreshCalendars()
DSelectVisibleCalendarsFragment.java83 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onAttach()
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java233 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
255 if (cookie != null && cookie instanceof Uri) { in onQueryComplete()
256 mPhotoView.assignContactUri((Uri) cookie); in onQueryComplete()
287 String phoneNumber = (String) cookie; in onQueryComplete()
303 String emailAddress = (String) cookie; in onQueryComplete()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java124 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
140 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument
142 Long alarmTime = (Long) cookie; in onInsertComplete()
156 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
/packages/apps/Calendar/src/com/android/calendar/event/
DAttendeesView.java370 protected void onQueryComplete(int queryIndex, Object cookie, Cursor cursor) { in onQueryComplete() argument
371 if (cursor == null || cookie == null) { in onQueryComplete()
373 Log.d(TAG, "onQueryComplete: cursor=" + cursor + ", cookie=" + cookie); in onQueryComplete()
378 final AttendeeItem item = (AttendeeItem)cookie; in onQueryComplete()
/packages/apps/Contacts/src/com/android/contacts/
DCallDetailActivityQueryHandler.java66 protected synchronized void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
DSpecialCharSequenceMgr.java316 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument
317 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; in onQueryComplete()
/packages/apps/Contacts/src/com/android/contacts/list/
DContactBrowseListFragment.java112 protected void onQueryComplete(int token, Object cookie, Cursor data) { in onQueryComplete() argument
123 if (!cookie.equals(mSelectedContactUri)) { in onQueryComplete()
/packages/apps/Mms/src/com/android/mms/ui/
DConversationList.java664 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
688 Collection<Long> threadIds = (Collection<Long>)cookie; in onQueryComplete()
701 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java152 public void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
/packages/apps/Contacts/src/com/android/contacts/calllog/
DCallLogQueryHandler.java254 protected synchronized void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument

12