Home
last modified time | relevance | path

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

12

/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()
Dandroid_security_cts_cve_2019_2213_Test.c847 struct stat st; in map_path() local
848 if (fstat(fd, &st) < 0) in map_path()
850 void *map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in map_path()
853 *size = st.st_size; in map_path()
1027 struct stat st; in locate_hooks() local
1028 if (fstat(fd, &st) < 0) in locate_hooks()
1030 if (!S_ISLNK(st.st_mode)) in locate_hooks()
/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.java67 public void onSurfaceTextureAvailable(SurfaceTexture st, int width, int height) { in onSurfaceTextureAvailable() argument
69 final Surface s = new Surface(st); in onSurfaceTextureAvailable()
75 public void onSurfaceTextureSizeChanged(SurfaceTexture st, int width, int height) { in onSurfaceTextureSizeChanged() argument
79 public boolean onSurfaceTextureDestroyed(SurfaceTexture st) { in onSurfaceTextureDestroyed() argument
84 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.java1062 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
1065 st.getTransformMatrix(textureTransform); in onFrameAvailable()
DVideoEncoderTest.java807 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
/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/openglperf2/jni/
DTrace.h22 #define SCOPED_TRACE() android::ScopedTrace st(ATRACE_TAG, __func__)
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java213 SurfaceTexture st = new SurfaceTexture(/*random int*/ 5); in testCamera1() local
214 st.setOnFrameAvailableListener(listener); in testCamera1()
216 camera.setPreviewTexture(st); in testCamera1()
DExtendedCameraCharacteristicsTest.java2076 SurfaceTexture st = new SurfaceTexture(1); in testStreamConfigurationMap() local
2077 Surface surf = new Surface(st); in testStreamConfigurationMap()
2098 st.setDefaultBufferSize(size.getWidth(), size.getHeight()); in testStreamConfigurationMap()
2109 st.setDefaultBufferSize(invalidSize.getWidth(), invalidSize.getHeight()); in testStreamConfigurationMap()
/cts/tests/tests/identity/src/android/security/identity/cts/
DDynamicAuthTest.java513 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthWithExpirationTest()
519 st, in dynamicAuthWithExpirationTest()
543 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthWithExpirationTest()
549 st, in dynamicAuthWithExpirationTest()
572 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthWithExpirationTest()
578 st, in dynamicAuthWithExpirationTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUserRestrictions.java243 for (String st : RESTRICTION_IDS_FOR_POLICY_TRANSPARENCY) { in getUserRestrictionsForPolicyTransparency()
244 if (!st.equals(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE) in getUserRestrictionsForPolicyTransparency()
245 && !st.equals(UserManager.DISALLOW_UNIFIED_PASSWORD)) { in getUserRestrictionsForPolicyTransparency()
246 result.add(st); in getUserRestrictionsForPolicyTransparency()
/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/media/src/android/mediav2/cts/
DTextureRender.java95 public void drawFrame(SurfaceTexture st) { in drawFrame() argument
97 st.getTransformMatrix(mSTMatrix); in drawFrame()
DOutputSurface.java302 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
DIPCThreadState.h120 static void threadDestructor(void *st);
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py358 p1, st, _ = cv2.calcOpticalFlowPyrLK(gframe0, gframe1, p0_filtered, None,
360 tform = _procrustes_rotation(p0_filtered[st == 1], p1[st == 1])
372 for x, y in p0_filtered[st == 1]:
/cts/hostsidetests/incident/src/com/android/server/cts/
DPackageIncidentTest.java50 final long st = System.currentTimeMillis(); in testPackageServiceDump() local
/cts/tests/tests/contactsprovider/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/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��=��…
/cts/tests/tests/media/assets/hls_variant/387360/
D06.ts975 …B�G�b�� �P�� ��Ҧ������U��b�_E�,[Ύ���e}�d��x>�`";�*��Ә�ڠ-F�9�g2����st|����<*����I�0������…

12