Lines Matching refs:token
69 public int token;
103 builder.append(", token=");
104 builder.append(token);
117 * returns a practically unique token for db operations
138 * @param token The token representing the operation to be canceled. If
139 * multiple operations have the same token they will all be
142 public final int cancelOperation(int token) {
143 return AsyncQueryServiceHelper.cancelOperation(token);
150 * @param token A token passed into {@link #onQueryComplete} to identify the
169 public void startQuery(int token, Object cookie, Uri uri, String[] projection,
176 info.token = token;
191 * @param token A token passed into {@link #onInsertComplete} to identify
201 public void startInsert(int token, Object cookie, Uri uri, ContentValues initialValues,
208 info.token = token;
221 * @param token A token passed into {@link #onUpdateComplete} to identify
237 public void startUpdate(int token, Object cookie, Uri uri, ContentValues values,
244 info.token = token;
259 * @param token A token passed into {@link #onDeleteComplete} to identify
274 public void startDelete(int token, Object cookie, Uri uri, String selection,
281 info.token = token;
295 * @param token A token passed into {@link #onDeleteComplete} to identify
305 public void startBatch(int token, Object cookie, String authority,
312 info.token = token;
324 * @param token the token to identify the query, passed in from
329 protected void onQueryComplete(int token, Object cookie, Cursor cursor) {
338 * @param token the token to identify the query, passed in from
344 protected void onInsertComplete(int token, Object cookie, Uri uri) {
353 * @param token the token to identify the query, passed in from
359 protected void onUpdateComplete(int token, Object cookie, int result) {
368 * @param token the token to identify the query, passed in from
374 protected void onDeleteComplete(int token, Object cookie, int result) {
384 * @param token the token to identify the query, passed in from
391 protected void onBatchComplete(int token, Object cookie, ContentProviderResult[] results) {
401 int token = msg.what;
405 Log.d(TAG, "AsyncQueryService.handleMessage: token=" + token + ", op=" + op
409 // pass token back to caller on each callback.
412 onQueryComplete(token, info.cookie, (Cursor) info.result);
416 onInsertComplete(token, info.cookie, (Uri) info.result);
420 onUpdateComplete(token, info.cookie, (Integer) info.result);
424 onDeleteComplete(token, info.cookie, (Integer) info.result);
428 onBatchComplete(token, info.cookie, (ContentProviderResult[]) info.result);