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

123

/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp912 uint8_t version; local
913 if (mDataSource->readAt(data_offset, &version, 1) < 1) {
932 if (version == 1) {
937 } else if (version == 0) {
1002 // tenc box contains 1 byte version, 3 byte flags, 3 byte default algorithm id, one byte
1094 uint8_t version; local
1096 data_offset, &version, sizeof(version))
1097 < (ssize_t)sizeof(version)) {
1103 if (version
1808 uint32_t version = flags >> 24; local
1921 uint8_t version; local
2611 uint8_t version; local
2673 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.cpp575 unsigned version = (header >> 19) & 3; local
577 if (version == 0x01) {
604 if (version == 2 /* V2 */) {
606 } else if (version == 0 /* V2.5 */) {
626 (version == 3 /* V1 */)
658 if (version == 3 /* V1 */) {
679 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/mp4/
H A DFragmentedMP4Parser.cpp1147 uint32_t version = flags >> 24; local
1153 if (version == 1) {
1162 } else if (version == 0) {
1202 uint32_t version = versionAndFlags >> 24; local
1206 if (version == 1) {
1211 } else if (version == 0) {
1612 uint32_t version = flags >> 24; local
1615 ALOGV("sidx version %d", version);
1626 if (version
[all...]
/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/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.java857 * Gets the database version.
859 * @return the database version
866 * Sets the database version.
868 * @param version the new database version
870 public void setVersion(int version) { argument
871 execSQL("PRAGMA user_version = " + version);
1722 * Returns true if the new version code is greater than the current database version.
1724 * @param newVersion The new version cod
[all...]
H A DSQLiteOpenHelper.java26 * A helper class to manage database creation and version management.
41 * monotonically increasing version numbers for upgrades.</p>
73 * @param version number of the database (starting at 1); if the database is older,
77 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version) { argument
78 this(context, name, factory, version, null);
92 * @param version number of the database (starting at 1); if the database is older,
98 public SQLiteOpenHelper(Context context, String name, CursorFactory factory, int version, argument
100 if (version < 1) throw new IllegalArgumentException("Version must be >= 1, was " + version);
105 mNewVersion = version;
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbAccessory.java30 * the version of the accessory, and a user visible description of the accessory to the device.
31 * The manufacturer, model and version strings are used by the USB Manager to choose
76 String version, String uri, String serial) {
80 mVersion = version;
126 * Returns the version of the accessory.
128 * @return the accessory version
201 String version = in.readString();
204 return new UsbAccessory(manufacturer, model, description, version, uri, serial);
75 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.java173 // Current version of the parcel format.
1115 private void readCompactedLongArray(Parcel in, int version, long[] array, int num) { argument
1116 if (version <= 10) {
1152 private String readCommonString(Parcel in, int version) { argument
1153 if (version <= 9) {
1348 int version = in.readInt();
1349 if (version != PARCEL_VERSION) {
1350 mReadError = "bad version: " + version;
1383 readCompactedLongArray(in, version, mLong
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java86 // Current on-disk Parcel version
842 public void setUpdateVersion(int version) { argument
843 mUpdateVersion = version;
1387 KernelWakelockStats(int count, long totalTime, int version) { argument
1390 mVersion = version;
3323 // the previous run of the system was an older version
5497 final int version = in.readInt();
5498 if (version != VERSION) {
5499 Slog.w("BatteryStats", "readFromParcel: version got " + version
[all...]
/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::__anon1006
62 env->SetIntField(obbInfo, gObbInfoClassInfo.version, obb->getVersion());
98 GET_FIELD_ID(gObbInfoClassInfo.version, clazz,
99 "version", "I");
H A Dandroid_hardware_SensorManager.cpp43 jfieldID version; member in struct:android::SensorOffsets
66 sensorOffsets.version = _env->GetFieldID(sensorClass, "mVersion", "I");
94 env->SetIntField(sensor, sensorOffsets.version, list->getVersion());
/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.h947 uint32_t version; member in union:android::ResTable_config::__anon1093
/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
246 metadata.version = tolel(CURRENT_METADATA_VERSION);
403 // server keep the old version. Maybe they'll be able to deal with it
763 metadata.version = fromlel(metadata.version);
765 if (metadata.version > CURRENT_METADATA_VERSION) {
768 ALOGW("Restoring file with unsupported metadata version
[all...]
/frameworks/base/libs/hwui/
H A DExtensions.cpp75 const char* version = (const char*) glGetString(GL_VERSION); local
77 // Section 6.1.5 of the OpenGL ES specification indicates the GL version
80 // OpenGL<space>ES<space><version number><space><vendor-specific information>
82 // In addition section 6.1.5 describes the version number thusly:
84 // "The version number is either of the form major number.minor number or
89 if (sscanf(version, "OpenGL ES %d.%d", &mVersionMajor, &mVersionMinor) != 2) {
90 // If we cannot parse the version number, assume OpenGL ES 2.0
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java82 private String randomAccessFilePath(int version) { argument
86 return directoryName + "/.thumbdata" + version + "-" + mUri.hashCode();
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp2502 jobject version = NULL; local
2516 // Create a version object.
2517 videoEditClasses_createVersion(&isSuccessful, pEnv, &versionInfo, &version);
2519 // Return the version object.
2520 return(version);
3639 // Check the JNI version.
3652 // Success, return valid version number.
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java447 * which EGLContext client version to pick.
469 * @param version The EGLContext client version to choose. Use 2 for OpenGL ES 2.0
471 public void setEGLContextClientVersion(int version) { argument
473 mEGLContextClientVersion = version;
1015 int[] version = new int[2];
1016 if(!mEgl.eglInitialize(mEglDisplay, version)) {
1897 "ro.opengles.version",
/frameworks/base/services/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 523 milliseconds

123