Home
last modified time | relevance | path

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

/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DBootCompletedReceiver.java60 ContactsDatabaseHelper.DbProperties.DATABASE_TIME_CREATED, ""); in onReceive()
68 ContactsDatabaseHelper.DbProperties.DATABASE_TIME_CREATED, ""); in onReceive()
H A 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()
H A DCallLogDatabaseHelper.java66 public interface DbProperties { interface in CallLogDatabaseHelper
491 if ("1".equals(PropertyUtils.getProperty(calllog, DbProperties.DATA_MIGRATED, ""))) { in migrateFromLegacyTables()
536 PropertyUtils.setProperty(calllog, DbProperties.CALL_LOG_LAST_SYNCED, in migrateFromLegacyTables()
554 PropertyUtils.setProperty(calllog, DbProperties.DATA_MIGRATED, "1"); in migrateFromLegacyTables()
H A DContactsDatabaseHelper.java360 public interface DbProperties { interface in ContactsDatabaseHelper
1099 PropertyUtils.setProperty(db, DbProperties.DATABASE_TIME_CREATED, String.valueOf( in setDatabaseCreationTime()
1108 DbProperties.DATABASE_TIME_CREATED, ""); in loadDatabaseCreationTime()
1124 DbProperties.DATABASE_TIME_CREATED, Long.toString(mDatabaseCreationTime)); in loadDatabaseCreationTime()
1671 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in createDirectoriesTable()
2634 PropertyUtils.setProperty(db, DbProperties.DIRECTORY_SCAN_COMPLETE, "0"); in onUpgrade()
2671 final String dbLocale = getProperty(DbProperties.LOCALE, ""); in needsToUpdateLocaleData()
2676 final String dbICUVersion = getProperty(DbProperties.ICU_VERSION, in needsToUpdateLocaleData()
2712 PropertyUtils.setProperty(db, DbProperties.ICU_VERSION, getDeviceIcuVersion()); in rebuildLocaleData()
2713 PropertyUtils.setProperty(db, DbProperties.LOCALE, locales.toString()); in rebuildLocaleData()
[all …]
H A DCallLogProvider.java59 import com.android.providers.contacts.CallLogDatabaseHelper.DbProperties;
1170 ? DbProperties.CALL_LOG_LAST_SYNCED_FOR_SHADOW in getLastSyncTimePropertyName()
1171 : DbProperties.CALL_LOG_LAST_SYNCED; in getLastSyncTimePropertyName()
H A DContactsProvider2.java140 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
5084 stringToAccounts(dbHelper.getProperty(DbProperties.KNOWN_ACCOUNTS, "")); in haveAccountsChanged()
5098 DbProperties.KNOWN_ACCOUNTS, accountsToString(Sets.newHashSet(systemAccounts))); in saveAccounts()
9602 mContactsHelper.getProperty(DbProperties.AGGREGATION_ALGORITHM, "1")); in isAggregationUpgradeNeeded()
9672 mContactsHelper.setProperty(DbProperties.AGGREGATION_ALGORITHM, in updateAggregationAlgorithmVersion()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DCallLogMigrationTest.java77 dbh.getProperty(CallLogDatabaseHelper.DbProperties.CALL_LOG_LAST_SYNCED, "")); in testMigration()
84 dbh.getProperty(CallLogDatabaseHelper.DbProperties.DATA_MIGRATED, "")); in testMigration()
H A DContactsProvider2Test.java83 import com.android.providers.contacts.ContactsDatabaseHelper.DbProperties;
6301 dbHelper.setProperty(DbProperties.KNOWN_ACCOUNTS, "x"); in testHaveAccountsChanged()