Searched refs:type (Results 1 - 25 of 426) sorted by relevance

1234567891011>>

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DTonesAutoTest.java37 int type;
42 for (type = ToneGenerator.TONE_DTMF_0; type <= ToneGenerator.TONE_DTMF_D; type++) {
43 if (toneGen.startTone(type)) {
61 int type;
66 for (type = ToneGenerator.TONE_SUP_DIAL;
67 type <= ToneGenerator.TONE_SUP_RINGTONE; type++) {
68 if (toneGen.startTone(type)) {
[all...]
/frameworks/base/voip/jni/rtp/
H A DAudioCodec.cpp41 AudioCodecType *type = gAudioCodecTypes; local
42 while (type->name != NULL) {
43 if (strcasecmp(codecName, type->name) == 0) {
44 AudioCodec *codec = type->create();
45 codec->name = type->name;
48 ++type;
H A DAmrCodec.cpp103 Frame_Type_3GPP type; local
106 samples, bytes + 1, &type, AMR_TX_WMF);
108 if (type != mMode || length != (8 + gFrameBits[mMode] + 7) >> 3) {
134 Frame_Type_3GPP type; local
144 type = (Frame_Type_3GPP)(bytes[1] >> 3);
145 if (length != (16 + gFrameBits[type] + 7) >> 3) {
154 type = (Frame_Type_3GPP)((bytes[0] << 1 | bytes[1] >> 7) & 0x07);
155 if (length != (10 + gFrameBits[type] + 7) >> 3) {
165 length = (gFrameBits[type] + 7) >> 3;
169 if (AMRDecode(mDecoder, type, byte
227 Frame_Type_3GPP type; local
[all...]
/frameworks/base/voip/java/android/net/rtp/
H A DAudioStream.java111 * @throws IllegalArgumentException if its type is used by DTMF.
118 if (codec.type == mDtmfType) {
119 throw new IllegalArgumentException("The type is used by DTMF");
125 * Returns the RTP payload type for dual-tone multi-frequency (DTMF) digits,
135 * Sets the RTP payload type for dual-tone multi-frequency (DTMF) digits.
138 * RTP payload type for DTMF is assigned dynamically, so it must be in the
140 * the previous assigned type. This method cannot be called when the stream
143 * @param type The RTP payload type to be used or {@code -1} to disable it.
144 * @throws IllegalArgumentException if the type i
148 setDtmfType(int type) argument
[all...]
H A DAudioCodec.java40 * The RTP payload type of the encoding.
42 public final int type; field in class:AudioCodec
85 private AudioCodec(int type, String rtpmap, String fmtp) { argument
86 this.type = type;
101 * @param type The payload type of the encoding defined in RTP/AVP.
108 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { argument
109 if (type < 0 || type > 12
[all...]
/frameworks/base/core/java/android/accounts/
H A DAccount.java24 * Value type that represents an Account in the {@link AccountManager}. This object is
30 public final String type; field in class:Account
36 return name.equals(other.name) && type.equals(other.type);
42 result = 31 * result + type.hashCode();
46 public Account(String name, String type) { argument
50 if (TextUtils.isEmpty(type)) {
51 throw new IllegalArgumentException("the type must not be empty: " + type);
54 this.type
[all...]
H A DAuthenticatorDescription.java23 * A {@link Parcelable} value type that contains information about an account authenticator.
27 final public String type; field in class:AuthenticatorDescription
55 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
57 if (type == null) throw new IllegalArgumentException("type cannot be null");
59 this.type = type;
68 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
70 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
75 * to identify the authenticator by its type
78 newKey(String type) argument
83 AuthenticatorDescription(String type) argument
[all...]
/frameworks/base/core/java/android/ddm/
H A DDdmHandleNativeHeap.java30 public static final int CHUNK_NHGT = type("NHGT");
61 Log.i("ddm-nativeheap", "Handling " + name(request.type) + " chunk");
62 int type = request.type;
64 if (type == CHUNK_NHGT) {
68 + ChunkHandler.name(type));
83 return new Chunk(ChunkHandler.type("NHGT"), data, 0, data.length);
H A DDdmHandleHeap.java34 public static final int CHUNK_HPIF = type("HPIF");
35 public static final int CHUNK_HPSG = type("HPSG");
36 public static final int CHUNK_HPDU = type("HPDU");
37 public static final int CHUNK_HPDS = type("HPDS");
38 public static final int CHUNK_NHSG = type("NHSG");
39 public static final int CHUNK_HPGC = type("HPGC");
40 public static final int CHUNK_REAE = type("REAE");
41 public static final int CHUNK_REAQ = type("REAQ");
42 public static final int CHUNK_REAL = type("REAL");
82 Log.v("ddm-heap", "Handling " + name(request.type)
[all...]
H A DDdmHandleProfiling.java33 public static final int CHUNK_MPRS = type("MPRS");
34 public static final int CHUNK_MPRE = type("MPRE");
35 public static final int CHUNK_MPSS = type("MPSS");
36 public static final int CHUNK_MPSE = type("MPSE");
37 public static final int CHUNK_MPRQ = type("MPRQ");
73 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk");
74 int type = request.type;
76 if (type == CHUNK_MPRS) {
78 } else if (type
[all...]
/frameworks/base/core/java/android/app/
H A DIAlarmManager.aidl27 void set(int type, long triggerAtTime, in PendingIntent operation);
28 void setRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation);
29 void setInexactRepeating(int type, long triggerAtTime, long interval, in PendingIntent operation);
H A DAlarmManager.java112 * Alarm intents are delivered with a data extra of type int called
118 * @param type One of ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP, RTC or
121 * appropriate clock (depending on the alarm type).
137 public void set(int type, long triggerAtTime, PendingIntent operation) { argument
139 mService.set(type, triggerAtTime, operation);
170 * @param type One of ELAPSED_REALTIME, ELAPSED_REALTIME_WAKEUP}, RTC or
173 * appropriate clock (depending on the alarm type).
190 public void setRepeating(int type, long triggerAtTime, long interval, argument
193 mService.setRepeating(type, triggerAtTime, interval, operation);
223 * @param type On
256 setInexactRepeating(int type, long triggerAtTime, long interval, PendingIntent operation) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCacheListener.java28 * @param type the type of registered service
31 void onServiceChanged(V type, boolean removed); argument
/frameworks/base/core/java/android/widget/
H A DExpandableListPosition.java35 * This data type represents a child position
40 * This data type represents a group position
62 * What type of position this ExpandableListPosition represents
64 public int type; field in class:ExpandableListPosition
70 type = 0;
77 if (type == CHILD) return ExpandableListView.getPackedPositionForChild(groupPos, childPos);
98 elp.type = CHILD;
101 elp.type = GROUP;
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { argument
108 elp.type
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dcal_dc_scaler.cpp23 [input_variable_name] = [description of the input to module, its type
27 [local_store_name] = [description of the local store, its type
29 [local_buffer_name] = [description of the local buffer, its type
31 [local_ptr_name] = [description of the local pointer, its type
35 [global_store_name] = [description of the global store, its type
37 [global_buffer_name] = [description of the global buffer, its type
39 [global_ptr_name] = [description of the global pointer, its type
44 by module, its type definition, and length
49 variable_bfr_ptr points to, its type definition, and length
55 [local_store_name] = [describe new contents, its type
150 cal_dc_scaler( int QP, int type) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DDataCallState.java23 public String type; field in class:DataCallState
29 return "DataCallState: {" + " cid: " + cid + ", active: " + active + ", type: " + type
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java92 final int type = data[index+AssetManager.STYLE_TYPE];
93 if (type == TypedValue.TYPE_NULL) {
95 } else if (type == TypedValue.TYPE_STRING) {
104 Log.w(Resources.TAG, "getString of bad type: 0x"
105 + Integer.toHexString(type));
120 final int type = data[index+AssetManager.STYLE_TYPE];
121 if (type == TypedValue.TYPE_NULL) {
123 } else if (type == TypedValue.TYPE_STRING) {
133 Log.w(Resources.TAG, "getString of bad type: 0x"
134 + Integer.toHexString(type));
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DHanziToPinyinTest.java46 assertEquals(tokens.get(0).type, Token.PINYIN);
51 assertEquals(tokens.get(0).type, Token.PINYIN);
52 assertEquals(tokens.get(1).type, Token.PINYIN);
58 assertEquals(tokens.get(0).type, Token.LATIN);
62 assertEquals(tokens.get(0).type, Token.UNKNOWN);
66 assertEquals(tokens.get(0).type, Token.LATIN);
67 assertEquals(tokens.get(1).type, Token.PINYIN);
68 assertEquals(tokens.get(2).type, Token.LATIN);
69 assertEquals(tokens.get(3).type, Token.LATIN);
70 assertEquals(tokens.get(4).type, Toke
[all...]
/frameworks/base/core/java/android/os/
H A DPatternMatcher.java26 * Pattern type: the given pattern must exactly match the string it is
32 * Pattern type: the given pattern must match the
38 * Pattern type: the given pattern is interpreted with a
51 public PatternMatcher(String pattern, int type) { argument
53 mType = type;
69 String type = "? ";
72 type = "LITERAL: ";
75 type = "PREFIX: ";
78 type = "GLOB: ";
81 return "PatternMatcher{" + type
109 matchPattern(String pattern, String match, int type) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java58 * Return the type as defined by OpenGL ES of the supplied bitmap, if there
60 * a valid OpenGL ES type.
61 * @throws IllegalArgumentException if the bitmap does not have a type.
63 * @return the OpenGL ES type of the bitmap.
71 throw new IllegalArgumentException("Unknown type");
109 * A version of texImage2D() that takes an explicit type parameter
110 * as defined by the OpenGL ES specification. The actual type and
112 * type and internalformat parameters.
118 * @param type
122 Bitmap bitmap, int type, in
121 texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument
194 texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
208 native_texImage2D(int target, int level, int internalformat, Bitmap bitmap, int type, int border) argument
210 native_texSubImage2D(int target, int level, int xoffset, int yoffset, Bitmap bitmap, int format, int type) argument
[all...]
/frameworks/base/tools/preload/
H A DOperation.java45 final Type type; field in class:Operation
58 int index, Type type) {
63 this.type = type;
98 switch (type) {
125 sb.append(type.toString());
57 Operation(Proc process, LoadedClass loadedClass, long startTimeNanos, int index, Type type) argument
/frameworks/base/media/libstagefright/
H A DMetaData.cpp74 uint32_t type; local
77 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) {
87 uint32_t type; local
90 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) {
102 uint32_t type; local
105 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) {
117 uint32_t type; local
132 uint32_t type; local
146 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
165 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument
214 setData( uint32_t type, const void *data, size_t size) argument
223 getData( uint32_t *type, const void **data, size_t *size) const argument
[all...]
/frameworks/base/libs/rs/
H A Dspec.l76 currType->type = 1;
82 currType->type = 1;
88 currType->type = 1;
94 currType->type = 1;
100 currType->type = 2;
106 currType->type = 2;
112 currType->type = 2;
118 currType->type = 2;
124 currType->type = 3;
130 currType->type
[all...]
/frameworks/base/opengl/libs/GLES_CM/
H A Dgl.cpp42 GL_API void GL_APIENTRY glColorPointerBounds(GLint size, GLenum type, GLsizei stride,
44 GL_API void GL_APIENTRY glNormalPointerBounds(GLenum type, GLsizei stride,
46 GL_API void GL_APIENTRY glTexCoordPointerBounds(GLint size, GLenum type,
48 GL_API void GL_APIENTRY glVertexPointerBounds(GLint size, GLenum type,
50 GL_API void GL_APIENTRY glPointSizePointerOESBounds(GLenum type,
52 GL_API void GL_APIENTRY glMatrixIndexPointerOESBounds(GLint size, GLenum type,
54 GL_API void GL_APIENTRY glWeightPointerOESBounds(GLint size, GLenum type,
58 void glColorPointerBounds(GLint size, GLenum type, GLsizei stride, argument
60 glColorPointer(size, type, stride, ptr);
62 void glNormalPointerBounds(GLenum type, GLsize argument
66 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
70 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
75 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
[all...]
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DRenameClassAdapter.java71 * Renames a type descriptor, e.g. "Lcom.package.MyClass;"
72 * If the type doesn't need to be renamed, returns the input string as-is.
83 * Renames an object type, e.g. "Lcom.package.MyClass;" or an array type that has an
85 * If the type doesn't need to be renamed, returns the internal name of the input type.
87 String renameType(Type type) { argument
88 if (type == null) {
92 if (type.getSort() == Type.OBJECT) {
93 String in = type
112 renameTypeAsType(Type type) argument
141 renameInternalType(String type) argument
303 visitTypeInsn(int opcode, String type) argument
343 visitTryCatchBlock(Label start, Label end, Label handler, String type) argument
[all...]

Completed in 2822 milliseconds

1234567891011>>