/packages/apps/Exchange/src/com/android/exchange/ |
H A D | Eas.java | 46 // 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 D | Android.mk | 21 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 D | BinaryDictUtils.java | 38 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 D | AlbumDataLoader.java | 75 // 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 D | AlbumSetDataLoader.java | 235 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 D | PackagesMonitor.java | 30 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 D | SlideshowPage.java | 274 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 D | EasOptions.java | 33 * 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 D | ComboAlbumSet.java | 80 long version = mSets[i].reload(); 81 if (version > mDataVersion) changed = true;
|
H A D | MediaItem.java | 56 public MediaItem(Path path, long version) { argument 57 super(path, version);
|
H A D | ComboAlbum.java | 87 long version = mSets[i].reload(); 88 if (version > mDataVersion) changed = true;
|
H A D | LocalMediaItem.java | 50 public LocalMediaItem(Path path, long version) { argument 51 super(path, version);
|
H A D | MediaObject.java | 79 public MediaObject(Path path, long version) { argument 82 mDataVersion = version;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | CacheManager.java | 40 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 D | NdefPushProtocol.java | 70 // 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 D | WordListMetadata.java | 37 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 D | MetadataDbHelper.java | 43 // 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 D | UTF7StyleCharsetEncoder.java | 62 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 D | CameraSettings.java | 344 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 D | SurfaceTextureRenderer.java | 121 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 D | CameraSettings.java | 288 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 D | FormatSpec.java | 34 * 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 D | FilterStackDBHelper.java | 46 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 D | CacheManager.java | 43 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 D | Android.mk | 50 $(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)
|