/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/modules/ArtPrebuilt/iorap/test/ |
D | README.md | 3 This directory contains a toy app for iorap test. The app shows a version number 6 * iorap_test_app_v1.apk: test app version 1 7 * iorap_test_app_v2.apk: test app version 2 (same with version 1 except for the 8 version) 9 * iorap_test_app_v3.apk: test app version 3 (same with version 1 except for the 10 version) 23 To change the version of the app,
|
/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 …]
|
/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/MediaProvider/ |
D | sqlite3.sh | 49 version=$(adb shell sqlite3 $check_string) 50 echo "Old version: $version" 52 version=$((version+1)) 53 upgrade_string="/data/user/0/$package/databases/external.db \"pragma user_version=$version\"" 56 version=$(adb shell sqlite3 $check_string) 57 echo "New version: $version"
|
/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 | 229 AidlVersion(@NonNull String key, int version, @NonNull String hash) { in AidlVersion() argument 231 mVersion = version; in AidlVersion() 317 private void updateNetdAidlVersion(final int version, final String hash) { in updateNetdAidlVersion() argument 319 mAidlVersions.add(new AidlVersion(AIDL_KEY_NETD, version, hash)); in updateNetdAidlVersion() 323 private void updateNetworkStackAidlVersion(final int version, final String hash) { in updateNetworkStackAidlVersion() argument 325 mAidlVersions.add(new AidlVersion(AIDL_KEY_NETWORKSTACK, version, hash)); in updateNetworkStackAidlVersion() 329 private void updateIpMemoryStoreAidlVersion(final int version, final String hash) { in updateIpMemoryStoreAidlVersion() argument 331 mAidlVersions.add(new AidlVersion(AIDL_KEY_IPMEMORYSTORE, version, hash)); in updateIpMemoryStoreAidlVersion() 479 for (AidlVersion version : sortVersions(mAidlVersions)) { in dumpVersion() 480 fout.println(version); in dumpVersion() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierIdProvider.java | 415 setAppliedVersion(carrierList.version); in updateDatabaseFromPb() 525 int version = getAppliedVersion(); in getUpdateCarrierList() local 549 if (assets != null && assets.version > version) { in getUpdateCarrierList() 551 version = assets.version; in getUpdateCarrierList() 556 || (ota.version > version))) { in getUpdateCarrierList() 558 version = ota.version; in getUpdateCarrierList() 560 Log.d(TAG, "latest version: " + version + " need update: " + (carrierList != null)); in getUpdateCarrierList() 570 private void setAppliedVersion(int version) { in setAppliedVersion() argument 571 int relative_version = version & VERSION_BITMASK; in setAppliedVersion() 572 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/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
|
/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);
|