Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 120) sorted by relevance

12345

/art/test/923-monitors/src/art/
DTest923.java49 private static void simpleTests(long id) { in simpleTests() argument
50 unlock(id); // Should fail. in simpleTests()
52 lock(id); in simpleTests()
53 unlock(id); in simpleTests()
54 unlock(id); // Should fail. in simpleTests()
56 lock(id); in simpleTests()
57 lock(id); in simpleTests()
58 unlock(id); in simpleTests()
59 unlock(id); in simpleTests()
60 unlock(id); // Should fail. in simpleTests()
[all …]
/art/test/1982-no-virtuals-structural-redefinition/src/art/
DTest1982.java35 Long id = id_nums.get(o); in printGeneric() local
36 if (id == null) { in printGeneric()
37 id = Long.valueOf(next_id++); in printGeneric()
38 id_nums.put(o, id); in printGeneric()
41 return "(ID: " + id + ") <NULL>"; in printGeneric()
46 + id in printGeneric()
51 return "(ID: " + id + ") " + o.toString(); in printGeneric()
68 public int id; field in Test1982.SuperTransform
70 public SuperTransform(int id) { in SuperTransform() argument
71 this.id = id; in SuperTransform()
[all …]
/art/test/910-methods/
Dmethods.cc35 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodName() local
40 jvmtiError result = jvmti_env->GetMethodName(id, &name, &sig, &gen); in Java_art_Test910_getMethodName()
68 jvmtiError result2 = jvmti_env->GetMethodName(id, nullptr, nullptr, nullptr); in Java_art_Test910_getMethodName()
78 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodDeclaringClass() local
81 jvmtiError result = jvmti_env->GetMethodDeclaringClass(id, &declaring_class); in Java_art_Test910_getMethodDeclaringClass()
91 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMethodModifiers() local
94 jvmtiError result = jvmti_env->GetMethodModifiers(id, &modifiers); in Java_art_Test910_getMethodModifiers()
104 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getMaxLocals() local
107 jvmtiError result = jvmti_env->GetMaxLocals(id, &max_locals); in Java_art_Test910_getMaxLocals()
117 jmethodID id = env->FromReflectedMethod(method); in Java_art_Test910_getArgumentsSize() local
[all …]
/art/test/2031-zygote-compiled-frame-deopt/src/art/
DTest2031.java81 public int id; field in Test2031.SuperTransform
83 public SuperTransform(int id) { in SuperTransform() argument
84 this.id = id; in SuperTransform()
88 return "SuperTransform { id: " + id + ", class: " + getClass() + " }"; in toString()
118 public Transform(int id) { in Transform() argument
119 super(id); in Transform()
128 public SubTransform(int id) { in SubTransform() argument
129 super(id); in SubTransform()
133 return "SubTransform (subclass of: " + staticToString() + ") { id: " + id + " }"; in myToString()
/art/test/1966-get-set-local-objects-no-table/src/art/
DTest1966.java41 public String id; field in Test1966.TestClass1
42 public TestClass1(String id) { in TestClass1() argument
43 this.id = id; in TestClass1()
46 return String.format("TestClass1(\"%s\")", id); in toString()
49 public static TestInterface createInterface(String id) { in createInterface() argument
50 return new TestClass1(id); in createInterface()
52 public static TestClass1 createExact(String id) { in createExact() argument
53 return new TestClass1(id); in createExact()
55 public static Object create(String id) { in create() argument
56 return new TestClass1(id); in create()
[all …]
/art/test/1982-no-virtuals-structural-redefinition/
Dexpected.txt5 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 3) SuperTransform { id: 2, class:…
6 public static java.lang.Object art.Test1982$Transform.FOO on (ID: 3) SuperTransform { id: 2, class:…
7 public int art.Test1982$SuperTransform.id on (ID: 3) SuperTransform { id: 2, class: class art.Test1…
11 t1 is (ID: 5) SuperTransform { id: 1, class: class art.Test1982$Transform }
12 t2 is (ID: 3) SuperTransform { id: 2, class: class art.Test1982$SubTransform }
19 public static java.lang.Object art.Test1982$Transform.BAR on (ID: 3) SuperTransform { id: 2, class:…
20 public static java.lang.Object art.Test1982$Transform.BAZ on (ID: 3) SuperTransform { id: 2, class:…
21 public static java.lang.Object art.Test1982$Transform.FOO on (ID: 3) SuperTransform { id: 2, class:…
22 public int art.Test1982$SuperTransform.id on (ID: 3) SuperTransform { id: 2, class: class art.Test1…
26 t1 is (ID: 5) SuperTransform { id: 1, class: class art.Test1982$Transform }
[all …]
/art/openjdkjvmti/
Dti_monitor.cc224 static JvmtiMonitor* DecodeMonitor(jrawMonitorID id) { in DecodeMonitor() argument
225 return reinterpret_cast<JvmtiMonitor*>(id); in DecodeMonitor()
241 jvmtiError MonitorUtil::DestroyRawMonitor(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in DestroyRawMonitor() argument
242 if (id == nullptr) { in DestroyRawMonitor()
246 JvmtiMonitor* monitor = DecodeMonitor(id); in DestroyRawMonitor()
256 jvmtiError MonitorUtil::RawMonitorEnterNoSuspend(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in RawMonitorEnterNoSuspend() argument
257 if (id == nullptr) { in RawMonitorEnterNoSuspend()
261 JvmtiMonitor* monitor = DecodeMonitor(id); in RawMonitorEnterNoSuspend()
269 jvmtiError MonitorUtil::RawMonitorEnter(jvmtiEnv* env ATTRIBUTE_UNUSED, jrawMonitorID id) { in RawMonitorEnter() argument
270 if (id == nullptr) { in RawMonitorEnter()
[all …]
/art/test/913-heaps/
Dexpected.txt3 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=…
4 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestNonRoot,vreg=8,location…
5 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,…
46 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 1@1000 [size=16, length=-…
47 root@root --(jni-local[id=1,tag=3000,depth=0,method=followReferences])--> 3000@0 [size=124, length=…
48 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=10,location= …
49 root@root --(stack-local[id=1,tag=3000,depth=1,method=doFollowReferencesTestImpl,vreg=5,location= 8…
50 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=13,location= …
51 root@root --(stack-local[id=1,tag=3000,depth=2,method=doFollowReferencesTestRoot,vreg=4,location= 2…
52 root@root --(stack-local[id=1,tag=3000,depth=5,method=run,vreg=2,location= 0])--> 3000@0 [size=124,…
[all …]
/art/tools/ahat/src/main/com/android/ahat/dominators/
DDominators.java137 public long id; field in Dominators.NodeS
192 public void add(long id) { in add() argument
196 ids[size++] = id; in add()
282 long id = 0; in computeDominators() local
293 rootS.id = id++; in computeDominators()
317 link.srcS.maxReachableId = id - 1; in computeDominators()
328 dstS.id = id++; in computeDominators()
329 dstS.inRefIds.add(link.srcS.id); in computeDominators()
347 dstS.inRefIds.add(link.srcS.id); in computeDominators()
352 while (xS.id > seenid) { in computeDominators()
[all …]
/art/test/918-fields/
Dfields.cc33 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldName() local
39 jvmtiError result = jvmti_env->GetFieldName(klass, id, &name, &sig, &gen); in Java_art_Test918_getFieldName()
71 jvmtiError result2 = jvmti_env->GetFieldName(klass, id, nullptr, nullptr, nullptr); in Java_art_Test918_getFieldName()
85 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldDeclaringClass() local
88 jvmtiError result = jvmti_env->GetFieldDeclaringClass(klass, id, &declaring_class); in Java_art_Test918_getFieldDeclaringClass()
102 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_getFieldModifiers() local
105 jvmtiError result = jvmti_env->GetFieldModifiers(klass, id, &modifiers); in Java_art_Test918_getFieldModifiers()
119 jfieldID id = env->FromReflectedField(field); in Java_art_Test918_isFieldSynthetic() local
122 jvmtiError result = jvmti_env->IsFieldSynthetic(klass, id, &synth); in Java_art_Test918_isFieldSynthetic()
/art/test/1968-force-early-return/
Dexpected.txt5 Will force return of OveriddenReturnValue { id: 0 }
6 result for (ID: 1) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 0 }
11 Will force return of OveriddenReturnValue { id: 1 }
12 result for (ID: 3) SynchronizedFunctionTestObject { cnt: 1 } is OveriddenReturnValue { id: 1 }
17 Will force return of OveriddenReturnValue { id: 2 }
18 result for (ID: 5) SynchronizedTestObject { cnt: 1 } is OveriddenReturnValue { id: 2 }
23 Will force return of OveriddenReturnValue { id: 3 }
24 result for (ID: 7) StandardTestObject { cnt: 1 } is OveriddenReturnValue { id: 3 }
29 Will force return of OveriddenReturnValue { id: 4 }
30 result for (ID: 9) FieldBasedTestObject { TARGET_FIELD: 0 } is OveriddenReturnValue { id: 4 }
[all …]
/art/tools/luci/config/
Dluci-scheduler.cfg20 id: "master-gitiles-trigger"
57 id: "master-libcore-gitiles-trigger"
94 id: "master-art-manifest-gitiles-trigger"
131 id: "angler-armv7-debug"
141 id: "angler-armv7-non-gen-cc"
151 id: "angler-armv7-ndebug"
161 id: "angler-armv8-debug"
171 id: "angler-armv8-non-gen-cc"
181 id: "angler-armv8-ndebug"
191 id: "aosp-builder-cc"
[all …]
/art/test/1913-get-set-local-objects/src/art/
DTest1913.java40 public String id; field in Test1913.TestClass1
41 public TestClass1(String id) { in TestClass1() argument
42 this.id = id; in TestClass1()
45 return String.format("TestClass1(\"%s\")", id); in toString()
50 public TestClass1ext(String id) { in TestClass1ext() argument
51 super(id); in TestClass1ext()
58 public String id; field in Test1913.TestClass2
59 public TestClass2(String id) { in TestClass2() argument
60 this.id = id; in TestClass2()
63 return String.format("TestClass2(\"%s\")", id); in toString()
[all …]
/art/test/1979-threaded-structural-transformation/src/art/
DTest1979.java37 Long id = id_nums.get(o); in printGeneric() local
38 if (id == null) { in printGeneric()
39 id = Long.valueOf(next_id++); in printGeneric()
40 id_nums.put(o, id); in printGeneric()
43 return "(ID: " + id + ") <NULL>"; in printGeneric()
48 + id in printGeneric()
53 return "(ID: " + id + ") " + o.toString(); in printGeneric()
/art/test/923-monitors/
Dmonitors.cc32 static jlong MonitorToLong(jrawMonitorID id) { in MonitorToLong() argument
33 return static_cast<jlong>(reinterpret_cast<uintptr_t>(id)); in MonitorToLong()
42 jrawMonitorID id; in Java_art_Test923_createRawMonitor() local
43 jvmtiError result = jvmti_env->CreateRawMonitor("placeholder", &id); in Java_art_Test923_createRawMonitor()
47 return MonitorToLong(id); in Java_art_Test923_createRawMonitor()
/art/test/1986-structural-redefine-multi-thread-stack-scope/src/
DMain.java91 final int id = i; in main() local
92 threads[id] = in main()
107 results[id] = mh.invokeExact(); in main()
112 "Target thread " + id); in main()
113 threads[id].start(); in main()
/art/tools/ahat/src/main/com/android/ahat/
DSubsetSelector.java46 public SubsetSelector(Query query, String id, List<T> elements) { in SubsetSelector() argument
48 mId = id; in SubsetSelector()
49 mLimit = getSelectedLimit(query, id, elements.size()); in SubsetSelector()
69 private static int getSelectedLimit(Query query, String id, int size) { in getSelectedLimit() argument
70 String value = query.get(id, null); in getSelectedLimit()
/art/test/1934-jvmti-signal-thread/
Dsignal_threads.cc71 jlong id) { in Java_art_Test1934_nativeWaitForOtherThread() argument
72 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_nativeWaitForOtherThread()
105 jlong id, in Java_art_Test1934_nativeDoInterleaved() argument
107 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_nativeDoInterleaved()
148 extern "C" JNIEXPORT void Java_art_Test1934_destroyNativeMonitor(JNIEnv*, jclass, jlong id) { in Java_art_Test1934_destroyNativeMonitor() argument
149 NativeMonitor* mon = reinterpret_cast<NativeMonitor*>(static_cast<intptr_t>(id)); in Java_art_Test1934_destroyNativeMonitor()
/art/tools/ahat/src/main/com/android/ahat/heapdump/
DAhatSnapshot.java108 public AhatInstance findInstance(long id) { in findInstance() argument
109 return mInstances.get(id); in findInstance()
120 public AhatClassObj findClassObj(long id) { in findClassObj() argument
121 AhatInstance inst = findInstance(id); in findClassObj()
185 public Site getSite(long id) { in getSite() argument
186 Site site = mRootSite.findSite(id); in getSite()
DSite.java208 long prepareForUse(long id, int numHeaps, Reachability retained) { in prepareForUse() argument
209 mId = id++; in prepareForUse()
231 id = child.prepareForUse(id, numHeaps, retained); in prepareForUse()
241 return id; in prepareForUse()
410 public Site findSite(long id) { in findSite() argument
411 if (id == mId) { in findSite()
421 if (id < midSite.mId) { in findSite()
426 return midSite.findSite(id); in findSite()
427 } else if (id < mChildren.get(mid + 1).mId) { in findSite()
430 return midSite.findSite(id); in findSite()
/art/tools/ahat/etc/
Dhprofdump.py81 def showstr(id): argument
82 if id in strs:
83 return strs[id]
84 return "STR[@%x]" % id
93 def showclassobj(id): argument
94 if id in classobjs:
95 return "%s @%x" % (showstr(classobjs[id]), id)
96 return "@%x" % id
151 id = readID(hprof) variable
153 print "%d: STRING %x %s" % (pos, id, repr(string))
[all …]
/art/test/1975-hello-structural-transformation/src/art/
DTest1975.java37 Long id = id_nums.get(o); in printGeneric() local
38 if (id == null) { in printGeneric()
39 id = Long.valueOf(next_id++); in printGeneric()
40 id_nums.put(o, id); in printGeneric()
43 return "(ID: " + id + ") <NULL>"; in printGeneric()
48 + id in printGeneric()
53 return "(ID: " + id + ") " + o.toString(); in printGeneric()
256 private static void printNativeField(long id, Field f, Object value) { in printNativeField() argument
258 "Field" + (PRINT_NONDETERMINISTIC ? " " + id : "") + " " + f + " = " + printGeneric(value)); in printNativeField()
/art/test/169-threadgroup-jni/
Djni_daemon_thread.cc40 jmethodID id = env->GetStaticMethodID(klass.get(), "runFromNative", "()V"); in Runner() local
41 CHECK(id != nullptr); in Runner()
43 env->CallStaticVoidMethod(klass.get(), id); in Runner()
/art/test/716-jli-jit-samples/src-art/
DMain.java32 public Widget(int id) { in Widget() argument
33 this.id = id; in Widget()
37 return id; in getId()
40 int id; field in Main.Widget
/art/test/004-ThreadStress/src-art/
DMain.java674 int id = threadStress.id; in runTest()
676 System.out.println("Starting worker for " + id); in runTest()
682 Thread thread = new Thread(ts, "Worker thread " + id); in runTest()
688 "Thread exited for " + id + " with " + in runTest()
737 Thread t = new Thread(daemon, "Daemon thread " + daemon.id); in runTest()
755 protected final int id; field in Main
759 private Main(Object lock, int id, Operation[] operations) { in Main() argument
761 this.id = id; in Main()
768 System.out.println("Starting ThreadStress " + id); in run()
773 System.out.println("ThreadStress " + id in run()
[all …]

12345