Home
last modified time | relevance | path

Searched refs:version (Results 1 – 25 of 215) sorted by relevance

123456789

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumDataLoader.java236 public long version; field in AlbumDataLoader.UpdateInfo
247 public GetUpdateInfo(long version) { in GetUpdateInfo() argument
248 mVersion = version; in GetUpdateInfo()
258 long version = mVersion; in call() local
259 info.version = mSourceVersion; in call()
264 if (setVersion[index] != version) { in call()
285 mSourceVersion = info.version; in call()
298 mFailedVersion = info.version; in call()
308 mSetVersion[index] = info.version; in call()
371 long version = mSource.reload(); in run() local
[all …]
DAlbumSetDataLoader.java235 public long version; field in AlbumSetDataLoader.UpdateInfo
248 public GetUpdateInfo(long version) { in GetUpdateInfo() argument
249 mVersion = version; in GetUpdateInfo()
252 private int getInvalidIndex(long version) { in getInvalidIndex() argument
257 if (setVersion[i % length] != version) return i; in getInvalidIndex()
267 info.version = mSourceVersion; in call()
287 mSourceVersion = info.version; in call()
297 mSetVersion[pos] = info.version; in call()
354 long version = mSource.reload(); in run() local
355 UpdateInfo info = executeAndWait(new GetUpdateInfo(version)); in run()
[all …]
DPhotoDataAdapter.java777 long version = item.getDataVersion(); in startTaskIfNeeded() local
780 && entry.requestedScreenNail == version) { in startTaskIfNeeded()
783 && entry.requestedFullImage == version) { in startTaskIfNeeded()
787 if (which == BIT_SCREEN_NAIL && entry.requestedScreenNail != version) { in startTaskIfNeeded()
788 entry.requestedScreenNail = version; in startTaskIfNeeded()
795 if (which == BIT_FULL_IMAGE && entry.requestedFullImage != version in startTaskIfNeeded()
798 entry.requestedFullImage = version; in startTaskIfNeeded()
926 public long version; field in PhotoDataAdapter.UpdateInfo
951 info.version = mSourceVersion; in call()
972 mSourceVersion = info.version; in call()
[all …]
DSlideshowPage.java274 long version = mMediaSet.reload(); in reload() local
275 if (version != mSourceVersion) { in reload()
276 mSourceVersion = version; in reload()
280 return version; in reload()
348 long version = mMediaSet.reload(); in reload() local
349 if (version != mDataVersion) { in reload()
350 mDataVersion = version; in reload()
/packages/providers/ContactsProvider/tests/assets/testSynced/
Dexpected_raw_contacts.txt8 8 version=1
26 26 version=1
44 44 version=1
62 62 version=1
80 80 version=1
98 98 version=1
116 116 version=1
134 134 version=1
152 152 version=1
170 170 version=1
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataDbHelper.java485 final long filesize, final int version, final int formatVersion) { in makeContentValues() argument
500 result.put(VERSION_COLUMN, version); in makeContentValues()
711 final String id, final int version) { in getContentValuesByWordListId() argument
718 Integer.toString(version), in getContentValuesByWordListId()
1043 public static void deleteEntry(final SQLiteDatabase db, final String id, final int version) { in deleteEntry() argument
1045 new String[] { id, Integer.toString(version) }); in deleteEntry()
1058 final int version, final int status, final long downloadId) { in markEntryAs() argument
1059 final ContentValues values = MetadataDbHelper.getContentValuesByWordListId(db, id, version); in markEntryAs()
1066 new String[] { id, Integer.toString(version) }); in markEntryAs()
1078 final int version) { in markEntryAsEnabled() argument
[all …]
DUpdateHandler.java330 final Request request, final SQLiteDatabase db, final String id, final int version) { in registerDownloadRequest() argument
331 Log.i(TAG, "registerDownloadRequest() : Id = " + id + " : Version = " + version); in registerDownloadRequest()
336 MetadataDbHelper.markEntryAsDownloading(db, id, version, downloadId); in registerDownloadRequest()
1000 final String wordlistId, final int version, in markAsUsed() argument
1003 context, clientId, wordlistId, version); in markAsUsed()
1036 final String wordlistId, final int version, final int status) { in markAsUnused() argument
1039 context, clientId, wordlistId, version); in markAsUnused()
1065 final String wordlistId, final int version, final int status) { in markAsDeleting() argument
1068 context, clientId, wordlistId, version); in markAsDeleting()
1090 final String wordlistId, final int version, final int status) { in markAsDeleted() argument
[all …]
DWordListMetadata.java59 final int version, final int formatVersion, in WordListMetadata() argument
71 mVersion = version; in WordListMetadata()
93 final Integer version = values.getAsInteger(MetadataDbHelper.VERSION_COLUMN); in createFromContentValues() local
105 || null == version in createFromContentValues()
112 checksum, retryCount, localFilename, remoteFilename, version, formatVersion, in createFromContentValues()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java288 int version; in upgradeLocalPreferences() local
290 version = pref.getInt(KEY_LOCAL_VERSION, 0); in upgradeLocalPreferences()
292 version = 0; in upgradeLocalPreferences()
294 if (version == CURRENT_LOCAL_VERSION) return; in upgradeLocalPreferences()
297 if (version == 1) { in upgradeLocalPreferences()
307 int version; in upgradeGlobalPreferences() local
309 version = pref.getInt(KEY_VERSION, 0); in upgradeGlobalPreferences()
311 version = 0; in upgradeGlobalPreferences()
313 if (version == CURRENT_VERSION) return; in upgradeGlobalPreferences()
316 if (version == 0) { in upgradeGlobalPreferences()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java80 int rfcommChannel, int l2capPsm, int version, int msgTypes, int features); in sdpCreateMapMasRecordNative() argument
83 int rfcommChannel, int l2capPsm, int version, int features); in sdpCreateMapMnsRecordNative() argument
86 int l2capPsm, int version, int repositories, int features); in sdpCreatePbapPseRecordNative() argument
89 int rfcommChannel, int l2capPsm, int version, byte[] formats_list); in sdpCreateOppOpsRecordNative() argument
92 int version); in sdpCreateSapsRecordNative() argument
505 int rfcommChannel, int l2capPsm, int version, in createMapMasRecord() argument
511 l2capPsm, version, msgTypes, features); in createMapMasRecord()
535 int l2capPsm, int version, int features) { in createMapMnsRecord() argument
540 l2capPsm, version, features); in createMapMnsRecord()
566 int version, int repositories, int features) { in createPbapPseRecord() argument
[all …]
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/
DCallLogBackupAgentTest.java82 assertEquals(state.version, CallLogBackupAgent.VERSION_NO_PREVIOUS_STATE); in testReadState_NoCall()
94 assertEquals(1, state.version); in testReadState_OneCall()
108 assertEquals(1, state.version); in testReadState_MultipleCalls()
116 state.version = CallLogBackupAgent.VERSION; in testWriteState_NoCalls()
128 state.version = CallLogBackupAgent.VERSION; in testWriteState_OneCall()
142 state.version = CallLogBackupAgent.VERSION; in testWriteState_MultipleCalls()
160 state.version = CallLogBackupAgent.VERSION; in testRunBackup_NoCalls()
171 state.version = CallLogBackupAgent.VERSION; in testRunBackup_OneNewCall()
183 state.version = CallLogBackupAgent.VERSION; in testRunBackup_MultipleCall()
203 state.version = CallLogBackupAgent.VERSION; in testRunBackup_PartialMultipleCall()
/packages/providers/ContactsProvider/tests/assets/upgradeTest/
Dcontacts2_1108.sql4 CREATE TABLE _sync_state_metadata (version INTEGER); field
17 … TEXT,backup_id TEXT,raw_contact_is_read_only INTEGER NOT NULL DEFAULT 0,version INTEGER NOT NULL … field
38 …S package(_id),account_id INTEGER REFERENCES accounts(_id),sourceid TEXT,version INTEGER NOT NULL … field
139 …rceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts…
140 …rceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts…
142 …rceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts…
143 …rceid AS sourceid,raw_contacts.backup_id AS backup_id,raw_contacts.version AS version,raw_contacts…
148 …_type||'/'||accounts.data_set END) AS account_type_and_data_set,sourceid,version,dirty,title,title…
150 … AFTER UPDATE ON raw_contacts BEGIN UPDATE raw_contacts SET version=OLD.version+1 WHER…
151 …data_version+1 WHERE _id=OLD._id; UPDATE raw_contacts SET version=version+1 WHERE …
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherProvider.java501 int version = oldVersion; in onUpgrade() local
502 if (version < 3) { in onUpgrade()
510 version = 3; in onUpgrade()
519 if (version == 3) { in onUpgrade()
524 if (version < 4) { in onUpgrade()
525 version = 4; in onUpgrade()
536 if (version < 6) { in onUpgrade()
551 version = 6; in onUpgrade()
555 if (version < 7) { in onUpgrade()
558 version = 7; in onUpgrade()
[all …]
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
DCallLogBackupAgent.java60 int version; field in CallLogBackupAgent.CallLogBackupState
275 state.version = dataInput.readInt(); in readState()
277 if (state.version >= 1) { in readState()
287 state.version = VERSION_NO_PREVIOUS_STATE; in readState()
325 int version = dataInput.readInt(); in readCallFromData() local
326 if (version >= 1) { in readCallFromData()
339 if (version >= 1002) { in readCallFromData()
354 if (version >= 1003) { in readCallFromData()
358 if (version >= 1004) { in readCallFromData()
362 if(version >= 1005) { in readCallFromData()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_sdp.cpp252 jint l2cap_psm, jint version, in sdpCreateMapMasRecordNative() argument
271 record.mas.hdr.profile_version = version; in sdpCreateMapMasRecordNative()
291 jint l2cap_psm, jint version, in sdpCreateMapMnsRecordNative() argument
310 record.mns.hdr.profile_version = version; in sdpCreateMapMnsRecordNative()
328 jint l2cap_psm, jint version, in sdpCreatePbapPseRecordNative() argument
348 record.pse.hdr.profile_version = version; in sdpCreatePbapPseRecordNative()
367 jint l2cap_psm, jint version, in sdpCreateOppOpsRecordNative() argument
386 record.ops.hdr.profile_version = version; in sdpCreateOppOpsRecordNative()
416 jint version) { in sdpCreateSapsRecordNative() argument
433 record.mas.hdr.profile_version = version; in sdpCreateSapsRecordNative()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DBlockedNumberBackupAgent.java96 int version = VERSION; in readState() local
98 version = dataInputStream.readInt(); in readState()
100 BackupState state = new BackupState(version, new TreeSet<Integer>()); in readState()
248 final int version; field in BlockedNumberBackupAgent.BackupState
251 BackupState(int version, SortedSet<Integer> ids) { in BackupState() argument
252 this.version = version; in BackupState()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDictionaryInfoUtils.java85 long filesize, long modifiedTimeMillis, int version) { in DictionaryInfo() argument
92 mVersion = version; in DictionaryInfo()
429 final int version = DictionaryHeaderUtils.getContentVersion(fileAddress);
437 fileAddress.mLength, new File(fileAddress.mFilename).lastModified(), version);
449 final int version = DictionaryHeaderUtils.getContentVersion(fileAddress);
451 if (version == -1) {
464 unCachedFile.lastModified(), version);
472 final int version = -1;
475 return new DictionaryInfo(id, locale, description, null, 0L, 0L, version);
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
Dexpected_raw_contacts.txt8 8 version=1
26 26 version=1
44 44 version=1
62 62 version=1
80 80 version=1
/packages/inputmethods/LatinIME/native/jni/
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)
/packages/providers/ContactsProvider/tests/assets/test1/
Dexpected_raw_contacts.txt8 8 version=1
26 26 version=1
44 44 version=1
62 62 version=1
80 80 version=1
Dexpected_groups.txt12 12 version=1
29 29 version=1
46 46 version=1
63 63 version=1
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndapi.c583 NJ_UINT32 version; in njd_check_dic() local
596 version = NJ_INT32_READ(addr); in njd_check_dic()
597 if ((version != NJ_DIC_VERSION1) && (version != NJ_DIC_VERSION2) && in njd_check_dic()
598 (version != NJ_DIC_VERSION2_1) && (version != NJ_DIC_VERSION3)) { in njd_check_dic()
641 if (version != (NJ_UINT32)NJ_DIC_VERSION2) { in njd_check_dic()
648 if (version != (NJ_UINT32)NJ_DIC_VERSION2_1) { in njd_check_dic()
655 if (version != (NJ_UINT32)NJ_DIC_VERSION1) { in njd_check_dic()
662 if (version != (NJ_UINT32)NJ_DIC_VERSION2) { in njd_check_dic()
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushProtocol.java71 byte version; in NdefPushProtocol()
73 version = input.readByte(); 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()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java746 final int version = formatOptions.mVersion; in writeDictionaryHeader() local
747 if ((version >= FormatSpec.MINIMUM_SUPPORTED_STATIC_VERSION && in writeDictionaryHeader()
748 version <= FormatSpec.MAXIMUM_SUPPORTED_STATIC_VERSION) || ( in writeDictionaryHeader()
749 version >= FormatSpec.MINIMUM_SUPPORTED_DYNAMIC_VERSION && in writeDictionaryHeader()
750 version <= FormatSpec.MAXIMUM_SUPPORTED_DYNAMIC_VERSION)) { in writeDictionaryHeader()
753 throw new UnsupportedFormatException("Requested file format version " + version in writeDictionaryHeader()
770 headerBuffer.write((byte) (0xFF & (version >> 8))); in writeDictionaryHeader()
771 headerBuffer.write((byte) (0xFF & version)); in writeDictionaryHeader()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DFormatSpec.java255 public FormatOptions(final int version) { in FormatOptions() argument
256 this(version, false /* hasTimestamp */); in FormatOptions()
259 public FormatOptions(final int version, final boolean hasTimestamp) { in FormatOptions() argument
260 mVersion = version; in FormatOptions()

123456789