Home
last modified time | relevance | path

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

/packages/apps/Launcher3/tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java96 assertEquals(24, helper.getReadableDatabase().getVersion()); in testDowngrade_success_v24()
105 assertEquals(22, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22()
121 assertEquals(LauncherProvider.SCHEMA_VERSION, helper.getWritableDatabase().getVersion()); in testDowngrade_success_v22()
139 helper.getReadableDatabase().getVersion(); in testDowngrade_fail_v20()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DHelpUrl.java59 builder.appendQueryParameter("version", getVersion(context)); in getHelpUrl()
69 private static String getVersion(final Context context) { in getVersion() method in HelpUrl
/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.java7018 long version = getVersion(uri); in testRawContactDirtyAndVersion()
7026 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
7037 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
7046 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
7053 assertEquals(version, getVersion(uri)); in testRawContactDirtyAndVersion()
7060 long version = getVersion(uri); in testRawContactClearDirty()
7064 assertEquals(version, getVersion(uri)); in testRawContactClearDirty()
7068 assertEquals(version, getVersion(uri)); in testRawContactClearDirty()
7075 long version = getVersion(uri); in testRawContactDeletionSetsDirty()
7084 assertEquals(version, getVersion(uri)); in testRawContactDeletionSetsDirty()
DBaseContactsProvider2Test.java852 protected long getVersion(Uri uri) { in getVersion() method in BaseContactsProvider2Test
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java318 if (oldState == null || newState.getVersion() > oldState.getVersion()) { in run()
/packages/apps/TV/src/com/android/exoplayer2/ext/ffmpeg/
DFfmpegLibrary.java52 public static String getVersion() { in getVersion() method in FfmpegLibrary
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
DChannelState.java80 public int getVersion() { in getVersion() method in ChannelState
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DVoiceSearch.java91 public int getVersion() { in getVersion() method in VoiceSearch
/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.java68 assertEquals(BASE_DATABASE_VERSION, db.getVersion()); in testUpgradeDatabase()
/packages/apps/Settings/src/com/android/settings/search/
DIndexDatabaseHelper.java203 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.java222 mEntry.getVersion(getActivity()))); in updatePrefs()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java346 super(context, DATABASE_NAME, null, getVersion(context)); in DatabaseHelper()
352 private static int getVersion(Context context) { in getVersion() method in TelephonyProvider.DatabaseHelper
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java1099 Log.w(TAG, "Database version " + db.getVersion() + " for " + DATABASE_NAME in onBeforeDelete()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5086 s.append("version " + db.getVersion() + ", "); in dump()
/packages/services/Car/car-support-lib/
Dproguard-release.flags2532 public int getVersion();