Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactDirectoryManager.java39 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
179 getDbHelper().setProperty(DbProperties.KNOWN_DIRECTORY_PACKAGES, in saveKnownDirectoryProviders()
185 final String prev = getDbHelper().getProperty(DbProperties.KNOWN_DIRECTORY_PACKAGES, ""); in haveKnownDirectoryProvidersChanged()
202 getDbHelper().getProperty(DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in isRescanNeeded()
243 getDbHelper().setProperty(DbProperties.DIRECTORY_SCAN_COMPLETE, "1"); in scanAllPackagesIfNeeded()
DCallLogDatabaseHelper.java66 public interface DbProperties { interface in CallLogDatabaseHelper
468 if ("1".equals(PropertyUtils.getProperty(calllog, DbProperties.DATA_MIGRATED, ""))) { in migrateFromLegacyTables()
513 PropertyUtils.setProperty(calllog, DbProperties.CALL_LOG_LAST_SYNCED, in migrateFromLegacyTables()
531 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()
DCallLogProvider.java52 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
822 ? DbProperties.CALL_LOG_LAST_SYNCED_FOR_SHADOW in getLastSyncTimePropertyName()
823 : DbProperties.CALL_LOG_LAST_SYNCED; in getLastSyncTimePropertyName()
DContactsDatabaseHelper.java371 public interface DbProperties { interface in ContactsDatabaseHelper
1124 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in setDatabaseCreationTime()
1133 DbProperties.DATABASE_TIME_CREATED, ""); in loadDatabaseCreationTime()
1149 DbProperties.DATABASE_TIME_CREATED, Long.toString(mDatabaseCreationTime)); in loadDatabaseCreationTime()
1717 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in createDirectoriesTable()
2443 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in onUpgrade()
2695 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in onUpgrade()
2732 final String dbLocale = getProperty(DbProperties.LOCALE, ""); in needsToUpdateLocaleData()
2737 final String dbICUVersion = getProperty(DbProperties.ICU_VERSION, in needsToUpdateLocaleData()
2773 PropertyUtils.setProperty(db, DbProperties.ICU_VERSION, getDeviceIcuVersion()); in rebuildLocaleData()
[all …]
DContactsProvider2.java130 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
5134 stringToAccounts(dbHelper.getProperty(DbProperties.KNOWN_ACCOUNTS, "")); in haveAccountsChanged()
5148 DbProperties.KNOWN_ACCOUNTS, accountsToString(Sets.newHashSet(systemAccounts))); in saveAccounts()
9590 mContactsHelper.getProperty(DbProperties.AGGREGATION_ALGORITHM, "1")); in isAggregationUpgradeNeeded()
9660 mContactsHelper.setProperty(DbProperties.AGGREGATION_ALGORITHM, in updateAggregationAlgorithmVersion()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DCallLogMigrationTest.java77 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration()
84 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
DContactsProvider2Test.java85 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
6646 dbHelper.setProperty(DbProperties.KNOWN_ACCOUNTS, "x"); in testHaveAccountsChanged()