/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | TelephonyDatabaseHelperTest.java | 73 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/ |
D | DbDowngradeHelperTest.java | 112 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/ |
D | VmsLayerTest.java | 70 assertEquals(original.getVersion(), similar.getVersion()); in testLayerEquality()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | GridBackupTable.java | 107 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/ |
D | RawContactDeltaListTests.java | 290 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/ |
D | GroupsTest.java | 208 long version = getVersion(uri); in testGroupVersionUpdates() 212 assertEquals(version + 1, getVersion(uri)); in testGroupVersionUpdates()
|
D | ContactsProvider2Test.java | 6926 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()
|
D | BaseContactsProvider2Test.java | 852 protected long getVersion(Uri uri) { in getVersion() method in BaseContactsProvider2Test
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/ |
D | ChannelState.java | 68 public int getVersion() { in getVersion() method in ChannelState
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationPreferenceController.java | 83 return mAppEntry.getVersion(getContext()); in getAppVersion()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsLayer.java | 78 public int getVersion() { in getVersion() method in VmsLayer
|
D | VmsOperationRecorder.java | 183 .put("version", layer.getVersion()); in toJson()
|
/packages/services/Car/service/src/com/android/car/stats/ |
D | VmsClientStats.java | 63 mLayerVersion = layer.getVersion(); in VmsClientStats()
|
/packages/apps/TV/tests/input/src/com/android/tv/testinput/ |
D | TestTvInputService.java | 323 if (oldState == null || newState.getVersion() > oldState.getVersion()) { in run()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | VoiceSearch.java | 91 public int getVersion() { in getVersion() method in VoiceSearch
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | VmsHalServiceSubscriptionEventTest.java | 105 layer.getVersion()); in subscribeViaHal()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VmsHalService.java | 860 message.add(layer.getVersion()); in appendLayer() 881 message.add(layer.getVmsLayer().getVersion()); in appendAssociatedLayer()
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
D | SnepMessage.java | 227 public byte getVersion() { in getVersion() method in SnepMessage
|
D | SnepServer.java | 155 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) { in handleRequest()
|
/packages/apps/Nfc/src/com/android/nfc/sneptest/ |
D | ExtDtaSnepServer.java | 126 if (((request.getVersion() & 0xF0) >> 4) != SnepMessage.VERSION_MAJOR) { in handleRequest()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | DatabaseHelperTest.java | 70 assertEquals(BASE_DATABASE_VERSION, db.getVersion()); in testUpgradeDatabase()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | IndexDatabaseHelper.java | 204 Log.i(TAG, "Using schema version: " + db.getVersion()); in onOpen()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoDataAdapter.java | 229 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/ |
D | AppManagementFragment.java | 229 mEntry.getVersion(getActivity()))); in updatePrefs()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 547 public static int getVersion(Context context) { in getVersion() method in TelephonyProvider 591 super(context, DATABASE_NAME, null, getVersion(context)); in DatabaseHelper()
|