Home
last modified time | relevance | path

Searched refs:var (Results 1 – 25 of 81) sorted by relevance

1234

/art/libartservice/service/javatests/com/android/server/art/testing/
DTestingUtilsTest.java50 var a = new Foo(); in testDeepEquals()
51 var b = new Foo(); in testDeepEquals()
62 var a = new Foo(); in testDeepEqualsNullabilityMismatch()
68 var a = new Foo(); in testDeepEqualsTypeMismatch()
69 var b = new Bar(); in testDeepEqualsTypeMismatch()
75 var a = new Foo(); in testDeepEqualsPrimitiveFieldMismatch()
76 var b = new Foo(); in testDeepEqualsPrimitiveFieldMismatch()
83 var a = new Foo(); in testDeepEqualsStringFieldMismatch()
84 var b = new Foo(); in testDeepEqualsStringFieldMismatch()
91 var a = new Foo(); in deepEqualsNestedFieldMismatch()
[all …]
/art/libartservice/service/javatests/com/android/server/art/
DArtdRefCacheTest.java73 try (var pin = mArtdRefCache.new Pin()) { in testNoGetArtd()
96 try (var pin = mArtdRefCache.new Pin()) { in testSingleScope()
109 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesCacheTimeout()
113 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesCacheTimeout()
117 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesCacheTimeout()
126 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesCacheHit()
130 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesCacheHit()
134 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesCacheHit()
143 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesNoUnpinAfterTimeout()
146 try (var pin = mArtdRefCache.new Pin()) { in testMultipleScopesNoUnpinAfterTimeout()
[all …]
/art/test/1911-get-local-var-table/
DAndroid.bp3 // Build rules for ART run-test `1911-get-local-var-table`.
16 name: "art-run-test-1911-get-local-var-table",
21 ":art-run-test-1911-get-local-var-table-expected-stdout",
22 ":art-run-test-1911-get-local-var-table-expected-stderr",
28 name: "art-run-test-1911-get-local-var-table-expected-stdout",
29 out: ["art-run-test-1911-get-local-var-table-expected-stdout.txt"],
36 name: "art-run-test-1911-get-local-var-table-expected-stderr",
37 out: ["art-run-test-1911-get-local-var-table-expected-stderr.txt"],
/art/libartservice/service/javatests/com/android/server/art/prereboot/
DPreRebootStatsReporterTest.java77 var reporter = new PreRebootStatsReporter(mInjector); in testSuccess()
102 var reporterInChroot = new PreRebootStatsReporter(mInjector); in testSuccess()
103 var progressSession = reporterInChroot.new ProgressSession(); in testSuccess()
155 var reporterInChroot = new PreRebootStatsReporter(mInjector); in testSuccess()
156 var progressSession = reporterInChroot.new ProgressSession(); in testSuccess()
197 var reporterAfterReboot = new PreRebootStatsReporter(mInjector); in testSuccess()
198 var afterRebootSession = reporterAfterReboot.new AfterRebootSession(); in testSuccess()
253 var reporter = new PreRebootStatsReporter(mInjector); in testSuccessSync()
275 var reporterInChroot = new PreRebootStatsReporter(mInjector); in testSuccessSync()
276 var progressSession = reporterInChroot.new ProgressSession(); in testSuccessSync()
[all …]
/art/test/2254-checker-not-var-analyzed-pathological/
DAndroid.bp3 // Build rules for ART run-test `2254-checker-not-var-analyzed-pathological`.
16 name: "art-run-test-2254-checker-not-var-analyzed-pathological",
21 ":art-run-test-2254-checker-not-var-analyzed-pathological-expected-stdout",
22 ":art-run-test-2254-checker-not-var-analyzed-pathological-expected-stderr",
31 name: "art-run-test-2254-checker-not-var-analyzed-pathological-expected-stdout",
32 out: ["art-run-test-2254-checker-not-var-analyzed-pathological-expected-stdout.txt"],
39 name: "art-run-test-2254-checker-not-var-analyzed-pathological-expected-stderr",
40 out: ["art-run-test-2254-checker-not-var-analyzed-pathological-expected-stderr.txt"],
/art/test/1915-get-set-local-current-thread/src/art/
DTest1915.java74 for (Locals.VariableDescription var : Locals.GetLocalVariableTable(frame.method)) { in FindSlot()
75 if (var.start_location <= loc && in FindSlot()
76 var.length + var.start_location > loc && in FindSlot()
77 var.name.equals(TARGET_VAR)) { in FindSlot()
78 return var.slot; in FindSlot()
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/libartservice/service/java/com/android/server/art/
DAidlUtils.java39 var artifactsPath = new ArtifactsPath(); in buildArtifactsPath()
66 var fsPermission = new FsPermission(); in buildFsPermission()
81 var dexMetadataPath = new DexMetadataPath(); in buildDexMetadataPath()
89 var permissionSettings = new PermissionSettings(); in buildPermissionSettings()
100 var outputArtifacts = new OutputArtifacts(); in buildOutputArtifacts()
110 var primaryRefProfilePath = new PrimaryRefProfilePath(); in buildPrimaryRefProfilePath()
120 var secondaryRefProfilePath = new SecondaryRefProfilePath(); in buildSecondaryRefProfilePath()
137 var prebuiltProfilePath = new PrebuiltProfilePath(); in buildProfilePathForPrebuilt()
150 var primaryCurProfilePath = new PrimaryCurProfilePath(); in buildProfilePathForPrimaryCur()
167 var secondaryCurProfilePath = new SecondaryCurProfilePath(); in buildProfilePathForSecondaryCur()
[all …]
/art/test/1939-proxy-frames/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1911-get-local-var-table/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1923-frame-pop/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1965-get-set-local-primitive-no-tables/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1916-get-set-current-frame/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
DTest1916.java128 for (Locals.VariableDescription var : Locals.GetLocalVariableTable(frame.method)) { in FindSlot()
129 if (var.start_location <= loc && in FindSlot()
130 var.length + var.start_location > loc && in FindSlot()
131 var.name.equals(TARGET_VAR)) { in FindSlot()
132 return var.slot; in FindSlot()
/art/test/1913-get-set-local-objects/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1935-get-set-current-frame-jit/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1967-get-set-local-bad-slot/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/jvmti-common/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1966-get-set-local-objects-no-table/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1926-missed-frame-pop/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1924-frame-pop-toggle/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1912-get-set-local-primitive/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1925-self-frame-pop/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/test/1914-get-local-instance/src/art/
DLocals.java85 for (VariableDescription var : vars) { in GetVariableAtLocation()
86 if (var.start_location <= loc && in GetVariableAtLocation()
87 var.length + var.start_location > loc && in GetVariableAtLocation()
88 var.name.equals(name) && in GetVariableAtLocation()
89 var.signature.equals(sig)) { in GetVariableAtLocation()
90 return var; in GetVariableAtLocation()
/art/tools/checker/common/
Dlogger.py76 longest_name = max(len(var) for var in variables)
78 for var in collections.OrderedDict(sorted(variables.items())):
79 padding = " " * (longest_name - len(var))
80 Logger.log(var, Logger.Level.ERROR, color=Logger.Color.GREEN, new_line=False,
84 Logger.log(variables[var], Logger.Level.ERROR, out=sys.stderr)

1234