Home
last modified time | relevance | path

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

123

/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()
DAsyncQueryServiceHelper.java63 public Object cookie; field in AsyncQueryServiceHelper.OperationInfo
132 builder.append(cookie); in toString()
/packages/apps/InCallUI/src/com/android/incallui/
DCallerInfoAsyncQuery.java68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument
78 public Object cookie; field in CallerInfoAsyncQuery.CookieWrapper
99 public void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument
109 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); in startQuery()
147 CookieWrapper cw = (CookieWrapper) args.cookie; in handleMessage()
217 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
222 CookieWrapper cw = (CookieWrapper) cookie; in onQueryComplete()
310 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete()
339 OnQueryCompleteListener listener, Object cookie) { in startQuery() argument
342 Log.d(LOG_TAG, "- cookie: " + cookie); in startQuery()
[all …]
DContactsAsyncHelper.java57 Object cookie); in onImageLoadComplete() argument
74 args.cookie);
98 public Object cookie; field in ContactsAsyncHelper.WorkerArgs
225 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument
238 args.cookie = cookie; in startObtainPhotoAsync()
DContactInfoCache.java98 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { in onQueryComplete() argument
99 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true); in onQueryComplete()
268 public void onImageLoadComplete(int token, Drawable photo, Bitmap photoIcon, Object cookie) { in onImageLoadComplete() argument
273 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/services/Telecomm/src/com/android/server/telecom/
DContactsAsyncHelper.java57 Object cookie); in onImageLoadComplete() argument
74 args.cookie);
98 public Object cookie; field in ContactsAsyncHelper.WorkerArgs
216 OnImageLoadCompleteListener listener, Object cookie) { in startObtainPhotoAsync() argument
231 args.cookie = cookie; in startObtainPhotoAsync()
DCall.java154 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) {
155 if (cookie != null) {
156 ((Call) cookie).setCallerInfo(callerInfo, token);
166 int token, Drawable photo, Bitmap photoIcon, Object cookie) {
167 if (cookie != null) {
168 ((Call) cookie).setPhoto(photo, photoIcon, token);
/packages/apps/Dialer/src/com/android/dialer/
DSpecialCharSequenceMgr.java246 private static void handleAdnQuery(QueryHandler handler, SimContactQueryCookie cookie, in handleAdnQuery() argument
248 if (handler == null || cookie == null || uri == null) { in handleAdnQuery()
254 cookie.progressDialog.show(); in handleAdnQuery()
257 handler.startQuery(ADN_QUERY_TOKEN, cookie, uri, new String[]{ADN_PHONE_NUMBER_COLUMN_NAME}, in handleAdnQuery()
424 protected void onNotNullableQueryComplete(int token, Object cookie, Cursor c) { in onNotNullableQueryComplete() argument
431 SimContactQueryCookie sc = (SimContactQueryCookie) cookie; in onNotNullableQueryComplete()
/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/
DPhoneUtils.java1314 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument
1328 return startGetCallerInfo(context, conn, listener, cookie); in startGetCallerInfo()
1332 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie) { in startGetCallerInfo() argument
1333 return startGetCallerInfo(context, c, listener, cookie, null); in startGetCallerInfo()
1341 CallerInfoAsyncQuery.OnQueryCompleteListener listener, Object cookie, in startGetCallerInfo() argument
1396 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1469 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1496 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1545 cit.asyncQuery.addQueryListener(QUERY_TOKEN, listener, cookie); in startGetCallerInfo()
1600 public void onQueryComplete(int token, Object cookie, CallerInfo ci) {
[all …]
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
/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/apps/Mms/src/com/android/mms/ui/
DConversationList.java909 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
957 Collection<Long> threadIds = (Collection<Long>)cookie; in onQueryComplete()
973 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
974 super.onDeleteComplete(token, cookie, result); in onDeleteComplete()
977 long threadId = cookie != null ? (Long)cookie : -1; // default to all threads in onDeleteComplete()
DComposeMessageActivity.java4071 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
4077 long tid = (Long) cookie; in onQueryComplete()
4183 ArrayList<Long> threadIds = (ArrayList<Long>)cookie; in onQueryComplete()
4197 tid = (Long) cookie; in onQueryComplete()
4232 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument
4233 super.onDeleteComplete(token, cookie, result); in onDeleteComplete()
4239 if (cookie instanceof Boolean && ((Boolean)cookie).booleanValue()) { in onDeleteComplete()
/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/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.java140 final int cookie = originalTextInfo.getCookie();
150 subSequence.length(), cookie, subSequence.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