/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | DbDowngradeHelper.java | 50 public final int version; field in DbDowngradeHelper 52 private DbDowngradeHelper(int version) { in DbDowngradeHelper() argument 53 this.version = version; in DbDowngradeHelper() 78 for (int version = helper.version - 1; version > 0; version--) { in parse() 79 if (obj.has(KEY_DOWNGRADE_TO + version)) { in parse() 80 JSONArray statements = obj.getJSONArray(KEY_DOWNGRADE_TO + version); in parse() 85 helper.mStatements.put(version, parsed); in parse() 93 if (DbDowngradeHelper.parse(schemaFile).version >= expectedVersion) { in updateSchemaFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | AlbumDataLoader.java | 236 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 …]
|
D | AlbumSetDataLoader.java | 235 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 …]
|
D | SlideshowPage.java | 274 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()
|
D | PhotoDataAdapter.java | 777 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 …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/ |
D | SdpManager.java | 83 int l2capPsm, int version, int msgTypes, int features); in sdpCreateMapMasRecordNative() argument 86 int l2capPsm, int version, int features); in sdpCreateMapMnsRecordNative() argument 89 int version); in sdpCreatePbapPceRecordNative() argument 92 int l2capPsm, int version, int repositories, int features); in sdpCreatePbapPseRecordNative() argument 95 int l2capPsm, int version, byte[] formatsList); in sdpCreateOppOpsRecordNative() argument 98 int version); in sdpCreateSapsRecordNative() argument 507 int version, int msgTypes, int features) { in createMapMasRecord() argument 511 return sdpCreateMapMasRecordNative(serviceName, masId, rfcommChannel, l2capPsm, version, in createMapMasRecord() 535 public int createMapMnsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, in createMapMnsRecord() argument 540 return sdpCreateMapMnsRecordNative(serviceName, rfcommChannel, l2capPsm, version, features); in createMapMnsRecord() [all …]
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
D | expected_raw_contacts.txt | 8 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/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 288 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/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | MetadataDbHelper.java | 485 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 …]
|
D | UpdateHandler.java | 330 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 …]
|
D | WordListMetadata.java | 59 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/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
D | CallLogBackupAgentTest.java | 82 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/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierIdProvider.java | 417 setAppliedVersion(carrierList.version); in updateDatabaseFromPb() 527 int version = getAppliedVersion(); in getUpdateCarrierList() local 551 if (assets != null && assets.version > version) { in getUpdateCarrierList() 553 version = assets.version; in getUpdateCarrierList() 558 || (ota.version > version))) { in getUpdateCarrierList() 560 version = ota.version; in getUpdateCarrierList() 562 Log.d(TAG, "latest version: " + version + " need update: " + (carrierList != null)); in getUpdateCarrierList() 572 private void setAppliedVersion(int version) { in setAppliedVersion() argument 573 int relative_version = version & VERSION_BITMASK; in setAppliedVersion() 574 Log.d(TAG, "update version number: " + Integer.toHexString(version) in setAppliedVersion() [all …]
|
/packages/providers/CallLogProvider/src/com/android/calllogbackup/ |
D | CallLogBackupAgent.java | 58 int version; field in CallLogBackupAgent.CallLogBackupState 283 state.version = dataInput.readInt(); in readState() 285 if (state.version >= 1) { in readState() 295 state.version = VERSION_NO_PREVIOUS_STATE; in readState() 333 int version = dataInput.readInt(); in readCallFromData() local 334 if (version >= 1) { in readCallFromData() 347 if (version >= 1002) { in readCallFromData() 362 if (version >= 1003) { in readCallFromData() 366 if (version >= 1004) { in readCallFromData() 370 if(version >= 1005) { in readCallFromData() [all …]
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_sdp.cpp | 236 jint l2cap_psm, jint version, in sdpCreateMapMasRecordNative() argument 255 record.mas.hdr.profile_version = version; in sdpCreateMapMasRecordNative() 275 jint l2cap_psm, jint version, in sdpCreateMapMnsRecordNative() argument 294 record.mns.hdr.profile_version = version; in sdpCreateMapMnsRecordNative() 311 jstring name_str, jint version) { in sdpCreatePbapPceRecordNative() argument 327 record.pce.hdr.profile_version = version; in sdpCreatePbapPceRecordNative() 343 jint l2cap_psm, jint version, in sdpCreatePbapPseRecordNative() argument 363 record.pse.hdr.profile_version = version; in sdpCreatePbapPseRecordNative() 382 jint l2cap_psm, jint version, in sdpCreateOppOpsRecordNative() argument 401 record.ops.hdr.profile_version = version; in sdpCreateOppOpsRecordNative() [all …]
|
/packages/providers/ContactsProvider/tests/assets/upgradeTest/ |
D | contacts2_1108.sql | 4 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/providers/ContactsProvider/tests/assets/testUnsynced/ |
D | expected_raw_contacts.txt | 8 8 version=1 26 26 version=1 44 44 version=1 62 62 version=1 80 80 version=1
|
/packages/apps/Dialer/java/com/android/dialer/commandline/ |
D | CommandLineModule.java | 48 private final Version version; field in CommandLineModule.AospCommandInjector 57 Version version, in AospCommandInjector() argument 63 this.version = version; in AospCommandInjector() 72 builder.addCommand("version", version); in inject()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictUtils.java | 38 public static DictionaryOptions makeDictionaryOptions(final String id, final String version, in makeDictionaryOptions() argument 43 options.mAttributes.put(DictionaryHeader.DICTIONARY_VERSION_KEY, version); in makeDictionaryOptions() 53 public static File getDictFile(final String name, final String version, in getDictFile() argument 58 return new File(directory, name + "." + version + TEST_DICT_FILE_EXTENSION); in getDictFile() 60 return new File(directory, name + "." + version); in getDictFile()
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
D | expected_raw_contacts.txt | 8 8 version=1 26 26 version=1 44 44 version=1 62 62 version=1 80 80 version=1
|
D | expected_groups.txt | 12 12 version=1 29 29 version=1 46 46 version=1 63 63 version=1
|
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/ |
D | BlockedNumberBackupAgent.java | 96 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/services/Car/service/proto/ |
D | ble_version_exchange.proto | 9 // Minimum supported protobuf version. 12 // Maximum supported protobuf version. 15 // Minimum supported version of the encryption engine. 18 // Maximum supported version of the encryption engine.
|
/packages/apps/Nfc/src/com/android/nfc/ndefpush/ |
D | NdefPushProtocol.java | 71 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/java/src/com/android/inputmethod/latin/utils/ |
D | DictionaryInfoUtils.java | 85 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);
|