/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_linalg.cpp | 179 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 …]
|
D | db_utilities_linalg.h | 212 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/services/Telephony/src/com/android/phone/ |
D | ServiceStateProvider.java | 316 ServiceState ss = getServiceState(subId); in insert() local 317 notifyChangeForSubIdAndField(getContext(), ss, newSS, subId); in insert() local 318 notifyChangeForSubId(getContext(), ss, newSS, subId); in insert() local 364 ServiceState ss = getServiceState(subId); in query() local 365 if (ss == null) { in query() 371 final int voice_reg_state = ss.getState(); in query() 372 final int data_reg_state = ss.getDataRegistrationState(); in query() 373 final int voice_roaming_type = ss.getVoiceRoamingType(); in query() 374 final int data_roaming_type = ss.getDataRoamingType(); in query() 375 final String voice_operator_alpha_long = ss.getOperatorAlphaLong(); in query() [all …]
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | ServiceStateProviderTest.java | 158 private void verifyServiceStateForSubId(Uri uri, ServiceState ss) { in verifyServiceStateForSubId() argument 164 final int voiceRegState = ss.getState(); in verifyServiceStateForSubId() 165 final int dataRegState = ss.getDataRegistrationState(); in verifyServiceStateForSubId() 166 final String voiceOperatorAlphaLong = ss.getOperatorAlphaLong(); in verifyServiceStateForSubId() 167 final String voiceOperatorAlphaShort = ss.getOperatorAlphaShort(); in verifyServiceStateForSubId() 168 final String voiceOperatorNumeric = ss.getOperatorNumeric(); in verifyServiceStateForSubId() 169 final String dataOperatorAlphaLong = ss.getOperatorAlphaLong(); in verifyServiceStateForSubId() 170 final String dataOperatorAlphaShort = ss.getOperatorAlphaShort(); in verifyServiceStateForSubId() 171 final String dataOperatorNumeric = ss.getOperatorNumeric(); in verifyServiceStateForSubId() 172 final int isManualNetworkSelection = (ss.getIsManualSelection()) ? 1 : 0; in verifyServiceStateForSubId() [all …]
|
D | NumberVerificationManagerTest.java | 59 ServiceState ss = mock(ServiceState.class); in setUp() local 60 when(ss.getState()).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.getState()).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.getState()).thenReturn(ServiceState.STATE_POWER_OFF); in testVerificationWorksWithOnePhoneInService() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsTlsServer.cpp | 93 if (x.ss.ss_family != y.ss.ss_family) { in operator ()() 94 return x.ss.ss_family < y.ss.ss_family; in operator ()() 97 if (x.ss.ss_family == AF_INET) { in operator ()() 98 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x.ss); in operator ()() 99 const sockaddr_in& y_sin = reinterpret_cast<const sockaddr_in&>(y.ss); in operator ()() 101 } else if (x.ss.ss_family == AF_INET6) { in operator ()() 102 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x.ss); in operator ()() 103 const sockaddr_in6& y_sin6 = reinterpret_cast<const sockaddr_in6&>(y.ss); in operator ()() 112 return std::tie(s.ss, s.name, s.protocol, s.connectTimeout); in make_tie()
|
D | PrivateDnsConfiguration.cpp | 176 LOG(DEBUG) << "Server " << addrToString(&server.ss) << " marked as in_process on netId " in validatePrivateDnsProvider() 211 << addrToString(&server.ss); in validatePrivateDnsProvider() 258 LOG(WARNING) << "Server " << addrToString(&server.ss) in recordPrivateDnsValidation() 265 LOG(WARNING) << "Server " << addrToString(&server.ss) in recordPrivateDnsValidation() 275 it->onPrivateDnsValidationEvent(netId, addrToString(&server.ss), server.name, success); in recordPrivateDnsValidation() 278 << netId << " for " << addrToString(&server.ss) << " with hostname {" in recordPrivateDnsValidation() 314 LOG(DEBUG) << "Server " << addrToString(&(server.ss)) in needValidateThread() 320 LOG(DEBUG) << "Server " << addrToString(&(server.ss)) in needValidateThread() 330 LOG(DEBUG) << "cleanValidateThreadTracker Server " << addrToString(&(server.ss)) in cleanValidateThreadTracker() 337 LOG(DEBUG) << "Server " << addrToString(&(server.ss)) in cleanValidateThreadTracker()
|
D | DnsTlsDispatcher.cpp | 64 switch (tlsServer.ss.ss_family) { in getOrderedServerList() 73 switch (tlsServer.ss.ss_family) { in getOrderedServerList() 111 dnsQueryEvent->set_ip_version(ipFamilyToIPVersion(server.ss.ss_family)); in query() 122 resolv_stats_add(statp->netid, IPSockAddr::toIPSockAddr(server.ss), dnsQueryEvent); in query() 126 resolv_stats_add(statp->netid, IPSockAddr::toIPSockAddr(server.ss), dnsQueryEvent); in query() 133 resolv_stats_add(statp->netid, IPSockAddr::toIPSockAddr(server.ss), dnsQueryEvent); in query() 137 resolv_stats_add(statp->netid, IPSockAddr::toIPSockAddr(server.ss), dnsQueryEvent); in query()
|
D | DnsTlsServer.h | 38 DnsTlsServer(const sockaddr_storage& ss) : ss(ss) {} in DnsTlsServer() 41 sockaddr_storage ss = {}; member
|
D | resolv_tls_unit_test.cpp | 796 sockaddr_in6* addr1 = reinterpret_cast<sockaddr_in6*>(&s1.ss); in TEST_F() 798 sockaddr_in6* addr2 = reinterpret_cast<sockaddr_in6*>(&s2.ss); in TEST_F() 809 sockaddr_in6* addr1 = reinterpret_cast<sockaddr_in6*>(&s1.ss); in TEST_F() 811 sockaddr_in6* addr2 = reinterpret_cast<sockaddr_in6*>(&s2.ss); in TEST_F() 823 parseServer("192.0.2.1", 853, &s1.ss); in TEST_F() 824 parseServer("192.0.2.1", 854, &s2.ss); in TEST_F() 829 parseServer("2001:db8::1", 853, &s3.ss); in TEST_F() 830 parseServer("2001:db8::1", 852, &s4.ss); in TEST_F() 981 parseServer(tls_addr, 8530, &server.ss); in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | misctest.cpp | 781 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/apps/Settings/src/com/android/settings/widget/ |
D | SwitchBar.java | 367 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/ |
D | SwitchBar.java | 369 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/Contacts/src/com/android/contacts/editor/ |
D | TextFieldsEditorView.java | 451 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()
|
D | StructuredNameEditorView.java | 167 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/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/voice/ |
D | RecognizerView.java | 159 SavedState ss = new SavedState(super.onSaveInstanceState()); in onSaveInstanceState() local 160 ss.mState = mState; in onSaveInstanceState() 161 return ss; in onSaveInstanceState() 171 SavedState ss = (SavedState) state; in onRestoreInstanceState() local 172 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState() 174 mState = ss.mState; in onRestoreInstanceState()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | DatePicker.java | 341 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/ |
D | ProcStatsData.java | 322 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/ |
D | ProcStatsData.java | 322 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/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | PagedRecyclerView.java | 642 SavedState ss = new SavedState(superState, getContext()); in onSaveInstanceState() local 644 mNestedRecyclerView.saveHierarchyState(ss.mNestedRecyclerViewState); in onSaveInstanceState() 646 return ss; in onSaveInstanceState() 655 SavedState ss = (SavedState) state; in onRestoreInstanceState() local 656 super.onRestoreInstanceState(ss.getSuperState()); in onRestoreInstanceState() 658 mNestedRecyclerView.restoreHierarchyState(ss.mNestedRecyclerViewState); in onRestoreInstanceState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceController.java | 77 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary() local 78 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in getSummary()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceController.java | 75 final ServiceState ss = mTelephonyManager.getServiceState(); in getSummary() local 76 if (ss != null && ss.getState() == ServiceState.STATE_IN_SERVICE) { in getSummary()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastReceiver.java | 131 int ss = intent.getIntExtra(EXTRA_VOICE_REG_STATE, ServiceState.STATE_IN_SERVICE); in onReceive() local 132 if (ss != ServiceState.STATE_POWER_OFF in onReceive() 136 setServiceState(ss); in onReceive() 198 private void setServiceState(int ss) { in setServiceState() argument 200 sp.edit().putInt(SERVICE_STATE, ss).commit(); in setServiceState()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | prettywritertest.cpp | 126 std::stringstream ss; in TEST() local 127 OStreamWrapper os(ss); in TEST() 134 std::string actual = ss.str(); in TEST()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | SpannableStringUtils.java | 108 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()
|