Home
last modified time | relevance | path

Searched refs:ss (Results 1 – 25 of 92) sorted by relevance

1234

/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_dequantize_sample.cpp193 int32 ss; in pvmp3_dequantize_sample() local
226 for (ss = 0 ; ss < used_freq_lines ; ss++) in pvmp3_dequantize_sample()
228 if (ss == next_cb_boundary) in pvmp3_dequantize_sample()
241 else if (ss < mp3_sfBandIndex[sfreq].l[mixstart]) in pvmp3_dequantize_sample()
253 if (ss < 2*FILTERBANK_BANDS) in pvmp3_dequantize_sample()
273 … if ((gr_info->mixed_block_flag == 0) || (gr_info->mixed_block_flag && (ss >= 2*FILTERBANK_BANDS))) in pvmp3_dequantize_sample()
275 … int32 temp2 = fxp_mul32_Q32((ss - cb_begin) << 16, mp3_shortwindBandWidths[sfreq][cb_width]); in pvmp3_dequantize_sample()
296 int32 tmp = fxp_mul32_Q30((is[ss] << 16), power_1_third(pv_abs(is[ ss]))); in pvmp3_dequantize_sample()
305 is[ss] = (tmp >> temp); in pvmp3_dequantize_sample()
309 is[ss] = 0; in pvmp3_dequantize_sample()
[all …]
Dpvmp3_stereo_proc.cpp262 int32 ss; in pvmp3_stereo_proc() local
294 ss = 17; in pvmp3_stereo_proc()
298 if (xl[(i*FILTERBANK_BANDS) + ss]) in pvmp3_stereo_proc()
300 sb = (i << 4) + (i << 1) + ss; in pvmp3_stereo_proc()
305 ss--; in pvmp3_stereo_proc()
306 if (ss < 0) in pvmp3_stereo_proc()
309 ss = 17; in pvmp3_stereo_proc()
550 ss = 17; in pvmp3_stereo_proc()
555 if (xl[(i*FILTERBANK_BANDS) + ss] != 0) in pvmp3_stereo_proc()
557 sb = (i << 4) + (i << 1) + ss; in pvmp3_stereo_proc()
[all …]
Dpvmp3_mpeg2_stereo_proc.cpp230 int32 ss; in pvmp3_mpeg2_stereo_proc() local
269 ss = 17; in pvmp3_mpeg2_stereo_proc()
274 if (xl[(i*FILTERBANK_BANDS) + ss]) in pvmp3_mpeg2_stereo_proc()
276 sb = (i << 4) + (i << 1) + ss; in pvmp3_mpeg2_stereo_proc()
281 ss--; in pvmp3_mpeg2_stereo_proc()
282 if (ss < 0) in pvmp3_mpeg2_stereo_proc()
285 ss = 17; in pvmp3_mpeg2_stereo_proc()
570 ss = 17; in pvmp3_mpeg2_stereo_proc()
575 if (xl[(i*FILTERBANK_BANDS) + ss]) in pvmp3_mpeg2_stereo_proc()
577 sb = (i << 4) + (i << 1) + ss; in pvmp3_mpeg2_stereo_proc()
[all …]
/frameworks/opt/net/voip/src/jni/rtp/
DRtpStream.cpp32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
42 sockaddr_storage ss; in create() local
43 if (parse(env, jAddress, 0, &ss) < 0) { in create()
48 int socket = ::socket(ss.ss_family, SOCK_DGRAM, 0); in create()
49 socklen_t len = sizeof(ss); in create()
50 if (socket == -1 || bind(socket, (sockaddr *)&ss, sizeof(ss)) != 0 || in create()
51 getsockname(socket, (sockaddr *)&ss, &len) != 0) { in create()
57 uint16_t *p = (ss.ss_family == AF_INET) ? in create()
58 &((sockaddr_in *)&ss)->sin_port : &((sockaddr_in6 *)&ss)->sin6_port; in create()
66 socket = ::socket(ss.ss_family, SOCK_DGRAM, 0); in create()
[all …]
Dutil.cpp25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss) in parse() argument
40 memset(ss, 0, sizeof(*ss)); in parse()
42 sockaddr_in *sin = (sockaddr_in *)ss; in parse()
50 sockaddr_in6 *sin6 = (sockaddr_in6 *)ss; in parse()
/frameworks/base/core/java/android/net/
DSamplingDataTracker.java80 SamplingSnapshot ss = new SamplingSnapshot(); in getSamplingSnapshots() local
82 ss.mTxByteCount = Long.parseLong(tokens[1]); in getSamplingSnapshots()
83 ss.mTxPacketCount = Long.parseLong(tokens[2]); in getSamplingSnapshots()
84 ss.mTxPacketErrorCount = Long.parseLong(tokens[3]); in getSamplingSnapshots()
85 ss.mRxByteCount = Long.parseLong(tokens[9]); in getSamplingSnapshots()
86 ss.mRxPacketCount = Long.parseLong(tokens[10]); in getSamplingSnapshots()
87 ss.mRxPacketErrorCount = Long.parseLong(tokens[11]); in getSamplingSnapshots()
89 ss.mTimestamp = SystemClock.elapsedRealtime(); in getSamplingSnapshots()
93 Slog.d(TAG, "ByteCount = " + String.valueOf(ss.mTxByteCount)); in getSamplingSnapshots()
94 Slog.d(TAG, "TxPacketCount = " + String.valueOf(ss.mTxPacketCount)); in getSamplingSnapshots()
[all …]
DMobileDataStateTracker.java791 SignalStrength ss = mSignalStrength; in getLinkQualityInfo() local
792 if (ss != null) { in getLinkQualityInfo()
794 li.setRssi(ss.getGsmSignalStrength()); in getLinkQualityInfo()
795 li.setGsmErrorRate(ss.getGsmBitErrorRate()); in getLinkQualityInfo()
796 li.setCdmaDbm(ss.getCdmaDbm()); in getLinkQualityInfo()
797 li.setCdmaEcio(ss.getCdmaEcio()); in getLinkQualityInfo()
798 li.setEvdoDbm(ss.getEvdoDbm()); in getLinkQualityInfo()
799 li.setEvdoEcio(ss.getEvdoEcio()); in getLinkQualityInfo()
800 li.setEvdoSnr(ss.getEvdoSnr()); in getLinkQualityInfo()
801 li.setLteSignalStrength(ss.getLteSignalStrength()); in getLinkQualityInfo()
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsSpinnerCompat.java394 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
395 ss.selectedId = getSelectedItemId(); in onSaveInstanceState()
396 if (ss.selectedId >= 0) { in onSaveInstanceState()
397 ss.position = getSelectedItemPosition(); in onSaveInstanceState()
399 ss.position = INVALID_POSITION; in onSaveInstanceState()
401 return ss; in onSaveInstanceState()
406 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
408 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
410 if (ss.selectedId >= 0) { in onRestoreInstanceState()
413 mSyncRowId = ss.selectedId; in onRestoreInstanceState()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DNotificationColorUtil.java161 Spanned ss = (Spanned) charSequence; in invertCharSequenceColors() local
162 Object[] spans = ss.getSpans(0, ss.length(), Object.class); in invertCharSequenceColors()
163 SpannableStringBuilder builder = new SpannableStringBuilder(ss.toString()); in invertCharSequenceColors()
169 builder.setSpan(resultSpan, ss.getSpanStart(span), ss.getSpanEnd(span), in invertCharSequenceColors()
170 ss.getSpanFlags(span)); in invertCharSequenceColors()
/frameworks/base/core/java/android/widget/
DAbsSpinner.java416 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
417 ss.selectedId = getSelectedItemId(); in onSaveInstanceState()
418 if (ss.selectedId >= 0) { in onSaveInstanceState()
419 ss.position = getSelectedItemPosition(); in onSaveInstanceState()
421 ss.position = INVALID_POSITION; in onSaveInstanceState()
423 return ss; in onSaveInstanceState()
428 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
430 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
432 if (ss.selectedId >= 0) { in onRestoreInstanceState()
435 mSyncRowId = ss.selectedId; in onRestoreInstanceState()
[all …]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dsad_halfpel_inline.h85 register int32 ss = sad;
94 : "r"(ss),
105 register int32 ss = sad;
114 : "r"(ss),
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthLte.java96 public void initialize(SignalStrength ss, int timingAdvance) { in initialize() argument
97 mSignalStrength = ss.getLteSignalStrength(); in initialize()
98 mRsrp = ss.getLteRsrp(); in initialize()
99 mRsrq = ss.getLteRsrq(); in initialize()
100 mRssnr = ss.getLteRssnr(); in initialize()
101 mCqi = ss.getLteCqi(); in initialize()
DSignalStrength.java292 SignalStrength ss = new SignalStrength(); in makeSignalStrengthFromRilParcel() local
293 ss.mGsmSignalStrength = in.readInt(); in makeSignalStrengthFromRilParcel()
294 ss.mGsmBitErrorRate = in.readInt(); in makeSignalStrengthFromRilParcel()
295 ss.mCdmaDbm = in.readInt(); in makeSignalStrengthFromRilParcel()
296 ss.mCdmaEcio = in.readInt(); in makeSignalStrengthFromRilParcel()
297 ss.mEvdoDbm = in.readInt(); in makeSignalStrengthFromRilParcel()
298 ss.mEvdoEcio = in.readInt(); in makeSignalStrengthFromRilParcel()
299 ss.mEvdoSnr = in.readInt(); in makeSignalStrengthFromRilParcel()
300 ss.mLteSignalStrength = in.readInt(); in makeSignalStrengthFromRilParcel()
301 ss.mLteRsrp = in.readInt(); in makeSignalStrengthFromRilParcel()
[all …]
DCellSignalStrengthGsm.java52 public CellSignalStrengthGsm(int ss, int ber) { in CellSignalStrengthGsm() argument
53 initialize(ss, ber); in CellSignalStrengthGsm()
75 public void initialize(int ss, int ber) { in initialize() argument
76 mSignalStrength = ss; in initialize()
DCellSignalStrengthWcdma.java52 public CellSignalStrengthWcdma(int ss, int ber) { in CellSignalStrengthWcdma() argument
53 initialize(ss, ber); in CellSignalStrengthWcdma()
75 public void initialize(int ss, int ber) { in initialize() argument
76 mSignalStrength = ss; in initialize()
/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java34 LocalServerSocket ss; in testBasic() local
38 ss = new LocalServerSocket("android.net.LocalSocketTest"); in testBasic()
44 ls1 = ss.accept(); in testBasic()
134 ss.close(); in testBasic()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java77 ServiceState ss = sender.getServiceState(); in notifyServiceState() local
81 Rlog.d(LOG_TAG, "nofityServiceState: mRegistry=" + mRegistry + " ss=" + ss in notifyServiceState()
83 if (ss == null) { in notifyServiceState()
84 ss = new ServiceState(); in notifyServiceState()
85 ss.setStateOutOfService(); in notifyServiceState()
89 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss); in notifyServiceState()
175 ServiceState ss = sender.getServiceState(); in doNotifyDataConnection() local
176 if (ss != null) roaming = ss.getDataRoaming(); in doNotifyDataConnection()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardTransportControlView.java383 SavedState ss = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState() local
384 ss.artist = mMetadata.artist; in onSaveInstanceState()
385 ss.trackTitle = mMetadata.trackTitle; in onSaveInstanceState()
386 ss.albumTitle = mMetadata.albumTitle; in onSaveInstanceState()
387 ss.duration = mMetadata.duration; in onSaveInstanceState()
388 ss.bitmap = mMetadata.bitmap; in onSaveInstanceState()
389 return ss; in onSaveInstanceState()
398 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
399 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
400 mMetadata.artist = ss.artist; in onRestoreInstanceState()
[all …]
/frameworks/compile/mclinker/lib/LD/
DRelocator.cpp65 std::stringstream ss; in issueUndefRef() local
66 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
67 std::string undef_sym_pos_hex(ss.str()); in issueUndefRef()
/frameworks/base/core/tests/coretests/src/android/text/
DSpannedTest.java47 SpannableString ss = new SpannableString("Test"); in testAppend() local
48 ss.setSpan(o, 0, ss.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in testAppend()
51 ssb.append(ss); in testAppend()
56 ssb.insert(0, ss); in testAppend()
/frameworks/base/tests/CoreTests/android/core/
DSocketTest.java51 ServerSocket ss; in testSocketSimple() local
57 ss = new ServerSocket(); in testSocketSimple()
61 ss.bind(new InetSocketAddress("127.0.0.1", port)); in testSocketSimple()
75 s1 = ss.accept(); in testSocketSimple()
/frameworks/rs/
DrsSampler.cpp60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) { in bindToContext() argument
61 ss->mSamplers[slot].set(this); in bindToContext()
65 void Sampler::unbindFromContext(SamplerState *ss) { in unbindFromContext() argument
68 ss->mSamplers[slot].clear(); in unbindFromContext()
/frameworks/support/v4/java/android/support/v4/app/
DFragmentTabHost.java296 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
297 ss.curTab = getCurrentTabTag(); in onSaveInstanceState()
298 return ss; in onSaveInstanceState()
303 SavedState ss = (SavedState)state; in onRestoreInstanceState() local
304 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
305 setCurrentTabByTag(ss.curTab); in onRestoreInstanceState()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentTabHost.java288 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
289 ss.curTab = getCurrentTabTag(); in onSaveInstanceState()
290 return ss; in onSaveInstanceState()
295 SavedState ss = (SavedState)state; in onRestoreInstanceState() local
296 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
297 setCurrentTabByTag(ss.curTab); in onRestoreInstanceState()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DDatePicker.java381 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
382 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
383 mYear = ss.getYear(); in onRestoreInstanceState()
384 mMonth = ss.getMonth(); in onRestoreInstanceState()
385 mDay = ss.getDay(); in onRestoreInstanceState()
386 mHasYear = ss.hasYear(); in onRestoreInstanceState()
387 mYearOptional = ss.isYearOptional(); in onRestoreInstanceState()

1234