1 /* 2 * Copyright (C) 2010 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.calendar; 18 19 import android.app.IntentService; 20 import android.content.ContentProviderOperation; 21 import android.content.ContentResolver; 22 import android.content.ContentValues; 23 import android.content.Context; 24 import android.content.Intent; 25 import android.content.OperationApplicationException; 26 import android.database.Cursor; 27 import android.net.Uri; 28 import android.os.Handler; 29 import android.os.Message; 30 import android.os.RemoteException; 31 import android.os.SystemClock; 32 import android.util.Log; 33 34 import java.util.ArrayList; 35 import java.util.Arrays; 36 import java.util.Iterator; 37 import java.util.PriorityQueue; 38 import java.util.concurrent.Delayed; 39 import java.util.concurrent.TimeUnit; 40 41 public class AsyncQueryServiceHelper extends IntentService { 42 private static final String TAG = "AsyncQuery"; 43 AsyncQueryServiceHelper(String name)44 public AsyncQueryServiceHelper(String name) { 45 super(name); 46 } 47 AsyncQueryServiceHelper()48 public AsyncQueryServiceHelper() { 49 super("AsyncQueryServiceHelper"); 50 } 51 52 @Override onHandleIntent(Intent intent)53 protected void onHandleIntent(Intent intent) { 54 } 55 56 @Override onStart(Intent intent, int startId)57 public void onStart(Intent intent, int startId) { 58 super.onStart(intent, startId); 59 } 60 61 @Override onCreate()62 public void onCreate() { 63 super.onCreate(); 64 } 65 66 @Override onDestroy()67 public void onDestroy() { 68 super.onDestroy(); 69 } 70 } 71