Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 25 of 85) sorted by relevance

1234

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DNeighboringCellInfoTest.java39 NeighboringCellInfo nc; in testNeighboringCellInfo() local
42 nc = new NeighboringCellInfo(rssi, "FFFFFFF", NETWORK_TYPE_EDGE); in testNeighboringCellInfo()
43 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); in testNeighboringCellInfo()
44 assertEquals(rssi, nc.getRssi()); in testNeighboringCellInfo()
45 assertEquals(0xfff, nc.getLac()); in testNeighboringCellInfo()
46 assertEquals(0xffff, nc.getCid()); in testNeighboringCellInfo()
47 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); in testNeighboringCellInfo()
49 nc = new NeighboringCellInfo(rssi, "1FF", NETWORK_TYPE_UMTS); in testNeighboringCellInfo()
50 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); in testNeighboringCellInfo()
51 assertEquals(rssi, nc.getRssi()); in testNeighboringCellInfo()
[all …]
/cts/tests/tests/net/src/android/net/cts/
DNetworkAgentTest.kt184 val nc: NetworkCapabilities, in willExpectDisconnectOnce() constant
188 nc, lp, TEST_NETWORK_SCORE, conf, Provider(context, looper)) { in willExpectDisconnectOnce()
211 fun getName(): String? = (nc.getNetworkSpecifier() as? StringNetworkSpecifier)?.specifier in willExpectDisconnectOnce()
304 val nc = NetworkCapabilities().apply { in createNetworkAgent() constant
319 return TestableNetworkAgent(mHandlerThread.looper, nc, lp, config).also { in createNetworkAgent()
388 val nc = NetworkCapabilities(agent.nc) in testSignalStrengthThresholds() constant
389 nc.setSignalStrength(20) in testSignalStrengthThresholds()
390 agent.sendNetworkCapabilities(nc) in testSignalStrengthThresholds()
393 nc.setSignalStrength(40) in testSignalStrengthThresholds()
394 agent.sendNetworkCapabilities(nc) in testSignalStrengthThresholds()
[all …]
DNetworkRequestTest.java142 final NetworkCapabilities nc = new NetworkCapabilities.Builder() in testRequestorPackageName() local
146 .setCapabilities(nc) in testRequestorPackageName()
255 NetworkCapabilities nc) { in assertCorrectlySatisfies() argument
256 assertEquals(expect, request.canBeSatisfiedBy(nc)); in assertCorrectlySatisfies()
258 request.canBeSatisfiedBy(nc), in assertCorrectlySatisfies()
259 request.networkCapabilities.satisfiedByNetworkCapabilities(nc)); in assertCorrectlySatisfies()
264 final NetworkCapabilities nc = new NetworkCapabilities(); in testRequestorUid() local
267 .setCapabilities(nc).build().getRequestorUid()); in testRequestorUid()
269 nc.setRequestorUid(1314); in testRequestorUid()
270 final NetworkRequest nr = new NetworkRequest.Builder().setCapabilities(nc).build(); in testRequestorUid()
DMultinetworkApiTest.java81 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in getTestableNetworks() local
82 if (nc != null in getTestableNetworks()
83 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in getTestableNetworks()
84 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in getTestableNetworks()
213 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in testResNApi() local
217 if (nc != null && !nc.hasTransport(TRANSPORT_CELLULAR)) { in testResNApi()
DConnectivityDiagnosticsManagerTest.java475 final NetworkCapabilities nc = result.getNetworkCapabilities(); in expectOnConnectivityReportAvailable() local
476 assertNotNull(nc); in expectOnConnectivityReportAvailable()
477 assertTrue(nc.hasTransport(transportType)); in expectOnConnectivityReportAvailable()
508 final NetworkCapabilities nc = result.getNetworkCapabilities(); in expectOnDataStallSuspected() local
509 assertNotNull(nc); in expectOnDataStallSuspected()
510 assertTrue(nc.hasTransport(TRANSPORT_TEST)); in expectOnDataStallSuspected()
DDnsResolverTest.java132 final NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in getTestableNetworks() local
133 if (nc != null in getTestableNetworks()
134 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_RESTRICTED) in getTestableNetworks()
135 && nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET)) { in getTestableNetworks()
379 final NetworkCapabilities nc = (network != null) in doTestRawQueryNXDomain() local
382 assertNotNull("Couldn't determine NetworkCapabilities for " + network, nc); in doTestRawQueryNXDomain()
386 if (nc.hasTransport(TRANSPORT_CELLULAR)) continue; in doTestRawQueryNXDomain()
DConnectivityManagerTest.java690 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in waitForActiveNetworkMetered()
691 if (!nc.hasTransport(targetTransportType)) return; in waitForActiveNetworkMetered()
693 final boolean metered = !nc.hasCapability(NET_CAPABILITY_NOT_METERED); in waitForActiveNetworkMetered()
917 final NetworkCapabilities nc = mCm.getNetworkCapabilities(network); in getSupportedKeepalivesForNet() local
922 keepalivesPerTransport, nc); in getSupportedKeepalivesForNet()
1370 NetworkCapabilities nc = mCm.getNetworkCapabilities(network);
1371 if (nc != null && !nc.hasCapability(NET_CAPABILITY_NOT_RESTRICTED)) {
DCaptivePortalTest.kt154 nc: NetworkCapabilities in testCaptivePortalIsNotDefaultNetwork()
156 if (nc.hasCapability(NET_CAPABILITY_CAPTIVE_PORTAL)) { in testCaptivePortalIsNotDefaultNetwork()
/cts/tests/openglperf2/jni/graphics/
DMatrix.cpp296 float nc = 1.0f - c; in newRotate() local
303 d[0] = x * x * nc + c; in newRotate()
304 d[4] = xy * nc - zs; in newRotate()
305 d[8] = zx * nc + ys; in newRotate()
306 d[1] = xy * nc + zs; in newRotate()
307 d[5] = y * y * nc + c; in newRotate()
308 d[9] = yz * nc - xs; in newRotate()
309 d[2] = zx * nc - ys; in newRotate()
310 d[6] = yz * nc + xs; in newRotate()
311 d[10] = z * z * nc + c; in newRotate()
/cts/hostsidetests/incident/src/com/android/server/cts/
DJobSchedulerIncidentTest.java241 private static void testNetworkCapabilitesProto(NetworkCapabilitiesProto nc) throws Exception { in testNetworkCapabilitesProto() argument
242 assertNotNull(nc); in testNetworkCapabilitesProto()
244 for (NetworkCapabilitiesProto.Transport t : nc.getTransportsList()) { in testNetworkCapabilitesProto()
248 for (NetworkCapabilitiesProto.NetCapability c : nc.getCapabilitiesList()) { in testNetworkCapabilitesProto()
253 assertTrue(0 <= nc.getLinkUpBandwidthKbps()); in testNetworkCapabilitesProto()
254 assertTrue(0 <= nc.getLinkDownBandwidthKbps()); in testNetworkCapabilitesProto()
/cts/hostsidetests/securitybulletin/res/
Dcve_2017_0859.mp44 …H��y3���E�X$CԮ����ܿ�4d@n���S�߶��?����{��̃�$Kp�����o��W�Ť�n��;*����nc���Y�Rb�_�$9���r� Y…
/cts/hostsidetests/appsecurity/certs/keysets/
Dcts-keyset-test-b.x509.pem15 3fvocr0SemAt6FY61gJ+4Zr8IQZc8C1qr5e/eDiMPBKectGzH1cniWqq1/5nc/vC
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java189 public void onCapabilitiesChanged(Network network, NetworkCapabilities nc) { in assertActiveNetworkMetered()
190 final boolean metered = !nc.hasCapability(NET_CAPABILITY_NOT_METERED); in assertActiveNetworkMetered()
DVpnTest.java1039 NetworkCapabilities nc = mCM.getNetworkCapabilities(network); in isNetworkMetered() local
1040 return !nc.hasCapability(NetworkCapabilities.NET_CAPABILITY_NOT_METERED); in isNetworkMetered()
/cts/tests/app/src/android/app/cts/
DNotificationManagerTest.java168 for (NotificationChannel nc : channels) { in tearDown()
169 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(nc.getId())) { in tearDown()
172 mNotificationManager.deleteNotificationChannel(nc.getId()); in tearDown()
944 for (NotificationChannel nc : channels) { in testGetChannels()
945 if (NotificationChannel.DEFAULT_CHANNEL_ID.equals(nc.getId())) { in testGetChannels()
948 if (NOTIFICATION_CHANNEL_ID.equals(nc.getId())) { in testGetChannels()
951 assertFalse(channel3.getId().equals(nc.getId())); in testGetChannels()
952 if (!channelMap.containsKey(nc.getId())) { in testGetChannels()
956 compareChannels(channelMap.get(nc.getId()), nc); in testGetChannels() local
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java292 final NetworkCapabilities nc = mCm.getNetworkCapabilities(wifiNetworkToCheck); in disconnectFromWifi() local
293 assertNotNull("Network " + wifiNetworkToCheck + " is not connected", nc); in disconnectFromWifi()
/cts/tests/tests/media/assets/hls_variant/387360/
D06.ts60 …Bv�F"�,~Zꛙ�juL.�!�wG���9�� 6�Q������u��_.0c�]�4��3�A�`�`���q��?��"�nc��*Ϭ�w�&���$��v����o…
201 …�NfI��:-�ke���隷d�/�����T^���F�d@Q��\a����M�p�/[�ǟ�(]�f?�N�|�ʦ3*[K�nc"�l�; o� �C���IV#�M…
/cts/tests/tests/media/assets/
DfileSequence1.ts158 !a�tl����"oUv������\���EGXe0�<� �8ɍ\�pv�� �ɳ����?�:4�nc��̼�5�
3304 K�����}�C�M���$���nck���)����l���\���4
4627 …�O��Yu]��_�3�D3%��L(���8!v���ʭ��#�A$J��͸ �o�ܴgaC�86� Sje�EE&2�+��nc��yN�oΙ���RSi����4…
/cts/tests/tests/media/assets/hls_variant/765178/
D09.ts178 �C nc� �u�%lC�~�PSm8B���Q`�y��hXn�ؚ��^�.}�_������!������.�_�"�r
1325 ���LE <4�7�"F�?�� �����m�v��F�����z7P����K/@dK��nc�jQ]��#�E9ָhvf���B�uM)*z�S��� ��'�|��Е�kʎݬ…
1989 …���������������������������������ig�z@p��}��ZI��l-Gr�7ɭ��}��F������,?�&s$�nc 7��y�"눘�_�ئ+�%���f9…
D13.ts288 b�Tվ%ȿ"�nc�.��ks�"��2��9�OWZ�����(����n">��,cl _Zv�g���ޢN�0(�[�Eٱ��?p�g�K�g��� W tk6��y�Ϋ�…
647 ���"�|�O��=o[��efG8� ��5Y}�R�nc�F����� 3wV��SG�-Q)���Z/\W�6Wg�2�ZcST2�,;S�9���oOV�֎%H� �2r…
799 �=�i*����C��TN��A������K��G�nc�G�w��!�i���w�h�E�)�����1��K���ə��`QД��z����z�d�؜�/��j��…
2766 …�O`��,_g�s�j����_��0�&ӈ���FV༰'�)�qwv"��:E7N���+��p씤BcBoV����)"!Fp�`���nc/����e����_��]E�
D10.ts124 …�YDR(U�Jyi����]�w�;�4 p j�����P6c��j~s�o���������a���"V)��G|w�#�:��nc��_HTA�[�.�`��P-�Y�o…
2986 …H#-�u_{��G!8�3�@�������!����&���c�M8Cyc��t=pG�/au��V��\j�D�E�DҘ���nc�N�Zb����#��N�>] 7…
/cts/tests/tests/media/assets/hls_variant/165340/
D08.ts491 …��FG����u�m��m< �5\K�˿��3> �N�F�ǯb�f�sw�[�� ��v�3�'�=T�_�=�mK�.5nc�R��&��s���BA��*�…
/cts/tests/tests/media/assets/hls_variant/344388/
D06.ts886 …�����������������������������������������������������"��w��~$pi�x�����z�nc��Ԗ�ÕtL@� OK�f ؃A��…
1154 …�F�w��Y�els`T=�?��ӫi[p{ߖyI�'�����{��V���f[�j���>��(�5"�2�߱����7�nc�c�~4�q��f�?_�j9K�…
D14.ts729 …�����!����� ���A��/����j�z�R�1��>�ν���7M�نP��(Ȋ��B�+���j~�D��&nc��41�@@��g6{��0Z��…
/cts/tests/tests/media/res/raw/
Dsegment000001_scrambled.ts59 ����El��1=nԥ<r� �}/�~����3����y�(΀�nc,A�y�$�uH9�>�6if�Z�L�[�m���)��[��xy���7YL/�����m<B���+…
1010 ���<=�C2 }��>ei�;�����Ե��]��Q��M�VI/��Y�R� [���)��i�+�V�~�>lI�e����f ��L��>��d�ncL…
1499 …�������������������������������������������������������������������_�àj��I�:aK�nc�-�N��1��r�?�b
2727 ���V�s��nc���@_G������������������������������������������������������������������������������…

1234