Searched defs:version (Results 1 - 25 of 85) sorted by path

1234

/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp958 uint8_t version; local
959 if (mDataSource->readAt(data_offset, &version, 1) < 1) {
978 if (version == 1) {
983 } else if (version == 0) {
1053 // tenc box contains 1 byte version, 3 byte flags, 3 byte default algorithm id, one byte
1151 uint8_t version; local
1153 data_offset, &version, sizeof(version))
1154 < (ssize_t)sizeof(version)) {
1160 if (version
2014 uint32_t version = flags >> 24; local
2127 uint8_t version; local
3219 uint8_t version; local
3282 uint8_t version; local
[all...]
H A DXINGSeeker.cpp103 uint8_t version = (buffer[1] >> 3) & 3; local
106 if(version & 1) { // mpeg1
H A Davc_utils.cpp605 unsigned version = (header >> 19) & 3; local
607 if (version == 0x01) {
634 if (version == 2 /* V2 */) {
636 } else if (version == 0 /* V2.5 */) {
656 (version == 3 /* V1 */)
688 if (version == 3 /* V1 */) {
709 if (version == 3 /* V1 */) {
/frameworks/av/media/libstagefright/codecs/mp3dec/include/
H A Dpvmp3decoder_api.h189 int16 version; member in struct:tPVMP3DecoderExternal
210 * Out: Size of the output frame in 16-bit words, This value depends on the mp3 version
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp157 int32 version; local
162 version = MPEG_2_5;
165 version = MPEG_2;
168 version = MPEG_1;
171 version = INVALID_VERSION;
177 if (version != INVALID_VERSION && (freq_index != 3))
179 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[version][(temp<<16)>>28] << 20,
182 numBytes >>= (20 - version);
184 if (version != MPEG_1)
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp100 ID3::Version ID3::version() const { function in class:android::ID3
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp1092 AString version; local
1093 data->getRequestField(2, &version);
1094 if (!(version == AString("RTSP/1.0"))) {
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h616 uint32_t version() const { return mHwDevice->common.version; } function in class:android::AudioFlinger::AudioHwDevice
/frameworks/base/core/java/android/content/res/
H A DObbInfo.java42 * The version of the package to which the OBB file belongs.
44 public int version; field in class:ObbInfo
68 sb.append(",version=");
69 sb.append(version);
83 dest.writeInt(version);
102 version = source.readInt();
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteDatabase.java859 * Gets the database version.
861 * @return the database version
868 * Sets the database version.
870 * @param version the new database version
872 public void setVersion(int version) { argument
873 execSQL("PRAGMA user_version = " + version);
1724 * Returns true if the new version code is greater than the current database version.
1726 * @param newVersion The new version cod
[all...]
H A DSQLiteOpenHelper.java25 * A helper class to manage database creation and version management.
40 * monotonically increasing version numbers for upgrades.</p>
72 * @param version number of the database (starting at 1); if the database is older,
76 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument
77 this(context, name, factory, version, null);
91 * @param version number of the database (starting at 1); if the database is older,
97 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument
99 if (version < 1) throw new IllegalArgumentException("Version must be >= 1, was " + version);
104 mNewVersion = version;
[all...]
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTrigger.java60 /** Unique voice engine Id (changes with each version) */
63 /** Voice detection engine version */
64 public final int version; field in class:SoundTrigger.ModuleProperties
95 String uuid, int version, int maxSoundModels, int maxKeyphrases,
103 this.version = version;
131 int version = in.readInt();
141 return new ModuleProperties(id, implementor, description, uuid, version,
153 dest.writeInt(version);
173 + description + ", uuid=" + uuid + ", version
94 ModuleProperties(int id, String implementor, String description, String uuid, int version, int maxSoundModels, int maxKeyphrases, int maxUsers, int recognitionModes, boolean supportsCaptureTransition, int maxBufferMs, boolean supportsConcurrentCapture, int powerConsumptionMw, boolean returnsTriggerInEvent) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java28 * the version of the accessory, and a user visible description of the accessory to the device.
29 * The manufacturer, model and version strings are used by the USB Manager to choose
74 String version, String uri, String serial) {
78 mVersion = version;
124 * Returns the version of the accessory.
126 * @return the accessory version
199 String version = in.readString();
202 return new UsbAccessory(manufacturer, model, description, version, uri, serial);
73 UsbAccessory(String manufacturer, String model, String description, String version, String uri, String serial) argument
/frameworks/base/core/java/com/android/internal/app/
H A DProcessStats.java198 // Current version of the parcel format.
1474 private void readCompactedLongArray(Parcel in, int version, long[] array, int num) { argument
1475 if (version <= 10) {
1511 private String readCommonString(Parcel in, int version) { argument
1512 if (version <= 9) {
1731 int version = in.readInt();
1732 if (version != PARCEL_VERSION) {
1733 mReadError = "bad version: " + version;
1770 readCompactedLongArray(in, version, mLong
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java96 // Current on-disk Parcel version
1122 public void setUpdateVersion(int version) { argument
1123 mUpdateVersion = version;
1844 KernelWakelockStats(int count, long totalTime, int version) { argument
1847 mVersion = version;
7886 final int version = in.readInt();
7887 if (version != VERSION) {
7888 Slog.w("BatteryStats", "readFromParcel: version got " + version
/frameworks/base/core/jni/
H A Dandroid_backup_BackupHelperDispatcher.cpp35 int version; member in struct:android::chunk_header_v1
69 amt = read(fd, &flattenedHeader.version,
77 if (flattenedHeader.version != VERSION_1_HEADER) {
78 ALOGW("Skipping unknown header version: 0x%08x, %d bytes", flattenedHeader.version,
90 ALOGD(" version=0x%08x", flattenedHeader.version);
185 header.version = VERSION_1_HEADER;
H A Dandroid_content_res_ObbScanner.cpp34 jfieldID version; member in struct:android::__anon796
62 env->SetIntField(obbInfo, gObbInfoClassInfo.version, obb->getVersion());
98 GET_FIELD_ID(gObbInfoClassInfo.version, clazz,
99 "version", "I");
H A Dandroid_ddm_DdmHandleNativeHeap.cpp44 uint16_t version; member in struct:Header
90 header.version = DDMS_VERSION;
H A Dandroid_hardware_SensorManager.cpp43 jfieldID version; member in struct:android::SensorOffsets
70 sensorOffsets.version = _env->GetFieldID(sensorClass, "mVersion", "I");
105 env->SetIntField(sensor, sensorOffsets.version, list->getVersion());
H A Dandroid_hardware_camera2_DngCreator.cpp1174 // Set DNG version information
1175 uint8_t version[4] = {1, 4, 0, 0}; local
1176 BAIL_IF_INVALID(writer->addEntry(TAG_DNGVERSION, 4, version, TIFF_IFD_0),
1595 uint8_t version[] = {2, 3, 0, 0}; local
1596 BAIL_IF_INVALID(writer->addEntry(TAG_GPSVERSIONID, 4, version,
/frameworks/base/include/androidfw/
H A DObbFile.h62 void setVersion(int32_t version) { argument
63 mVersion = version;
121 /* Package version this ObbFile is associated with */
H A DResourceTypes.h1062 uint32_t version; member in union:android::ResTable_config::__anon922
/frameworks/base/libs/androidfw/
H A DBackupHelpers.cpp47 * - 4-byte version number of the metadata, little endian (0x00000001 for v1)
52 * restore code does not recognize the metadata version, it can still
57 * - 4 byte version number === 0x00000001 (little endian)
63 int version; member in struct:android::file_metadata_v1
244 metadata.version = tolel(CURRENT_METADATA_VERSION);
769 metadata.version = fromlel(metadata.version);
771 if (metadata.version > CURRENT_METADATA_VERSION) {
774 ALOGW("Restoring file with unsupported metadata version %d (currently %d)",
775 metadata.version, CURRENT_METADATA_VERSIO
[all...]
H A DResourceTypes.cpp243 const uint32_t version = htodl(*(reinterpret_cast<const uint32_t*>(idmap) + 1)); local
244 if (version != IDMAP_CURRENT_VERSION) {
247 ALOGW("idmap: version mismatch in header (is 0x%08x, expected 0x%08x)",
248 version, IDMAP_CURRENT_VERSION);
1821 diff = (int32_t)(version - o.version);
1885 if (version != o.version) {
1886 return version < o.version
[all...]
/frameworks/base/libs/common_time/
H A Dcommon_time_server_packets.h41 // protocol version of the packet
42 uint16_t version; member in class:android::TimeServicePacketHeader
61 version = kCurVersion;
69 (version == kCurVersion) &&

Completed in 472 milliseconds

1234