Home
last modified time | relevance | path

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

1234

/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/modules/DnsResolver/
DResolverEventReporter.cpp134 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addListenerImplLocked() argument
135 ResolverEventReporter::getInstance().handleBinderDied(cookie); in addListenerImplLocked()
146 auto cookie = static_cast<void*>(listener.get()); // Used for dead binder identification. in addListenerImplLocked() local
147 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addListenerImplLocked()
185 deathRecipient = AIBinder_DeathRecipient_new([](void* cookie) { in addUnsolEventListenerImplLocked() argument
186 ResolverEventReporter::getInstance().handleUnsolEventBinderDied(cookie); in addUnsolEventListenerImplLocked()
197 auto cookie = static_cast<void*>(listener.get()); // Used for dead binder identification. in addUnsolEventListenerImplLocked() local
198 binder_status_t status = AIBinder_linkToDeath(binder, deathRecipient, cookie); in addUnsolEventListenerImplLocked()
/packages/services/Car/cpp/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/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/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/Car/cpp/computepipe/runner/include/
Dprebuilt_interface.h93 void (*streamCallback)(void* cookie, int stream_index, int64_t timestamp,
101 void (*streamCallback)(void* cookie, int stream_index, int64_t timestamp, const uint8_t* pixels,
106 void (*terminationCallback)(void* cookie, const unsigned char* termination_message,
112 PrebuiltComputepipeRunner_ErrorCode COMPUTEPIPE_RUNNER(StartGraphExecution)(void* cookie,
/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/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/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/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHal.java106 public void serviceDied(long cookie) { in serviceDied() argument
109 Log.w(TAG, "IServiceManager died: cookie=" + cookie); in serviceDied()
118 public void serviceDied(long cookie) { in serviceDied() argument
121 Log.w(TAG, "IHostapd/IHostapd died: cookie=" + cookie); in serviceDied()
122 hostapdServiceDiedHandler(cookie); in serviceDied()
278 private boolean linkToHostapdDeath(DeathRecipient deathRecipient, long cookie) { in linkToHostapdDeath() argument
282 if (!mIHostapd.linkToDeath(deathRecipient, cookie)) { in linkToHostapdDeath()
591 private void hostapdServiceDiedHandler(long cookie) { in hostapdServiceDiedHandler() argument
593 if (mDeathRecipientCookie != cookie) { in hostapdServiceDiedHandler()
653 linkToHostapdDeath((cookie) -> { in terminate() argument
[all …]
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DAttributionLabelLiveData.kt74 var cookie = 0 in loadDataAndPostValue() variable
78 cookie++ in loadDataAndPostValue()
80 pkgContext.assets.openXmlResourceParser(cookie, MANIFEST_FILE_NAME) in loadDataAndPostValue()
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DObservableAsyncQuery.java125 private void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
144 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
147 mQuery.onQueryComplete(token, cookie, cursor); in onQueryComplete()
/packages/modules/StatsD/statsd/src/subscriber/
DSubscriberReporter.cpp114 for (auto& cookie : subscription.broadcast_subscriber_details().cookie()) { in alertBroadcastSubscriber() local
115 cookies.push_back(cookie); in alertBroadcastSubscriber()
/packages/modules/StatsD/lib/libstatspull/
Dstats_pull_atom_callback.cpp106 StatsPullAtomCallbackInternal(const AStatsManager_PullAtomCallback callback, void* cookie, in StatsPullAtomCallbackInternal() argument
110 mCookie(cookie), in StatsPullAtomCallbackInternal()
231 AStatsManager_PullAtomCallback callback, void* cookie) { in AStatsManager_setPullAtomCallback() argument
242 SharedRefBase::make<StatsPullAtomCallbackInternal>(callback, cookie, coolDownMillis, in AStatsManager_setPullAtomCallback()
/packages/services/Car/cpp/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()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DBaseFdnContactScreen.java167 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument
174 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
181 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument

1234