Home
last modified time | relevance | path

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

/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/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/openglperf2/jni/
DTrace.h22 #define SCOPED_TRACE() android::ScopedTrace st(ATRACE_TAG, __func__)
/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.java197 SurfaceTexture st = new SurfaceTexture(/*random int*/ 5); in testCamera1() local
198 st.setOnFrameAvailableListener(listener); in testCamera1()
200 camera.setPreviewTexture(st); in testCamera1()
DExtendedCameraCharacteristicsTest.java1199 SurfaceTexture st = new SurfaceTexture(1); in testStreamConfigurationMap() local
1200 Surface surf = new Surface(st); in testStreamConfigurationMap()
1221 st.setDefaultBufferSize(size.getWidth(), size.getHeight()); in testStreamConfigurationMap()
1232 st.setDefaultBufferSize(invalidSize.getWidth(), invalidSize.getHeight()); in testStreamConfigurationMap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java213 for (String st : RESTRICTION_IDS_FOR_POLICY_TRANSPARENCY) { in getUserRestrictionsForPolicyTransparency()
214 if (!st.equals(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE) in getUserRestrictionsForPolicyTransparency()
215 && !st.equals(UserManager.DISALLOW_UNIFIED_PASSWORD)) { in getUserRestrictionsForPolicyTransparency()
216 result.add(st); in getUserRestrictionsForPolicyTransparency()
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py352 p1, st, _ = cv2.calcOpticalFlowPyrLK(gframe0, gframe1, p0_filtered,
354 tform = procrustes_rotation(p0_filtered[st == 1], p1[st == 1])
367 for x, y in p0_filtered[st == 1]:
/cts/tests/tests/media/src/android/media/cts/
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.java1063 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
1066 st.getTransformMatrix(textureTransform); in onFrameAvailable()
DVideoEncoderTest.java768 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
/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/tools/vm-tests-tf/lib/
Djunit.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/awtui/ junit/ ...
/cts/tests/tests/media/assets/
Dsegment000000.ts97 …��;2��������+��h!˛ɣb�D�� s�z���L�����g�\͂�X�0��:����;�� ��!���y�G�o�hl�<st��K�!F8p[cf��4S����…
4594 ….^:u=st�׫���]�,Qa֛`�4�(P|�7T<M�h����]p�.�ؑ����$ H��Р pֈ���P���L�� .�_�(����H�k��…