Searched refs:VCardService (Results 1 - 8 of 8) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DCancelActivity.java44 * Must be {@link VCardService#TYPE_IMPORT} or {@link VCardService#TYPE_EXPORT}.
52 VCardService.class), CancelActivity.this, Context.BIND_AUTO_CREATE);
88 if (mType == VCardService.TYPE_IMPORT) {
117 VCardService service = ((VCardService.MyBinder) binder).getService();
H A DNfcImportVCardActivity.java61 /* package */ class ImportTask extends AsyncTask<VCardService, Void, ImportRequest> {
63 public ImportRequest doInBackground(VCardService... services) {
139 VCardService service = ((VCardService.MyBinder) binder).getService();
202 Intent intent = new Intent(this, VCardService.class);
H A DImportProcessor.java44 * {@link VCardService} will create another object when there is another import request.
48 private static final boolean DEBUG = VCardService.DEBUG;
50 private final VCardService mService;
67 public ImportProcessor(final VCardService service, final VCardImportExportListener listener,
97 return VCardService.TYPE_IMPORT;
H A DExportProcessor.java43 * {@link VCardService} will create another object when there is another export request.
47 private static final boolean DEBUG = VCardService.DEBUG;
49 private final VCardService mService;
60 public ExportProcessor(VCardService service, ExportRequest exportRequest, int jobId,
73 return VCardService.TYPE_EXPORT;
242 VCardService.TYPE_EXPORT, description, tickerText, mJobId, displayName,
H A DExportVCardActivity.java41 * Shows a dialog confirming the export and asks actual vCard export to {@link VCardService}
43 * This Activity first connects to VCardService and ask an available file name and shows it to
50 private static final boolean DEBUG = VCardService.DEBUG;
53 * Handler used when some Message has come from {@link VCardService}.
70 case VCardService.MSG_SET_AVAILABLE_EXPORT_DESTINATION:
99 * True when this Activity is connected to {@link VCardService}.
107 * VCardService. False when all necessary procedures are done (including sending export request)
112 private VCardService mService;
170 Intent intent = new Intent(this, VCardService.class);
192 mService = ((VCardService
[all...]
H A DNotificationImportExportListener.java88 VCardService.TYPE_IMPORT, message, message, jobId, displayName, -1, 0);
109 mContext.getApplicationContext(), VCardService.TYPE_IMPORT, description, tickerText,
162 VCardService.TYPE_EXPORT, message, message, jobId, displayName, -1, 0);
174 final String description = type == VCardService.TYPE_IMPORT ?
221 .setSmallIcon(type == VCardService.TYPE_IMPORT
H A DVCardService.java54 public class VCardService extends Service { class in inherits:Service
55 private final static String LOG_TAG = "VCardService";
80 mConnection = new MediaScannerConnection(VCardService.this, this);
138 public VCardService getService() {
139 return VCardService.this;
194 if (DEBUG) Log.d(LOG_TAG, "VCardService is being destroyed.");
312 VCardService.MSG_SET_AVAILABLE_EXPORT_DESTINATION, 0, 0, path);
315 VCardService.MSG_SET_AVAILABLE_EXPORT_DESTINATION,
H A DImportVCardActivity.java187 private VCardService mService;
196 mService = ((VCardService.MyBinder) binder).getService();
198 String.format("Connected to VCardService. Kick a vCard cache thread (uri: %s)",
205 Log.i(LOG_TAG, "Disconnected from VCardService");
211 * {@link VCardService}.
215 * not what this Activity launched (like {@link VCardService}).
285 // Note: caches are removed by VCardService.
287 filename = VCardService.CACHE_FILE_PREFIX + cache_index + ".vcf";
982 Log.i(LOG_TAG, "Bind to VCardService.");
984 Intent intent = new Intent(this, VCardService
[all...]

Completed in 53 milliseconds