/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()
|
/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/modules/IPsec/src/java/com/android/internal/net/eap/message/ttls/ |
D | EapTtlsTypeData.java | 72 public final int version; field in EapTtlsTypeData 82 version = (flags & FLAG_VERSION_MASK); in EapTtlsTypeData() 95 boolean isDataFragmented, boolean isStart, int version, int messageLength, byte[] data) in EapTtlsTypeData() argument 100 if (version != SUPPORTED_EAP_TTLS_VERSION) { in EapTtlsTypeData() 101 throw new EapTtlsParsingException("Unsupported version number: " + version); in EapTtlsTypeData() 103 this.version = version; in EapTtlsTypeData() 122 | (version)); in getFlagByte() 137 boolean packetFragmented, boolean start, int version, int messageLength, byte[] data) { in getEapTtlsTypeData() argument 139 return new EapTtlsTypeData(packetFragmented, start, version, messageLength, data); in getEapTtlsTypeData()
|
/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/modules/NetworkStack/src/com/android/server/ |
D | NetworkStackService.java | 231 AidlVersion(@NonNull String key, int version, @NonNull String hash) { in AidlVersion() argument 233 mVersion = version; in AidlVersion() 319 private void updateNetdAidlVersion(final int version, final String hash) { in updateNetdAidlVersion() argument 321 mAidlVersions.add(new AidlVersion(AIDL_KEY_NETD, version, hash)); in updateNetdAidlVersion() 325 private void updateNetworkStackAidlVersion(final int version, final String hash) { in updateNetworkStackAidlVersion() argument 327 mAidlVersions.add(new AidlVersion(AIDL_KEY_NETWORKSTACK, version, hash)); in updateNetworkStackAidlVersion() 331 private void updateIpMemoryStoreAidlVersion(final int version, final String hash) { in updateIpMemoryStoreAidlVersion() argument 333 mAidlVersions.add(new AidlVersion(AIDL_KEY_IPMEMORYSTORE, version, hash)); in updateIpMemoryStoreAidlVersion() 486 for (AidlVersion version : sortVersions(mAidlVersions)) { in dumpVersion() 487 fout.println(version); in dumpVersion() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierIdProvider.java | 420 setAppliedVersion(carrierList.version); in updateDatabaseFromPb() 530 int version = getAppliedVersion(); in getUpdateCarrierList() local 559 if (assets != null && assets.version > version) { in getUpdateCarrierList() 561 version = assets.version; in getUpdateCarrierList() 566 || (ota.version > version))) { in getUpdateCarrierList() 568 version = ota.version; in getUpdateCarrierList() 570 Log.d(TAG, "latest version: " + version + " need update: " + (carrierList != null)); in getUpdateCarrierList() 580 private void setAppliedVersion(int version) { in setAppliedVersion() argument 581 int relative_version = version & VERSION_BITMASK; in setAppliedVersion() 582 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 | 235 jint l2cap_psm, jint version, in sdpCreateMapMasRecordNative() argument 254 record.mas.hdr.profile_version = version; in sdpCreateMapMasRecordNative() 274 jint l2cap_psm, jint version, in sdpCreateMapMnsRecordNative() argument 293 record.mns.hdr.profile_version = version; in sdpCreateMapMnsRecordNative() 310 jstring name_str, jint version) { in sdpCreatePbapPceRecordNative() argument 326 record.pce.hdr.profile_version = version; in sdpCreatePbapPceRecordNative() 342 jint l2cap_psm, jint version, in sdpCreatePbapPseRecordNative() argument 362 record.pse.hdr.profile_version = version; in sdpCreatePbapPseRecordNative() 381 jint l2cap_psm, jint version, in sdpCreateOppOpsRecordNative() argument 400 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/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/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/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
|
/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);
|