Searched refs:type (Results 1 - 25 of 583) 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;
/frameworks/base/voip/java/android/net/rtp/
H A DAudioStream.java116 * @throws IllegalArgumentException if its type is used by DTMF.
123 if (codec.type == mDtmfType) {
124 throw new IllegalArgumentException("The type is used by DTMF");
130 * Returns the RTP payload type for dual-tone multi-frequency (DTMF) digits,
140 * Sets the RTP payload type for dual-tone multi-frequency (DTMF) digits.
143 * RTP payload type for DTMF is assigned dynamically, so it must be in the
145 * the previous assigned type. This method cannot be called when the stream
148 * @param type The RTP payload type to be used or {@code -1} to disable it.
149 * @throws IllegalArgumentException if the type i
153 setDtmfType(int type) argument
[all...]
H A DAudioCodec.java39 * The RTP payload type of the encoding.
41 public final int type; field in class:AudioCodec
84 private AudioCodec(int type, String rtpmap, String fmtp) { argument
85 this.type = type;
100 * @param type The payload type of the encoding defined in RTP/AVP.
107 public static AudioCodec getCodec(int type, String rtpmap, String fmtp) { argument
108 if (type < 0 || type > 12
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmErrorEvent.java67 * @param type Type of the event. Could be any of the event types defined above.
70 public DrmErrorEvent(int uniqueId, int type, String message) { argument
71 super(uniqueId, type, message);
78 * @param type Type of the event. Could be any of the event types defined above.
83 public DrmErrorEvent(int uniqueId, int type, String message, argument
85 super(uniqueId, type, message, attributes);
H A DDrmInfoEvent.java57 * @param type Type of the event. Could be any of the event types defined above.
60 public DrmInfoEvent(int uniqueId, int type, String message) { argument
61 super(uniqueId, type, message);
68 * @param type Type of the event. Could be any of the event types defined above.
73 public DrmInfoEvent(int uniqueId, int type, String message, argument
75 super(uniqueId, type, message, attributes);
H A DDrmEvent.java54 * @param type Type of information.
58 protected DrmEvent(int uniqueId, int type, String message, argument
61 mType = type;
76 * @param type Type of information.
79 protected DrmEvent(int uniqueId, int type, String message) { argument
81 mType = type;
98 * Retrieves the type of information that is associated with this object.
100 * @return The type of information.
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/
H A DCdmaSmsSubaddress.java21 public int type; field in class:CdmaSmsSubaddress
/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
51 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
53 if (type == null) throw new IllegalArgumentException("type cannot be null");
55 this.type = type;
64 public AuthenticatorDescription(String type, String packageName, int labelId, int iconId, argument
66 this(type, packageName, labelId, iconId, smallIconId, prefId, false);
71 * to identify the authenticator by its type
74 newKey(String type) argument
79 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);
/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/compile/linkloader/lib/
H A DELFSymbol.cpp21 ELFSymbolHelperMixin::getTypeStr(uint8_t type) { argument
22 switch (type) {
45 ELFSymbolHelperMixin::getBindingAttributeStr(uint8_t type) { argument
46 switch (type) {
64 ELFSymbolHelperMixin::getVisibilityStr(uint8_t type) { argument
65 switch (type) {
/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/opt/vcard/java/com/android/vcard/
H A DVCardPhoneNumberTranslationCallback.java34 public String onValueReceived(String rawValue, int type, String label, boolean isPrimary); 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/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/java/android/net/
H A DNetworkConfig.java35 public int type; field in class:NetworkConfig
61 * [Connection name],[ConnectivityManager connection type],
62 * [associated radio-type],[priority],[dependencyMet]
67 type = Integer.parseInt(fragments[1]);
78 return (type == radio);
/frameworks/base/media/libstagefright/
H A DMetaData.cpp87 uint32_t type; local
90 if (!findData(key, &type, &data, &size) || type != TYPE_C_STRING) {
100 uint32_t type; local
103 if (!findData(key, &type, &data, &size) || type != TYPE_INT32) {
115 uint32_t type; local
118 if (!findData(key, &type, &data, &size) || type != TYPE_INT64) {
130 uint32_t type; local
145 uint32_t type; local
163 uint32_t type; local
181 setData( uint32_t key, uint32_t type, const void *data, size_t size) argument
200 findData(uint32_t key, uint32_t *type, const void **data, size_t *size) const argument
249 setData( uint32_t type, const void *data, size_t size) argument
258 getData( uint32_t *type, const void **data, size_t *size) const argument
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DEffectColor.java61 * The effect type
71 * An object of this type cannot be instantiated by using the default
87 * @param type type of the effect. type is one of: TYPE_COLOR,
89 * @param color If type is TYPE_COLOR, color is the RGB color as 888.
90 * If type is TYPE_GRADIENT, color is the RGB color at the
94 long durationMs, int type, int color) {
96 switch (type) {
119 throw new IllegalArgumentException("Invalid type
93 EffectColor(MediaItem mediaItem, String effectId, long startTimeMs, long durationMs, int type, int color) argument
[all...]
/frameworks/media/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorUtils.h70 * SAFE_MALLOC(p, type, count, comment)
75 #define SAFE_MALLOC(p, type, count, comment) \
77 (p) = (type*)M4OSA_32bitAlignedMalloc(sizeof(type)*(count), 0xFF,(M4OSA_Char*)comment);\
79 memset((void *)(p), 0,sizeof(type)*(count)); \
/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/libs/rs/
H A Dspec.l28 currType->type = 4;
105 currType->type = 1;
111 currType->type = 1;
117 currType->type = 1;
123 currType->type = 1;
129 currType->type = 2;
135 currType->type = 2;
141 currType->type = 2;
147 currType->type = 2;
153 currType->type
[all...]

Completed in 895 milliseconds

1234567891011>>