/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 62 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 66 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded() argument 93 final Object cookie) { in startQuery() argument 96 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery() 101 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery() 106 || !startOtherDirectoriesQuery(token, context, info, listener, cookie)) { in startQuery() 108 listener.onQueryComplete(token, cookie, ci); in startQuery() 114 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery() 116 listener.onDataLoaded(token, cookie, ci); in startQuery() 119 startDefaultDirectoryQuery(token, context, info, contactsProviderQueryCompleteListener, cookie); in startQuery() [all …]
|
D | ContactsAsyncHelper.java | 51 void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie); in onImageLoadComplete() argument 55 void onImageLoaded(int token, Drawable photo, Bitmap photoIcon, Object cookie); in onImageLoaded() argument 87 msg.what, args.photo, args.photoIcon, args.cookie); 122 Object cookie) { in startObtainPhotoAsync() argument 135 args.cookie = cookie; in startObtainPhotoAsync() 159 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 213 args.listener.onImageLoaded(msg.what, args.photo, args.photoIcon, args.cookie); in handleMessage()
|
D | ContactInfoCache.java | 537 public void onImageLoaded(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoaded() argument 539 CallerInfoQueryToken myCookie = (CallerInfoQueryToken) cookie; in onImageLoaded() 545 loadImage(photo, photoIcon, cookie); in onImageLoaded() 548 private void loadImage(Drawable photo, Bitmap photoIcon, Object cookie) { in loadImage() argument 552 CallerInfoQueryToken myCookie = (CallerInfoQueryToken) cookie; in loadImage() 586 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoadComplete() argument 588 CallerInfoQueryToken myCookie = (CallerInfoQueryToken) cookie; in onImageLoadComplete() 791 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in onDataLoaded() argument 793 DialerCallCookieWrapper cw = (DialerCallCookieWrapper) cookie; in onDataLoaded() 805 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete() argument [all …]
|
/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 …]
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 60 if (cookie != null) { in onQueryComplete() 61 ((Listener) cookie).onQueryComplete(token, cookie, cursor); in onQueryComplete() 71 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 72 if (cookie != null) { in onInsertComplete() 73 ((Listener) cookie).onInsertComplete(token, cookie, uri); in onInsertComplete() 78 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 79 if (cookie != null) { in onUpdateComplete() 80 ((Listener) cookie).onUpdateComplete(token, cookie, result); in onUpdateComplete() 85 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument [all …]
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
D | NoNullCursorAsyncQueryHandlerTest.java | 71 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorIsNotNull() 91 final String cookie = "TEST COOKIE"; in testCursorContainsCorrectCookies() local 98 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorContainsCorrectCookies() 101 cookieHolder.obj = cookie; in testCursorContainsCorrectCookies() 105 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectCookies() 110 assertSame(cookie, cookieHolder.obj); in testCursorContainsCorrectCookies() 118 final String cookie = "TEST COOKIE"; in testCursorContainsCorrectColumns() local 125 protected void onNotNullableQueryComplete(int token, Object cookie, in testCursorContainsCorrectColumns() 132 handler.startQuery(1, cookie, URI, PROJECTION, null, null, null); in testCursorContainsCorrectColumns()
|
/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/Contacts/src/com/android/contacts/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/apps/Dialer/java/com/android/contacts/common/database/ |
D | NoNullCursorAsyncQueryHandler.java | 38 Object cookie, in startQuery() argument 44 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); in startQuery() 49 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 50 CookieWithProjection projectionCookie = (CookieWithProjection) cookie; in onQueryComplete() 60 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); in onNotNullableQueryComplete() argument 68 public CookieWithProjection(Object cookie, String[] projection) { in CookieWithProjection() argument 69 this.originalCookie = cookie; in CookieWithProjection()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ContactsAsyncHelper.java | 59 Object cookie); in onImageLoadComplete() argument 85 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 144 args.cookie); in handleMessage() 204 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument 219 args.cookie = cookie; in startObtainPhotoAsync()
|
D | CallerInfoLookupHelper.java | 142 return (token, cookie, ci) -> { in makeCallerInfoQueryListener() 144 Log.continueSession((Session) cookie, "CILH.oQC"); in makeCallerInfoQueryListener() 192 return (token, photo, photoIcon, cookie) -> { 194 Log.continueSession((Session) cookie, "CLIH.oILC");
|
/packages/apps/Dialer/java/com/android/dialer/app/ |
D | SpecialCharSequenceMgr.java | 237 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, Uri uri) { in handleAdnQuery() argument 238 if (handler == null || cookie == null || uri == null) { in handleAdnQuery() 244 cookie.progressDialog.show(); in handleAdnQuery() 249 cookie, in handleAdnQuery() 346 Context context, QueryHandler queryHandler, SimContactQueryCookie cookie) { in HandleAdnEntryAccountSelectedCallback() argument 349 mCookie = cookie; in HandleAdnEntryAccountSelectedCallback() 448 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { in onNotNullableQueryComplete() argument 455 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; in onNotNullableQueryComplete()
|
/packages/experimental/InstantCookieApp/src/test/instant/cookie/ |
D | CookieTest.java | 17 package test.instant.cookie; 44 byte[] cookie = pm.getInstantAppCookie(); in testCookieUpdateAndRetrieval() 45 assertTrue(cookie != null && cookie.length == 0); in testCookieUpdateAndRetrieval()
|
/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 | 455 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 459 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 466 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 473 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
/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 | ADNList.java | 210 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 221 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 227 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 233 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
D | PhoneUtils.java | 1288 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument 1302 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo() 1306 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument 1307 return startGetCallerInfo(context, c, listener, cookie, null); in startGetCallerInfo() 1315 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie, in startGetCallerInfo() argument 1370 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1443 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1470 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1519 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo() 1574 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { [all …]
|
/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/services/Telecomm/src/com/android/server/telecom/components/ |
D | TelecomService.java | 103 Object cookie) { in initializeTelecomSystem() 106 Log.pii(number), cookie); in initializeTelecomSystem() 108 token, context, number, listener, cookie); in initializeTelecomSystem()
|
/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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoAsyncQueryFactoryFixture.java | 55 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { 58 r.mCookie = cookie;
|
/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 | 142 final int cookie = originalTextInfo.getCookie(); 151 wordEnd, cookie, originalText.subSequence(wordStart, wordEnd).hashCode());
|