/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_dequantize_sample.cpp | 193 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 …]
|
D | pvmp3_stereo_proc.cpp | 262 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 …]
|
D | pvmp3_mpeg2_stereo_proc.cpp | 230 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/base/voip/jni/rtp/ |
D | RtpStream.cpp | 32 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 …]
|
D | util.cpp | 25 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/telephony/java/com/android/internal/telephony/cdma/ |
D | CdmaLteServiceStateTracker.java | 244 if (DBG) log("pollStateDone: oldSS=[" + ss + "] newSS=[" + newSS + "]"); in pollStateDone() 246 boolean hasRegistered = ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone() 249 boolean hasDeregistered = ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone() 265 boolean hasChanged = !newSS.equals(ss); in pollStateDone() 267 boolean hasRoamingOn = !ss.getRoaming() && newSS.getRoaming(); in pollStateDone() 269 boolean hasRoamingOff = ss.getRoaming() && !newSS.getRoaming(); in pollStateDone() 307 if (ss.getState() != newSS.getState() in pollStateDone() 309 EventLog.writeEvent(EventLogTags.CDMA_SERVICE_STATE_CHANGE, ss.getState(), in pollStateDone() 314 tss = ss; in pollStateDone() 315 ss = newSS; in pollStateDone() [all …]
|
D | CdmaServiceStateTracker.java | 170 ss = new ServiceState(); in CdmaServiceStateTracker() 486 String plmn = ss.getOperatorAlphaLong(); in updateSpnDisplay() 876 if (DBG) log("pollStateDone: oldSS=[" + ss + "] newSS=[" + newSS + "]"); in pollStateDone() 879 ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone() 883 ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone() 899 boolean hasChanged = !newSS.equals(ss); in pollStateDone() 901 boolean hasRoamingOn = !ss.getRoaming() && newSS.getRoaming(); in pollStateDone() 903 boolean hasRoamingOff = ss.getRoaming() && !newSS.getRoaming(); in pollStateDone() 908 if (ss.getState() != newSS.getState() || in pollStateDone() 911 ss.getState(), mDataConnectionState, in pollStateDone() [all …]
|
/frameworks/base/libs/utils/ |
D | Unicode.cpp | 119 const char32_t *ss = s; in strlen32() local 120 while ( *ss ) in strlen32() 121 ss++; in strlen32() 122 return ss-s; in strlen32() 127 const char32_t *ss = s; in strnlen32() local 128 while ((maxlen > 0) && *ss) { in strnlen32() 129 ss++; in strnlen32() 132 return ss-s; in strnlen32() 255 const char16_t *ss = s; in strlen16() local 256 while ( *ss ) in strlen16() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | DefaultPhoneNotifier.java | 59 ServiceState ss = sender.getServiceState(); in notifyServiceState() local 60 if (ss == null) { in notifyServiceState() 61 ss = new ServiceState(); in notifyServiceState() 62 ss.setStateOutOfService(); in notifyServiceState() 65 mRegistry.notifyServiceState(ss); in notifyServiceState() 122 ServiceState ss = sender.getServiceState(); in doNotifyDataConnection() local 123 if (ss != null) roaming = ss.getRoaming(); in doNotifyDataConnection()
|
D | ServiceStateTracker.java | 34 public ServiceState ss; field in ServiceStateTracker 182 if (ss.getRoaming()) { in registerForRoamingOn() 203 if (!ss.getRoaming()) { in registerForRoamingOff() 352 if (ss.getState() == ServiceState.STATE_IN_SERVICE) { in registerForNetworkAttached()
|
D | SMSDispatcher.java | 396 int ss = mPhone.getServiceState().getState(); in handleSendComplete() local 398 if (ss != ServiceState.STATE_IN_SERVICE) { in handleSendComplete() 399 handleNotInService(ss, tracker); in handleSendComplete() 450 protected static void handleNotInService(int ss, SmsTracker tracker) { in handleNotInService() argument 453 if (ss == ServiceState.STATE_POWER_OFF) { in handleNotInService() 895 int ss = mPhone.getServiceState().getState(); in sendRawPdu() local 897 if (ss != ServiceState.STATE_IN_SERVICE) { in sendRawPdu() 898 handleNotInService(ss, tracker); in sendRawPdu() 977 int ss = mPhone.getServiceState().getState(); in sendMultipartSms() local 978 if (ss != ServiceState.STATE_IN_SERVICE) { in sendMultipartSms() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | AbsSpinner.java | 409 SavedState ss = new SavedState(superState); in onSaveInstanceState() local 410 ss.selectedId = getSelectedItemId(); in onSaveInstanceState() 411 if (ss.selectedId >= 0) { in onSaveInstanceState() 412 ss.position = getSelectedItemPosition(); in onSaveInstanceState() 414 ss.position = INVALID_POSITION; in onSaveInstanceState() 416 return ss; in onSaveInstanceState() 421 SavedState ss = (SavedState) state; in onRestoreInstanceState() local 423 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState() 425 if (ss.selectedId >= 0) { in onRestoreInstanceState() 428 mSyncRowId = ss.selectedId; in onRestoreInstanceState() [all …]
|
D | CompoundButton.java | 332 SavedState ss = new SavedState(superState); in onSaveInstanceState() local 334 ss.checked = isChecked(); in onSaveInstanceState() 335 return ss; in onSaveInstanceState() 340 SavedState ss = (SavedState) state; in onRestoreInstanceState() local 342 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState() 343 setChecked(ss.checked); in onRestoreInstanceState()
|
D | ProgressBar.java | 1083 SavedState ss = new SavedState(superState); in onSaveInstanceState() local 1085 ss.progress = mProgress; in onSaveInstanceState() 1086 ss.secondaryProgress = mSecondaryProgress; in onSaveInstanceState() 1088 return ss; in onSaveInstanceState() 1093 SavedState ss = (SavedState) state; in onRestoreInstanceState() local 1094 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState() 1096 setProgress(ss.progress); in onRestoreInstanceState() 1097 setSecondaryProgress(ss.secondaryProgress); in onRestoreInstanceState()
|
D | AbsListView.java | 1514 SavedState ss = new SavedState(superState); in onSaveInstanceState() local 1518 ss.selectedId = selectedId; in onSaveInstanceState() 1519 ss.height = getHeight(); in onSaveInstanceState() 1523 ss.viewTop = mSelectedTop; in onSaveInstanceState() 1524 ss.position = getSelectedItemPosition(); in onSaveInstanceState() 1525 ss.firstId = INVALID_POSITION; in onSaveInstanceState() 1538 ss.viewTop = v.getTop(); in onSaveInstanceState() 1543 ss.position = firstPos; in onSaveInstanceState() 1544 ss.firstId = mAdapter.getItemId(firstPos); in onSaveInstanceState() 1546 ss.viewTop = 0; in onSaveInstanceState() [all …]
|
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | sad_halfpel_inline.h | 85 register int32 ss = sad; 94 : "r"(ss), 105 register int32 ss = sad; 114 : "r"(ss),
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 34 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/telephony/java/com/android/internal/telephony/test/ |
D | ModelInterpreter.java | 149 ServerSocket ss; field in ModelInterpreter 178 ss = new ServerSocket(); in ModelInterpreter() 180 ss.setReuseAddress(true); in ModelInterpreter() 181 ss.bind(sa); in ModelInterpreter() 201 if (ss != null) { in run() 205 s = ss.accept(); in run() 265 if (ss == null) { in run()
|
/frameworks/base/libs/rs/ |
D | rsSampler.cpp | 60 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/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmServiceStateTracker.java | 191 ss = new ServiceState(); in GsmServiceStateTracker() 428 if (ss != null && !isGprsConsistent(gprsState, ss.getState())) { in handleMessage() 435 ss.getOperatorNumeric(), loc != null ? loc.getCid() : -1); in handleMessage() 483 int rule = phone.mIccRecords.getDisplayRule(ss.getOperatorNumeric()); in updateSpnDisplay() 485 String plmn = ss.getOperatorAlphaLong(); in updateSpnDisplay() 748 " oldSS=[" + ss + "] newSS=[" + newSS + in pollStateDone() 759 ss.getState() != ServiceState.STATE_IN_SERVICE in pollStateDone() 763 ss.getState() == ServiceState.STATE_IN_SERVICE in pollStateDone() 776 boolean hasChanged = !newSS.equals(ss); in pollStateDone() 778 boolean hasRoamingOn = !ss.getRoaming() && newSS.getRoaming(); in pollStateDone() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | SpannedTest.java | 47 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/ |
D | SocketTest.java | 51 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()
|
D | TestWebServer.java | 221 ServerSocket ss = null; field in TestWebServer.AcceptThread 229 ss = new ServerSocket(); in init() 232 ss.setReuseAddress(true); in init() 233 ss.bind(ia); in init() 257 Socket s = ss.accept(); in run() 296 ss.close(); in close()
|
/frameworks/base/core/tests/utillib/src/coretestutils/http/ |
D | MockWebServer.java | 132 final ServerSocket ss = new ServerSocket(portNumber); in play() local 133 ss.setReuseAddress(true); in play() 134 port = ss.getLocalPort(); in play() 140 ss.close(); in play() 145 serveConnection(ss.accept()); in play()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | TransportControlView.java | 412 SavedState ss = new SavedState(superState); in onSaveInstanceState() local 413 ss.wasShowing = mWidgetCallbacks != null && mWidgetCallbacks.isVisible(this); in onSaveInstanceState() 414 return ss; in onSaveInstanceState() 424 SavedState ss = (SavedState) state; in onRestoreInstanceState() local 425 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState() 426 if (ss.wasShowing && mWidgetCallbacks != null) { in onRestoreInstanceState()
|