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/ContactsCommon/src/com/android/contacts/common/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
44
* {@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;
ExportProcessor.java
46
* {@link
VCardService
} will create another object when there is another export request.
50
private static final boolean DEBUG =
VCardService
.DEBUG;
52
private final
VCardService
mService;
74
public ExportProcessor(
VCardService
service, ExportRequest exportRequest, int jobId,
87
return
VCardService
.TYPE_EXPORT;
272
VCardService
.TYPE_EXPORT, description, tickerText, mJobId, displayName,
NfcImportVCardActivity.java
73
/* package */ class ImportTask extends AsyncTask<
VCardService
, Void, ImportRequest> {
75
public ImportRequest doInBackground(
VCardService
... services) {
159
VCardService
service = ((
VCardService
.MyBinder) binder).getService();
226
Intent intent = new Intent(this,
VCardService
.class);
NotificationImportExportListener.java
92
VCardService
.TYPE_IMPORT, message, message, jobId, displayName, -1, 0);
113
mContext.getApplicationContext(),
VCardService
.TYPE_IMPORT, description, tickerText,
168
VCardService
.TYPE_EXPORT, message, message, jobId, displayName, -1, 0);
180
final String description = type ==
VCardService
.TYPE_IMPORT ?
228
.setSmallIcon(type ==
VCardService
.TYPE_IMPORT
ShareVCardActivity.java
33
* This activity connects to
VCardService
, creates a .vcf file in cache directory and send export
45
mService = ((
VCardService
.MyBinder) binder).getService();
71
* We cannot rely on
VCardService
to delete export files because it will delete export files
VCardService.java
55
public class
VCardService
extends Service {
56
private final static String LOG_TAG = "
VCardService
";
76
mConnection = new MediaScannerConnection(
VCardService
.this, this);
122
public
VCardService
getService() {
123
return
VCardService
.this;
152
if (DEBUG) Log.d(LOG_TAG, "
VCardService
is being destroyed.");
ImportVCardActivity.java
146
private
VCardService
mService;
155
mService = ((
VCardService
.MyBinder) binder).getService();
157
String.format("Connected to
VCardService
. Kick a vCard cache thread (uri: %s)",
164
Log.i(LOG_TAG, "Disconnected from
VCardService
");
170
* {@link
VCardService
}.
174
* not what this Activity launched (like {@link
VCardService
}).
491
// Note: caches are removed by
VCardService
.
493
localFilename =
VCardService
.CACHE_FILE_PREFIX + cache_index + ".vcf";
694
intent.setType(
VCardService
.X_VCARD_MIME_TYPE);
735
Log.i(LOG_TAG, "Bind to
VCardService
.")
[
all
...]
Completed in 1076 milliseconds