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

12345

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DServiceStateTest.java33 ServiceState ss = new ServiceState();
35 ss.setCdmaDefaultRoamingIndicator(1);
36 assertEquals(1, ss.getCdmaDefaultRoamingIndicator());
38 ss.setCdmaEriIconIndex(2);
39 assertEquals(2, ss.getCdmaEriIconIndex());
41 ss.setCdmaEriIconMode(3);
42 assertEquals(3, ss.getCdmaEriIconMode());
44 ss.setCdmaRoamingIndicator(4);
45 assertEquals(4, ss.getCdmaRoamingIndicator());
47 ss
[all...]
H A DPhoneStateListenerTest.java72 ServiceState ss = new ServiceState();
73 ss.setDataRegState(ServiceState.STATE_IN_SERVICE);
74 ss.setVoiceRegState(ServiceState.STATE_EMERGENCY_ONLY);
77 ((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/opt/net/wifi/libwifi_system/
H A Dhostapd_manager.cpp66 stringstream ss; local
67 ss << std::hex;
68 ss << std::setfill('0');
70 ss << std::setw(2) << static_cast<unsigned int>(psk[j]);
72 result = ss.str();
143 stringstream ss; local
144 ss << std::hex;
145 ss << std::setfill('0');
147 ss << std::setw(2) << static_cast<unsigned int>(b);
149 const string ssid_as_string = ss
[all...]
/frameworks/av/media/mtp/tests/
H A DMtpFfsHandle_test.cpp107 std::stringstream ss; local
116 ss << dummyDataStr;
118 EXPECT_EQ(write(bulk_out, ss.str().c_str(), size), size);
123 EXPECT_STREQ(buf, ss.str().c_str());
127 std::stringstream ss; local
136 ss << dummyDataStr;
138 EXPECT_EQ(write(bulk_out, ss.str().c_str(), size), size);
143 EXPECT_STREQ(buf, ss.str().c_str());
147 std::stringstream ss; local
159 ss << dummyDataSt
176 std::stringstream ss; local
205 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.h316 std::stringstream ss; local
317 ss << "VolumeShaper::Configuration{mType=" << static_cast<int32_t>(mType);
318 ss << ", mId=" << mId;
320 ss << ", mOptionFlags=" << static_cast<int32_t>(mOptionFlags);
321 ss << ", mDurationMs=" << mDurationMs;
322 ss << ", " << Interpolator<S, T>::toString().c_str();
324 ss << "}";
325 return ss.str();
440 std::stringstream ss; local
441 ss << "VolumeShape
499 std::stringstream ss; local
541 std::stringstream ss; local
661 std::stringstream ss; local
940 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/base/telephony/java/android/telephony/
H A DCellSignalStrengthGsm.java53 public CellSignalStrengthGsm(int ss, int ber) { argument
54 initialize(ss, ber);
71 * @param ss SignalStrength as ASU value
76 public void initialize(int ss, int ber) { argument
77 mSignalStrength = ss;
85 * @param ss SignalStrength as ASU value
91 public void initialize(int ss, int ber, int ta) { argument
92 mSignalStrength = ss;
216 + " ss=" + mSignalStrength
H A DCellSignalStrengthWcdma.java52 public CellSignalStrengthWcdma(int ss, int ber) { argument
53 initialize(ss, ber);
70 * @param ss SignalStrength as ASU value
75 public void initialize(int ss, int ber) { argument
76 mSignalStrength = ss;
186 + " ss=" + mSignalStrength
/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/native/opengl/libs/EGL/
H A Degl_object.cpp122 std::stringstream ss; local
124 ss << gl_extensions;
125 while (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 DVolumeDialogControllerImpl.java363 StreamState ss = mState.states.get(stream);
364 if (ss == null) {
365 ss = new StreamState();
366 mState.states.put(stream, ss);
368 return ss;
377 final StreamState ss = streamStateW(stream);
378 ss.muteSupported = mAudio.isStreamAffectedByMute(stream);
379 ss.name = STREAMS.get(stream);
389 final StreamState ss = streamStateW(stream);
390 if (ss
[all...]
H A DVolumeDialogImpl.java450 final boolean wasZero = row.ss.level == 0;
456 if (row.ss.level == 0) {
461 final boolean vmute = row.ss.level == row.ss.levelMin;
463 vmute ? row.lastAudibleLevel : row.ss.levelMin);
651 if (row.ss == null || !row.ss.dynamic) continue;
671 final StreamState ss = state.states.valueAt(i);
672 if (!ss.dynamic) continue;
722 final StreamState ss
938 getStreamLabelH(StreamState ss) argument
1281 private StreamState ss; field in class:VolumeDialogImpl.VolumeRow
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDefaultPhoneNotifier.java73 ServiceState ss = sender.getServiceState();
77 Rlog.d(LOG_TAG, "nofityServiceState: mRegistry=" + mRegistry + " ss=" + ss
79 if (ss == null) {
80 ss = new ServiceState();
81 ss.setStateOutOfService();
85 mRegistry.notifyServiceStateForPhoneId(phoneId, subId, ss);
99 + " ss=" + sender.getSignalStrength() + " sender=" + sender);
176 ServiceState ss = sender.getServiceState();
177 if (ss !
[all...]

Completed in 5769 milliseconds

12345