OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_sync_id
(Results
1 - 4
of
4
) sorted by null
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
legacy_contacts.sql
3
CREATE TABLE _deleted_groups (_sync_version TEXT,
_sync_id
TEXT,_sync_account TEXT,_sync_mark INTEGER);
4
CREATE TABLE _deleted_people (_sync_version TEXT,
_sync_id
TEXT,_sync_account TEXT,_sync_mark INTEGER);
30
CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account));
33
CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
59
CREATE TABLE photos (_id INTEGER PRIMARY KEY AUTOINCREMENT,exists_on_server INTEGER NOT NULL DEFAULT 0,person INTEGER REFERENCES people(_id), local_version TEXT,data BLOB,sync_error TEXT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,UNIQUE(person) );
85
CREATE INDEX peopleSyncIdIndex ON people (
_sync_id
);
103
CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old.
_sync_id
is not null BEGIN INSERT INTO _deleted_groups (
_sync_id
, _sync_account, _sync_version) VALUES (old.
_sync_id
, old._sync_account, old._sync_version);END;
/packages/providers/ContactsProvider/tests/assets/test1/
legacy_contacts.sql
3
CREATE TABLE _deleted_groups (_sync_version TEXT,
_sync_id
TEXT,_sync_account TEXT,_sync_mark INTEGER);
4
CREATE TABLE _deleted_people (_sync_version TEXT,
_sync_id
TEXT,_sync_account TEXT,_sync_mark INTEGER);
47
CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account));
53
CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
89
CREATE TABLE photos (_id INTEGER PRIMARY KEY AUTOINCREMENT,exists_on_server INTEGER NOT NULL DEFAULT 0,person INTEGER REFERENCES people(_id), local_version TEXT,data BLOB,sync_error TEXT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,UNIQUE(person) );
117
CREATE INDEX peopleSyncIdIndex ON people (
_sync_id
);
135
CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old.
_sync_id
is not null BEGIN INSERT INTO _deleted_groups (
_sync_id
, _sync_account, _sync_version) VALUES (old.
_sync_id
, old._sync_account, old._sync_version);END;
/packages/providers/ContactsProvider/tests/assets/testSynced/
legacy_contacts.sql
3
CREATE TABLE _deleted_groups (_sync_version TEXT,
_sync_id
TEXT,_sync_account TEXT,_sync_mark INTEGER);
4
CREATE TABLE _deleted_people (_sync_version TEXT,
_sync_id
TEXT,_sync_account TEXT,_sync_mark INTEGER);
40
CREATE TABLE groups (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT NOT NULL,notes TEXT,should_sync INTEGER NOT NULL DEFAULT 0,system_id TEXT,UNIQUE(name,system_id,_sync_account));
43
CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
107
CREATE TABLE photos (_id INTEGER PRIMARY KEY AUTOINCREMENT,exists_on_server INTEGER NOT NULL DEFAULT 0,person INTEGER REFERENCES people(_id), local_version TEXT,data BLOB,sync_error TEXT,_sync_account TEXT,
_sync_id
TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,UNIQUE(person) );
141
CREATE INDEX peopleSyncIdIndex ON people (
_sync_id
);
159
CREATE TRIGGER groups_to_deleted DELETE ON groups WHEN old.
_sync_id
is not null BEGIN INSERT INTO _deleted_groups (
_sync_id
, _sync_account, _sync_version) VALUES (old.
_sync_id
, old._sync_account, old._sync_version);END;
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarProvider2.java
106
Events.
_SYNC_ID
,
215
"=? AND " + Events.
_SYNC_ID
+ " IS NULL";
252
"SELECT COUNT(*) FROM " + Tables.EVENTS + " WHERE " + Events.
_SYNC_ID
+ "=?";
381
ALLOWED_IN_EXCEPTION.add(Events.
_SYNC_ID
);
423
Events.
_SYNC_ID
,
1819
String
_sync_id
= values.getAsString(Events._SYNC_ID);
local
[
all
...]
Completed in 99 milliseconds