Home
last modified time | relevance | path

Searched refs:st (Results 1 – 25 of 31) 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.c848 struct stat st; in map_path() local
849 if (fstat(fd, &st) < 0) in map_path()
851 void *map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in map_path()
854 *size = st.st_size; in map_path()
1028 struct stat st; in locate_hooks() local
1029 if (fstat(fd, &st) < 0) in locate_hooks()
1031 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/common/src/android/media/cts/
DMediaStubActivity2.java68 public void onSurfaceTextureAvailable(SurfaceTexture st, int width, int height) { in onSurfaceTextureAvailable() argument
70 final Surface s = new Surface(st); in onSurfaceTextureAvailable()
76 public void onSurfaceTextureSizeChanged(SurfaceTexture st, int width, int height) { in onSurfaceTextureSizeChanged() argument
80 public boolean onSurfaceTextureDestroyed(SurfaceTexture st) { in onSurfaceTextureDestroyed() argument
85 public void onSurfaceTextureUpdated(SurfaceTexture st) { in onSurfaceTextureUpdated() argument
DTextureRender.java104 public void drawFrame(SurfaceTexture st) { in drawFrame() argument
106 st.getTransformMatrix(mSTMatrix); in drawFrame()
DOutputSurface.java357 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
/cts/tests/tests/graphics/src/android/graphics/cts/
DHardwareRendererTest.java65 SurfaceTexture st = new SurfaceTexture(true); in lockHardwareCanvasSingleBuffer() local
66 st.setDefaultBufferSize(50, 50); in lockHardwareCanvasSingleBuffer()
67 Surface surface = new Surface(st); in lockHardwareCanvasSingleBuffer()
/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/tests/identity/src/android/security/identity/cts/
DDynamicAuthTest.java511 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthWithExpirationTest()
517 st, in dynamicAuthWithExpirationTest()
541 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthWithExpirationTest()
547 st, in dynamicAuthWithExpirationTest()
570 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthWithExpirationTest()
576 st, in dynamicAuthWithExpirationTest()
642 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthMinValidTimeTest()
648 st, in dynamicAuthMinValidTimeTest()
675 byte[] st = Util.buildSessionTranscript(ekp); in dynamicAuthMinValidTimeTest()
681 st, in dynamicAuthMinValidTimeTest()
[all …]
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java214 SurfaceTexture st = new SurfaceTexture(/*random int*/ 5); in testCamera1() local
215 st.setOnFrameAvailableListener(listener); in testCamera1()
217 camera.setPreviewTexture(st); in testCamera1()
DCameraGPURecordingTest.java560 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
631 public void drawFrame(SurfaceTexture st) { in drawFrame() argument
633 st.getTransformMatrix(mSTMatrix); in drawFrame()
/cts/hostsidetests/incrementalinstall/appvalidator/src/android/incrementalinstall/inrementaltestappvalidation/
DAppValidationTest.java98 StructStat st = in testInstallationTypeAndVersion() local
100 assertEquals("App parent directory may not be world-readable", 0771, st.st_mode & 0777); in testInstallationTypeAndVersion()
/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/tests/mediapc/src/android/mediapc/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/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/common/src/android/mediav2/common/cts/
DTextureRender.java125 public void drawFrame(SurfaceTexture st) { in drawFrame() argument
127 st.getTransformMatrix(mSTMatrix); in drawFrame()
DOutputSurface.java342 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/utils/
Dsensor_fusion_utils.py543 p1, st, _ = cv2.calcOpticalFlowPyrLK(gframe0, gframe1, p0_filtered, None,
545 tform = procrustes_rotation(p0_filtered[st == 1], p1[st == 1])
557 for x, y in np.rint(p0_filtered[st == 1]).astype(int):
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java693 try (InputStream st = mResolver.openInputStream(uri)) { in testAllFileOperations()
705 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/decoder/src/android/media/decoder/cts/
DDecodeAccuracyTestBase.java1085 public void onFrameAvailable(SurfaceTexture st) { in onFrameAvailable() argument
1088 st.getTransformMatrix(textureTransform); in onFrameAvailable()

12