Home
last modified time | relevance | path

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

12

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSignalStrengthTest.java64 ServiceState ss = mTm.getServiceState(); in isCamped() local
65 if (ss == null) return false; in isCamped()
66 return (ss.getState() == ServiceState.STATE_IN_SERVICE in isCamped()
67 || ss.getState() == ServiceState.STATE_EMERGENCY_ONLY); in isCamped()
89 SignalStrength ss = mTm.getSignalStrength(); in testSignalStrength() local
90 assertNotNull("TelephonyManager.getSignalStrength() returned NULL!", ss); in testSignalStrength()
93 assertTrue("Invalid timestamp in SignalStrength: " + ss.getTimestampMillis(), in testSignalStrength()
94 ss.getTimestampMillis() > 0 && ss.getTimestampMillis() <= curTime); in testSignalStrength()
95 Log.d(TAG, "Timestamp of SignalStrength: " + ss.getTimestampMillis()); in testSignalStrength()
97 SignalStrength copy = new SignalStrength(ss); in testSignalStrength()
[all …]
DServiceStateTest.java183 final ServiceState ss = new ServiceState(); in testNrStateRedacted() local
184 ss.addNetworkRegistrationInfo(nri); in testNrStateRedacted()
185 String sss = ss.toString(); in testNrStateRedacted()
378 ServiceState ss = new ServiceState(); in testVopsSupportInfo() local
380 ss.addNetworkRegistrationInfo(wwanDataRegState); in testVopsSupportInfo()
382 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testVopsSupportInfo()
392 ss.addNetworkRegistrationInfo(wwanDataRegState); in testVopsSupportInfo()
393 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testVopsSupportInfo()
395 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testVopsSupportInfo()
398 assertEquals(ss.getNetworkRegistrationInfo(NetworkRegistrationInfo.DOMAIN_PS, in testVopsSupportInfo()
[all …]
DTelephonyLocationTests.java87 ServiceState ss = (ServiceState) performLocationAccessCommand( in testServiceStateLocationSanitization()
89 assertServiceStateSanitization(ss, true); in testServiceStateLocationSanitization()
113 ServiceState ss = (ServiceState) performLocationAccessCommand( in testServiceStateListeningWithoutPermissions()
115 assertServiceStateSanitization(ss, true); in testServiceStateListeningWithoutPermissions()
141 ServiceState ss = (ServiceState) performLocationAccessCommand( in testSdk28ServiceStateListeningWithoutPermissions()
143 assertNotNull(ss); in testSdk28ServiceStateListeningWithoutPermissions()
144 assertNotEquals(ss, ss.createLocationInfoSanitizedCopy(false)); in testSdk28ServiceStateListeningWithoutPermissions()
DTelephonyRegistryManagerTest.java124 public void onServiceStateChanged(ServiceState ss) { in testNotifyServiceStateChanged()
125 queue.offer(ss); in testNotifyServiceStateChanged()
154 public void onSignalStrengthsChanged(SignalStrength ss) { in testNotifySignalStrengthChanged()
155 queue.offer(ss); in testNotifySignalStrengthChanged()
DCellInfoTest.java241 ServiceState ss = mTm.getServiceState(); in isCamped() local
242 if (ss == null) return false; in isCamped()
243 return (ss.getState() == ServiceState.STATE_IN_SERVICE in isCamped()
244 || ss.getState() == ServiceState.STATE_EMERGENCY_ONLY); in isCamped()
DTelephonyManagerTest.java1777 ServiceState ss = mTelephonyManager.getServiceState(); in testNetworkRegistrationInfoRegisteredPlmn() local
1778 assertNotNull(ss); in testNetworkRegistrationInfoRegisteredPlmn()
1781 for (NetworkRegistrationInfo nwReg : ss.getNetworkRegistrationInfoList()) { in testNetworkRegistrationInfoRegisteredPlmn()
/cts/hostsidetests/statsdatom/apps/statsdapp/jni/
Dalloc_stress_activity.cpp40 std::stringstream ss; in Java_com_android_server_cts_device_statsdatom_MemoryHogger_allocate() local
41 ss << "total alloc: " << allocCount / (1 << 20); in Java_com_android_server_cts_device_statsdatom_MemoryHogger_allocate()
42 LOG(ss.str().c_str()); in Java_com_android_server_cts_device_statsdatom_MemoryHogger_allocate()
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
DGbaServiceTest.java242 int ss = sConfig.getServiceState(); in testServiceReleaseDefault() local
243 boolean isExpected = (ss == TestGbaConfig.STATE_UNKNOWN in testServiceReleaseDefault()
244 || ss == TestGbaConfig.STATE_REMOVED in testServiceReleaseDefault()
245 || ss == TestGbaConfig.STATE_UNBOUND); in testServiceReleaseDefault()
263 int ss = sConfig.getServiceState(); in testServiceReleaseDuration() local
264 boolean isExpected = (ss == TestGbaConfig.STATE_UNKNOWN in testServiceReleaseDuration()
265 || ss == TestGbaConfig.STATE_REMOVED in testServiceReleaseDuration()
266 || ss == TestGbaConfig.STATE_UNBOUND); in testServiceReleaseDuration()
288 int ss = sConfig.getServiceState(); in testServiceNoRelease() local
289 boolean isExpected = (ss == TestGbaConfig.STATE_UNKNOWN in testServiceNoRelease()
[all …]
/cts/tests/tests/telephony/current/LocationAccessingApp/src/android/telephony/cts/locationaccessingapp/
DCtsLocationAccessService.java157 public void onServiceStateChanged(ServiceState ss) { in listenForServiceState()
158 if (ss == null) ss = new ServiceState(); in listenForServiceState()
159 queue.offer(ss); in listenForServiceState()
166 ServiceState ss = queue.poll(LISTENER_TIMEOUT, TimeUnit.MILLISECONDS); in listenForServiceState() local
167 if (ss == null) { in listenForServiceState()
170 return ss; in listenForServiceState()
/cts/tests/tests/telephony/sdk28/src/android/telephony/sdk28/cts/
DCellInfoTest.java54 ServiceState ss = ShellIdentityUtils.invokeMethodWithShellPermissions( in isCamped() local
57 if (ss == null) return false; in isCamped()
58 return (ss.getState() == ServiceState.STATE_IN_SERVICE in isCamped()
59 || ss.getState() == ServiceState.STATE_EMERGENCY_ONLY); in isCamped()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DDspFftServer.java54 double cc, ss, t1, t2; in fft() local
87 ss = sign * mSin.mData[aa]; in fft()
90 t1 = cc * r.mReal[kk + n1] - ss * r.mImag[kk + n1]; in fft()
91 t2 = ss * r.mReal[kk + n1] + cc * r.mImag[kk + n1]; in fft()
/cts/tests/signature/api-check/src/jni/
Dclassdescriptors.cpp172 std::stringstream ss; in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() local
173 ss << "Error while executing " in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
176 std::string error = ss.str(); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
196 std::stringstream ss; in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes() local
197 ss << "Error while executing " in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
200 std::string error = ss.str(); in Java_android_signature_cts_api_BootClassPathClassesProvider_getClassMemberNamesAndTypes()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutGetLineLeftRightTest.java101 final SpannableString ss = new SpannableString(TEST_STR); in StaticLayoutGetLineLeftRightTest() local
102 ss.setSpan(new LeadingMarginSpan.Standard(mLeadingMargin), in StaticLayoutGetLineLeftRightTest()
103 0, ss.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in StaticLayoutGetLineLeftRightTest()
104 mText = ss; in StaticLayoutGetLineLeftRightTest()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dutilities.h51 inline ::testing::AssertionResult ContainsSubstring(const std::string& s, const std::string& ss) { in ContainsSubstring() argument
52 if (s.find(ss) != std::string::npos) { in ContainsSubstring()
56 << "String: '" << s << "' does not contain substring: " << ss; in ContainsSubstring()
/cts/hostsidetests/jvmti/attaching/host/src/android/jvmti/cts/
DJvmtiAttachingHostTest.java250 try (final ServerSocket ss = new ServerSocket(0)) { in runAttachTestCmd() argument
252 "reverse", "localabstract:" + REMOTE_SOCKET_NAME, "tcp:" + ss.getLocalPort()); in runAttachTestCmd()
262 ss.setSoTimeout(30000); in runAttachTestCmd()
263 try (Socket s = ss.accept()) { in runAttachTestCmd()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_stream_builder.cpp375 std::stringstream ss; in getTestName() local
376 ss << "0x" << std::hex << info.param; in getTestName()
377 return ss.str(); in getTestName()
553 std::stringstream ss; in getTestName() local
554 ss << (info.param.first == AAUDIO_DIRECTION_INPUT ? "INPUT_0x" : "OUTPUT_0x") in getTestName()
556 return ss.str(); in getTestName()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp143 std::stringstream ss; in dumpSupportedRefreshPeriods() local
144 ss << "{ "; in dumpSupportedRefreshPeriods()
146 ss << period << ","; in dumpSupportedRefreshPeriods()
148 ss << "}"; in dumpSupportedRefreshPeriods()
149 return ss.str(); in dumpSupportedRefreshPeriods()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java110 ServerSocket ss; in testFromSocket()
111 ss = new ServerSocket(PORT); in testFromSocket()
112 Socket sSocket = ss.accept(); in testFromSocket()
/cts/tests/autofillservice/src/android/autofillservice/cts/saveui/
DSimpleSaveActivityTest.java1924 final SpannableString ss = new SpannableString("Here is URLSpan"); in newDescriptionWithUrlSpan() local
1925 ss.setSpan(new URLSpan(url), in newDescriptionWithUrlSpan()
1927 return ss; in newDescriptionWithUrlSpan()
/cts/tests/tests/media/assets/hls_variant/165340/
D10.ts117 Q��P�G��ss��7�O?W�6���r��zX_/��;�"!I������3���p�DY����3�1�����I������ɤ ��b�3��kݑgH-2��
/cts/tests/tests/media/assets/hls_variant/344388/
D05.ts192 …����X:�7�{o`}x�H�E������ʾ���z�W�^F�m�(��g�5@ǧ����r�S�_�`�&�����i2ss�^�b(3�RoA���׷"e��9…
782 …z@K�#+a���ٺ��>�s�%{\8Ml�of����rf^�����n������5e`�F�qOS�#(�����[{%�6J�ss��C�hϲ���i`�&��T�#Yu{…
/cts/tests/tests/media/res/raw/
Dsegment000001_scrambled.ts89 b��<��k/0C����"��ss���\�m��!_�f�jRgT���t��ԲIT�����W��-�nw���-�B�o�J������G�q��5�Y?-o�l�1��…
137 …8E��"�k��p:C�5���#^:���q�7�� Ë�?��AM[f� p��F�h+��-�ʠ�G8C>��d������A�VS�/ss d�f5�^���G��E���"�…
1501 QSG\������GA��E,ҵX&������΁�#@͔u� ��Jss�-�M�1�u)���W��<<3elhЉ����1�A?�'��|3���9�#���/'�*Rs~O…
1788 �K�9E�������ss|X�����ki
3245 …������������������������������������������6tac�-�x��H��-GF�|R\Ed%��>jr&�8ss��[F��ދ��w���j2��l@�…
/cts/tests/tests/media/assets/hls_variant/765178/
D08.ts79 …��P��9GA���%��!������P@#��$-�F!��a�X�!���vf(L��Ԭԡ��{�N'Q�tߌf/�ess�9�� ���d�O:➃�{7��6�…
550 1��&������� ���A�zR+�� f`�]J��RZA��]���ss�BYmE?��kT�`��۲ŧ�R��RW���+zƒT}w�M}���^�FF�?����…
876 …b�.2��\=�ե�Kn$������:��$����*�o|��ҁ���^�#��4����]�+�DŽP =v���4]���x}ss�G��k�,�xA�t�`�p�5…
2721 …�@+%9ޛN��ޜ�ڿ�!�o �Y�I_K���y{�@���h��i?�0��BG���an���~�>y*��x�ss�Su8�JOGy�ԒJ��s$�!��…
/cts/tests/tests/media/assets/hls_variant/387360/
D03.ts552 �0�_��s��6Dm��y20N*)b�ʨM��� �1^ޮR���X��&��Q�R1��]� P�_�� �� ss���H�!1��v%��o�&��(3I��^O�…
1271 …������������������������������������������������������������e\����KJډ( 뱒-ssNP kMQ �����i gpϕ…
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java5743 final SpannableString ss = new SpannableString("ex"); in testSetExtractedText() local
5744 ss.setSpan(new UnderlineSpan(), 0, 2, 0); in testSetExtractedText()
5745 ss.setSpan(new URLSpan("ctstest://TextView/test"), 1, 2, 0); in testSetExtractedText()
5747 et.text = ss; in testSetExtractedText()

12