OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RawContact
(Results
1 - 4
of
4
) sorted by null
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java
20
import com.example.android.samplesync.client.
RawContact
;
106
List<
RawContact
> rawContacts, long groupId, long lastSyncMarker) {
111
final List<
RawContact
> newUsers = new ArrayList<
RawContact
>();
114
for (final
RawContact
rawContact
: rawContacts) {
121
if (
rawContact
.getSyncState() > currentSyncMarker) {
122
currentSyncMarker =
rawContact
.getSyncState();
132
if (
rawContact
.getRawContactId() > 0) {
133
rawContactId =
rawContact
.getRawContactId()
[
all
...]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
RawContact.java
27
* Represents a low-level contacts
RawContact
- or at least
28
* the fields of the
RawContact
that we care about.
30
final public class
RawContact
{
33
private static final String TAG = "
RawContact
";
136
* Convert the
RawContact
object into a JSON string. From the
172
Log.i(TAG, "Error converting
RawContact
to JSONObject" + ex.toString());
178
public
RawContact
(String name, String fullName, String firstName, String lastName,
200
* Creates and returns an instance of the
RawContact
from the provided JSON data.
203
* @return user The new instance of Sample
RawContact
created from the JSON data.
205
public static
RawContact
valueOf(JSONObject contact)
[
all
...]
NetworkUtilities.java
160
public static List<
RawContact
> syncContacts(
161
Account account, String authtoken, long serverSyncState, List<
RawContact
> dirtyContacts)
165
for (
RawContact
rawContact
: dirtyContacts) {
166
jsonContacts.add(
rawContact
.toJSONObject());
174
final ArrayList<
RawContact
> serverDirtyList = new ArrayList<
RawContact
>();
202
RawContact
rawContact
=
RawContact
.valueOf(serverContacts.getJSONObject(i))
[
all
...]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/
SyncAdapter.java
20
import com.example.android.samplesync.client.
RawContact
;
83
List<
RawContact
> dirtyContacts;
84
List<
RawContact
> updatedContacts;
Completed in 409 milliseconds