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.java66 public interface DbProperties { interface in CallLogDatabaseHelper
297 if ("1".equals(PropertyUtils.getProperty(calllog, DbProperties.DATA_MIGRATED, ""))) { in migrateFromLegacyTables()
342 PropertyUtils.setProperty(calllog, DbProperties.CALL_LOG_LAST_SYNCED, in migrateFromLegacyTables()
360 PropertyUtils.setProperty(calllog, DbProperties.DATA_MIGRATED, "1"); in migrateFromLegacyTables()
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()
DBootCompletedReceiver.java60 ContactsDatabaseHelper.DbProperties.DATABASE_TIME_CREATED, ""); in onReceive()
68 ContactsDatabaseHelper.DbProperties.DATABASE_TIME_CREATED, ""); in onReceive()
DCallLogProvider.java48 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
707 ? DbProperties.CALL_LOG_LAST_SYNCED_FOR_SHADOW in getLastSyncTimePropertyName()
708 : DbProperties.CALL_LOG_LAST_SYNCED; in getLastSyncTimePropertyName()
DContactsDatabaseHelper.java355 public interface DbProperties { interface in ContactsDatabaseHelper
1119 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in setDatabaseCreationTime()
1128 DbProperties.DATABASE_TIME_CREATED, ""); in loadDatabaseCreationTime()
1144 DbProperties.DATABASE_TIME_CREATED, Long.toString(mDatabaseCreationTime)); in loadDatabaseCreationTime()
1710 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in createDirectoriesTable()
2466 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in onUpgrade()
2706 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in onUpgrade()
2743 final String dbLocale = getProperty(DbProperties.LOCALE, ""); in needsToUpdateLocaleData()
2748 final String dbICUVersion = getProperty(DbProperties.ICU_VERSION, in needsToUpdateLocaleData()
2780 PropertyUtils.setProperty(db, DbProperties.ICU_VERSION, ICU.getIcuVersion()); in rebuildLocaleData()
[all …]
DContactsProvider2.java130 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
5205 stringToAccounts(dbHelper.getProperty(DbProperties.KNOWN_ACCOUNTS, "")); in haveAccountsChanged()
5219 DbProperties.KNOWN_ACCOUNTS, accountsToString(Sets.newHashSet(systemAccounts))); in saveAccounts()
9733 mContactsHelper.getProperty(DbProperties.AGGREGATION_ALGORITHM, "1")); in isAggregationUpgradeNeeded()
9803 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.java85 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
6738 dbHelper.setProperty(DbProperties.KNOWN_ACCOUNTS, "x"); in testHaveAccountsChanged()