Home
last modified time | relevance | path

Searched refs:VERSION (Results 1 – 25 of 46) sorted by relevance

12

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java43 public static final boolean AT_LEAST_16 = Build.VERSION.SDK_INT >= 16;
46 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
49 Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;
61 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
64 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
67 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
77 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
80 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1;
83 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
86 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
[all …]
DHttpClientFactory.java124 Build.VERSION.SDK_INT, in getUserAgent()
125 Build.VERSION.RELEASE, in getUserAgent()
126 Build.VERSION.INCREMENTAL); in getUserAgent()
DUtils.java314 Build.VERSION.SDK_INT, in getUserAgent()
315 Build.VERSION.RELEASE, in getUserAgent()
316 Build.VERSION.INCREMENTAL); in getUserAgent()
DAsyncTaskUtil.java33 if (Build.VERSION.SDK_INT >= 11) {
50 if (Build.VERSION.SDK_INT < 11) { in executeInParallel()
/packages/apps/Nfc/src/com/android/nfc/snep/
DSnepMessage.java30 public static final byte VERSION = (0xF0 & (VERSION_MAJOR << 4)) | (0x0F & VERSION_MINOR); field in SnepMessage
54 return new SnepMessage(VERSION, REQUEST_GET, 4 + ndef.toByteArray().length, in getGetRequest()
59 return new SnepMessage(VERSION, REQUEST_PUT, ndef.toByteArray().length, 0, ndef); in getPutRequest()
63 return new SnepMessage(VERSION, field, 0, 0, null); in getMessage()
68 return new SnepMessage(VERSION, RESPONSE_SUCCESS, 0, 0, null); in getSuccessResponse()
70 return new SnepMessage(VERSION, RESPONSE_SUCCESS, ndef.toByteArray().length, 0, ndef); in getSuccessResponse()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java37 private static final byte VERSION = 1; field in NdefPushProtocol
79 if(version != VERSION) { in NdefPushProtocol()
80 Log.w(TAG, "Got version " + version + ", expected " + VERSION); in NdefPushProtocol()
81 throw new FormatException("Got version " + version + ", expected " + VERSION); in NdefPushProtocol()
153 output.writeByte(VERSION); in toByteArray()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DConstants.java95 final boolean validRelease = !TextUtils.isEmpty(Build.VERSION.RELEASE);
97 final boolean includeModel = "REL".equals(Build.VERSION.CODENAME)
102 builder.append("/").append(Build.VERSION.RELEASE);
106 builder.append(" ").append(Build.VERSION.RELEASE);
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java115 .getAsLong(RawContacts.VERSION); in mergeAfter()
116 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION); in mergeAfter()
408 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION); in buildAssert()
414 builder.withValue(RawContacts.VERSION, beforeVersion); in buildAssert()
DContactLoader.java137 RawContacts.VERSION,
209 public static final int VERSION = 20; field in ContactLoader.ContactQuery
546 cursorColumnToContentValues(cursor, cv, ContactQuery.VERSION); in loadRawContactValues()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java110 .getAsLong(RawContacts.VERSION); in mergeAfter()
111 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION); in mergeAfter()
353 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION); in buildAssert()
359 builder.withValue(RawContacts.VERSION, beforeVersion); in buildAssert()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java386 Tables.RAW_CONTACTS + "." + RawContacts.VERSION;
987 RawContacts.VERSION + " INTEGER NOT NULL DEFAULT 1," + in onCreate()
1192 Groups.VERSION + " INTEGER NOT NULL DEFAULT 1," + in onCreate()
1444 + RawContacts.VERSION + "=OLD." + RawContacts.VERSION + "+1 " in createContactsTriggers()
1456 + " SET " + RawContacts.VERSION + "=" + RawContacts.VERSION + "+1 " in createContactsTriggers()
1464 + " SET " + RawContacts.VERSION + "=" + RawContacts.VERSION + "+1 " in createContactsTriggers()
1481 + Groups.VERSION + "=OLD." + Groups.VERSION + "+1" in createContactsTriggers()
1607 + RawContactsColumns.CONCRETE_VERSION + " AS " + RawContacts.VERSION + "," in createContactsViews()
1931 + Groups.VERSION + "," in createGroupsView()
/packages/apps/Contacts/tests/src/com/android/contacts/
DRawContactDeltaListTests.java125 contact.put(RawContacts.VERSION, version); in buildBeforeEntity()
231 values.put(RawContacts.VERSION, version); in buildAssertVersion()
285 return set.getByRawContactId(rawContactId).getValues().getAsLong(RawContacts.VERSION); in getVersion()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DUserBinaryDictionary.java50 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) {
241 final boolean hasShortcutColumn = Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN; in addWords()
DSubtypeLocale.java139 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN in getSubtypeNameId()
207 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN in getReplacementString()
DAdditionalSubtype.java48 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN in createAdditionalSubtype()
/packages/apps/Browser/src/com/android/browser/provider/
DBrowserProvider2.java267 map.put(Bookmarks.VERSION, Bookmarks.VERSION); in map.put() argument
414 Bookmarks.VERSION + " INTEGER NOT NULL DEFAULT 1," + in onCreate()
1831 Bookmarks.VERSION, // 1 in updateBookmarksInTransaction()
1890 newValues.remove(Bookmarks.VERSION); in updateBookmarksInTransaction()
1911 values.put(Bookmarks.VERSION, cursor.getLong(1) + 1); in updateBookmarksInTransaction()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java79 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO; in isFroyoOrLater()
83 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB; in isHoneycombOrLater()
/packages/apps/Email/src/com/android/email/mail/store/
DImapStore.java195 sImapId = makeCommonImapId(context.getPackageName(), Build.VERSION.RELEASE, in getImapId()
196 Build.VERSION.CODENAME, Build.MODEL, Build.ID, Build.MANUFACTURER, in getImapId()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasSyncService.java138 static final String USER_AGENT = DEVICE_TYPE + '/' + Build.VERSION.RELEASE + '-' +
1460 s.data(Tags.SETTINGS_OS, "Android " + Build.VERSION.RELEASE); in canProvision()
1575 s.data(Tags.SETTINGS_OS, "Android " + Build.VERSION.RELEASE); in sendSettings()
/packages/apps/Contacts/tests/assets/
Dv30_simple.vcf2 VERSION:3.0
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
DWidgetClickHandler.java55 boolean tediousBack = Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.JELLY_BEAN; in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DWallpaper.java71 if (Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.HONEYCOMB_MR2) { in getDefaultDisplaySize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DAccessibilityUtils.java170 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in announceForAccessibility()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestClient.java58 private static final String USER_AGENT = "Android/" + Build.VERSION.RELEASE;
/packages/apps/Gallery2/src/com/android/gallery3d/onetimeinitializer/
DGalleryWidgetMigrator.java118 Build.VERSION.SDK_INT > ApiHelper.VERSION_CODES.JELLY_BEAN) { in migrateLocalEntries()

12