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

1234

/frameworks/base/core/java/android/database/sqlite/
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/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_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());
/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 */
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DClassHasNativeVisitor.java49 public void visit(int version, int access, String name, String signature, argument
H A DTransformClassAdapter.java63 public void visit(int version, int access, String name, argument
75 super.visit(version, access, name, signature, superName, interfaces);
H A DAbstractClassAdapter.java169 public void visit(int version, int access, String name, String signature, argument
180 /* Java 7 verifies the StackMapTable of a class if its version number is greater than 50.0.
181 * However, the check is disabled if the class version number is 50.0 or less. Generation
183 * we rewrite the version number of the class to be 50.0
187 if (version > 50) {
188 version = 50;
191 super.visit(version, access, name, signature, superName, interfaces);
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmGeneratorTest.java343 public void visit(int version, int access, String name, String signature, argument
349 super.visit(version, access, name, signature, superName, interfaces);
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp44 sp<Rule> version = new Rule(); local
45 version->op = Rule::LESS_THAN;
46 version->key = Rule::SDK_VERSION;
47 version->longArgs.add((long) SDK_LOLLIPOP);
48 densityRule->subrules.add(version);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_eglapi.cpp162 void GLTrace_eglCreateContext(int version, EGLContext c) { argument
170 GLTraceContext *traceContext = state->createTraceContext(version, c);
174 gltrace::GLTrace_eglCreateContext(version, traceContext->getId());
177 void GLTrace_eglMakeCurrent(const unsigned version, gl_hooks_t *hooks, EGLContext c) { argument
187 GLTrace_eglCreateContext(version, c);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataCallResponse.java41 public int version = 0; field in class:DataCallResponse
81 .append("version=").append(version)
239 if (version < 4) {
/frameworks/rs/driver/
H A DrsdGL.h47 const uint8_t * version; member in struct:RsdGLRec::__anon1492
/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/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) &&
/frameworks/base/services/core/java/com/android/server/
H A DServiceWatcher.java72 private int mVersion = Integer.MIN_VALUE; // current best version
75 * when switching from one version of a service to another.
191 int version = Integer.MIN_VALUE;
194 version = rInfo.serviceInfo.metaData.getInt(
199 if (version > mVersion) {
200 bestVersion = version;
235 private void bindToPackageLocked(String packageName, int version, boolean isMultiuser) { argument
240 mVersion = version;
242 if (D) Log.d(mTag, "binding " + packageName + " (version " + version
[all...]
/frameworks/base/services/core/java/com/android/server/updates/
H A DConfigUpdateInstallReceiver.java79 // get the version from the extras
85 // get the version currently being used
90 Slog.i(TAG, "Not installing, new version is <= current version");
143 throw new IllegalStateException("Missing required version number, ignoring.");
219 private boolean verifySignature(byte[] content, int version, String requiredPrevious, argument
224 signer.update(Long.toString(version).getBytes());
261 protected void install(byte[] content, int version) throws IOException { argument
263 writeUpdate(updateDir, updateVersion, Long.toString(version).getBytes());
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
H A DCertPinInstallReceiverTest.java116 return IoUtils.readFileAsString("/data/misc/keychain/metadata/version");
160 private String createSignature(String content, String version, String requiredHash) argument
165 signer.update(version.trim().getBytes());
169 verifySignature(content, version, requiredHash, sig, createCertificate()));
173 public boolean verifySignature(String content, String version, String requiredPrevious, argument
178 signer.update(version.trim().getBytes());
183 private void sendIntent(String contentPath, String version, String required, String sig) { argument
187 i.putExtra(EXTRA_VERSION_NUMBER, version);
193 private String runTest(String cert, String content, String version, String required, String sig) argument
198 sendIntent(contentPath, version, require
203 runTestWithoutSig(String cert, String content, String version, String required) argument
[all...]
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp270 unsigned int version = 0; local
274 version = bcWrapper.getTargetAPI();
279 version = 12;
283 printf("targetAPI: %u\n", version);
289 BT.reset(new bcinfo::BitcodeTranslator(bitcode, bitcodeSize, version));
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp181 // the version should be 1 or 3
182 uint8_t version = *handler++; local
183 if (1 != version && 3 != version) {
/frameworks/compile/slang/
H A Dslang_rs_backend.cpp140 int version = mContext->getVersion(); local
141 if (version == 0) {
142 // Not setting a version is an error
147 "missing pragma for version in source file"));
149 slangAssert(version == 1);
/frameworks/native/include/input/
H A DInputDevice.h30 bus(0), vendor(0), product(0), version(0) {
40 uint16_t version; member in struct:android::InputDeviceIdentifier
145 * names to try based on the device name, vendor, product, and version.
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h149 egl_connection_t const* cnx, int version);
160 int version; member in class:android::egl_context_t
/frameworks/av/media/libstagefright/id3/
H A DID3.cpp100 ID3::Version ID3::version() const { function in class:android::ID3
/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java70 // Sentinel: start of state file, followed by a version number
74 // Current version of the saved ancestral-dataset file format
79 // version & signature info of each app in a restore set
81 // The version info of each backed-up app as read from the state file
103 Metadata(int version, ArrayList<byte[]> hashes) { argument
104 versionCode = version;
187 // If the stored version string differs, we need to re-backup all
218 // 1. the version of the home app has changed since our last backup;
220 // OR 3. it looks like we use the same home app + version as before, but
244 * int SDKversion -- the SDK version o
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessageBuilder.java187 * Build &lt;Device Vendor Id&gt; command. It has one byte cec version as parameter.
191 * @param version version of cec. Use 0x04 for "Version 1.3a" and 0x05 for
195 static HdmiCecMessage buildCecVersion(int src, int dest, int version) { argument
197 (byte) (version & 0xFF)

Completed in 976 milliseconds

1234