/packages/apps/Calendar/src/com/android/calendar/ |
D | AsyncQueryService.java | 169 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 …]
|
D | CalendarUtils.java | 94 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); in onQueryComplete()
|
D | AsyncQueryServiceHelper.java | 63 public Object cookie; field in AsyncQueryServiceHelper.OperationInfo 132 builder.append(cookie); in toString()
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 78 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper 99 public void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument 109 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); in startQuery() 147 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage() 217 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 222 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete() 310 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete() 339 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument 342 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery() [all …]
|
D | ContactsAsyncHelper.java | 57 Object cookie); in onImageLoadComplete() argument 74 args.cookie); 98 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 225 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument 238 args.cookie = cookie; in startObtainPhotoAsync()
|
D | ContactInfoCache.java | 98 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete() argument 99 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true); in onQueryComplete() 268 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoadComplete() argument 273 final String callId = (String) cookie; in onImageLoadComplete()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | AsyncQueryServiceTest.java | 114 work[index].cookie = ++mId; in testQuery() 125 aqs.startQuery(work[index].token, work[index].cookie, work[index].uri, in testQuery() 143 work[index].cookie = ++mId; in testInsert() 152 aqs.startInsert(work[index].token, work[index].cookie, work[index].uri, work[index].values, in testInsert() 169 work[index].cookie = ++mId; in testUpdate() 180 aqs.startUpdate(work[index].token, work[index].cookie, work[index].uri, work[index].values, in testUpdate() 197 work[index].cookie = ++mId; in testDelete() 207 work[index].cookie, in testDelete() 227 work[index].cookie = ++mId; in testBatch() 240 work[index].cookie, in testBatch() [all …]
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 69 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorIsNotNull() 89 final String cookie = "TEST COOKIE"; in testCursorContainsCorrectCookies() local 96 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorContainsCorrectCookies() 99 cookieHolder.obj = cookie; in testCursorContainsCorrectCookies() 103 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectCookies() 108 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies() 116 final String cookie = "TEST COOKIE"; in testCursorContainsCorrectColumns() local 123 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorContainsCorrectColumns() 130 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectColumns()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
D | NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, in startQuery() argument 38 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); in startQuery() 44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 45 CookieWithProjection projectionCookie = (CookieWithProjection) cookie; in onQueryComplete() 55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); in onNotNullableQueryComplete() argument 64 public CookieWithProjection(Object cookie, String[] projection) { in CookieWithProjection() argument 65 this.originalCookie = cookie; in CookieWithProjection()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ContactsAsyncHelper.java | 57 Object cookie); in onImageLoadComplete() argument 74 args.cookie); 98 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 216 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument 231 args.cookie = cookie; in startObtainPhotoAsync()
|
D | Call.java | 154 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { 155 if (cookie != null) { 156 ((Call) cookie).setCallerInfo(callerInfo, token); 166 int token, Drawable photo, Bitmap photoIcon, Object cookie) { 167 if (cookie != null) { 168 ((Call) cookie).setPhoto(photo, photoIcon, token);
|
/packages/apps/Dialer/src/com/android/dialer/ |
D | SpecialCharSequenceMgr.java | 246 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, in handleAdnQuery() argument 248 if (handler == null || cookie == null || uri == null) { in handleAdnQuery() 254 cookie.progressDialog.show(); in handleAdnQuery() 257 handler.startQuery(ADN_QUERY_TOKEN, cookie, uri, new String[]{ADN_PHONE_NUMBER_COLUMN_NAME}, in handleAdnQuery() 424 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { in onNotNullableQueryComplete() argument 431 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; in onNotNullableQueryComplete()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | ContactHeaderWidget.java | 233 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/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 1314 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument 1328 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo() 1332 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument 1333 return startGetCallerInfo(context, c, listener, cookie, null); in startGetCallerInfo() 1341 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie, in startGetCallerInfo() argument 1396 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1469 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1496 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1545 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1600 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { [all …]
|
D | ADNList.java | 191 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 202 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 208 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 214 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | DeleteFdnContactScreen.java | 175 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 179 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 183 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 187 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
D | EditFdnContactScreen.java | 448 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 452 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 459 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 466 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | NotifyingAsyncQueryHandler.java | 40 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/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | TextInfoCompatUtils.java | 42 public static TextInfo newInstance(CharSequence charSequence, int start, int end, int cookie, in newInstance() argument 46 charSequence, start, end, cookie, sequenceNumber); in newInstance() 48 return new TextInfo(charSequence.subSequence(start, end).toString(), cookie, in newInstance()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | ConversationList.java | 909 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 957 Collection<Long> threadIds = (Collection<Long>)cookie; in onQueryComplete() 973 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument 974 super.onDeleteComplete(token, cookie, result); in onDeleteComplete() 977 long threadId = cookie != null ? (Long)cookie : -1; // default to all threads in onDeleteComplete()
|
D | ComposeMessageActivity.java | 4071 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 4077 long tid = (Long) cookie; in onQueryComplete() 4183 ArrayList<Long> threadIds = (ArrayList<Long>)cookie; in onQueryComplete() 4197 tid = (Long) cookie; in onQueryComplete() 4232 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument 4233 super.onDeleteComplete(token, cookie, result); in onDeleteComplete() 4239 if (cookie instanceof Boolean && ((Boolean)cookie).booleanValue()) { in onDeleteComplete()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | AttendeesView.java | 418 protected void onQueryComplete(int queryIndex, Object cookie, Cursor cursor) { in onQueryComplete() argument 419 if (cursor == null || cookie == null) { in onQueryComplete() 421 Log.d(TAG, "onQueryComplete: cursor=" + cursor + ", cookie=" + cookie); in onQueryComplete() 426 final AttendeeItem item = (AttendeeItem)cookie; in onQueryComplete()
|
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/ |
D | SelectSyncedCalendarsMultiAccountAdapter.java | 148 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 159 Cursor currentCursor = mChildrenCursors.get(cookie); in onQueryComplete() 173 mChildrenCursors.put((String)cookie, newCursor); in onQueryComplete()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SentenceLevelAdapter.java | 140 final int cookie = originalTextInfo.getCookie(); 150 subSequence.length(), cookie, subSequence.hashCode());
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertActivity.java | 154 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 169 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
|