Home
last modified time | relevance | path

Searched refs:DbProperties (Results 1 – 9 of 9) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCallLogDatabaseHelper.java61 public interface DbProperties { interface in CallLogDatabaseHelper
246 if ("1".equals(PropertyUtils.getProperty(calllog, DbProperties.DATA_MIGRATED, ""))) { in migrateFromLegacyTables()
291 PropertyUtils.setProperty(calllog, DbProperties.CALL_LOG_LAST_SYNCED, in migrateFromLegacyTables()
309 PropertyUtils.setProperty(calllog, DbProperties.DATA_MIGRATED, "1"); in migrateFromLegacyTables()
DBootCompletedReceiver.java60 ContactsDatabaseHelper.DbProperties.DATABASE_TIME_CREATED, ""); in onReceive()
68 ContactsDatabaseHelper.DbProperties.DATABASE_TIME_CREATED, ""); in onReceive()
DContactDirectoryManager.java37 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
172 String scanComplete = getDbHelper().getProperty(DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in scanAllPackagesIfNeeded()
179 getDbHelper().setProperty(DbProperties.DIRECTORY_SCAN_COMPLETE, "1"); in scanAllPackagesIfNeeded()
DCallLogProvider.java52 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
669 ? DbProperties.CALL_LOG_LAST_SYNCED_FOR_SHADOW in getLastSyncTimePropertyName()
670 : DbProperties.CALL_LOG_LAST_SYNCED; in getLastSyncTimePropertyName()
DContactsDatabaseHelper.java331 public interface DbProperties { interface in ContactsDatabaseHelper
1210 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in onCreate()
1645 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in createDirectoriesTable()
2808 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in onUpgrade()
3032 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in onUpgrade()
3534 final String dbLocale = getProperty(DbProperties.LOCALE, ""); in needsToUpdateLocaleData()
3539 final String dbICUVersion = getProperty(DbProperties.ICU_VERSION, in needsToUpdateLocaleData()
3572 PropertyUtils.setProperty(db, DbProperties.ICU_VERSION, ICU.getIcuVersion()); in rebuildLocaleData()
3573 PropertyUtils.setProperty(db, DbProperties.LOCALE, locales.toString()); in rebuildLocaleData()
5652 setProperty(DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in clearDirectoryScanComplete()
DContactsProvider2.java135 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
5181 stringToAccounts(dbHelper.getProperty(DbProperties.KNOWN_ACCOUNTS, "")); in haveAccountsChanged()
5195 DbProperties.KNOWN_ACCOUNTS, accountsToString(Sets.newHashSet(systemAccounts))); in saveAccounts()
9632 mContactsHelper.getProperty(DbProperties.AGGREGATION_ALGORITHM, "1")); in isAggregationUpgradeNeeded()
9702 mContactsHelper.setProperty(DbProperties.AGGREGATION_ALGORITHM, in updateAggregationAlgorithmVersion()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java78 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration()
85 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
DCallLogProviderTest.java21 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
DContactsProvider2Test.java83 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
6646 dbHelper.setProperty(DbProperties.KNOWN_ACCOUNTS, "x"); in testHaveAccountsChanged()