Home
last modified time | relevance | path

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

123

/packages/apps/Dialer/src/com/android/dialer/database/
DFilteredNumberAsyncQueryHandler.java47 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
49 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument
51 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument
53 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
91 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
92 if (cookie != null) { in onQueryComplete()
93 ((Listener) cookie).onQueryComplete(token, cookie, cursor); in onQueryComplete()
98 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument
99 if (cookie != null) { in onInsertComplete()
100 ((Listener) cookie).onInsertComplete(token, cookie, uri); in onInsertComplete()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DAsyncQueryService.java169 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 …]
DCalendarUtils.java94 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
126 SharedPreferences prefs = getSharedPreferences((Context)cookie, mPrefsName); in onQueryComplete()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DCallerInfoAsyncQuery.java82 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument
92 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper
112 public void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument
122 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); in startQuery()
160 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage()
229 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
234 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete()
322 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete()
340 final OnQueryCompleteListener listener, final Object cookie) { in startQuery() argument
343 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery()
[all …]
DContactsAsyncHelper.java59 Object cookie); in onImageLoadComplete() argument
76 args.cookie);
100 public Object cookie; field in ContactsAsyncHelper.WorkerArgs
227 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument
240 args.cookie = cookie; in startObtainPhotoAsync()
DContactInfoCache.java159 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete() argument
160 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true); in onQueryComplete()
365 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoadComplete() argument
370 final String callId = (String) cookie; in onImageLoadComplete()
/packages/apps/Calendar/tests/src/com/android/calendar/
DAsyncQueryServiceTest.java114 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/
DNoNullCursorAsyncQueryHandlerTest.java69 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/
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/src/com/android/dialer/
DSpecialCharSequenceMgr.java100 QueryHandler queryHandler, SimContactQueryCookie cookie) { in HandleAdnEntryAccountSelectedCallback() argument
103 mCookie = cookie; in HandleAdnEntryAccountSelectedCallback()
277 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, in handleAdnQuery() argument
279 if (handler == null || cookie == null || uri == null) { in handleAdnQuery()
285 cookie.progressDialog.show(); in handleAdnQuery()
288 handler.startQuery(ADN_QUERY_TOKEN, cookie, uri, new String[]{ADN_PHONE_NUMBER_COLUMN_NAME}, in handleAdnQuery()
455 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { in onNotNullableQueryComplete() argument
462 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; in onNotNullableQueryComplete()
/packages/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java58 Object cookie); in onImageLoadComplete() argument
84 public Object cookie; field in ContactsAsyncHelper.WorkerArgs
143 args.cookie); in handleMessage()
203 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument
218 args.cookie = cookie; in startObtainPhotoAsync()
DCallerInfoLookupHelper.java135 return (token, cookie, ci) -> { in makeCallerInfoQueryListener()
137 Log.continueSession((Session) cookie, "CILH.oQC"); in makeCallerInfoQueryListener()
181 return (token, photo, photoIcon, cookie) -> {
183 Log.continueSession((Session) cookie, "CLIH.oILC");
/packages/experimental/LoaderApp/src/com/android/loaderapp/
DContactHeaderWidget.java233 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/
DADNList.java191 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
DPhoneUtils.java1288 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/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.java448 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/
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/src/com/android/server/telecom/components/
DTelecomService.java91 Object cookie) { in initializeTelecomSystem()
94 Log.pii(number), cookie); in initializeTelecomSystem()
96 token, context, number, listener, cookie); in initializeTelecomSystem()
/packages/apps/Calendar/src/com/android/calendar/event/
DAttendeesView.java418 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/
DCallerInfoAsyncQueryFactoryFixture.java55 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) {
58 r.mCookie = cookie;
/packages/apps/Calendar/src/com/android/calendar/selectcalendars/
DSelectSyncedCalendarsMultiAccountAdapter.java148 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/
DSentenceLevelAdapter.java142 final int cookie = originalTextInfo.getCookie();
151 wordEnd, cookie, originalText.subSequence(wordStart, wordEnd).hashCode());
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlertActivity.java154 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

123