/frameworks/wilhelm/src/android/ |
H A D | AudioPlayer_to_android.cpp | 440 SLresult audioPlayer_setStreamType(CAudioPlayer* ap, SLint32 type) { argument 442 SL_LOGV("type %d", type); 445 switch(type) { 470 // stream type needs to be set before the object is realized 551 SL_LOGE("Unsupported sink locator type 0x%x", (unsigned)sinkLocatorType); 562 * returns the Android object type if the locator type combinations for the source and sinks 571 AndroidObjectType type = INVALID_TYPE; local 594 type [all...] |
H A D | android_Effect.cpp | 257 &ibb->mBassBoostDescriptor.type)) 276 if (!android_fx_initEffectObj(sessionId, ieq->mEqEffect, &ieq->mEqDescriptor.type)) { 326 &ivi->mVirtualizerDescriptor.type)) { 361 ipr->mPresetReverbEffect, &ipr->mPresetReverbDescriptor.type)) { 396 ier->mEnvironmentalReverbEffect, &ier->mEnvironmentalReverbDescriptor.type)) { 617 const effect_uuid_t *type) { 620 effect = new android::AudioEffect(type, EFFECT_UUID_NULL, 656 (0 == memcmp(effectId, &descriptor.type, sizeof(effect_uuid_t)))) { 759 NULL, // not using type to create effect 616 android_fx_initEffectObj(int sessionId, android::sp<android::AudioEffect>& effect, const effect_uuid_t *type) argument
|
H A D | android_sles_conversions.h | 24 static inline SLuint32 android_to_sles_streamType(int type) { argument 25 return (SLuint32) type; 38 static inline int sles_to_android_streamType(SLuint32 type) { argument 39 return (int)type;
|
/frameworks/wilhelm/tests/mimeUri/ |
H A D | slesTestPlayStreamType.cpp | 47 /* Play an audio URIs on the given stream type */ 48 void TestStreamTypeConfiguration( SLObjectItf sl, const char* path, const SLint32 type) argument 139 /* Set the Android audio stream type on the player */ 141 SL_ANDROID_KEY_STREAM_TYPE, &type, sizeof(SLint32)); 143 fprintf(stderr, "invalid stream type %d\n", type); 192 /* Get the stream type during playback */ 199 fprintf(stderr, "ERROR: size for stream type is %u, should be %u\n", 205 if (currentType != type) { 206 fprintf(stderr, "ERROR: stream type i [all...] |
/frameworks/wilhelm/tools/permute/ |
H A D | permute.c | 135 unsigned type = sfinfo_in.format & SF_FORMAT_TYPEMASK; local 136 switch (type) { 140 fprintf(stderr, "%s: unsupported type 0x%X\n", path_in, type);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 427 String type = toIsoString(contentType); 428 if (!ContentType.isImageType(type) 429 && !ContentType.isAudioType(type) 430 && !ContentType.isVideoType(type)) { 437 if (ContentType.TEXT_PLAIN.equals(type) || ContentType.APP_SMIL.equals(type) 438 || ContentType.TEXT_HTML.equals(type)) { 507 Log.e(TAG, "Unknown address type: " + addrType); 605 // For PDU which type is M_retrieve.conf or Send.req, we should 660 "Unsupported PDU type 681 persistAddress( long msgId, int type, EncodedStringValue[] array) argument 963 updateAddress( long msgId, int type, EncodedStringValue[] array) argument [all...] |
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
H A D | AudioCodec.java | 39 * 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...] |
H A D | AudioStream.java | 116 * @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...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 113 * @param type The media type, e.g. {@code "audio"}. 118 public Media newMedia(String type, int port, int portCount, argument 120 Media media = new Media(type, port, portCount, protocol); 191 * Returns the bandwidth limit of the given type or {@code -1} if it is not 194 public int getBandwidth(String type) { argument 195 return mFields.getBandwidth(type); 199 * Sets the bandwith limit for the given type. The field will be removed if 202 public void setBandwidth(String type, int value) { argument 203 mFields.setBandwidth(type, valu 244 Media(String type, int port, int portCount, String protocol) argument 334 getRtpmap(int type) argument 342 getFmtp(int type) argument 352 setRtpPayload(int type, String rtpmap, String fmtp) argument 364 removeRtpPayload(int type) argument 470 getBandwidth(String type) argument 485 setBandwidth(String type, int value) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AmrCodec.cpp | 103 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...] |
H A D | AudioCodec.cpp | 41 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccCard.java | 208 * Checks if an Application of specified type present on the card 209 * @param type is AppType to look for 211 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type); argument
|
H A D | Phone.java | 116 // Used for preferred network type 275 * @return type as a string or null if none. 1044 * Requests to set the preferred network type for searching and registering 1052 * Query the preferred network type setting 1090 * Messages of type <code>what</code> will be sent to <code>h</code>. 1276 * Enables the specified APN type. Only works for "special" APN types, 1278 * @param type The desired APN type. Cannot be {@link PhoneConstants#APN_TYPE_DEFAULT}. 1280 * services the requested type.<br/> 1288 int enableApnType(String type); argument 1305 disableApnType(String type) argument [all...] |
H A D | PhoneBase.java | 1214 public int enableApnType(String type) { argument 1215 return mDcTracker.enableApnType(type); 1219 public int disableApnType(String type) { argument 1220 return mDcTracker.disableApnType(type);
|
H A D | PhoneProxy.java | 125 loge("Error! This handler was not registered for this message type. Message: " 878 public int enableApnType(String type) { argument 879 return mActivePhone.enableApnType(type); 883 public int disableApnType(String type) { argument 884 return mActivePhone.disableApnType(type);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | CdmaSmsSubaddress.java | 21 public int type; field in class:CdmaSmsSubaddress
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | ApnSetting.java | 92 * <type>[, <type>...] 97 * <type>[| <type>...], <protocol>, <roaming_protocol>, <carrierEnabled>, <bearer> 183 public boolean canHandleType(String type) { argument 186 if (t.equalsIgnoreCase(type) || 189 type.equalsIgnoreCase(PhoneConstants.APN_TYPE_HIPRI))) { 197 // Also should handle changes in type order and perhaps case-insensitivity
|
H A D | DataCallResponse.java | 44 public String type = ""; field in class:DataCallResponse 83 .append(" type=").append(type)
|
H A D | DcTracker.java | 192 public boolean isApnTypeActive(String type) { argument 193 ApnContext apnContext = mApnContexts.get(type); 226 private ApnContext addApnContext(String type) { argument 227 ApnContext apnContext = new ApnContext(type, LOG_TAG); 229 mApnContexts.put(type, apnContext); 242 switch (networkConfig.type) { 330 // Return active apn of specific apn type 332 if (VDBG) log( "get active apn string for type:" + apnType); 357 // Return state of specific apn type 416 * Ensure that we are connected to an APN of the specified type 448 disableApnType(String type) argument 472 isApnTypeAvailable(String type) argument 598 trySetupData(String reason, String type) argument [all...] |
H A D | DcTrackerBase.java | 113 /* Currently requested APN type (TODO: This should probably be a parameter not a member) */ 545 public boolean isApnTypeActive(String type) { argument 547 if (PhoneConstants.APN_TYPE_DUN.equals(type)) { 553 return mActiveApn != null && mActiveApn.canHandleType(type); 624 protected abstract boolean isApnTypeAvailable(String type); argument 813 protected int apnTypeToId(String type) { argument 814 if (TextUtils.equals(type, PhoneConstants.APN_TYPE_DEFAULT)) { 816 } else if (TextUtils.equals(type, PhoneConstants.APN_TYPE_MMS)) { 818 } else if (TextUtils.equals(type, PhoneConstants.APN_TYPE_SUPL)) { 820 } else if (TextUtils.equals(type, PhoneConstant 956 enableApnType(String type) argument 994 disableApnType(String type) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
H A D | SuppServiceNotification.java | 33 /** TS 27.007 7.17 "type" (MT only) */ 34 public int type; field in class:SuppServiceNotification 68 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" ";
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 1379 public void triggerSsn(int type, int code) { argument 1381 not.notificationType = type;
|
H A D | SimulatedRadioControl.java | 49 public void triggerSsn(int type, int code); argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
H A D | IccCardApplicationStatus.java | 114 public AppType AppTypeFromRILInt(int type) { argument 117 switch(type) { 126 loge("AppTypeFromRILInt: bad RIL_AppType: " + type + " use APPTYPE_UNKNOWN");
|
H A D | IccCardProxy.java | 688 public boolean isApplicationOnIcc(IccCardApplicationStatus.AppType type) { argument 690 Boolean retValue = mUiccCard != null ? mUiccCard.isApplicationOnIcc(type) : false;
|