/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 59 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 63 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded() argument 90 final Object cookie) { in startQuery() argument 93 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery() 98 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery() 103 || !startOtherDirectoriesQuery(token, context, info, listener, cookie)) { in startQuery() 105 listener.onQueryComplete(token, cookie, ci); in startQuery() 111 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery() 113 listener.onDataLoaded(token, cookie, ci); in startQuery() 116 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 78 Object cookie) { in startObtainPhotoAsync() argument 92 args.cookie = cookie; in startObtainPhotoAsync() 111 args.token, args.photo, args.photoIcon, args.cookie); in startObtainPhotoAsync() 125 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 163 args.listener.onImageLoaded(args.token, args.photo, args.photoIcon, args.cookie); in doInBackground()
|
D | ContactInfoCache.java | 553 public void onImageLoaded(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoaded() argument 555 CallerInfoQueryToken myCookie = (CallerInfoQueryToken) cookie; in onImageLoaded() 561 loadImage(photo, photoIcon, cookie); in onImageLoaded() 564 private void loadImage(Drawable photo, Bitmap photoIcon, Object cookie) { in loadImage() argument 568 CallerInfoQueryToken myCookie = (CallerInfoQueryToken) cookie; in loadImage() 602 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoadComplete() argument 604 CallerInfoQueryToken myCookie = (CallerInfoQueryToken) cookie; in onImageLoadComplete() 800 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in onDataLoaded() argument 802 DialerCallCookieWrapper cw = (DialerCallCookieWrapper) cookie; in onDataLoaded() 814 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete() argument [all …]
|
D | CallerInfoUtils.java | 54 Object cookie, in getCallerInfoForCall() argument 68 CallerInfoAsyncQuery.startQuery(QUERY_TOKEN, context, info, listener, cookie); in getCallerInfoForCall()
|
/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/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 | 43 Object cookie, in startQuery() argument 54 final CookieWithProjection projectionCookie = new CookieWithProjection(cookie, projection); in startQuery() 59 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 60 CookieWithProjection projectionCookie = (CookieWithProjection) cookie; in onQueryComplete() 75 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); in onNotNullableQueryComplete() argument 99 public CookieWithProjection(Object cookie, String[] projection) { in CookieWithProjection() argument 100 this.originalCookie = cookie; in CookieWithProjection()
|
/packages/apps/Dialer/java/com/android/dialer/dialpadview/ |
D | SpecialCharSequenceMgr.java | 255 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, Uri uri) { in handleAdnQuery() argument 256 if (handler == null || cookie == null || uri == null) { in handleAdnQuery() 262 cookie.progressDialog.show(); in handleAdnQuery() 267 cookie, in handleAdnQuery() 494 private final SimContactQueryCookie cookie; field in SpecialCharSequenceMgr.HandleAdnEntryAccountSelectedCallback 497 Context context, QueryHandler queryHandler, SimContactQueryCookie cookie) { in HandleAdnEntryAccountSelectedCallback() argument 500 this.cookie = cookie; in HandleAdnEntryAccountSelectedCallback() 507 handleAdnQuery(queryHandler, cookie, uri); in onPhoneAccountSelected() 599 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { in onNotNullableQueryComplete() argument 606 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; in onNotNullableQueryComplete()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ContactsAsyncHelper.java | 65 Object cookie); in onImageLoadComplete() argument 96 public Object cookie; field in ContactsAsyncHelper.WorkerArgs 155 args.cookie); in handleMessage() 215 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument 230 args.cookie = cookie; in startObtainPhotoAsync()
|
D | CallerInfoLookupHelper.java | 183 return (token, cookie, ci) -> { in makeCallerInfoQueryListener() 185 Log.continueSession((Session) cookie, "CILH.oQC"); in makeCallerInfoQueryListener() 233 return (token, photo, photoIcon, cookie) -> { 235 Log.continueSession((Session) cookie, "CLIH.oILC");
|
D | CallerInfoAsyncQueryFactory.java | 24 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie); in startQuery() argument
|
/packages/modules/DnsResolver/ |
D | ResolverEventReporter.cpp | 107 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addListenerImplLocked() argument 108 ResolverEventReporter::getInstance().handleBinderDied(cookie); in addListenerImplLocked() 119 auto cookie = static_cast<void*>(listener.get()); // Used for dead binder identification. in addListenerImplLocked() local 120 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addListenerImplLocked()
|
/packages/services/Telephony/src/com/android/phone/ |
D | ADNList.java | 208 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 219 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 225 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 231 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | DeleteFdnContactScreen.java | 176 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 180 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 184 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 188 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
|
D | EditFdnContactScreen.java | 495 protected void onQueryComplete(int token, Object cookie, Cursor c) { in onQueryComplete() argument 499 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 506 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 513 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/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallerInfoAsyncQueryFactoryFixture.java | 57 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { 60 r.mCookie = cookie; 64 listener.onQueryComplete(token, cookie, mStoredResponse);
|
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | ObservableAsyncQuery.java | 115 private void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 146 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 149 mQuery.onQueryComplete(token, cookie, cursor); in onQueryComplete()
|
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
D | TelecomService.java | 113 Object cookie) { in initializeTelecomSystem() 116 Log.pii(number), cookie); in initializeTelecomSystem() 118 token, context, number, listener, cookie); in initializeTelecomSystem()
|
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/ |
D | TcpSocketTracker.java | 240 final long cookie = bytes.getLong(); in pollSocketsInfo() local 248 calculateLatestPacketsStat(info, mSocketInfos.get(cookie))); in pollSocketsInfo() 249 mSocketInfos.put(cookie, info); in pollSocketsInfo()
|
/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());
|
/packages/apps/Calendar/src/com/android/calendar/ |
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()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapRilReceiver.java | 40 public void serviceDied(long cookie) { in serviceDied() argument 46 mSapServerMsgHandler.obtainMessage(SapServer.SAP_PROXY_DEAD, cookie), in serviceDied()
|