Home
last modified time | relevance | path

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

123

/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java59 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 …]
DContactsAsyncHelper.java51 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()
DContactInfoCache.java553 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 …]
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java58 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/
DNoNullCursorAsyncQueryHandlerTest.java71 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/
DNoNullCursorAsyncQueryHandler.java36 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/
DNoNullCursorAsyncQueryHandler.java43 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/services/Car/computepipe/runner/graph/
DLocalPrebuiltGraph.cpp80 void (*)(void* cookie, int, int64_t, const uint8_t* pixels, int width, int height, in handleConfigPhase()
91 void (*)(void* cookie, int, int64_t, const unsigned char*, in handleConfigPhase()
100 void (*)(void* cookie, const unsigned char*, in handleConfigPhase()
367 void LocalPrebuiltGraph::OutputStreamCallbackFunction(void* cookie, int streamIndex, in OutputStreamCallbackFunction() argument
370 LocalPrebuiltGraph* graph = reinterpret_cast<LocalPrebuiltGraph*>(cookie); in OutputStreamCallbackFunction()
379 void LocalPrebuiltGraph::OutputPixelStreamCallbackFunction(void* cookie, int streamIndex, in OutputPixelStreamCallbackFunction() argument
383 LocalPrebuiltGraph* graph = reinterpret_cast<LocalPrebuiltGraph*>(cookie); in OutputPixelStreamCallbackFunction()
393 void LocalPrebuiltGraph::GraphTerminationCallbackFunction(void* cookie, in GraphTerminationCallbackFunction() argument
396 LocalPrebuiltGraph* graph = reinterpret_cast<LocalPrebuiltGraph*>(cookie); in GraphTerminationCallbackFunction()
DLocalPrebuiltGraph.h104 static void OutputPixelStreamCallbackFunction(void* cookie, int streamIndex, int64_t timestamp,
107 static void OutputStreamCallbackFunction(void* cookie, int streamIndex, int64_t timestamp,
109 static void GraphTerminationCallbackFunction(void* cookie,
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DSpecialCharSequenceMgr.java255 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/
DContactsAsyncHelper.java65 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()
DCallerInfoLookupHelper.java183 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");
/packages/services/Car/computepipe/runner/include/
Dprebuilt_interface.h90 void (*streamCallback)(void* cookie, int stream_index, int64_t timestamp,
98 void (*streamCallback)(void* cookie, int stream_index, int64_t timestamp, const uint8_t* pixels,
103 void (*terminationCallback)(void* cookie, const unsigned char* termination_message,
109 PrebuiltComputepipeRunner_ErrorCode COMPUTEPIPE_RUNNER(StartGraphExecution)(void* cookie,
/packages/modules/DnsResolver/
DResolverEventReporter.cpp107 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/
DADNList.java208 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/
DDeleteFdnContactScreen.java175 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
DEditFdnContactScreen.java495 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/
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/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DTextInfoCompatUtils.java42 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/
DCallerInfoAsyncQueryFactoryFixture.java57 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/
DObservableAsyncQuery.java116 private void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
147 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
150 mQuery.onQueryComplete(token, cookie, cursor); in onQueryComplete()
/packages/services/Car/computepipe/runner/client_interface/
DAidlClient.cpp42 void deathNotifier(void* cookie) { in deathNotifier() argument
43 CHECK(cookie); in deathNotifier()
44 AidlClient* runnerIface = static_cast<AidlClient*>(cookie); in deathNotifier()
DAidlClientImpl.cpp61 void deathNotifier(void* cookie) { in deathNotifier() argument
62 CHECK(cookie); in deathNotifier()
63 AidlClientImpl* iface = static_cast<AidlClientImpl*>(cookie); in deathNotifier()
/packages/services/Car/computepipe/router/1.0/
DRemoteState.cpp43 void RemoteMonitor::BinderDiedCallback(void* cookie) { in BinderDiedCallback() argument
44 auto monitor = static_cast<RemoteMonitor*>(cookie); in BinderDiedCallback()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DTelecomService.java113 Object cookie) { in initializeTelecomSystem()
116 Log.pii(number), cookie); in initializeTelecomSystem()
118 token, context, number, listener, cookie); in initializeTelecomSystem()

123