Home
last modified time | relevance | path

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

123

/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities_linalg.cpp179 double ss[6]; in db_Orthogonalize6x7() local
182 ss[0]=db_SquareSum7(A); in db_Orthogonalize6x7()
183 ss[1]=db_SquareSum7(A+7); in db_Orthogonalize6x7()
184 ss[2]=db_SquareSum7(A+14); in db_Orthogonalize6x7()
185 ss[3]=db_SquareSum7(A+21); in db_Orthogonalize6x7()
186 ss[4]=db_SquareSum7(A+28); in db_Orthogonalize6x7()
187 ss[5]=db_SquareSum7(A+35); in db_Orthogonalize6x7()
189 ss[1]-=db_OrthogonalizePair7(A+7 ,A,ss[0]); in db_Orthogonalize6x7()
190 ss[2]-=db_OrthogonalizePair7(A+14,A,ss[0]); in db_Orthogonalize6x7()
191 ss[3]-=db_OrthogonalizePair7(A+21,A,ss[0]); in db_Orthogonalize6x7()
[all …]
Ddb_utilities_linalg.h212 inline void db_OrthogonalizationSwap7(double *A,int i,double *ss) in db_OrthogonalizationSwap7() argument
217 temp=ss[0]; ss[0]=ss[i]; ss[i]=temp; in db_OrthogonalizationSwap7()
222 inline void db_OrthogonalizationSwap9(double *A,int i,double *ss) in db_OrthogonalizationSwap9() argument
227 temp=ss[0]; ss[0]=ss[i]; ss[i]=temp; in db_OrthogonalizationSwap9()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DServiceStateProvider.java145 ServiceState ss = getServiceState(subId); in insert() local
146 notifyChangeForSubIdAndField(getContext(), ss, newSS, subId); in insert() local
147 notifyChangeForSubId(getContext(), ss, newSS, subId); in insert() local
193 ServiceState ss = getServiceState(subId); in query() local
194 if (ss == null) { in query()
200 final int voice_reg_state = ss.getVoiceRegState(); in query()
201 final int data_reg_state = ss.getDataRegState(); in query()
202 final int voice_roaming_type = ss.getVoiceRoamingType(); in query()
203 final int data_roaming_type = ss.getDataRoamingType(); in query()
204 final String voice_operator_alpha_long = ss.getVoiceOperatorAlphaLong(); in query()
[all …]
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DServiceStateProviderTest.java159 private void verifyServiceStateForSubId(Uri uri, ServiceState ss) { in verifyServiceStateForSubId() argument
165 final int voiceRegState = ss.getVoiceRegState(); in verifyServiceStateForSubId()
166 final int dataRegState = ss.getDataRegState(); in verifyServiceStateForSubId()
167 final String voiceOperatorAlphaLong = ss.getVoiceOperatorAlphaLong(); in verifyServiceStateForSubId()
168 final String voiceOperatorAlphaShort = ss.getVoiceOperatorAlphaShort(); in verifyServiceStateForSubId()
169 final String voiceOperatorNumeric = ss.getVoiceOperatorNumeric(); in verifyServiceStateForSubId()
170 final String dataOperatorAlphaLong = ss.getDataOperatorAlphaLong(); in verifyServiceStateForSubId()
171 final String dataOperatorAlphaShort = ss.getDataOperatorAlphaShort(); in verifyServiceStateForSubId()
172 final String dataOperatorNumeric = ss.getDataOperatorNumeric(); in verifyServiceStateForSubId()
173 final int isManualNetworkSelection = (ss.getIsManualSelection()) ? 1 : 0; in verifyServiceStateForSubId()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java59 ServiceState ss = mock(ServiceState.class); in setUp() local
60 when(ss.getVoiceRegState()).thenReturn(ServiceState.STATE_IN_SERVICE); in setUp()
61 when(mPhone1.getServiceState()).thenReturn(ss); in setUp()
65 when(mPhone2.getServiceState()).thenReturn(ss); in setUp()
109 ServiceState ss = mock(ServiceState.class); in testNoPhoneInServiceFailure() local
110 when(ss.getVoiceRegState()).thenReturn(ServiceState.STATE_POWER_OFF); in testNoPhoneInServiceFailure()
111 when(mPhone1.getServiceState()).thenReturn(ss); in testNoPhoneInServiceFailure()
112 when(mPhone2.getServiceState()).thenReturn(ss); in testNoPhoneInServiceFailure()
140 ServiceState ss = mock(ServiceState.class); in testVerificationWorksWithOnePhoneInService() local
141 when(ss.getVoiceRegState()).thenReturn(ServiceState.STATE_POWER_OFF); in testVerificationWorksWithOnePhoneInService()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp781 rapidjson::InsituStringStream ss(buffer2); in itoa_Writer_InsituStringStreamVerify() local
782 writer.Reset(ss); in itoa_Writer_InsituStringStreamVerify()
783 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStreamVerify()
785 ss.Put('\0'); in itoa_Writer_InsituStringStreamVerify()
786 ss.PutEnd(begin); in itoa_Writer_InsituStringStreamVerify()
816 rapidjson::InsituStringStream ss(buffer); in itoa_Writer_InsituStringStream() local
817 writer.Reset(ss); in itoa_Writer_InsituStringStream()
818 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStream()
820 length += ss.PutEnd(begin); in itoa_Writer_InsituStringStream()
848 rapidjson::InsituStringStream ss(buffer2); in itoa64_Writer_InsituStringStreamVerify() local
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSwitchBar.java369 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
370 ss.checked = mSwitch.isChecked(); in onSaveInstanceState()
371 ss.visible = isShowing(); in onSaveInstanceState()
372 return ss; in onSaveInstanceState()
377 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
379 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
381 mSwitch.setCheckedInternal(ss.checked); in onRestoreInstanceState()
382 setTextViewLabelAndBackground(ss.checked); in onRestoreInstanceState()
383 setVisibility(ss.visible ? View.VISIBLE : View.GONE); in onRestoreInstanceState()
384 mSwitch.setOnCheckedChangeListener(ss.visible ? this : null); in onRestoreInstanceState()
/packages/apps/Settings/src/com/android/settings/widget/
DSwitchBar.java367 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
368 ss.checked = mSwitch.isChecked(); in onSaveInstanceState()
369 ss.visible = isShowing(); in onSaveInstanceState()
370 return ss; in onSaveInstanceState()
375 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
377 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
379 mSwitch.setCheckedInternal(ss.checked); in onRestoreInstanceState()
380 setTextViewLabelAndBackground(ss.checked); in onRestoreInstanceState()
381 setVisibility(ss.visible ? View.VISIBLE : View.GONE); in onRestoreInstanceState()
382 mSwitch.setOnCheckedChangeListener(ss.visible ? this : null); in onRestoreInstanceState()
/packages/apps/Contacts/src/com/android/contacts/editor/
DTextFieldsEditorView.java451 SavedState ss = new SavedState(superState); in onSaveInstanceState() local
453 ss.mHideOptional = mHideOptional; in onSaveInstanceState()
456 ss.mVisibilities = new int[numChildren]; in onSaveInstanceState()
458 ss.mVisibilities[i] = mFieldEditTexts[i].getVisibility(); in onSaveInstanceState()
461 return ss; in onSaveInstanceState()
469 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
470 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
472 mHideOptional = ss.mHideOptional; in onRestoreInstanceState()
475 ss.mVisibilities == null ? 0 : ss.mVisibilities.length); in onRestoreInstanceState()
477 mFieldEditTexts[i].setVisibility(ss.mVisibilities[i]); in onRestoreInstanceState()
DStructuredNameEditorView.java167 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
168 super.onRestoreInstanceState(ss.mSuperState); in onRestoreInstanceState()
170 mChanged = ss.mChanged; in onRestoreInstanceState()
171 mSnapshot = (StructuredNameDataItem) DataItem.createFrom(ss.mSnapshot); in onRestoreInstanceState()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastChannelManager.java289 ServiceState ss = tm.getServiceStateForSubscriber(subId); in checkScope() local
290 if (ss != null) { in checkScope()
291 if (ss.getVoiceRegState() == ServiceState.STATE_IN_SERVICE in checkScope()
292 || ss.getVoiceRegState() == ServiceState.STATE_EMERGENCY_ONLY) { in checkScope()
293 if (ss.getVoiceRoamingType() == ServiceState.ROAMING_TYPE_NOT_ROAMING) { in checkScope()
295 } else if (ss.getVoiceRoamingType() == ServiceState.ROAMING_TYPE_DOMESTIC in checkScope()
298 } else if (ss.getVoiceRoamingType() == ServiceState.ROAMING_TYPE_INTERNATIONAL in checkScope()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DDatePicker.java341 SavedState ss = (SavedState) state; in onRestoreInstanceState() local
342 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState()
343 mYear = ss.getYear(); in onRestoreInstanceState()
344 mMonth = ss.getMonth(); in onRestoreInstanceState()
345 mDay = ss.getDay(); in onRestoreInstanceState()
346 mHasYear = ss.hasYear(); in onRestoreInstanceState()
347 mYearOptional = ss.isYearOptional(); in onRestoreInstanceState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsData.java322 ServiceState ss = ps.mServices.valueAt(is); in getProcs() local
323 if (ss.getProcessName() != null) { in getProcs()
324 ProcStatsEntry ent = entriesMap.get(ss.getProcessName(), in getProcs()
328 + "/" + ss.getName() + "/" + uids.keyAt(iu) in getProcs()
329 + " to proc " + ss.getProcessName()); in getProcs()
330 ent.addService(ss); in getProcs()
332 Log.w(TAG, "No process " + ss.getProcessName() + "/" in getProcs()
333 + uids.keyAt(iu) + " for service " + ss.getName()); in getProcs()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java322 ServiceState ss = ps.mServices.valueAt(is); in getProcs() local
323 if (ss.getProcessName() != null) { in getProcs()
324 ProcStatsEntry ent = entriesMap.get(ss.getProcessName(), in getProcs()
328 + "/" + ss.getName() + "/" + uids.keyAt(iu) in getProcs()
329 + " to proc " + ss.getProcessName()); in getProcs()
330 ent.addService(ss); in getProcs()
332 Log.w(TAG, "No process " + ss.getProcessName() + "/" in getProcs()
333 + uids.keyAt(iu) + " for service " + ss.getName()); in getProcs()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSpamWarningView.java65 SpannableString ss = new SpannableString( in showSpamWarning() local
67 ss.setSpan(imageSpan, 0, SPANNABLE_SPAM_WARNING_PREFIX.length(), in showSpamWarning()
69 setText(ss); in showSpamWarning()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java76 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary() local
77 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in getSummary()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java77 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary() local
78 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in getSummary()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dprettywritertest.cpp126 std::stringstream ss; in TEST() local
127 OStreamWrapper os(ss); in TEST()
134 std::string actual = ss.str(); in TEST()
Dwritertest.cpp168 std::stringstream ss; in TEST() local
169 OStreamWrapper os(ss); in TEST()
176 std::string actual = ss.str(); in TEST()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DSpannableStringUtils.java108 SpannableString ss = new SpannableString(sb); in concatWithNonParagraphSuggestionSpansOnly() local
114 copyNonParagraphSuggestionSpansFrom((Spanned) text[i], 0, len, ss, off); in concatWithNonParagraphSuggestionSpansOnly() local
120 return new SpannedString(ss); in concatWithNonParagraphSuggestionSpansOnly()
/packages/services/Telephony/src/com/android/phone/
DNetworkOperators.java111 ServiceState ss = mTelephonyManager.getServiceState(); in update() local
112 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in update()
DPhoneGlobals.java702 ServiceState ss = ServiceState.newFromBundle(extras); in handleServiceStateChanged() local
703 if (ss != null) { in handleServiceStateChanged()
704 int state = ss.getState(); in handleServiceStateChanged()
711 + mDefaultDataSubId + ",ss roaming=" + ss.getDataRoaming()); in handleServiceStateChanged()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/simplereader/
Dsimplereader.cpp34 StringStream ss(json); in main() local
35 reader.Parse(ss, handler); in main()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/messagereader/
Dmessagereader.cpp69 StringStream ss(json); in ParseMessages() local
70 if (reader.Parse(ss, handler)) in ParseMessages()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java207 @NonNull String networkMccmnc, @NonNull String simMccmnc, int ss) { in setCellData() argument
213 data.signalStrength = ss; in setCellData()

123