/dalvik/dx/src/com/android/dx/rop/type/ |
D | StdTypeList.java | 30 public static final StdTypeList INT = StdTypeList.make(Type.INT); 33 public static final StdTypeList LONG = StdTypeList.make(Type.LONG); 36 public static final StdTypeList FLOAT = StdTypeList.make(Type.FLOAT); 39 public static final StdTypeList DOUBLE = StdTypeList.make(Type.DOUBLE); 42 public static final StdTypeList OBJECT = StdTypeList.make(Type.OBJECT); 46 = StdTypeList.make(Type.RETURN_ADDRESS); 50 StdTypeList.make(Type.THROWABLE); 54 StdTypeList.make(Type.INT, Type.INT); 58 StdTypeList.make(Type.LONG, Type.LONG); 62 StdTypeList.make(Type.FLOAT, Type.FLOAT); [all …]
|
D | Type.java | 29 public final class Type implements TypeBearer, Comparable<Type> { class 31 private static final HashMap<String, Type> internTable = 32 new HashMap<String, Type>(500); 71 public static final Type BOOLEAN = new Type("Z", BT_BOOLEAN); 74 public static final Type BYTE = new Type("B", BT_BYTE); 77 public static final Type CHAR = new Type("C", BT_CHAR); 80 public static final Type DOUBLE = new Type("D", BT_DOUBLE); 83 public static final Type FLOAT = new Type("F", BT_FLOAT); 86 public static final Type INT = new Type("I", BT_INT); 89 public static final Type LONG = new Type("J", BT_LONG); [all …]
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
D | CstType.java | 19 import com.android.dx.rop.type.Type; 28 private static final HashMap<Type, CstType> interns = 29 new HashMap<Type, CstType>(100); 32 public static final CstType OBJECT = intern(Type.OBJECT); 35 public static final CstType BOOLEAN = intern(Type.BOOLEAN_CLASS); 38 public static final CstType BYTE = intern(Type.BYTE_CLASS); 41 public static final CstType CHARACTER = intern(Type.CHARACTER_CLASS); 44 public static final CstType DOUBLE = intern(Type.DOUBLE_CLASS); 47 public static final CstType FLOAT = intern(Type.FLOAT_CLASS); 50 public static final CstType LONG = intern(Type.LONG_CLASS); [all …]
|
D | Zeroes.java | 19 import com.android.dx.rop.type.Type; 38 public static Constant zeroFor(Type type) { in zeroFor() 40 case Type.BT_BOOLEAN: return CstBoolean.VALUE_FALSE; in zeroFor() 41 case Type.BT_BYTE: return CstByte.VALUE_0; in zeroFor() 42 case Type.BT_CHAR: return CstChar.VALUE_0; in zeroFor() 43 case Type.BT_DOUBLE: return CstDouble.VALUE_0; in zeroFor() 44 case Type.BT_FLOAT: return CstFloat.VALUE_0; in zeroFor() 45 case Type.BT_INT: return CstInteger.VALUE_0; in zeroFor() 46 case Type.BT_LONG: return CstLong.VALUE_0; in zeroFor() 47 case Type.BT_SHORT: return CstShort.VALUE_0; in zeroFor() [all …]
|
/dalvik/dx/src/com/android/dx/rop/code/ |
D | Rops.java | 25 import com.android.dx.rop.type.Type; 35 new Rop(RegOps.NOP, Type.VOID, StdTypeList.EMPTY, "nop"); 39 new Rop(RegOps.MOVE, Type.INT, StdTypeList.INT, "move-int"); 43 new Rop(RegOps.MOVE, Type.LONG, StdTypeList.LONG, "move-long"); 47 new Rop(RegOps.MOVE, Type.FLOAT, StdTypeList.FLOAT, "move-float"); 51 new Rop(RegOps.MOVE, Type.DOUBLE, StdTypeList.DOUBLE, "move-double"); 55 new Rop(RegOps.MOVE, Type.OBJECT, StdTypeList.OBJECT, "move-object"); 64 new Rop(RegOps.MOVE, Type.RETURN_ADDRESS, 69 new Rop(RegOps.MOVE_PARAM, Type.INT, StdTypeList.EMPTY, 74 new Rop(RegOps.MOVE_PARAM, Type.LONG, StdTypeList.EMPTY, [all …]
|
D | Exceptions.java | 20 import com.android.dx.rop.type.Type; 27 public static final Type TYPE_ArithmeticException = 28 Type.intern("Ljava/lang/ArithmeticException;"); 34 public static final Type TYPE_ArrayIndexOutOfBoundsException = 35 Type.intern("Ljava/lang/ArrayIndexOutOfBoundsException;"); 38 public static final Type TYPE_ArrayStoreException = 39 Type.intern("Ljava/lang/ArrayStoreException;"); 42 public static final Type TYPE_ClassCastException = 43 Type.intern("Ljava/lang/ClassCastException;"); 46 public static final Type TYPE_Error = Type.intern("Ljava/lang/Error;"); [all …]
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
D | FloatControl.java | 24 public static class Type extends Control.Type { class in FloatControl 25 public static final Type MASTER_GAIN = new Type("Master Gain"); //$NON-NLS-1$ 27 public static final Type AUX_SEND = new Type("AUX Send"); //$NON-NLS-1$ 29 public static final Type AUX_RETURN = new Type("AUX Return"); //$NON-NLS-1$ 31 public static final Type REVERB_SEND = new Type("Reverb Send"); //$NON-NLS-1$ 33 public static final Type REVERB_RETURN = new Type("Reverb Return"); //$NON-NLS-1$ 35 public static final Type VOLUME = new Type("Volume"); //$NON-NLS-1$ 37 public static final Type PAN = new Type("Pan"); //$NON-NLS-1$ 39 public static final Type BALANCE = new Type("Balance"); //$NON-NLS-1$ 41 public static final Type SAMPLE_RATE = new Type("Sample Rate"); //$NON-NLS-1$ [all …]
|
D | LineEvent.java | 29 private LineEvent.Type type; 32 public static class Type { class in LineEvent 34 public static final Type CLOSE = new Type("Close"); //$NON-NLS-1$ 36 public static final Type OPEN = new Type("Open"); //$NON-NLS-1$ 38 public static final Type START = new Type("Start"); //$NON-NLS-1$ 40 public static final Type STOP = new Type("Stop"); //$NON-NLS-1$ 44 public Type(String name) { in Type() method in LineEvent.Type 54 if (another == null || !(another instanceof Type)) { in equals() 58 Type obj = (Type) another; in equals() 73 public LineEvent(Line line, LineEvent.Type type, long position) { in LineEvent() [all …]
|
D | AudioFileFormat.java | 26 private AudioFileFormat.Type type; 32 protected AudioFileFormat(AudioFileFormat.Type type, in AudioFileFormat() 42 public AudioFileFormat(AudioFileFormat.Type type, in AudioFileFormat() 50 public AudioFileFormat(AudioFileFormat.Type type, in AudioFileFormat() 61 public AudioFileFormat.Type getType() { in getType() 96 public static class Type { class in AudioFileFormat 102 public static final Type AIFC = new Type("AIFF-C", "aifc"); //$NON-NLS-1$ //$NON-NLS-2$ 104 public static final Type AIFF = new Type("AIFF", "aif"); //$NON-NLS-1$ //$NON-NLS-2$ 106 public static final Type AU = new Type("AU", "au"); //$NON-NLS-1$ //$NON-NLS-2$ 108 public static final Type SND = new Type("SND", "snd"); //$NON-NLS-1$ //$NON-NLS-2$ [all …]
|
D | BooleanControl.java | 22 public static class Type extends Control.Type { class in BooleanControl 23 public static final Type APPLY_REVERB = new Type("Apply Reverb"); //$NON-NLS-1$ 25 public static final Type MUTE = new Type("Mute"); //$NON-NLS-1$ 27 protected Type(String name) { in Type() method in BooleanControl.Type 38 protected BooleanControl(BooleanControl.Type type, boolean initialValue, in BooleanControl() 46 protected BooleanControl(BooleanControl.Type type, boolean initialValue) { in BooleanControl()
|
D | Control.java | 22 public static class Type { class in Control 26 public Type(String name) { in Type() method in Control.Type 36 if (another == null || !(another instanceof Type)) { in equals() 40 Type obj = (Type) another; in equals() 55 private Type type; 57 protected Control(Type type) { in Control() 61 public Type getType() { in getType()
|
D | EnumControl.java | 23 public static class Type extends Control.Type { class in EnumControl 24 public static final Type REVERB = new Type("Reverb"); //$NON-NLS-1$ 26 protected Type(String name) { in Type() method in EnumControl.Type 35 protected EnumControl(EnumControl.Type type, Object[] values, Object value) { in EnumControl()
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyRepTypeTest.java | 28 @TestTargetClass(KeyRep.Type.class) 50 KeyRep.Type.valueOf("type"); in testValueOf() 56 KeyRep.Type.valueOf(null); in testValueOf() 61 assertEquals(KeyRep.Type.PRIVATE, KeyRep.Type in testValueOf() 62 .valueOf(KeyRep.Type.PRIVATE.toString())); in testValueOf() 63 assertEquals(KeyRep.Type.PUBLIC, KeyRep.Type.valueOf(KeyRep.Type.PUBLIC in testValueOf() 65 assertEquals(KeyRep.Type.SECRET, KeyRep.Type.valueOf(KeyRep.Type.SECRET in testValueOf() 79 KeyRep.Type[] types = new KeyRep.Type[] { KeyRep.Type.SECRET, in testValues() 80 KeyRep.Type.PUBLIC, KeyRep.Type.PRIVATE }; in testValues() 82 assertTrue(Arrays.equals(types, KeyRep.Type.values())); in testValues()
|
D | KeyRepTest.java | 54 …args = {java.security.KeyRep.Type.class, java.lang.String.class, java.lang.String.class, byte[].cl… 58 assertNotNull(new KeyRep(KeyRep.Type.SECRET, "", "", new byte[] {})); in testKeyRep01() 64 assertNotNull(new KeyRep(KeyRep.Type.PUBLIC, "", "", new byte[] {})); in testKeyRep01() 70 assertNotNull(new KeyRep(KeyRep.Type.PRIVATE, "", "", new byte[] {})); in testKeyRep01() 80 …args = {java.security.KeyRep.Type.class, java.lang.String.class, java.lang.String.class, byte[].cl… 90 new KeyRep(KeyRep.Type.SECRET, null, "", new byte[] {}); in testKeyRep02() 96 new KeyRep(KeyRep.Type.PRIVATE, "", null, new byte[] {}); in testKeyRep02() 102 new KeyRep(KeyRep.Type.PUBLIC, "", "", null); in testKeyRep02() 116 KeyRepChild kr = new KeyRepChild(KeyRep.Type.SECRET, "", "", in testReadResolve01() 125 kr = new KeyRepChild(KeyRep.Type.SECRET, "", "X.509", new byte[] {}); in testReadResolve01() [all …]
|
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
D | ProxyTypeTest.java | 28 @TestTargetClass(Proxy.Type.class) 38 Proxy.Type [] types = {Proxy.Type.DIRECT, Proxy.Type.HTTP, in test_valueOf() 39 Proxy.Type.SOCKS}; in test_valueOf() 44 assertEquals(types[i], Proxy.Type.valueOf(strTypes[i])); in test_valueOf() 51 Proxy.Type.valueOf(str); in test_valueOf() 59 Proxy.Type.valueOf(null); in test_valueOf() 73 Proxy.Type [] types = { Proxy.Type.DIRECT, Proxy.Type.HTTP, in test_values() 74 Proxy.Type.SOCKS }; in test_values() 76 Proxy.Type [] result = Proxy.Type.values(); in test_values()
|
D | ProxyTest.java | 41 args = {java.net.Proxy.Type.class, java.net.SocketAddress.class} 45 Proxy proxy = new Proxy(Proxy.Type.HTTP, address); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 46 assertEquals(Proxy.Type.HTTP, proxy.type()); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 50 proxy = new Proxy(Proxy.Type.SOCKS, address); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 51 assertEquals(Proxy.Type.SOCKS, proxy.type()); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 56 assertEquals(Proxy.Type.DIRECT, proxy.type()); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_Normal() 67 args = {java.net.Proxy.Type.class, java.net.SocketAddress.class} 73 proxy = new Proxy(Proxy.Type.HTTP, null); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() 80 proxy = new Proxy(Proxy.Type.SOCKS, null); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() 87 proxy = new Proxy(Proxy.Type.DIRECT, null); in test_ConstructorLjava_net_ProxyLjava_net_SocketAddress_IllegalAddress() [all …]
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/ |
D | ListOfTypes.java | 19 import java.lang.reflect.Type; 25 ArrayList<Type> list; 26 private Type[] resolvedTypes; 28 void add(Type elem) { in add() 36 list = new ArrayList<Type>(capacity); in ListOfTypes() 39 ListOfTypes(Type[] types) { in ListOfTypes() 40 list = new ArrayList<Type>(); in ListOfTypes() 41 for(Type t : types) { in ListOfTypes() 54 for (Type t : list) { in toString() 62 public Type[] getResolvedTypes() { in getResolvedTypes() [all …]
|
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/spi/ |
D | AudioFileWriter.java | 26 import javax.sound.sampled.AudioFileFormat.Type; 30 public abstract AudioFileFormat.Type[] getAudioFileTypes(); in getAudioFileTypes() 32 public abstract AudioFileFormat.Type[] getAudioFileTypes(AudioInputStream stream); in getAudioFileTypes() 34 public boolean isFileTypeSupported(AudioFileFormat.Type fileType) { in isFileTypeSupported() 35 AudioFileFormat.Type[] supported = getAudioFileTypes(); in isFileTypeSupported() 36 for (Type element : supported) { in isFileTypeSupported() 44 public boolean isFileTypeSupported(AudioFileFormat.Type fileType, AudioInputStream stream) { in isFileTypeSupported() 45 AudioFileFormat.Type[] supported = getAudioFileTypes(stream); in isFileTypeSupported() 46 for (Type element : supported) { in isFileTypeSupported() 55 AudioFileFormat.Type fileType, File out) throws IOException; in write() [all …]
|
/dalvik/dx/src/com/android/dx/cf/code/ |
D | Merger.java | 19 import com.android.dx.rop.type.Type; 157 Type type1 = ft1.getType(); in mergeType() 158 Type type2 = ft2.getType(); in mergeType() 163 if (type1 == Type.KNOWN_NULL) { in mergeType() 169 } else if (type2 == Type.KNOWN_NULL) { in mergeType() 184 return Type.OBJECT; in mergeType() 186 return ((Type) componentUnion).getArrayType(); in mergeType() 193 return Type.OBJECT; in mergeType() 200 return Type.INT; in mergeType() 221 Type supertype = supertypeBearer.getType(); in isPossiblyAssignableFrom() [all …]
|
D | Machine.java | 21 import com.android.dx.rop.type.Type; 77 public void popArgs(Frame frame, Type type); in popArgs() 90 public void popArgs(Frame frame, Type type1, Type type2); in popArgs() 104 public void popArgs(Frame frame, Type type1, Type type2, Type type3); in popArgs() 125 public void auxType(Type type); in auxType() 196 public void localTarget(int idx, Type type, LocalItem local); in localTarget()
|
D | Simulator.java | 27 import com.android.dx.rop.type.Type; 175 Type type) { in visitNoArgs() 191 machine.popArgs(frame, Type.INT); in visitNoArgs() 197 machine.popArgs(frame, Type.LONG); in visitNoArgs() 203 machine.popArgs(frame, Type.FLOAT); in visitNoArgs() 209 machine.popArgs(frame, Type.DOUBLE); in visitNoArgs() 214 checkReturnType(Type.VOID); in visitNoArgs() 218 Type checkType = type; in visitNoArgs() 219 if (type == Type.OBJECT) { in visitNoArgs() 231 Type peekType = frame.getStack().peekType(0); in visitNoArgs() [all …]
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
D | GenericReflectionCornerCases.java | 27 import java.lang.reflect.Type; 67 Type[] parameterTypes = method.getGenericParameterTypes(); in testWildcardEquality() 69 Type parameter = parameterTypes[0]; in testWildcardEquality() 72 Type[] actualTypeArguments = paramType.getActualTypeArguments(); in testWildcardEquality() 75 Type firstArgument = actualTypeArguments[0]; in testWildcardEquality() 78 Type secondArgument = actualTypeArguments[1]; in testWildcardEquality() 84 Type[] firstWildcardArgumentUpperBounds = firstWildcardArgument.getUpperBounds(); in testWildcardEquality() 86 Type firstWildcardArgumentUpperBoundsType = firstWildcardArgumentUpperBounds[0]; in testWildcardEquality() 88 Type[] secondWildcardArgumentUpperBounds = secondWildcardArgument.getUpperBounds(); in testWildcardEquality() 90 Type secondWildcardArgumentUpperBoundsType = secondWildcardArgumentUpperBounds[0]; in testWildcardEquality() [all …]
|
D | WildcardTypeTest.java | 22 import java.lang.reflect.Type; 83 Type[] bounds = typeParameter.getBounds(); in checkBoundedTypeParameter() 85 Type bound = bounds[0]; in checkBoundedTypeParameter() 90 Type genericParameterType = method.getGenericParameterTypes()[0]; in checkLowerBoundedParameter() 95 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); in checkLowerBoundedParameter() 101 Type[] lowerBounds = wildcardType.getLowerBounds(); in checkLowerBoundedParameter() 103 Type lowerBound = lowerBounds[0]; in checkLowerBoundedParameter() 106 Type[] upperBounds = wildcardType.getUpperBounds(); in checkLowerBoundedParameter() 112 Type genericParameterType = method.getGenericParameterTypes()[0]; in checkUpperBoundedParameter() 116 Type[] actualTypeArguments = parameterizedType.getActualTypeArguments(); in checkUpperBoundedParameter() [all …]
|
/dalvik/libcore/luni/src/main/java/java/lang/reflect/ |
D | ParameterizedType.java | 26 public interface ParameterizedType extends Type { 55 Type[] getActualTypeArguments(); in getActualTypeArguments() 70 Type getOwnerType(); in getOwnerType() 81 Type getRawType(); in getRawType()
|
/dalvik/libcore/luni/src/main/java/java/net/ |
D | ProxySelectorImpl.java | 127 Proxy.Type type = Proxy.Type.DIRECT; in selectHttpProxy() 138 type = Proxy.Type.HTTP; in selectHttpProxy() 143 type = Proxy.Type.HTTP; in selectHttpProxy() 149 type = Proxy.Type.SOCKS; in selectHttpProxy() 153 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT in selectHttpProxy() 164 Proxy.Type type = Proxy.Type.DIRECT; in selectHttpsProxy() 169 type = Proxy.Type.HTTP; in selectHttpsProxy() 176 type = Proxy.Type.SOCKS; in selectHttpsProxy() 181 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT in selectHttpsProxy() 192 Proxy.Type type = Proxy.Type.DIRECT; in selectFtpProxy() [all …]
|