/packages/apps/Calculator/src/com/android/calculator2/ |
H A D | Persist.java | 54 int version = in.readInt(); 55 if (version > 1) { 57 } else if (version > LAST_VERSION) { 58 throw new IOException("data version " + version + "; expected " + LAST_VERSION); 60 history = new History(version, in);
|
H A D | HistoryEntry.java | 33 HistoryEntry(int version, DataInput in) throws IOException { argument 34 if (version >= VERSION_1) { 39 throw new IOException("invalid version " + version);
|
H A D | History.java | 37 History(int version, DataInput in) throws IOException { argument 38 if (version >= VERSION_1) { 41 mEntries.add(new HistoryEntry(version, in)); 45 throw new IOException("invalid version " + version);
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | Eas.java | 42 // Define our default protocol version as 2.5 (Exchange 2003) 109 static public Double getProtocolVersionDouble(String version) { argument 110 if (SUPPORTED_PROTOCOL_EX2003.equals(version)) { 112 } else if (SUPPORTED_PROTOCOL_EX2007.equals(version)) { 114 } if (SUPPORTED_PROTOCOL_EX2007_SP1.equals(version)) { 116 } if (SUPPORTED_PROTOCOL_EX2010.equals(version)) { 118 } if (SUPPORTED_PROTOCOL_EX2010_SP1.equals(version)) { 121 throw new IllegalArgumentException("illegal protocol version");
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | FormatSpec.java | 227 public FormatOptions(final int version) { argument 228 this(version, false); 230 public FormatOptions(final int version, final boolean supportsDynamicUpdate) { argument 231 mVersion = version; 232 if (version < FIRST_VERSION_WITH_DYNAMIC_UPDATE && supportsDynamicUpdate) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | AlbumDataLoader.java | 75 // the data version on which last loading failed 237 public long version; field in class:AlbumDataLoader.UpdateInfo 248 public GetUpdateInfo(long version) { argument 249 mVersion = version; 259 long version = mVersion; 260 info.version = mSourceVersion; 265 if (setVersion[index] != version) { 286 mSourceVersion = info.version; 299 mFailedVersion = info.version; 309 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();
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | DebugSettings.java | 89 String version = ""; 94 version = "Version " + info.versionName; 96 Log.e(TAG, "Could not find version info."); 99 mDebugMode.setTitle(version); 103 mDebugMode.setSummary(version);
|
/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 | 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 | MediaItem.java | 61 public MediaItem(Path path, long version) { argument 62 super(path, version);
|
H A D | MediaObject.java | 78 public MediaObject(Path path, long version) { argument 81 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/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/Gallery2/src/com/android/gallery3d/gadget/ |
H A D | MediaSetSource.java | 86 long version = mSource.reload(); 87 if (mSourceVersion != version) { 88 mSourceVersion = version;
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraSettings.java | 339 int version; 341 version = pref.getInt(KEY_LOCAL_VERSION, 0); 343 version = 0; 345 if (version == CURRENT_LOCAL_VERSION) return; 348 if (version == 1) { 363 int version; 365 version = pref.getInt(KEY_VERSION, 0); 367 version = 0; 369 if (version == CURRENT_VERSION) return; 372 if (version [all...] |
/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/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | AbstractInternalSource.java | 71 * Shortcuts from previous version are compatible with shortcuts from this version, so we just 73 * version code should be added here. 76 public boolean isVersionCodeCompatible(int version) { argument
|
H A D | AbstractSource.java | 67 public boolean isVersionCodeCompatible(int version) { argument 68 return getVersionCode() == version;
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | CacheManager.java | 41 int maxEntries, int maxBytes, int version) { 55 version); 40 getCache(Context context, String filename, int maxEntries, int maxBytes, int version) argument
|
/packages/inputmethods/LatinIME/native/jni/ |
H A D | Android.mk | 61 $(warning Making profiling version of native library) 65 $(warning Making debug version of native library) 84 $(warning Making profiling version of native library) 88 $(warning Making debug version of native library)
|
/packages/apps/Gallery2/src_pd/com/android/gallery3d/picasasource/ |
H A D | PicasaSource.java | 60 public EmptyAlbumSet(Path path, long version) { argument 61 super(path, version);
|