Searched refs:staticValues (Results 1 – 5 of 5) sorted by relevance
/dalvik/dx/tests/115-merge/com/android/dx/merge/ |
D | DexMergeTest.java | 80 Class<?> staticValues = loader.loadClass("testdata.StaticValues"); in testStaticValues() local 81 assertEquals((byte) 1, staticValues.getField("a").get(null)); in testStaticValues() 82 assertEquals((short) 2, staticValues.getField("b").get(null)); in testStaticValues() 83 assertEquals('C', staticValues.getField("c").get(null)); in testStaticValues() 84 assertEquals(0xabcd1234, staticValues.getField("d").get(null)); in testStaticValues() 85 assertEquals(4660046610375530309L,staticValues.getField("e").get(null)); in testStaticValues() 86 assertEquals(0.5f, staticValues.getField("f").get(null)); in testStaticValues() 87 assertEquals(-0.25, staticValues.getField("g").get(null)); in testStaticValues() 88 assertEquals("this is a String", staticValues.getField("h").get(null)); in testStaticValues() 89 assertEquals(String.class, staticValues.getField("i").get(null)); in testStaticValues() [all …]
|
/dalvik/dx/src/com/android/dx/dex/file/ |
D | ClassDataItem.java | 47 private final HashMap<EncodedField, Constant> staticValues; field in ClassDataItem 83 this.staticValues = new HashMap<EncodedField, Constant>(40); in ClassDataItem() 130 staticValues.put(field, value); in addStaticField() 289 Constant cst = staticValues.get(field); in makeStaticValuesConstant() 310 Constant cst = staticValues.get(field); in makeStaticValuesConstant()
|
D | ClassDefItem.java | 141 CstArray staticValues = classData.getStaticValuesConstant(); in addContents() local 142 if (staticValues != null) { in addContents() 144 byteData.intern(new EncodedArrayItem(staticValues)); in addContents()
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
D | ClassDataItem.java | 51 private final HashMap<EncodedField, Constant> staticValues; field in ClassDataItem 87 this.staticValues = new HashMap<EncodedField, Constant>(40); in ClassDataItem() 134 staticValues.put(field, value); in addStaticField() 293 Constant cst = staticValues.get(field); in makeStaticValuesConstant() 314 Constant cst = staticValues.get(field); in makeStaticValuesConstant()
|
D | ClassDefItem.java | 143 CstArray staticValues = classData.getStaticValuesConstant(); in addContents() local 144 if (staticValues != null) { in addContents() 146 byteData.intern(new EncodedArrayItem(staticValues)); in addContents()
|