Searched refs:ss (Results 1 - 25 of 135) sorted by relevance

123456

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DServiceStateTest.java37 ServiceState ss = new ServiceState();
39 ss.setCdmaDefaultRoamingIndicator(1);
40 assertEquals(1, ss.getCdmaDefaultRoamingIndicator());
42 ss.setCdmaEriIconIndex(2);
43 assertEquals(2, ss.getCdmaEriIconIndex());
45 ss.setCdmaEriIconMode(3);
46 assertEquals(3, ss.getCdmaEriIconMode());
48 ss.setCdmaRoamingIndicator(4);
49 assertEquals(4, ss.getCdmaRoamingIndicator());
51 ss
[all...]
H A DPhoneStateListenerTest.java98 ServiceState ss = new ServiceState();
99 ss.setDataRegState(ServiceState.STATE_IN_SERVICE);
100 ss.setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY);
103 ((IPhoneStateListener) field.get(mPhoneStateListenerUT)).onServiceStateChanged(ss);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dequantize_sample.cpp193 int32 ss; local
226 for (ss = 0 ; ss < used_freq_lines ; ss++)
228 if (ss == next_cb_boundary)
241 else if (ss < mp3_sfBandIndex[sfreq].l[mixstart])
253 if (ss < 2*FILTERBANK_BANDS)
270 } /* end-if ( ss == next_cb_boundary) */
273 if ((gr_info->mixed_block_flag == 0) || (gr_info->mixed_block_flag && (ss >= 2*FILTERBANK_BANDS)))
275 int32 temp2 = fxp_mul32_Q32((ss
[all...]
H A Dpvmp3_stereo_proc.cpp262 int32 ss; local
294 ss = 17;
298 if (xl[(i*FILTERBANK_BANDS) + ss])
300 sb = (i << 4) + (i << 1) + ss;
305 ss--;
306 if (ss < 0)
309 ss = 17;
550 ss = 17;
555 if (xl[(i*FILTERBANK_BANDS) + ss] != 0)
557 sb = (i << 4) + (i << 1) + ss;
[all...]
H A Dpvmp3_mpeg2_stereo_proc.cpp230 int32 ss; local
269 ss = 17;
274 if (xl[(i*FILTERBANK_BANDS) + ss])
276 sb = (i << 4) + (i << 1) + ss;
281 ss--;
282 if (ss < 0)
285 ss = 17;
570 ss = 17;
575 if (xl[(i*FILTERBANK_BANDS) + ss])
577 sb = (i << 4) + (i << 1) + ss;
[all...]
/frameworks/opt/net/voip/src/jni/rtp/
H A DRtpStream.cpp32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss);
42 sockaddr_storage ss; local
43 if (parse(env, jAddress, 0, &ss) < 0) {
48 int socket = ::socket(ss.ss_family, SOCK_DGRAM, 0);
49 socklen_t len = sizeof(ss);
50 if (socket == -1 || bind(socket, (sockaddr *)&ss, sizeof(ss)) != 0 ||
51 getsockname(socket, (sockaddr *)&ss, &len) != 0) {
57 uint16_t *p = (ss.ss_family == AF_INET) ?
58 &((sockaddr_in *)&ss)
[all...]
H A Dutil.cpp25 int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss) argument
40 memset(ss, 0, sizeof(*ss));
42 sockaddr_in *sin = (sockaddr_in *)ss;
50 sockaddr_in6 *sin6 = (sockaddr_in6 *)ss;
/frameworks/av/media/mtp/tests/
H A DMtpFfsHandle_test.cpp127 std::stringstream ss; local
133 ss << dummyDataStr;
135 EXPECT_EQ(write(this->bulk_out, ss.str().c_str(), size), size);
138 EXPECT_STREQ(buf, ss.str().c_str());
150 std::stringstream ss; local
156 ss << dummyDataStr;
158 EXPECT_EQ(this->handle->write(ss.str().c_str(), size), size);
161 EXPECT_STREQ(buf, ss.str().c_str());
165 std::stringstream ss; local
175 EXPECT_EQ(write(this->bulk_out, ss
182 std::stringstream ss; local
203 std::stringstream ss; local
224 std::stringstream ss; local
255 std::stringstream ss; local
284 std::stringstream ss; local
313 std::stringstream ss; local
[all...]
/frameworks/rs/
H A DrsScriptC_Lib.cpp240 static void initializeErrorMsg(std::stringstream &ss, int expectDim, bool isSrc) { argument
241 ss << (expectDim == 1 ? "rsAllocationCopy1DRange" : "rsAllocationCopy2DRange") << ": ";
242 ss << (isSrc? "source" : "destination") << " ";
250 std::stringstream ss; local
253 initializeErrorMsg(ss, expectDim, isSrc);
254 ss << "Mip level out of range: ";
255 ss << lod << " >= " << alloc->mHal.drvState.lodCount;
256 rsc->setError(RS_ERROR_FATAL_DEBUG, ss.str().c_str());
264 initializeErrorMsg(ss, expectDim, isSrc);
265 ss << "
[all...]
H A DrsSampler.cpp60 void Sampler::bindToContext(SamplerState *ss, uint32_t slot) { argument
61 ss->mSamplers[slot].set(this);
65 void Sampler::unbindFromContext(SamplerState *ss) { argument
68 ss->mSamplers[slot].clear();
/frameworks/av/include/media/
H A DAudioTimestamp.h140 std::stringstream ss; local
142 ss << "BOOTTIME offset " << mTimebaseOffset[TIMEBASE_BOOTTIME] << "\n";
144 ss << "ExtendedTimestamp[" << i << "] position: "
147 return ss.str();
H A DVolumeShaper.h315 std::stringstream ss; local
316 ss << "VolumeShaper::Configuration{mType=" << static_cast<int32_t>(mType);
317 ss << ", mId=" << mId;
319 ss << ", mOptionFlags=" << static_cast<int32_t>(mOptionFlags);
320 ss << ", mDurationMs=" << mDurationMs;
321 ss << ", " << Interpolator<S, T>::toString().c_str();
323 ss << "}";
324 return ss.str();
439 std::stringstream ss; local
440 ss << "VolumeShape
498 std::stringstream ss; local
540 std::stringstream ss; local
660 std::stringstream ss; local
939 std::stringstream ss; local
[all...]
H A DInterpolator.h296 std::stringstream ss; local
297 ss << "Interpolator{mInterpolatorType=" << static_cast<int32_t>(mInterpolatorType);
298 ss << ", mFirstSlope=" << mFirstSlope;
299 ss << ", mLastSlope=" << mLastSlope;
300 ss << ", {";
305 ss << "{";
307 ss << ", {";
309 ss << pt.first << ", " << pt.second << "}";
311 ss << "}}";
312 return ss
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioTimestamp.h140 std::stringstream ss; local
142 ss << "BOOTTIME offset " << mTimebaseOffset[TIMEBASE_BOOTTIME] << "\n";
144 ss << "ExtendedTimestamp[" << i << "] position: "
147 return ss.str();
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dsad_halfpel_inline.h85 register int32 ss = sad; local
94 : "r"(ss),
105 register int32 ss = sad; local
114 : "r"(ss),
/frameworks/native/services/sensorservice/
H A DSensorRegistrationInfo.h65 std::ostringstream ss; variable
66 ss << std::setfill('0') << std::setw(2) << static_cast<int>(mHour) << ":"
74 ss << " samplingPeriod=" << mSamplingRateUs << "us"
77 return ss.str();
/frameworks/av/media/libeffects/factory/
H A DEffectsFactoryState.c116 char ss[256]; local
128 snprintf(ss, sizeof(ss), "%s UUID: %s\n", idt, s);
129 strlcat(str, ss, len);
132 snprintf(ss, sizeof(ss), "%s TYPE: %s\n", idt, s);
133 strlcat(str, ss, len);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyTester.java335 void overrideServiceState(ServiceState ss) { argument
336 if (mServiceStateTestIntent == null || ss == null) return;
343 ss.setVoiceRegState(mServiceStateTestIntent.getIntExtra(EXTRA_VOICE_REG_STATE,
345 log("Override voice reg state with " + ss.getVoiceRegState());
348 ss.setDataRegState(mServiceStateTestIntent.getIntExtra(EXTRA_DATA_REG_STATE,
350 log("Override data reg state with " + ss.getDataRegState());
353 ss.setRilVoiceRadioTechnology(mServiceStateTestIntent.getIntExtra(EXTRA_VOICE_RAT,
355 log("Override voice rat with " + ss.getRilVoiceRadioTechnology());
358 ss.setRilDataRadioTechnology(mServiceStateTestIntent.getIntExtra(EXTRA_DATA_RAT,
360 log("Override data rat with " + ss
[all...]
H A DDefaultPhoneNotifier.java71 ServiceState ss = sender.getServiceState();
75 Rlog.d(LOG_TAG, "nofityServiceState: mRegistry=" + mRegistry + " ss=" + ss
77 if (ss == null) {
78 ss = new ServiceState();
79 ss.setStateOutOfService();
83 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss);
97 + " ss=" + sender.getSignalStrength() + " sender=" + sender);
177 ServiceState ss = sender.getServiceState();
178 if (ss !
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DRelocator.cpp64 std::stringstream ss; local
65 ss << "0x" << std::hex << undef_sym_pos;
66 std::string undef_sym_pos_hex(ss.str());
/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java34 LocalServerSocket ss;
38 ss = new LocalServerSocket("android.net.LocalSocketTest");
44 ls1 = ss.accept();
134 ss.close();
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java401 final boolean wasZero = row.ss.level == 0;
407 if (row.ss.level == 0) {
412 final boolean vmute = row.ss.level == row.ss.levelMin;
414 vmute ? row.lastAudibleLevel : row.ss.levelMin);
438 final StreamState ss = mState.states.get(AudioManager.STREAM_RING);
439 if (ss == null) {
456 if (ss.level == 0) {
503 final StreamState ss = mState.states.get(AudioManager.STREAM_RING);
504 if (ss !
1015 getStreamLabelH(StreamState ss) argument
1291 private StreamState ss; field in class:VolumeDialogImpl.VolumeRow
[all...]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
H A DVolumeDialogImplTest.java93 VolumeDialogController.StreamState ss = new VolumeDialogController.StreamState();
94 ss.name = STREAMS.get(i);
95 ss.level = 1;
96 state.states.append(i, ss);
/frameworks/base/telephony/java/android/telephony/
H A DCellSignalStrengthGsm.java47 public CellSignalStrengthGsm(int ss, int ber) { argument
48 this(ss, ber, Integer.MAX_VALUE);
52 public CellSignalStrengthGsm(int ss, int ber, int ta) { argument
53 mSignalStrength = ss;
177 + " ss=" + mSignalStrength
/frameworks/base/core/java/android/widget/
H A DAbsSpinner.java431 SavedState ss = new SavedState(superState);
432 ss.selectedId = getSelectedItemId();
433 if (ss.selectedId >= 0) {
434 ss.position = getSelectedItemPosition();
436 ss.position = INVALID_POSITION;
438 return ss;
443 SavedState ss = (SavedState) state;
445 super.onRestoreInstanceState(ss.getSuperState());
447 if (ss.selectedId >= 0) {
450 mSyncRowId = ss
[all...]

Completed in 727 milliseconds

123456