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/
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()
DContactsDatabaseHelper.java371 public interface DbProperties { interface in ContactsDatabaseHelper
1120 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in setDatabaseCreationTime()
1129 DbProperties.DATABASE_TIME_CREATED, ""); in loadDatabaseCreationTime()
1145 DbProperties.DATABASE_TIME_CREATED, Long.toString(mDatabaseCreationTime)); in loadDatabaseCreationTime()
1713 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in createDirectoriesTable()
2439 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in onUpgrade()
2691 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in onUpgrade()
2728 final String dbLocale = getProperty(DbProperties.LOCALE, ""); in needsToUpdateLocaleData()
2733 final String dbICUVersion = getProperty(DbProperties.ICU_VERSION, in needsToUpdateLocaleData()
2769 PropertyUtils.setProperty(db, DbProperties.ICU_VERSION, getDeviceIcuVersion()); in rebuildLocaleData()
[all …]
DCallLogProvider.java52 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
808 ? DbProperties.CALL_LOG_LAST_SYNCED_FOR_SHADOW in getLastSyncTimePropertyName()
809 : DbProperties.CALL_LOG_LAST_SYNCED; in getLastSyncTimePropertyName()
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()
DCallLogProviderTest.java21 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
DContactsProvider2Test.java84 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
6620 dbHelper.setProperty(DbProperties.KNOWN_ACCOUNTS, "x"); in testHaveAccountsChanged()