Searched refs:version (Results 1 - 25 of 86) sorted by relevance

1234

/packages/apps/Exchange/src/com/android/exchange/
H A DEas.java46 // Define our default protocol version as 2.5 (Exchange 2003)
129 static public Double getProtocolVersionDouble(String version) { argument
130 if (SUPPORTED_PROTOCOL_EX2003.equals(version)) {
132 } else if (SUPPORTED_PROTOCOL_EX2007.equals(version)) {
134 } if (SUPPORTED_PROTOCOL_EX2007_SP1.equals(version)) {
136 } if (SUPPORTED_PROTOCOL_EX2010.equals(version)) {
138 } if (SUPPORTED_PROTOCOL_EX2010_SP1.equals(version)) {
141 throw new IllegalArgumentException("illegal protocol version");
144 static public boolean isProtocolEas14(String version) { argument
145 if (version
[all...]
/packages/apps/Camera2/
H A DAndroid.mk21 include $(LOCAL_PATH)/version.mk
24 --version-name "$(version_name_package)" \
25 --version-code $(version_code_package) \
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictUtils.java38 public static DictionaryOptions makeDictionaryOptions(final String id, final String version, argument
43 options.mAttributes.put(DictionaryHeader.DICTIONARY_VERSION_KEY, version);
53 public static File getDictFile(final String name, final String version, argument
56 return new File(directory, name + "." + version + TEST_DICT_FILE_EXTENSION);
58 return new File(directory, name + "." + version);
60 throw new RuntimeException("the format option has a wrong version : "
74 throw new RuntimeException("The format option has a wrong version : "
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java75 // the data version on which last loading failed
236 public long version; field in class:AlbumDataLoader.UpdateInfo
247 public GetUpdateInfo(long version) { argument
248 mVersion = version;
258 long version = mVersion;
259 info.version = mSourceVersion;
264 if (setVersion[index] != version) {
285 mSourceVersion = info.version;
298 mFailedVersion = info.version;
308 mSetVersion[index] = info.version;
[all...]
H A DAlbumSetDataLoader.java235 public long version; field in class:AlbumSetDataLoader.UpdateInfo
248 public GetUpdateInfo(long version) { argument
249 mVersion = version;
252 private int getInvalidIndex(long version) { argument
257 if (setVersion[i % length] != version) return i;
267 info.version = mSourceVersion;
287 mSourceVersion = info.version;
297 mSetVersion[pos] = info.version;
354 long version = mSource.reload();
355 UpdateInfo info = executeAndWait(new GetUpdateInfo(version));
[all...]
H A DPackagesMonitor.java30 public static final String KEY_PACKAGES_VERSION = "packages-version";
58 int version = prefs.getInt(KEY_PACKAGES_VERSION, 1);
59 prefs.edit().putInt(KEY_PACKAGES_VERSION, version + 1).commit();
H A DSlideshowPage.java274 long version = mMediaSet.reload();
275 if (version != mSourceVersion) {
276 mSourceVersion = version;
280 return version;
348 long version = mMediaSet.reload();
349 if (version != mDataVersion) {
350 mDataVersion = version;
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasOptions.java33 * version.
38 /** Result code indicating we successfully got a protocol version. */
55 * {@link #getProtocolVersionString} to get the actual protocol version value.
63 * @return The protocol version to use, or null if we did not successfully get one.
111 * Find the best protocol version to use from the header.
113 * @return The best protocol version we mutually support, or null if none found.
121 // Find the most recent version we support
123 for (final String version: supportedVersionsArray) {
124 if (SUPPORTED_PROTOCOL_VERSIONS.contains(version)) {
125 newProtocolVersion = version;
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DComboAlbumSet.java80 long version = mSets[i].reload();
81 if (version > mDataVersion) changed = true;
H A DMediaItem.java56 public MediaItem(Path path, long version) { argument
57 super(path, version);
H A DComboAlbum.java87 long version = mSets[i].reload();
88 if (version > mDataVersion) changed = true;
H A DLocalMediaItem.java50 public LocalMediaItem(Path path, long version) { argument
51 super(path, version);
H A DMediaObject.java79 public MediaObject(Path path, long version) { argument
82 mDataVersion = version;
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DCacheManager.java40 int maxEntries, int maxBytes, int version) {
52 version);
39 getCache(Context context, String filename, int maxEntries, int maxBytes, int version) argument
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
H A DNdefPushProtocol.java70 // Check version of protocol
71 byte version;
73 version = input.readByte();
75 Log.w(TAG, "Unable to read version");
76 throw new FormatException("Unable to read version");
79 if(version != VERSION) {
80 Log.w(TAG, "Got version " + version + ", expected " + VERSION);
81 throw new FormatException("Got version " + version
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DWordListMetadata.java37 public final int mVersion; // version of this word list
38 public final int mFlags; // Always 0 in this version, reserved for future use
55 final String remoteFilename, final int version, final int formatVersion,
66 mVersion = version;
87 final Integer version = values.getAsInteger(MetadataDbHelper.VERSION_COLUMN);
99 || null == version
106 checksum, localFilename, remoteFilename, version, formatVersion, flags, locale);
52 WordListMetadata(final String id, final int type, final String description, final long lastUpdate, final long fileSize, final String rawChecksum, final String checksum, final String localFilename, final String remoteFilename, final int version, final int formatVersion, final int flags, final String locale) argument
H A DMetadataDbHelper.java43 // This was the initial release version of the database. It should never be
46 // This is the first released version of the database that implements CLIENTID. It is
49 // The current database version.
67 public static final String VERSION_COLUMN = "version";
234 * Upgrade the database. Upgrade from version 3 is supported.
243 * @param oldVersion The old database version (the one on the disk)
244 * @param newVersion The new database version as supplied to the constructor of SQLiteOpenHelper
251 // Upgrade from version METADATA_DATABASE_INITIAL_VERSION to version
255 // Anyway in version
452 makeContentValues(final int pendingId, final int type, final int status, final String wordlistId, final String locale, final String description, final String filename, final String url, final long date, final String rawChecksum, final String checksum, final long filesize, final int version, final int formatVersion) argument
675 getContentValuesByWordListId(final SQLiteDatabase db, final String id, final int version) argument
999 deleteEntry(final SQLiteDatabase db, final String id, final int version) argument
1013 markEntryAs(final SQLiteDatabase db, final String id, final int version, final int status, final long downloadId) argument
1033 markEntryAsEnabled(final SQLiteDatabase db, final String id, final int version) argument
1046 markEntryAsDisabled(final SQLiteDatabase db, final String id, final int version) argument
1059 markEntryAsAvailable(final SQLiteDatabase db, final String id, final int version) argument
1072 markEntryAsDownloading(final SQLiteDatabase db, final String id, final int version, final long downloadId) argument
1084 markEntryAsDeleting(final SQLiteDatabase db, final String id, final int version) argument
[all...]
/packages/apps/Email/src/com/beetstra/jutf7/
H A DUTF7StyleCharsetEncoder.java62 String version = System.getProperty("java.specification.version");
64 useUglyHackToForceCallToFlushInJava5 = "1.4".equals(version) || "1.5".equals(version);
130 * to indicate if a broken java version is used.
/packages/apps/Camera/src/com/android/camera/
H A DCameraSettings.java344 int version;
346 version = pref.getInt(KEY_LOCAL_VERSION, 0);
348 version = 0;
350 if (version == CURRENT_LOCAL_VERSION) return;
353 if (version == 1) {
368 int version;
370 version = pref.getInt(KEY_VERSION, 0);
372 version = 0;
374 if (version == CURRENT_VERSION) return;
377 if (version
[all...]
/packages/apps/Camera2/src/com/android/camera/
H A DSurfaceTextureRenderer.java121 int[] version = new int[2];
122 if (!mEgl.eglInitialize(mEglDisplay, version)) {
125 Log.v(TAG, "EGL version: " + version[0] + '.' + version[1]);
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCameraSettings.java288 int version;
290 version = pref.getInt(KEY_LOCAL_VERSION, 0);
292 version = 0;
294 if (version == CURRENT_LOCAL_VERSION) return;
297 if (version == 1) {
307 int version;
309 version = pref.getInt(KEY_VERSION, 0);
311 version = 0;
313 if (version == CURRENT_VERSION) return;
316 if (version
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFormatSpec.java34 * e | MAGIC_NUMBER + version of the file format, 2 bytes.
186 // From version 4 on, we use version * 100 + revision as a version number. That allows
189 // When we bump up the dictionary format version, we should update
193 // Dictionary version used for testing.
249 // These values are used only by version 4 or later. They MUST match the definitions in
322 public FormatOptions(final int version) { argument
323 this(version, false /* hasTimestamp */);
326 public FormatOptions(final int version, fina argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/
H A DFilterStackDBHelper.java46 public FilterStackDBHelper(Context context, String name, int version) { argument
47 super(context, name, null, version);
/packages/apps/Mms/src/com/android/mms/util/
H A DCacheManager.java43 int maxEntries, int maxBytes, int version) {
57 version);
42 getCache(Context context, String filename, int maxEntries, int maxBytes, int version) argument
/packages/inputmethods/LatinIME/native/jni/
H A DAndroid.mk50 $(warning Making profiling version of native library)
54 $(warning Making debug version of native library)
57 $(warning Making full debug version of native library)
78 $(warning Making profiling version of native library)
82 $(warning Making debug version of native library)

Completed in 5168 milliseconds

1234