Searched refs:version (Results 1 - 25 of 32) sorted by relevance

12

/art/test/979-const-method-handle/
H A Dbuild20 ${DX} --dex --min-sdk-version=28 --output=classes.dex classes
/art/test/1948-obsolete-const-method-handle/
H A Dbuild23 ${DX} --dex --min-sdk-version=28 --output=classes.dex classes
/art/test/900-hello-plugin/
H A Dload_unload.cc33 static jint GetEnvHandler(JavaVMExt* vm ATTRIBUTE_UNUSED, void** new_env, jint version) { argument
35 if (version != TEST_900_ENV_VERSION_NUMBER) {
38 printf("GetEnvHandler called with version 0x%x\n", version);
/art/test/909-attach-agent/
H A Dattach.cc85 jint version = 0; local
86 CHECK_CALL_SUCCESS(env->GetVersionNumber(&version));
87 if ((version & JVMTI_VERSION_1) != JVMTI_VERSION_1) {
88 Println("Unexpected version number!");
/art/tools/
H A Dstream-trace-converter.py72 header.write('*version\n');
85 version = ReadShortLE(input)
86 if (version & 0xf0) != 0xf0:
87 raise MyException("Does not seem to be a streaming trace: %d." % version)
88 version = version ^ 0xf0
90 if version != 3:
91 raise MyException("Only support version 3")
93 WriteShortLE(body, version)
102 if version
[all...]
/art/libdexfile/dex/
H A Dstandard_dex_file.cc30 // Dex version 036 skipped because of an old dalvik bug on some versions of android where dex
31 // files with that version number would erroneously be accepted and run.
33 // Dex version 038: Android "O" and beyond.
54 const uint8_t* version = &magic[sizeof(kDexMagic)]; local
56 if (memcmp(version, kDexMagicVersions[i], kDexVersionLen) == 0) {
H A Dcompact_dex_file.cc41 const uint8_t* version = &magic[sizeof(kDexMagic)]; local
42 return memcmp(version, kDexMagicVersion, kDexVersionLen) == 0;
H A Ddex_file.cc163 oss << "Unrecognized version number in " << GetLocation() << ":"
202 const char* version = reinterpret_cast<const char*>(&magic_[kDexMagicSize]); local
203 return atoi(version);
/art/test/970-iface-super-resolution-gen/
H A Dbuild25 if $JACK -D jack.java.source.version=1.8 -D jack.android.min-api-level=24 2>/dev/null; then
/art/tools/wrapagentproperties/
H A Dwrapagentproperties.cc51 static jint CreateJvmtiEnv(ProxyJavaVM* vm, void** out_env, jint version);
93 static jint WrapGetEnv(ProxyJavaVM* vm, void** out_env, jint version) { argument
94 switch (version) {
99 return CreateJvmtiEnv(vm, out_env, version);
101 if ((version & 0x30000000) == 0x30000000) {
102 LOG(ERROR) << "Version number 0x" << std::hex << version << " looks like a JVMTI " local
103 << "version but it is not one that is recognized. The wrapper might not "
106 return vm->real_vm->GetEnv(out_env, version);
233 static jint CreateJvmtiEnv(ProxyJavaVM* vm, void** out_env, jint version) { argument
234 jint res = vm->real_vm->GetEnv(out_env, version);
[all...]
/art/runtime/
H A Djava_vm_ext.cc62 bool JavaVMExt::IsBadJniVersion(int version) { argument
64 return version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6;
382 static jint GetEnv(JavaVM* vm, void** env, jint version) { argument
392 return raw_vm->HandleGetEnv(env, version);
420 if (JavaVMExt::IsBadJniVersion(args->version)) {
421 LOG(ERROR) << "Bad JNI version passed to "
423 << args->version;
499 jint JavaVMExt::HandleGetEnv(/*out*/void** env, jint version) { argument
1024 int version = (*jni_on_load)(this, nullptr); local
[all...]
H A Djava_vm_ext.h43 using GetEnvHook = jint (*)(JavaVMExt* vm, /*out*/void** new_env, jint version);
196 jint HandleGetEnv(/*out*/void** env, jint version);
200 static bool IsBadJniVersion(int version);
H A Djni_env_ext.cc52 jint JNIEnvExt::GetEnvHandler(JavaVMExt* vm, /*out*/void** env, jint version) { argument
54 // GetEnv always returns a JNIEnv* for the most current supported JNI version,
55 // and unlike other calls that take a JNI version doesn't care if you supply
57 if (JavaVMExt::IsBadJniVersion(version) && version != JNI_VERSION_1_1) {
H A Dcommon_runtime_test.cc225 // ${ANDROID_BUILD_TOP}/${subdir1}/${subdir2}-${version}/${subdir3}/bin/
249 float version; local
250 if (std::sscanf(entry->d_name, format.c_str(), &version) == 1) {
251 if (version > maxversion) {
252 maxversion = version;
463 ? "-hostdex" // The host version.
464 : "-testdex"; // The unstripped target version.
H A Djni_env_ext.h48 static jint GetEnvHandler(JavaVMExt* vm, /*out*/void** out, jint version);
H A Druntime.h603 void SetTargetSdkVersion(int32_t version) { argument
604 target_sdk_version_ = version;
675 // Create a normal LinearAlloc or low 4gb version if we are 64 bit AOT compiler.
961 // Specifies target SDK version to allow workarounds for certain API levels.
971 // building a statically link version of dex2oat.
/art/test/901-hello-ti-agent/
H A Dbasics.cc123 jint version = 0; local
124 CHECK_CALL_SUCCESS(env->GetVersionNumber(&version));
125 if ((version & JVMTI_VERSION_1) != JVMTI_VERSION_1) {
126 printf("Unexpected version number!\n");
/art/test/005-annotations/src/android/test/anno/
H A DTestAnnotations.java167 // SDK version 23 is M.
294 public static void setTargetSdkVersion(Object runtime, int version) throws Exception { argument
295 setTargetSdkVersionMethod.invoke(runtime, version);
/art/openjdkjvmti/
H A DOpenjdkJvmTi.cc12 * under the terms of the GNU General Public License version 2 only, as
20 * version 2 for more details (a copy is included in the LICENSE file that
23 * You should have received a copy of the GNU General Public License version
1475 static bool IsJvmtiVersion(jint version) { argument
1476 return version == JVMTI_VERSION_1 ||
1477 version == JVMTI_VERSION_1_0 ||
1478 version == JVMTI_VERSION_1_1 ||
1479 version == JVMTI_VERSION_1_2 ||
1480 version == JVMTI_VERSION;
1485 ArtJvmTiEnv::ArtJvmTiEnv(art::JavaVMExt* runtime, EventHandler* event_handler, jint version) argument
1497 CreateArtJvmTiEnv(art::JavaVMExt* vm, jint version, void** new_jvmtiEnv) argument
1510 GetEnvHandler(art::JavaVMExt* vm, void** env, jint version) argument
[all...]
/art/tools/dmtracedump/
H A Dcreatetesttrace.cc38 int16_t version; member in struct:DataHeader
49 const char* versionHeader = "*version\n";
345 header.version = versionNumber;
347 write2LE(dataFp, header.version);
418 fprintf(stderr, "Error: version number (%d) must be 1 or 2\n", versionNumber);
438 fprintf(stderr, "Usage: %s [-v version] [-d] input_file trace_prefix\n", argv[0]);
H A Dtracedump.cc123 int16_t version; member in struct:DataHeader
588 * Parse the "*version" section.
595 int32_t next = checkToken(data, dataEnd - data, "version");
601 * Count the number of items in the "version" section.
605 fprintf(stderr, "ERROR: failed while reading version (found %d)\n", count);
946 pHeader->version = read2LE(fp);
950 if (pHeader->version == 1) {
952 } else if (pHeader->version == 2) {
954 } else if (pHeader->version == 3) {
958 fprintf(stderr, "Unsupported trace file version
[all...]
/art/tools/veridex/
H A Dveridex.cc97 static const char* kTargetSdkVersion = "--target-sdk-version=";
210 VeriClass* version = type_map["Landroid/os/Build$VERSION;"]; local
211 if (version != nullptr) {
212 VeriClass::sdkInt_ = boot_resolvers[0]->LookupFieldIn(*version, "SDK_INT", "I");
/art/dalvikvm/
H A Ddalvikvm.cc169 init_args.version = JNI_VERSION_1_6;
/art/test/
H A DAndroid.run-test.mk65 # specific version depending on the compiler.
/art/dt_fd_forward/
H A Ddt_fd_forward.cc13 * under the terms of the GNU General Public License version 2 only, as
21 * version 2 for more details (a copy is included in the LICENSE file that
24 * You should have received a copy of the GNU General Public License version
760 jint version,
762 if (version != JDWPTRANSPORT_VERSION_1_0) {
763 LOG(ERROR) << "unknown version " << version;
758 jdwpTransport_OnLoad(JavaVM* vm ATTRIBUTE_UNUSED, jdwpTransportCallback* cb, jint version, jdwpTransportEnv** env) argument

Completed in 726 milliseconds

12