OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:VCardService
(Results
1 - 9
of
9
) sorted by null
/packages/apps/Contacts/src/com/android/contacts/vcard/
CancelActivity.java
44
* Must be {@link
VCardService
#TYPE_IMPORT} or {@link
VCardService
#TYPE_EXPORT}.
52
VCardService
.class), CancelActivity.this, Context.BIND_AUTO_CREATE);
87
if (mType ==
VCardService
.TYPE_IMPORT) {
114
VCardService
service = ((
VCardService
.MyBinder) binder).getService();
ExportVCardActivity.java
43
* Shows a dialog confirming the export and asks actual vCard export to {@link
VCardService
}
45
* This Activity first connects to
VCardService
and ask an available file name and shows it to
52
protected static final boolean DEBUG =
VCardService
.DEBUG;
56
* True when this Activity is connected to {@link
VCardService
}.
64
*
VCardService
. False when all necessary procedures are done (including sending export request)
69
protected
VCardService
mService;
95
Intent intent = new Intent(this,
VCardService
.class);
121
intent.setType(
VCardService
.X_VCARD_MIME_TYPE);
158
mService = ((
VCardService
.MyBinder) binder).getService();
ImportProcessor.java
45
* {@link
VCardService
} will create another object when there is another import request.
49
private static final boolean DEBUG =
VCardService
.DEBUG;
51
private final
VCardService
mService;
68
public ImportProcessor(final
VCardService
service, final VCardImportExportListener listener,
102
return
VCardService
.TYPE_IMPORT;
ExportProcessor.java
47
* {@link
VCardService
} will create another object when there is another export request.
51
private static final boolean DEBUG =
VCardService
.DEBUG;
53
private final
VCardService
mService;
75
public ExportProcessor(
VCardService
service, ExportRequest exportRequest, int jobId,
88
return
VCardService
.TYPE_EXPORT;
270
VCardService
.TYPE_EXPORT, description, tickerText, mJobId, displayName,
NfcImportVCardActivity.java
74
/* package */ class ImportTask extends AsyncTask<
VCardService
, Void, ImportRequest> {
76
public ImportRequest doInBackground(
VCardService
... services) {
160
VCardService
service = ((
VCardService
.MyBinder) binder).getService();
227
Intent intent = new Intent(this,
VCardService
.class);
NotificationImportExportListener.java
93
return constructProgressNotification(mContext,
VCardService
.TYPE_IMPORT, message, message,
114
VCardService
.TYPE_IMPORT, description, tickerText, jobId, request.displayName,
167
return constructProgressNotification(mContext,
VCardService
.TYPE_EXPORT, message, message,
179
final String description = type ==
VCardService
.TYPE_IMPORT ?
229
.setSmallIcon(type ==
VCardService
.TYPE_IMPORT
ShareVCardActivity.java
34
* This activity connects to
VCardService
, creates a .vcf file in cache directory and send export
46
mService = ((
VCardService
.MyBinder) binder).getService();
72
* We cannot rely on
VCardService
to delete export files because it will delete export files
VCardService.java
46
public class
VCardService
extends Service {
47
private final static String LOG_TAG = "
VCardService
";
67
mConnection = new MediaScannerConnection(
VCardService
.this, this);
113
public
VCardService
getService() {
114
return
VCardService
.this;
143
if (DEBUG) Log.d(LOG_TAG, "
VCardService
is being destroyed.");
ImportVCardActivity.java
147
private
VCardService
mService;
156
mService = ((
VCardService
.MyBinder) binder).getService();
158
String.format("Connected to
VCardService
. Kick a vCard cache thread (uri: %s)",
165
Log.i(LOG_TAG, "Disconnected from
VCardService
");
171
* {@link
VCardService
}.
175
* not what this Activity launched (like {@link
VCardService
}).
502
// Note: caches are removed by
VCardService
.
504
localFilename =
VCardService
.CACHE_FILE_PREFIX + cache_index + ".vcf";
736
intent.setType(
VCardService
.X_VCARD_MIME_TYPE);
[
all
...]
Completed in 78 milliseconds