Home
last modified time | relevance | path

Searched refs:getVersion (Results 1 – 25 of 28) sorted by relevance

12

/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyDatabaseHelperTest.java73 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasApnSetIdField()
88 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasCarrierIdField()
101 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasCountryIsoField()
114 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasProfileClassField()
128 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasSkip464XlatField()
142 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_columnsMatchNewlyCreatedDb()
178 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasSubscriptionTypeField()
193 mHelper.onUpgrade(db, (4 << 16), TelephonyProvider.getVersion(mContext)); in databaseHelperOnUpgrade_hasImsRcsUceEnabledField()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java112 assertEquals(24, helper.getReadableDatabase().getVersion()); in testDowngrade_success_v24()
121 assertEquals(22, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22()
137 assertEquals(LauncherProvider.SCHEMA_VERSION, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22()
155 helper.getReadableDatabase().getVersion(); in testDowngrade_fail_v20()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DVmsLayerTest.java70 assertEquals(original.getVersion(), similar.getVersion()); in testLayerEquality()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DGridBackupTable.java107 values.put(KEY_DB_VERSION, mDb.getVersion()); in encodeDBProperties()
125 if (mDb.getVersion() != c.getInt(0)) { in loadDbProperties()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DRawContactDeltaListTests.java290 static Long getVersion(RawContactDeltaList set, Long rawContactId) { in getVersion() method in RawContactDeltaListTests
565 assertEquals((Long)VER_FIRST, getVersion(first, CONTACT_BOB)); in testMergeUsesNewVersion()
566 assertEquals((Long)VER_SECOND, getVersion(second, CONTACT_BOB)); in testMergeUsesNewVersion()
569 assertEquals((Long)VER_SECOND, getVersion(merged, CONTACT_BOB)); in testMergeUsesNewVersion()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DGroupsTest.java208 long version = getVersion(uri); in testGroupVersionUpdates()
212 assertEquals(version + 1, getVersion(uri)); in testGroupVersionUpdates()
DContactsProvider2Test.java6926 long version = getVersion(uri); in testRawContactDirtyAndVersion()
6933 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
6944 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
6953 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
6960 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
6967 long version = getVersion(uri); in testRawContactClearDirty()
6971 assertEquals(version, getVersion(uri)); in testRawContactClearDirty()
6975 assertEquals(version, getVersion(uri)); in testRawContactClearDirty()
6982 long version = getVersion(uri); in testRawContactDeletionSetsDirty()
6991 assertEquals(version, getVersion(uri)); in testRawContactDeletionSetsDirty()
DBaseContactsProvider2Test.java852 protected long getVersion(Uri uri) { in getVersion() method in BaseContactsProvider2Test
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
DChannelState.java68 public int getVersion() { in getVersion() method in ChannelState
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationPreferenceController.java83 return mAppEntry.getVersion(getContext()); in getAppVersion()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsLayer.java78 public int getVersion() { in getVersion() method in VmsLayer
DVmsOperationRecorder.java183 .put("version", layer.getVersion()); in toJson()
/packages/services/Car/service/src/com/android/car/stats/
DVmsClientStats.java63 mLayerVersion = layer.getVersion(); in VmsClientStats()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java323 if (oldState == null || newState.getVersion() > oldState.getVersion()) { in run()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DVoiceSearch.java91 public int getVersion() { in getVersion() method in VoiceSearch
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsHalServiceSubscriptionEventTest.java105 layer.getVersion()); in subscribeViaHal()
/packages/services/Car/service/src/com/android/car/hal/
DVmsHalService.java860 message.add(layer.getVersion()); in appendLayer()
881 message.add(layer.getVmsLayer().getVersion()); in appendAssociatedLayer()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java227 public byte getVersion() { in getVersion() method in SnepMessage
DSnepServer.java155 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) { in handleRequest()
/packages/apps/Nfc/src/com/android/nfc/sneptest/
DExtDtaSnepServer.java126 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) { in handleRequest()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DDatabaseHelperTest.java70 assertEquals(BASE_DATABASE_VERSION, db.getVersion()); in testUpgradeDatabase()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DIndexDatabaseHelper.java204 Log.i(TAG, "Using schema version: " + db.getVersion()); in onOpen()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java229 private long getVersion(int index) { in getVersion() method in PhotoDataAdapter
245 long newVersion = getVersion(mCurrentIndex + i); in fireDataChange()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java229 mEntry.getVersion(getActivity()))); in updatePrefs()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java547 public static int getVersion(Context context) { in getVersion() method in TelephonyProvider
591 super(context, DATABASE_NAME, null, getVersion(context)); in DatabaseHelper()

12