Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 83) sorted by relevance

1234

/cts/hostsidetests/incident/src/com/android/server/cts/
DNetstatsIncidentTest.java79 final long st = System.currentTimeMillis(); in testSanityCheck() local
87 CLog.i("Start time: " + st); in testSanityCheck()
118 final long devRxPackets = sum(dump.getDevStats(), st, b -> b.getRxPackets()); in testSanityCheck()
119 final long devRxBytes = sum(dump.getDevStats(), st, b -> b.getRxBytes()); in testSanityCheck()
120 final long devTxPackets = sum(dump.getDevStats(), st, b -> b.getTxPackets()); in testSanityCheck()
121 final long devTxBytes = sum(dump.getDevStats(), st, b -> b.getTxBytes()); in testSanityCheck()
123 final long xtRxPackets = sum(dump.getXtStats(), st, b -> b.getRxPackets()); in testSanityCheck()
124 final long xtRxBytes = sum(dump.getXtStats(), st, b -> b.getRxBytes()); in testSanityCheck()
125 final long xtTxPackets = sum(dump.getXtStats(), st, b -> b.getTxPackets()); in testSanityCheck()
126 final long xtTxBytes = sum(dump.getXtStats(), st, b -> b.getTxBytes()); in testSanityCheck()
[all …]
DPackageIncidentTest.java49 final long st = System.currentTimeMillis(); in testPackageServiceDump() local
DBatteryStatsIncidentTest.java434 for (UidProto.StateTime st : u.getStatesList()) { in testUidProto()
436 .contains(st.getState().getValueDescriptor())); in testUidProto()
437 assertTrue(0 <= st.getDurationMs()); in testUidProto()
/cts/tests/tests/security/jni/
Dandroid_security_cts_LinuxRngTest.cpp51 struct stat st; in android_security_cts_LinuxRngTest_getCharDeviceMajor() local
52 if (stat(nameStr, &st) == -1) { in android_security_cts_LinuxRngTest_getCharDeviceMajor()
57 if (!S_ISCHR(st.st_mode)) { in android_security_cts_LinuxRngTest_getCharDeviceMajor()
58 throwIOException(env, "%s is not a character device: mode is 0%o", nameStr, st.st_mode); in android_security_cts_LinuxRngTest_getCharDeviceMajor()
62 result = major(st.st_rdev); in android_security_cts_LinuxRngTest_getCharDeviceMajor()
77 struct stat st; in android_security_cts_LinuxRngTest_getCharDeviceMinor() local
78 if (stat(nameStr, &st) == -1) { in android_security_cts_LinuxRngTest_getCharDeviceMinor()
83 if (!S_ISCHR(st.st_mode)) { in android_security_cts_LinuxRngTest_getCharDeviceMinor()
84 throwIOException(env, "%s is not a character device: mode is 0%o", nameStr, st.st_mode); in android_security_cts_LinuxRngTest_getCharDeviceMinor()
88 result = minor(st.st_rdev); in android_security_cts_LinuxRngTest_getCharDeviceMinor()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0477/
Dpoc.c52 struct stat st; in main() local
53 fstat(fd, &st); in main()
54 void *ptr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in main()
56 gdx2d_pixmap *pixmap = gdx2d_load((unsigned char *) ptr, st.st_size); in main()
/cts/tests/tests/media/src/android/media/cts/
DMediaStubActivity2.java61 public void onSurfaceTextureAvailable(SurfaceTexture st, int width, int height) { in onSurfaceTextureAvailable() argument
63 final Surface s = new Surface(st); in onSurfaceTextureAvailable()
69 public void onSurfaceTextureSizeChanged(SurfaceTexture st, int width, int height) { in onSurfaceTextureSizeChanged() argument
73 public boolean onSurfaceTextureDestroyed(SurfaceTexture st) { in onSurfaceTextureDestroyed() argument
78 public void onSurfaceTextureUpdated(SurfaceTexture st) { in onSurfaceTextureUpdated() argument
DTextureRender.java97 public void drawFrame(SurfaceTexture st) { in drawFrame() argument
99 st.getTransformMatrix(mSTMatrix); in drawFrame()
DOutputSurface.java298 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
DDecodeAccuracyTestBase.java1060 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
1063 st.getTransformMatrix(textureTransform); in onFrameAvailable()
DVideoEncoderTest.java771 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
/cts/tools/dasm/src/java_cup/
Dlalr_state.java159 protected static void dump_state(lalr_state st) throws internal_error in dump_state() argument
165 if (st == null) in dump_state()
171 System.out.println("lalr_state [" + st.index() + "] {"); in dump_state()
172 itms = st.items(); in dump_state()
206 for (Enumeration st = all(); st.hasMoreElements(); ) in propagate_all_lookaheads()
209 ((lalr_state)st.nextElement()).propagate_lookaheads(); in propagate_all_lookaheads()
280 lalr_state st, new_st; in build_machine() local
314 st = (lalr_state)work_stack.pop(); in build_machine()
318 for (i = st.items().all(); i.hasMoreElements(); ) in build_machine()
338 for (i = st.items().all(); i.hasMoreElements();) in build_machine()
[all …]
DMain.java553 for (Enumeration st = lalr_state.all(); st.hasMoreElements(); ) in build_parser()
555 ((lalr_state)st.nextElement()).build_table_entries( in build_parser()
831 lalr_state st = (lalr_state)s.nextElement();
832 ordered[st.index()] = st;
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java150 SurfaceTexture st = mGLView.getSurfaceTexture(); in setSurfaceForNative() local
151 Assert.assertNotNull(st); in setSurfaceForNative()
152 Surface s = new Surface(st); in setSurfaceForNative()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java201 SurfaceTexture st = new SurfaceTexture(/*random int*/ 5); in testCamera1() local
202 st.setOnFrameAvailableListener(listener); in testCamera1()
204 camera.setPreviewTexture(st); in testCamera1()
DExtendedCameraCharacteristicsTest.java1897 SurfaceTexture st = new SurfaceTexture(1); in testStreamConfigurationMap() local
1898 Surface surf = new Surface(st); in testStreamConfigurationMap()
1919 st.setDefaultBufferSize(size.getWidth(), size.getHeight()); in testStreamConfigurationMap()
1930 st.setDefaultBufferSize(invalidSize.getWidth(), invalidSize.getHeight()); in testStreamConfigurationMap()
/cts/tests/openglperf2/jni/
DTrace.h22 #define SCOPED_TRACE() android::ScopedTrace st(ATRACE_TAG, __func__)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java203 for (String st : RESTRICTION_IDS_FOR_POLICY_TRANSPARENCY) { in getUserRestrictionsForPolicyTransparency()
204 if (!st.equals(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE) in getUserRestrictionsForPolicyTransparency()
205 && !st.equals(UserManager.DISALLOW_UNIFIED_PASSWORD)) { in getUserRestrictionsForPolicyTransparency()
206 result.add(st); in getUserRestrictionsForPolicyTransparency()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py353 p1, st, _ = cv2.calcOpticalFlowPyrLK(gframe0, gframe1, p0_filtered,
355 tform = procrustes_rotation(p0_filtered[st == 1], p1[st == 1])
368 for x, y in p0_filtered[st == 1]:
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DCtsMediaTextureRender.java101 public void drawFrame(SurfaceTexture st) { in drawFrame() argument
103 st.getTransformMatrix(mSTMatrix); in drawFrame()
DCtsMediaOutputSurface.java302 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java673 try (InputStream st = mResolver.openInputStream(uri)) { in testAllFileOperations()
685 try (OutputStream st = mResolver.openOutputStream(uri)) { in testAllFileOperations()
/cts/tests/tests/media/assets/hls_variant/344388/
D13.ts282 �a�C��uw-^�Ԑ9�����/;Dg��JR�4�/�V�l���oO�s�E�=����o����&���st�Ӭ�͓ơ�xp�Ý���I�
1300 �g`����d@� �<�ߒX}z)s%�����W+��t��r0a��Q���#���|����/�zc��o���_;�4H�`a<f����WhN�T�9st��dNp�%…
/cts/tests/tests/media/assets/hls_variant/387360/
D10.ts513 ?��,st�"x���n|3������W�b��
1095 �B�^�#��4�cb�� ł�ul|�ݡ�iu;��Sˮ��8st�K��ɚAV5��1��\�j�^.b�ը4� =��q\{�hF�6����)�Mk��n����u��W��…
D24.ts1028 b�`��6-�B��`�3�bma�xO/��������st�jt1i2�bk%Bm^n���,�V�@����p6�J,�G��@C�`�3͘�� ߘW��^�X����ɠ…
1163 …��8G�0 ���uE���!a0GA�����!�TC��P@"��*-tF)�bT�sR=V9�5�RWiq�st�e����~�ܿ��w^�{Ώ�&�7…
/cts/tests/tests/media/assets/hls_variant/165340/
D06.ts134 d�����st�Z�Kw�F.^}!�U*�CDlW�q kp�6+������kx��o�RҒ�/�H y,�Du�a��F��}I�G�Ep���"͞\ �9��=��…

1234