OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:VCardService
(Results
1 - 8
of
8
) 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);
88
if (mType ==
VCardService
.TYPE_IMPORT) {
117
VCardService
service = ((
VCardService
.MyBinder) binder).getService();
ExportVCardActivity.java
39
* Shows a dialog confirming the export and asks actual vCard export to {@link
VCardService
}
41
* This Activity first connects to
VCardService
and ask an available file name and shows it to
48
private static final boolean DEBUG =
VCardService
.DEBUG;
52
* True when this Activity is connected to {@link
VCardService
}.
60
*
VCardService
. False when all necessary procedures are done (including sending export request)
65
private
VCardService
mService;
85
Intent intent = new Intent(this,
VCardService
.class);
124
mService = ((
VCardService
.MyBinder) binder).getService();
129
intent.setType(
VCardService
.X_VCARD_MIME_TYPE);
NfcImportVCardActivity.java
63
/* package */ class ImportTask extends AsyncTask<
VCardService
, Void, ImportRequest> {
65
public ImportRequest doInBackground(
VCardService
... services) {
141
VCardService
service = ((
VCardService
.MyBinder) binder).getService();
208
Intent intent = new Intent(this,
VCardService
.class);
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
43
* {@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;
241
VCardService
.TYPE_EXPORT, description, tickerText, mJobId, displayName,
NotificationImportExportListener.java
91
VCardService
.TYPE_IMPORT, message, message, jobId, displayName, -1, 0);
112
mContext.getApplicationContext(),
VCardService
.TYPE_IMPORT, description, tickerText,
169
VCardService
.TYPE_EXPORT, message, message, jobId, displayName, -1, 0);
181
final String description = type ==
VCardService
.TYPE_IMPORT ?
229
.setSmallIcon(type ==
VCardService
.TYPE_IMPORT
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
138
private
VCardService
mService;
147
mService = ((
VCardService
.MyBinder) binder).getService();
149
String.format("Connected to
VCardService
. Kick a vCard cache thread (uri: %s)",
156
Log.i(LOG_TAG, "Disconnected from
VCardService
");
162
* {@link
VCardService
}.
166
* not what this Activity launched (like {@link
VCardService
}).
236
// Note: caches are removed by
VCardService
.
238
filename =
VCardService
.CACHE_FILE_PREFIX + cache_index + ".vcf";
598
intent.setType(
VCardService
.X_VCARD_MIME_TYPE);
643
Log.i(LOG_TAG, "Bind to
VCardService
.")
[
all
...]
Completed in 3119 milliseconds