Home
last modified time | relevance | path

Searched refs:String (Results 1 – 25 of 474) sorted by relevance

12345678910>>...19

/dalvik/tools/dexdeps/src/com/android/dexdeps/
DMethodRef.java20 private String mDeclClass, mReturnType, mMethodName;
21 private String[] mArgTypes;
26 public MethodRef(String declClass, String[] argTypes, String returnType, in MethodRef()
27 String methodName) { in MethodRef()
37 public String getDeclClassName() { in getDeclClassName()
44 public String getDescriptor() { in getDescriptor()
51 public String getName() { in getName()
58 public String[] getArgumentTypeNames() { in getArgumentTypeNames()
65 public String getReturnTypeName() { in getReturnTypeName()
73 private static String descriptorFromProtoArray(String[] protos, in descriptorFromProtoArray()
[all …]
DOutput.java25 private static final String IN0 = "";
26 private static final String IN1 = " ";
27 private static final String IN2 = " ";
28 private static final String IN3 = " ";
29 private static final String IN4 = " ";
33 private static void generateHeader0(String fileName, String format) { in generateHeader0()
50 public static void generateFirstHeader(String fileName, String format) { in generateFirstHeader()
54 public static void generateHeader(String fileName, String format) { in generateHeader()
59 public static void generateFooter(String format) { in generateFooter()
70 public static void generate(DexData dexData, String format, in generate()
[all …]
DFieldRef.java20 private String mDeclClass, mFieldType, mFieldName;
25 public FieldRef(String declClass, String fieldType, String fieldName) { in FieldRef()
34 public String getDeclClassName() { in getDeclClassName()
41 public String getTypeName() { in getTypeName()
48 public String getName() { in getName()
/dalvik/dexgen/src/com/android/dexgen/util/
DPathHolder.java27 public static final String DEX_FILE_EXTENSION = ".dex";
29 public static final String JAR_FILE_EXTENSION = ".jar";
32 private final String dirLocation;
35 private final String fileNamePrefix;
46 public PathHolder(String dirLocation, String fileNamePrefix) { in PathHolder()
58 public String getFileName() { in getFileName()
62 public String getDexFilePath() { in getDexFilePath()
66 public String getDexFileName() { in getDexFileName()
70 public String getJarFilePath() { in getJarFilePath()
74 public String getJarFileName() { in getJarFileName()
[all …]
DHex.java36 public static String u8(long v) { in u8()
43 return new String(result); in u8()
52 public static String u4(int v) { in u4()
59 return new String(result); in u4()
68 public static String u3(int v) { in u3()
75 return new String(result); in u3()
84 public static String u2(int v) { in u2()
91 return new String(result); in u2()
102 public static String u2or4(int v) { in u2or4()
116 public static String u1(int v) { in u1()
[all …]
DFixedSizeList.java70 public String toString() { in toString()
71 String name = getClass().getName(); in toString()
85 public String toHuman() { in toHuman()
86 String name = getClass().getName(); in toHuman()
102 public String toString(String prefix, String separator, String suffix) { in toString()
116 public String toHuman(String prefix, String separator, String suffix) { in toHuman()
248 private String toString0(String prefix, String separator, String suffix, in toString0()
/dalvik/dx/src/com/android/dx/util/
DHex.java36 public static String u8(long v) { in u8()
43 return new String(result); in u8()
52 public static String u4(int v) { in u4()
59 return new String(result); in u4()
68 public static String u3(int v) { in u3()
75 return new String(result); in u3()
84 public static String u2(int v) { in u2()
91 return new String(result); in u2()
102 public static String u2or4(int v) { in u2or4()
116 public static String u1(int v) { in u1()
[all …]
DFixedSizeList.java70 public String toString() { in toString()
71 String name = getClass().getName(); in toString()
86 public String toHuman() { in toHuman()
87 String name = getClass().getName(); in toHuman()
103 public String toString(String prefix, String separator, String suffix) { in toString()
117 public String toHuman(String prefix, String separator, String suffix) { in toHuman()
249 private String toString0(String prefix, String separator, String suffix, in toString0()
/dalvik/dx/tests/141-invoke-polymorphic-varhandles/
Dexpected.txt2 com.android.dx.cf.code.SimException: ERROR in VarHandleDexTest.main:([Ljava/lang/String;)V: invokin…
4 java.lang.invoke.VarHandle proto(java.lang.Class, java.lang.String, java.lang.Class)
7 …ke.VarHandle.compareAndExchange:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Ljava/la…
10 ….lang.invoke.VarHandle.compareAndExchange:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String
14 …andle.compareAndExchangeAcquire:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Ljava/la…
17 …nvoke.VarHandle.compareAndExchangeAcquire:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String
21 …andle.compareAndExchangeRelease:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Ljava/la…
24 …nvoke.VarHandle.compareAndExchangeRelease:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String
29 java.lang.invoke.VarHandle.compareAndSet:([Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Z
32 java.lang.invoke.VarHandle.get:([Ljava/lang/String;I)Ljava/lang/String;
[all …]
DVarHandleDexTest.java29 public static void main(String[] args) throws Throwable { in main()
172 String[] words = { "okay", "stevie", "bring", "your", "three", "friends", "up" }; in main()
174 String newValue = "four"; in main()
175 String expectedValue = "three"; in main()
178String s0 = (String) vw.compareAndExchangeAcquire(words, index, expectedValue, newValue); in main()
180 String s1 = (String) vw.compareAndExchange(words, index, expectedValue, newValue); in main()
182String s2 = (String) vw.compareAndExchangeRelease(words, index, expectedValue, newValue); in main()
196 String s3 = (String) vw.getAndAddAcquire(words, index, expectedValue, newValue); in main()
198 String s4 = (String) vw.getAndAdd(words, index, expectedValue, newValue); in main()
200 String s5 = (String) vw.getAndAddRelease(words, index, expectedValue, newValue); in main()
[all …]
/dalvik/dx/src/com/android/dex/
DDexFormat.java55 public static final String VERSION_FOR_API_10000 = "040";
58 public static final String VERSION_FOR_API_28 = "039";
61 public static final String VERSION_FOR_API_26 = "038";
64 public static final String VERSION_FOR_API_24 = "037";
67 public static final String VERSION_FOR_API_13 = "035";
76 public static final String VERSION_CURRENT = VERSION_FOR_API_28;
82 public static final String DEX_IN_JAR_NAME = "classes.dex";
85 public static final String MAGIC_PREFIX = "dex\n";
88 public static final String MAGIC_SUFFIX = "\0";
126 String version = "" + ((char) magic[4]) + ((char) magic[5]) +((char) magic[6]); in magicToApi()
[all …]
/dalvik/dx/tests/143-interface-methods/
Dexpected.txt3 …nvoking a default interface method DefaultDefinition.countIt:(Ljava/lang/String;)I strictly requir…
6String;)I: defining a default interface method requires --min-sdk-version >= 24 (currently 19) for…
8 … InvokeStatic.main:([Ljava/lang/String;)V: invoking a static interface method StaticDefinition.pri…
11String;)V: defining a static interface method requires --min-sdk-version >= 24 (currently 19) for …
14 …nvoking a default interface method DefaultDefinition.countIt:(Ljava/lang/String;)I strictly requir…
17String;)I: defining a default interface method requires --min-sdk-version >= 24 (currently 20) for…
19 … InvokeStatic.main:([Ljava/lang/String;)V: invoking a static interface method StaticDefinition.pri…
22String;)V: defining a static interface method requires --min-sdk-version >= 24 (currently 20) for …
25 …nvoking a default interface method DefaultDefinition.countIt:(Ljava/lang/String;)I strictly requir…
28String;)I: defining a default interface method requires --min-sdk-version >= 24 (currently 21) for…
[all …]
/dalvik/dx/src/com/android/dx/command/dump/
DBaseDumper.java52 private final String filePath;
64 private String separator;
85 String filePath, Args args) { in BaseDumper()
132 public void parsed(ByteArray bytes, int offset, int len, String human) { in parsed()
137 String hex = rawBytes ? hexDump(offset, len) : ""; in parsed()
144 public void startParsingMember(ByteArray bytes, int offset, String name, in startParsingMember()
145 String descriptor) { in startParsingMember()
151 public void endParsingMember(ByteArray bytes, int offset, String name, in endParsingMember()
152 String descriptor, Member member) { in endParsingMember()
179 protected final String getFilePath() { in getFilePath()
[all …]
/dalvik/dx/src/com/android/dx/command/annotool/
DMain.java30 InvalidArgumentException(String s) { in InvalidArgumentException()
48 String aclass;
57 String[] files;
62 void parse (String[] argArray) throws InvalidArgumentException { in parse()
64 String arg = argArray[i]; in parse()
67 String argParam = arg.substring(arg.indexOf('=') + 1); in parse()
74 String argParam = arg.substring(arg.indexOf('=') + 1); in parse()
77 for (String p : argParam.split(",")) { in parse()
85 String argParam = arg.substring(arg.indexOf('=') + 1); in parse()
88 for (String p : argParam.split(",")) { in parse()
[all …]
DAnnotationLister.java43 private static final String PACKAGE_INFO = "package-info";
49 HashSet<String> matchInnerClassesOf = new HashSet<String>();
52 HashSet<String> matchPackages = new HashSet<String>();
60 for (String path : args.files) { in process()
66 public boolean processFileBytes(String name, long lastModified, byte[] bytes) { in process()
79 String cfClassName in process()
152 String annClassName in visitClassAnnotation()
173 String packageName = cf.getThisClass().getClassType().getClassName(); in visitPackageAnnotation()
186 String annClassName in visitPackageAnnotation()
201 private void printMatchPackage(String packageName) { in printMatchPackage()
[all …]
/dalvik/dx/src/com/android/dx/command/dexer/
DMain.java90 private static final String DEX_EXTENSION = ".dex";
96 private static final String DEX_PREFIX = "classes";
102 private static final String IN_RE_CORE_CLASSES =
139 private static final String MANIFEST_NAME = "META-INF/MANIFEST.MF";
153 private static final String[] JAVAX_CORE = {
179 private TreeMap<String, byte[]> outputResources;
223 private Set<String> classesInMainDex = null;
239 public static void main(String[] argArray) throws IOException { in main()
359 classesInMainDex = new HashSet<String>(); in runMultiDex()
424 private static String getDexFileName(int i) { in getDexFileName()
[all …]
/dalvik/dx/src/com/android/multidex/
DMainDexListBuilder.java43 private static final String CLASS_EXTENSION = ".class";
47 private static final String EOL = System.getProperty("line.separator");
49 private static final String USAGE_MESSAGE =
65 private static final String DISABLE_ANNOTATION_RESOLUTION_WORKAROUND =
68 private Set<String> filesToKeep = new HashSet<String>();
70 public static void main(String[] args) { in main()
92 Set<String> toKeep = builder.getMainDexList(); in main()
101 public MainDexListBuilder(boolean keepAnnotated, String rootJar, String pathString) in MainDexListBuilder()
116 for (String className : mainListBuilder.getClassNames()) { in MainDexListBuilder()
143 public Set<String> getMainDexList() { in getMainDexList()
[all …]
/dalvik/dx/src/com/android/dx/dex/cf/
DOptimizerOptions.java37 private HashSet<String> optimizeList;
44 private HashSet<String> dontOptimizeList;
56 public void loadOptimizeLists(String optimizeListFile, in loadOptimizeLists()
57 String dontOptimizeListFile) { in loadOptimizeLists()
89 private static HashSet<String> loadStringsFromFile(String filename) { in loadStringsFromFile()
90 HashSet<String> result = new HashSet<String>(); in loadStringsFromFile()
96 String line; in loadStringsFromFile()
160 public boolean shouldOptimize(String canonicalMethodName) { in shouldOptimize()
/dalvik/dexgen/src/com/android/dexgen/dex/file/
DStatistics.java30 private final HashMap<String, Data> dataMap;
36 dataMap = new HashMap<String, Data>(50); in Statistics()
45 String typeName = item.typeName(); in add()
79 TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); in writeAnnotation()
90 public String toHuman() { in toHuman()
95 TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); in toHuman()
113 private final String name;
133 public Data(Item item, String name) { in Data()
177 public String toHuman() { in toHuman()
DItemType.java52 private final String typeName;
55 private final String humanName;
63 private ItemType(int mapValue, String typeName) { in ItemType()
68 String human = typeName; in ItemType()
89 public String getTypeName() { in getTypeName()
94 public String toHuman() { in toHuman()
/dalvik/dx/src/com/android/dx/dex/file/
DStatistics.java29 private final HashMap<String, Data> dataMap;
35 dataMap = new HashMap<String, Data>(50); in Statistics()
44 String typeName = item.typeName(); in add()
78 TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); in writeAnnotation()
89 public String toHuman() { in toHuman()
94 TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); in toHuman()
112 private final String name;
132 public Data(Item item, String name) { in Data()
176 public String toHuman() { in toHuman()
DItemType.java54 private final String typeName;
57 private final String humanName;
65 private ItemType(int mapValue, String typeName) { in ItemType()
70 String human = typeName; in ItemType()
91 public String getTypeName() { in getTypeName()
97 public String toHuman() { in toHuman()
/dalvik/dx/tests/115-merge/testdata/
DAnnotated.java12 public String field;
15 public void method(String a, @Annotated.Marker(a="on parameter") String b) {} in method()
19 String a() default ""; in a()
20 String[] b() default {}; in b()
27 String e() default ""; in e()
/dalvik/dx/src/com/android/dx/rop/cst/
DCstString.java34 private final String string;
46 public static byte[] stringToUtf8Bytes(String string) { in stringToUtf8Bytes()
79 public static String utf8BytesToString(ByteArray bytes) { in utf8BytesToString()
158 return new String(chars, 0, outAt); in utf8BytesToString()
170 private static String throwBadUtf8(int value, int offset) { in throwBadUtf8()
180 public CstString(String string) { in CstString()
227 public String toString() { in toString()
233 public String typeName() { in typeName()
245 public String toHuman() { in toHuman()
305 public String toQuoted() { in toQuoted()
[all …]
/dalvik/dexgen/src/com/android/dexgen/rop/cst/
DCstUtf8.java33 private final String string;
46 public static byte[] stringToUtf8Bytes(String string) { in stringToUtf8Bytes()
79 public static String utf8BytesToString(ByteArray bytes) { in utf8BytesToString()
158 return new String(chars, 0, outAt); in utf8BytesToString()
170 private static String throwBadUtf8(int value, int offset) { in throwBadUtf8()
180 public CstUtf8(String string) { in CstUtf8()
227 public String toString() { in toString()
233 public String typeName() { in typeName()
244 public String toHuman() { in toHuman()
304 public String toQuoted() { in toQuoted()
[all …]

12345678910>>...19