Home
last modified time | relevance | path

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

12345

/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 …]
/packages/modules/Bluetooth/system/packet/avrcp/
Dregister_notification_packet.cc57 std::stringstream ss; in ToString() local
58 ss << "RegisterNotificationResponse: " << std::endl; in ToString()
59 ss << " └ cType = " << GetCType() << std::endl; in ToString()
60 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
61 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
62 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
63 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
64 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
65 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
66 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dplay_item.cc70 std::stringstream ss; in ToString() local
71 ss << "PlayItemRequest: " << std::endl; in ToString()
72 ss << " └ cType = " << GetCType() << std::endl; in ToString()
73 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
74 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
75 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
76 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
77 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
78 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
79 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dset_absolute_volume.cc59 std::stringstream ss; in ToString() local
60 ss << "SetAbsoluteVolumeResponse: " << std::endl; in ToString()
61 ss << " └ cType = " << GetCType() << std::endl; in ToString()
62 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
63 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
64 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
65 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
66 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
67 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
68 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dset_addressed_player.cc60 std::stringstream ss; in ToString() local
61 ss << "SetAddressedPlayerRequest: " << std::endl; in ToString()
62 ss << " └ cType = " << GetCType() << std::endl; in ToString()
63 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
64 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
65 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
66 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
67 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
68 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
69 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dget_element_attributes_packet.cc62 std::stringstream ss; in ToString() local
63 ss << "RegisterNotificationPacket: " << std::endl; in ToString()
64 ss << " └ cType = " << GetCType() << std::endl; in ToString()
65 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
66 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
67 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
68 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
69 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
70 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
71 ss << " └ Parameter Length = " << GetParameterLength() << std::endl; in ToString()
[all …]
Dvendor_packet.cc112 std::stringstream ss; in ToString() local
113 ss << "VendorPacket: " << std::endl; in ToString()
114 ss << " └ cType = " << GetCType() << std::endl; in ToString()
115 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
116 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
117 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
118 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
119 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
120 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
121 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dcapabilities_packet.cc59 std::stringstream ss; in ToString() local
60 ss << "AvrcpCapabilityReqPacket: " << std::endl; in ToString()
61 ss << " └ cType = " << GetCType() << std::endl; in ToString()
62 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
63 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
64 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
65 ss << " └ Company ID = " << loghex(GetCompanyId()) << std::endl; in ToString()
66 ss << " └ Command PDU = " << GetCommandPdu() << std::endl; in ToString()
67 ss << " └ PacketType = " << GetPacketType() << std::endl; in ToString()
68 ss << " └ Parameter Length = " << loghex(GetParameterLength()) << std::endl; in ToString()
[all …]
Dget_item_attributes.cc129 std::stringstream ss; in ToString() local
130 ss << "GetItemAttributesRequestPacket: " << std::endl; in ToString()
131 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
132 ss << " └ Length = " << GetLength() << std::endl; in ToString()
133 ss << " └ Scope = " << GetScope() << std::endl; in ToString()
134 ss << " └ UID Requested = " << loghex(GetUid()) << std::endl; in ToString()
135 ss << " └ UID Counter = " << loghex(GetUidCounter()) << std::endl; in ToString()
136 ss << " └ Num Attributes = " << loghex(GetNumAttributes()) << std::endl; in ToString()
139 ss << " └ Attribute List: Size: " << attr_list.size() << std::endl; in ToString()
141 ss << " └ " << loghex((uint32_t)(*it)) << std::endl; in ToString()
[all …]
Dpass_through_packet.cc61 std::stringstream ss; in ToString() local
62 ss << "Avrcp::AvrcpPacket: " << std::endl; in ToString()
63 ss << " └ cType = " << GetCType() << std::endl; in ToString()
64 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
65 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
66 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
67 ss << " └ Pushed = " << GetKeyState() << std::endl; in ToString()
68 ss << " └ Opperation ID = " << loghex(GetOperationId()) << std::endl; in ToString()
70 return ss.str(); in ToString()
Davrcp_packet.cc97 std::stringstream ss; in ToString() local
98 ss << "avrcp::Packet: " << std::endl; in ToString()
99 ss << " └ cType = " << GetCType() << std::endl; in ToString()
100 ss << " └ Subunit Type = " << loghex(GetSubunitType()) << std::endl; in ToString()
101 ss << " └ Subunit ID = " << loghex(GetSubunitId()) << std::endl; in ToString()
102 ss << " └ OpCode = " << GetOpcode() << std::endl; in ToString()
103 ss << " └ Payload ="; in ToString()
105 ss << " " << loghex(*it); in ToString()
107 ss << std::endl; in ToString()
109 return ss.str(); in ToString()
Dchange_path.cc75 std::stringstream ss; in ToString() local
76 ss << "ChangePathRequestPacket: " << std::endl; in ToString()
77 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
78 ss << " └ Length = " << GetLength() << std::endl; in ToString()
79 ss << " └ UID Counter = " << loghex(GetUidCounter()) << std::endl; in ToString()
80 ss << " └ Direction = " << GetDirection() << std::endl; in ToString()
81 ss << " └ UID Requested = " << loghex(GetUid()) << std::endl; in ToString()
82 ss << std::endl; in ToString()
84 return ss.str(); in ToString()
Davrcp_browse_packet.cc73 std::stringstream ss; in ToString() local
74 ss << "AvrcpBrowsePacket: " << std::endl; in ToString()
75 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
76 ss << " └ Length = " << GetLength() << std::endl; in ToString()
77 ss << " └ Payload ="; in ToString()
79 ss << " " << loghex(*it); in ToString()
81 ss << std::endl; in ToString()
83 return ss.str(); in ToString()
Dget_total_number_of_items.cc68 std::stringstream ss; in ToString() local
69 ss << "GetTotalNumberOfItemsRequest: " << std::endl; in ToString()
70 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
71 ss << " └ Length = " << GetLength() << std::endl; in ToString()
72 ss << " └ Scope = " << GetScope() << std::endl; in ToString()
73 ss << std::endl; in ToString()
75 return ss.str(); in ToString()
Dset_browsed_player.cc92 std::stringstream ss; in ToString() local
93 ss << "SetBrowsedPlayerRequestPacket: " << std::endl; in ToString()
94 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
95 ss << " └ Length = " << GetLength() << std::endl; in ToString()
96 ss << " └ Player ID = " << loghex(GetPlayerId()) << std::endl; in ToString()
97 ss << std::endl; in ToString()
99 return ss.str(); in ToString()
Dget_folder_items.cc290 std::stringstream ss; in ToString() local
291 ss << "GetFolderItemsRequestPacket: " << std::endl; in ToString()
292 ss << " └ PDU = " << GetPdu() << std::endl; in ToString()
293 ss << " └ Length = " << GetLength() << std::endl; in ToString()
294 ss << " └ Scope = " << GetScope() << std::endl; in ToString()
295 ss << " └ Start Item = " << loghex(GetStartItem()) << std::endl; in ToString()
296 ss << " └ End Item = " << loghex(GetEndItem()) << std::endl; in ToString()
297 ss << " └ Attribute Count = " << loghex(GetNumAttributes()) << std::endl; in ToString()
299 ss << std::endl; in ToString()
301 return ss.str(); in ToString()
/packages/services/Telephony/src/com/android/phone/
DServiceStateProvider.java359 ServiceState ss = getServiceState(subId); in insert() local
360 notifyChangeForSubIdAndField(getContext(), ss, newSS, subId); in insert() local
361 notifyChangeForSubId(getContext(), ss, newSS, subId); in insert() local
421 final ServiceState ss; in query() local
426 ss = unredactedServiceState; in query()
432 ss = unredactedServiceState; in query()
450 ss = unredactedServiceState; in query()
459 ss = getLocationRedactedServiceState(unredactedServiceState); in query()
465 ss = getLocationRedactedServiceState(unredactedServiceState); in query()
471 final int voice_reg_state = ss.getState(); in query()
[all …]
/packages/services/Telephony/tests/src/com/android/phone/
DServiceStateProviderTest.java419 private void verifyServiceStateWithLocationColumns(ServiceState ss) { in verifyServiceStateWithLocationColumns() argument
427 private void verifyServiceStateWithPublicColumns(ServiceState ss, String[] projection) { in verifyServiceStateWithPublicColumns() argument
433 assertEquals(ss.getVoiceRegState(), in verifyServiceStateWithPublicColumns()
435 assertEquals(ss.getDataRegistrationState(), in verifyServiceStateWithPublicColumns()
437 assertEquals(ss.getOperatorNumeric(), in verifyServiceStateWithPublicColumns()
439 assertEquals(ss.getDataNetworkType(), in verifyServiceStateWithPublicColumns()
441 assertEquals(ss.getDuplexMode(), cursor.getInt(cursor.getColumnIndex(DUPLEX_MODE))); in verifyServiceStateWithPublicColumns()
445 private void verifyServiceStateForSubId(Uri uri, ServiceState ss, boolean hasLocation) { in verifyServiceStateForSubId() argument
451 final int voiceRegState = ss.getState(); in verifyServiceStateForSubId()
452 final int dataRegState = ss.getDataRegistrationState(); in verifyServiceStateForSubId()
[all …]
DNumberVerificationManagerTest.java59 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/
DDnsTlsServer.cpp95 if (x.ss.ss_family != y.ss.ss_family) { in operator ()()
96 return x.ss.ss_family < y.ss.ss_family; in operator ()()
99 if (x.ss.ss_family == AF_INET) { in operator ()()
100 const sockaddr_in& x_sin = reinterpret_cast<const sockaddr_in&>(x.ss); in operator ()()
101 const sockaddr_in& y_sin = reinterpret_cast<const sockaddr_in&>(y.ss); in operator ()()
103 } else if (x.ss.ss_family == AF_INET6) { in operator ()()
104 const sockaddr_in6& x_sin6 = reinterpret_cast<const sockaddr_in6&>(x.ss); in operator ()()
105 const sockaddr_in6& y_sin6 = reinterpret_cast<const sockaddr_in6&>(y.ss); in operator ()()
114 return std::tie(s.ss, s.name, s.protocol); in make_tie()
130 return netdutils::IPSockAddr::toIPSockAddr(ss).ip().toString(); in toIpString()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.h89 Logger::get()->log(ss.str() + '\n'); in ~LoggerStream()
92 __android_log_print(ANDROID_LOG_FATAL, mLogTag.c_str(), "%s", ss.str().c_str()); in ~LoggerStream()
94 std::cout << ss.str() << std::endl; in ~LoggerStream()
102 ss << str;
114 std::stringstream ss; variable
123 std::stringstream ss; in joinStr() local
126 ss << items[i]; in joinStr()
128 ss << joint << items[i]; in joinStr()
131 return ss.str(); in joinStr()
136 std::stringstream ss; in joinStr() local
[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/modules/Bluetooth/system/packet/tests/base/
Dpacket_test_common.h42 std::stringstream ss; in ToString() local
43 ss << "TestPacket: Start = " << packet_start_index_ in ToString()
45 ss << " └ Payload ="; in ToString()
47 ss << " " << loghex(*it); in ToString()
49 ss << std::endl; in ToString()
51 return ss.str(); in ToString()
/packages/apps/Settings/src/com/android/settings/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/modules/Bluetooth/system/profile/avrcp/
Davrcp_message_converter.h46 std::stringstream ss; in ToString() local
47 ss << "VectorPacket:" << std::endl; in ToString()
48 ss << " └ Payload ="; in ToString()
50 ss << " " << loghex(*it); in ToString()
52 ss << std::endl; in ToString()
54 return ss.str(); in ToString()

12345