Home
last modified time | relevance | path

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

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DServiceStateTest.java33 ServiceState ss = new ServiceState(); in testRoaming() local
35 ss.setCdmaDefaultRoamingIndicator(1); in testRoaming()
36 assertEquals(1, ss.getCdmaDefaultRoamingIndicator()); in testRoaming()
38 ss.setCdmaEriIconIndex(2); in testRoaming()
39 assertEquals(2, ss.getCdmaEriIconIndex()); in testRoaming()
41 ss.setCdmaEriIconMode(3); in testRoaming()
42 assertEquals(3, ss.getCdmaEriIconMode()); in testRoaming()
44 ss.setCdmaRoamingIndicator(4); in testRoaming()
45 assertEquals(4, ss.getCdmaRoamingIndicator()); in testRoaming()
47 ss.setDataRoamingType(ServiceState.ROAMING_TYPE_DOMESTIC); in testRoaming()
[all …]
DPhoneStateListenerTest.java72 ServiceState ss = new ServiceState(); in testTriggerServiceStateChanged() local
73 ss.setDataRegState(ServiceState.STATE_IN_SERVICE); in testTriggerServiceStateChanged()
74 ss.setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY); in testTriggerServiceStateChanged()
77 ((IPhoneStateListener) field.get(mPhoneStateListenerUT)).onServiceStateChanged(ss); in testTriggerServiceStateChanged()
/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/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialog.java426 final boolean wasZero = row.ss.level == 0; in initRow()
431 if (row.ss.level == 0) { in initRow()
436 final boolean vmute = row.ss.level == row.ss.levelMin; in initRow()
438 vmute ? row.lastAudibleLevel : row.ss.levelMin); in initRow()
654 if (row.ss == null || !row.ss.dynamic) continue;
674 final StreamState ss = state.states.valueAt(i); in onStateChangedH() local
675 if (!ss.dynamic) continue; in onStateChangedH()
726 final StreamState ss = mState.states.get(row.stream); in updateVolumeRowH()
727 if (ss == null) return; in updateVolumeRowH()
728 row.ss = ss; in updateVolumeRowH()
[all …]
DVolumeDialogController.java324 StreamState ss = mState.states.get(stream);
325 if (ss == null) {
326 ss = new StreamState();
327 mState.states.put(stream, ss);
329 return ss;
338 final StreamState ss = streamStateW(stream);
339 ss.muteSupported = mAudio.isStreamAffectedByMute(stream);
340 ss.name = mStreamTitles[stream];
350 final StreamState ss = streamStateW(stream);
351 if (ss.routedToBluetooth == routedToBluetooth) return false;
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellSignalStrengthGsm.java53 public CellSignalStrengthGsm(int ss, int ber) { in CellSignalStrengthGsm() argument
54 initialize(ss, ber); in CellSignalStrengthGsm()
76 public void initialize(int ss, int ber) { in initialize() argument
77 mSignalStrength = ss; in initialize()
91 public void initialize(int ss, int ber, int ta) { in initialize() argument
92 mSignalStrength = ss; in initialize()
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.java314 SignalStrength ss = new SignalStrength(); in makeSignalStrengthFromRilParcel() local
315 ss.mGsmSignalStrength = in.readInt(); in makeSignalStrengthFromRilParcel()
316 ss.mGsmBitErrorRate = in.readInt(); in makeSignalStrengthFromRilParcel()
317 ss.mCdmaDbm = in.readInt(); in makeSignalStrengthFromRilParcel()
318 ss.mCdmaEcio = in.readInt(); in makeSignalStrengthFromRilParcel()
319 ss.mEvdoDbm = in.readInt(); in makeSignalStrengthFromRilParcel()
320 ss.mEvdoEcio = in.readInt(); in makeSignalStrengthFromRilParcel()
321 ss.mEvdoSnr = in.readInt(); in makeSignalStrengthFromRilParcel()
322 ss.mLteSignalStrength = in.readInt(); in makeSignalStrengthFromRilParcel()
323 ss.mLteRsrp = in.readInt(); in makeSignalStrengthFromRilParcel()
[all …]
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/java/android/widget/
DAbsSpinner.java421 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
422 ss.selectedId = getSelectedItemId(); in onSaveInstanceState()
423 if (ss.selectedId >= 0) { in onSaveInstanceState()
424 ss.position = getSelectedItemPosition(); in onSaveInstanceState()
426 ss.position = INVALID_POSITION; in onSaveInstanceState()
428 return ss; in onSaveInstanceState()
433 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
435 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
437 if (ss.selectedId >= 0) { in onRestoreInstanceState()
440 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/rs/cpu_ref/
DrsCpuScriptGroup2.cpp182 std::stringstream ss; in CpuScriptGroup2Impl() local
183 ss << "Batch" << ++i; in CpuScriptGroup2Impl()
184 batch = new Batch(this, ss.str().c_str()); in CpuScriptGroup2Impl()
313 std::stringstream& ss) { in generateSourceSlot() argument
326 ss << index << "," << funcID->mSlot << "."; in generateSourceSlot()
368 std::stringstream ss; in compile() local
369 ss << batch->mName << ":"; in compile()
373 generateSourceSlot(mCpuRefImpl, *batch->mClosures.front()->mClosure, inputs, ss); in compile()
374 invokeBatches.push_back(ss.str()); in compile()
377 generateSourceSlot(mCpuRefImpl, *cpuClosure->mClosure, inputs, ss); in compile()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDefaultPhoneNotifier.java76 ServiceState ss = sender.getServiceState(); in notifyServiceState() local
80 Rlog.d(LOG_TAG, "nofityServiceState: mRegistry=" + mRegistry + " ss=" + ss in notifyServiceState()
82 if (ss == null) { in notifyServiceState()
83 ss = new ServiceState(); in notifyServiceState()
84 ss.setStateOutOfService(); in notifyServiceState()
88 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss); in notifyServiceState()
179 ServiceState ss = sender.getServiceState(); in doNotifyDataConnection() local
180 if (ss != null) roaming = ss.getDataRoaming(); in doNotifyDataConnection()
/frameworks/av/include/media/
DAudioTimestamp.h140 std::stringstream ss; in toString() local
142 ss << "BOOTTIME offset " << mTimebaseOffset[TIMEBASE_BOOTTIME] << "\n"; in toString()
144 ss << "ExtendedTimestamp[" << i << "] position: " in toString()
147 return ss.str(); in toString()
/frameworks/av/services/audiopolicy/utilities/convert/
Dconvert.h127 std::stringstream ss(str);
133 ss >> std::hex >> result;
139 ss >> result;
142 return ss.eof() && !ss.fail() && !ss.bad();
/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/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/compile/mclinker/lib/LD/
DRelocator.cpp64 std::stringstream ss; in issueUndefRef() local
65 ss << "0x" << std::hex << undef_sym_pos; in issueUndefRef()
66 std::string undef_sym_pos_hex(ss.str()); in issueUndefRef()
/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/v13/java/android/support/v13/app/
DFragmentTabHost.java290 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
291 ss.curTab = getCurrentTabTag(); in onSaveInstanceState()
292 return ss; in onSaveInstanceState()
301 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
302 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
303 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()

12345