Searched defs:version (Results 26 - 50 of 62) sorted by relevance

123

/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
H A DBlockedNumberBackupAgent.java96 int version = VERSION;
98 version = dataInputStream.readInt();
100 BackupState state = new BackupState(version, new TreeSet<Integer>());
212 dataInput.readInt(); // Ignore version.
248 final int version; field in class:BlockedNumberBackupAgent.BackupState
251 BackupState(int version, SortedSet<Integer> ids) { argument
252 this.version = version;
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCallLogDatabaseHelper.java90 int version) {
91 super(context, name, factory, version);
111 // performed from the legacy schema (of the latest version -- because the migration
283 * Perform the migration from the contacts2.db (of the latest version) to the current calllog/
89 OpenHelper(Context context, String name, SQLiteDatabase.CursorFactory factory, int version) argument
H A DSearchIndexManager.java261 // We do a version check again, because the version might have been modified after
405 private void setSearchIndexVersion(int version) { argument
406 mDbHelper.setProperty(PROPERTY_SEARCH_INDEX_VERSION, String.valueOf(version));
/packages/services/BuiltInPrintService/jni/ipphelper/
H A Dipp_print.c213 "document-source-application-version", NULL, g_appVersion);
220 char version[40]; local
221 sprintf(version, "%d", g_API_version);
223 "document-source-os-version", NULL, version);
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DBackend.java80 /** Return the current application version or VERISON_UNKNOWN */
246 * @param apiVersion local system API version to be supplied to printers
255 * @param version version of delivering application
258 native void nativeSetSourceInfo(String appName, String version, String appId); argument
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java148 final PendingResult result, final int version) {
153 if (mLoader != null && version >= currentVersion.get()) {
147 createUpdateLoaderRunnable(final String selection, final PendingResult result, final int version) argument
/packages/apps/Contacts/tests/src/com/android/contacts/model/
H A DRawContactDeltaListTests.java116 static RawContactDelta buildBeforeEntity(Context context, long rawContactId, long version, argument
120 contact.put(RawContacts.VERSION, version);
227 static CPOWrapper buildAssertVersion(long version) { argument
229 values.put(RawContacts.VERSION, version);
372 // Merge in second version, verify they match
393 // Merge in the second version, verify diff matches
418 // Merge in the second version, verify that our update changed to
444 // Merge in the second version, verify that our delete remains
468 // Merge in the second version, verify that our insert remains
497 // Merge in the second version, verif
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java75 // the data version on which last loading failed
236 public long version; field in class:AlbumDataLoader.UpdateInfo
247 public GetUpdateInfo(long version) { argument
248 mVersion = version;
258 long version = mVersion;
259 info.version = mSourceVersion;
264 if (setVersion[index] != version) {
285 mSourceVersion = info.version;
298 mFailedVersion = info.version;
308 mSetVersion[index] = info.version;
[all...]
H A DAlbumSetDataLoader.java235 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 DPhotoDataAdapter.java132 // mChanges keeps the version number (of MediaItem) about the images. If any
133 // of the version number changes, we notify the view. This is used after a
777 long version = item.getDataVersion();
780 && entry.requestedScreenNail == version) {
783 && entry.requestedFullImage == version) {
787 if (which == BIT_SCREEN_NAIL && entry.requestedScreenNail != version) {
788 entry.requestedScreenNail = version;
795 if (which == BIT_FULL_IMAGE && entry.requestedFullImage != version
798 entry.requestedFullImage = version;
926 public long version; field in class:PhotoDataAdapter.UpdateInfo
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DMediaObject.java79 public MediaObject(Path path, long version) { argument
82 mDataVersion = version;
/packages/apps/TV/src/com/android/tv/tuner/
H A DTunerPreferences.java173 public static synchronized void setChannelDataVersion(Context context, int version) { argument
175 setPreference(context, PREFS_KEY_CHANNEL_DATA_VERSION, version);
178 .putInt(TunerPreferences.PREFS_KEY_CHANNEL_DATA_VERSION, version)
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DFormatSpec.java34 * e | MAGIC_NUMBER + version of the file format, 2 bytes.
166 // From version 2.01 on, we use version * 100 + revision as a version number. That allows
169 // When we bump up the dictionary format version, we should update
175 // format version for Fava Dictionaries.
255 public FormatOptions(final int version) { argument
256 this(version, false /* hasTimestamp */);
259 public FormatOptions(final int version, final boolean hasTimestamp) { argument
260 mVersion = version;
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DDictionaryInfoUtils.java73 private static final String VERSION_COLUMN = "version";
85 long filesize, long modifiedTimeMillis, int version) {
92 mVersion = version;
263 * The file name is pretty much an URL-encoded version of the id inside a directory
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
83 DictionaryInfo(@onnull String id, @Nonnull Locale locale, @Nullable String description, @Nullable String filename, long filesize, long modifiedTimeMillis, int version) argument
[all...]
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
H A Dndapi.c583 NJ_UINT32 version; local
596 version = NJ_INT32_READ(addr);
597 if ((version != NJ_DIC_VERSION1) && (version != NJ_DIC_VERSION2) &&
598 (version != NJ_DIC_VERSION2_1) && (version != NJ_DIC_VERSION3)) {
641 if (version != (NJ_UINT32)NJ_DIC_VERSION2) {
648 if (version != (NJ_UINT32)NJ_DIC_VERSION2_1) {
655 if (version != (NJ_UINT32)NJ_DIC_VERSION1) {
662 if (version !
[all...]
/packages/providers/CallLogProvider/src/com/android/calllogbackup/
H A DCallLogBackupAgent.java60 int version; field in class:CallLogBackupAgent.CallLogBackupState
105 /** Current version of CallLogBackup. Used to track the backup format. */
274 // Read the version.
275 state.version = dataInput.readInt();
277 if (state.version >= 1) {
287 state.version = VERSION_NO_PREVIOUS_STATE;
296 // Write version first of all
325 int version = dataInput.readInt();
326 if (version >= 1) {
339 if (version >
[all...]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
H A DUsbDeviceStateController.java188 request.version);
362 public final String version; field in class:UsbDeviceStateController.AoapSwitchRequest
367 String description, String version, String uri, String serial) {
372 this.version = version;
366 AoapSwitchRequest(UsbDevice device, String manufacturer, String model, String description, String version, String uri, String serial) argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java110 // Defaults message version is 1.0 but 1.1+ if feature bit is set
310 mMessageVersion = BluetoothMapUtils.MAP_V10_STR;//always assume version 1.0 to start with
1045 String version;
1048 version = BluetoothMapUtils.MAP_V11_STR;
1050 version = BluetoothMapUtils.MAP_V10_STR;
1052 /* This will only set the version, the bit must also be checked before adding any
1054 outBytes = outList.encode(mThreadIdSupport, version);
1076 // Force update of version counter if needed
1222 // Force update of version counter if needed
1481 * @param version
1486 sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams, String version) argument
[all...]
H A DBluetoothMapbMessage.java75 * Construct a version 3.0 vCard
94 * Construct a version 2.1 vCard
111 * Construct a version 3.0 vCard
137 * Construct a version 2.1 vCard
469 * Set the version string for VCARD
470 * @param version the actual number part of the version string i.e. 1.0
472 public void setVersionString(String version) { argument
473 this.mVersionString = "VERSION:"+version;
831 * Add a version 3.
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
H A DSdpManager.java80 int rfcommChannel, int l2capPsm, int version, int msgTypes, int features);
83 int rfcommChannel, int l2capPsm, int version, int features);
86 int l2capPsm, int version, int repositories, int features);
89 int rfcommChannel, int l2capPsm, int version, byte[] formats_list);
92 int version);
493 * @param version The Profile version number (As specified in the Bluetooth
505 int rfcommChannel, int l2capPsm, int version,
511 l2capPsm, version, msgTypes, features);
525 * @param version Th
79 sdpCreateMapMasRecordNative(String serviceName, int masId, int rfcommChannel, int l2capPsm, int version, int msgTypes, int features) argument
82 sdpCreateMapMnsRecordNative(String serviceName, int rfcommChannel, int l2capPsm, int version, int features) argument
85 sdpCreatePbapPseRecordNative(String serviceName, int rfcommChannel, int l2capPsm, int version, int repositories, int features) argument
88 sdpCreateOppOpsRecordNative(String serviceName, int rfcommChannel, int l2capPsm, int version, byte[] formats_list) argument
91 sdpCreateSapsRecordNative(String serviceName, int rfcommChannel, int version) argument
504 createMapMasRecord(String serviceName, int masId, int rfcommChannel, int l2capPsm, int version, int msgTypes, int features) argument
534 createMapMnsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, int features) argument
565 createPbapPseRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, int repositories, int features) argument
594 createOppOpsRecord(String serviceName, int rfcommChannel, int l2capPsm, int version, byte[] formatsList) argument
618 createSapsRecord(String serviceName, int rfcommChannel, int version) argument
[all...]
/packages/apps/Email/provider_src/com/android/email/mail/store/
H A DImapStore.java184 * os-version "version; model; build-id"
250 * @param version Build.VERSION.RELEASE
259 static String makeCommonImapId(String packageName, String version, argument
264 // version, model, and vendor strings: a-z A-Z 0-9 - _ + = ; : . , / <space>
269 version = p.matcher(version).replaceAll("");
284 // "os-version" "version; build-id"
285 sb.append(" \"os-version\" \"");
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java139 int version) throws IOException {
143 mVersion = version;
208 Log.w(TAG, "version mismatch");
419 // This method is for one-off lookup. For repeated lookup, use the version
138 BlobCache(String path, int maxEntries, int maxBytes, boolean reset, int version) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DUpdateHandler.java326 * @param version the version of the word list.
330 final Request request, final SQLiteDatabase db, final String id, final int version) {
331 Log.i(TAG, "registerDownloadRequest() : Id = " + id + " : Version = " + version);
336 MetadataDbHelper.markEntryAsDownloading(db, id, version, downloadId);
778 + " version " + metadataInfo.mFormatVersion + " and the maximum version"
801 // If it's the same id/version, we update the DB with the new values.
805 // If it's a new version, it's a different entry in the database. Make it
907 // As opposed to many other methods, this method does not need the version o
329 registerDownloadRequest(final DownloadManagerWrapper manager, final Request request, final SQLiteDatabase db, final String id, final int version) argument
999 markAsUsed(final Context context, final String clientId, final String wordlistId, final int version, final int status, final boolean allowDownloadOnMeteredData) argument
1035 markAsUnused(final Context context, final String clientId, final String wordlistId, final int version, final int status) argument
1064 markAsDeleting(final Context context, final String clientId, final String wordlistId, final int version, final int status) argument
1089 markAsDeleted(final Context context, final String clientId, final String wordlistId, final int version, final int status) argument
1111 markAsBrokenOrRetrying(final Context context, final String clientId, final String wordlistId, final int version) argument
[all...]
H A DMetadataDbHelper.java45 // This was the initial release version of the database. It should never be
48 // This is the first released version of the database that implements CLIENTID. It is
51 // The current database version.
73 public static final String VERSION_COLUMN = "version";
255 * Upgrade the database. Upgrade from version 3 is supported.
264 * @param oldVersion The old database version (the one on the disk)
265 * @param newVersion The new database version as supplied to the constructor of SQLiteOpenHelper
272 // Upgrade from version METADATA_DATABASE_INITIAL_VERSION to version
276 // Anyway in version
481 makeContentValues(final int pendingId, final int type, final int status, final String wordlistId, final String locale, final String description, final String filename, final String url, final long date, final String rawChecksum, final String checksum, final int retryCount, final long filesize, final int version, final int formatVersion) argument
710 getContentValuesByWordListId(final SQLiteDatabase db, final String id, final int version) argument
1043 deleteEntry(final SQLiteDatabase db, final String id, final int version) argument
1057 markEntryAs(final SQLiteDatabase db, final String id, final int version, final int status, final long downloadId) argument
1077 markEntryAsEnabled(final SQLiteDatabase db, final String id, final int version) argument
1090 markEntryAsDisabled(final SQLiteDatabase db, final String id, final int version) argument
1103 markEntryAsAvailable(final SQLiteDatabase db, final String id, final int version) argument
1116 markEntryAsDownloading(final SQLiteDatabase db, final String id, final int version, final long downloadId) argument
1128 markEntryAsDeleting(final SQLiteDatabase db, final String id, final int version) argument
1141 maybeMarkEntryAsRetrying(final SQLiteDatabase db, final String id, final int version) argument
[all...]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DDownloadProvider.java84 /** Current database version */
234 * initialized and upgrade it when a new version of the provider needs
235 * an updated version of the database.
268 // no logic to upgrade from these older version, just recreate the DB
269 Log.i(Constants.TAG, "Upgrading downloads database from version " + oldV
270 + " to version " + newV + ", which will destroy all old data");
275 Log.i(Constants.TAG, "Downgrading downloads database from version " + oldV
276 + " (current version is " + newV + "), destroying all old data");
280 for (int version = oldV + 1; version <
288 upgradeTo(SQLiteDatabase db, int version) argument
[all...]

Completed in 694 milliseconds

123