Searched defs:starred (Results 1 - 12 of 12) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/activity/
H A DAccountSelectorAdapterTest.java160 // Account 1 - all starred
161 // Special case; it happens when you open "starred" on a normal account's mailbox list
181 private void addMessage(Mailbox m, boolean starred, boolean read) { argument
183 starred, read);
H A DMailboxFragmentAdapterTest.java92 // Row 2 -- all starred (with total count)
105 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, argument
108 "1", b.mAccountKey, b.mId, true, false, c, starred, read);
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/provider/
H A DEmailContentSetupUtils.java88 // Default starred, read, (backword compatibility)
96 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) {
104 message.mFlagFavorite = starred;
95 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DEmailContentSetupUtils.java88 // Default starred, read, (backword compatibility)
96 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) {
104 message.mFlagFavorite = starred;
95 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
H A DMailboxTests.java78 private static Message createMessage(Context c, Mailbox b, boolean starred, boolean read, argument
81 "1", b.mAccountKey, b.mId, true, false, c, starred, read);
389 // b1 (account 1, inbox): 1 message, including 1 starred
392 // b2 (account 1, outbox): 2 message, including 1 starred
396 // b3 (account 2, inbox): 3 message, including 1 starred
403 // bt (account 2, trash) has 3 messages, including 2 starred
416 assertEquals(3, Message.getFavoriteMessageCount(c)); // excludes starred in trash
418 assertEquals(1, Message.getFavoriteMessageCount(c, a2.mId)); // excludes starred in trash
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForGroupMembership.java81 updateRawContactsStar(db, rawContactId, true /* starred */);
104 private void updateRawContactsStar(SQLiteDatabase db, long rawContactId, boolean starred) { argument
106 rawContactValues.put(RawContacts.STARRED, starred ? 1 : 0);
130 updateRawContactsStar(db, rawContactId, false /* starred */);
/packages/apps/Email/tests/src/com/android/email/provider/
H A DProviderTestUtils.java159 // Default starred, read, (backword compatibility)
167 boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) {
175 message.mFlagFavorite = starred;
166 setupMessage(String name, long accountId, long mailboxId, boolean addBody, boolean saveIt, Context context, boolean starred, boolean read) argument
/packages/apps/Contacts/src/com/android/contacts/model/
H A DContact.java143 boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone,
163 mStarred = starred;
140 Contact(Uri requestedUri, Uri uri, Uri lookupUri, long directoryId, String lookupKey, long id, long nameRawContactId, int displayNameSource, long photoId, String photoUri, String displayName, String altDisplayName, String phoneticName, boolean starred, Integer presence, boolean sendToVoicemail, String customRingtone, boolean isUserProfile) argument
/packages/providers/ContactsProvider/tests/assets/test1/
H A Dlegacy_contacts.sql53 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);
/packages/providers/ContactsProvider/tests/assets/testSynced/
H A Dlegacy_contacts.sql43 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);
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql33 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);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsProvider2Test.java2025 * Checks ContactsProvider2 works well with strequent Uris. The provider should return starred
2058 // After the feedback, 3rd contact should be shown after starred one.
2066 // After the feedback, 1st and 3rd contacts should be shown after starred one.
2072 // 4th: it has no phone number though starred.
6494 // create some starred and non-starred contacts, some associated with account, some not
6496 // the starred contacts should be added to group
6498 // no change to starred status
6594 // Since no raw contacts are starred, there should be no group memberships.
6598 // mark r1 as starred
7069 createContact(ContentValues values, String firstName, String givenName, String phoneNumber, String email, int presenceStatus, int timesContacted, int starred, long groupId, int chatMode) argument
7076 createContact(ContentValues values, String firstName, String givenName, String phoneNumber, String email, int presenceStatus, int timesContacted, int starred, long groupId, int chatMode, boolean isUserProfile) argument
7083 createRawContact(ContentValues values, String firstName, String givenName, String phoneNumber, String email, int presenceStatus, int timesContacted, int starred, long groupId, int chatMode) argument
7092 createRawContact(ContentValues values, String firstName, String givenName, String phoneNumber, String email, int presenceStatus, int timesContacted, int starred, long groupId, int chatMode, boolean isUserProfile) argument
7101 createRawContact(ContentValues values, String phoneNumber, String email, int presenceStatus, int timesContacted, int starred, long groupId, int chatMode) argument
7107 createRawContact(ContentValues values, String phoneNumber, String email, int presenceStatus, int timesContacted, int starred, long groupId, int chatMode, boolean isUserProfile) argument
[all...]

Completed in 172 milliseconds