Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 120) sorted by relevance

12345

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-6262/
Dpoc.c31 static int drm_version(int fd) { in drm_version()
48 static uint32_t nouveau_gem_ioctl_new(int fd) { in nouveau_gem_ioctl_new()
63 static void nouveau_gem_ioctl_map(int fd, uint32_t handle) { in nouveau_gem_ioctl_map()
76 int fd; in main() local
/cts/tests/tests/media/src/android/media/cts/
DNativeEncoderTest.java77 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncode() local
83 private static native boolean testEncodeSurfaceNative(int fd, long offset, long size, in testEncodeSurfaceNative()
113 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncodeDynamicSyncFrame() local
119 …private static native boolean testEncodeSurfaceDynamicSyncFrameNative(int fd, long offset, long si… in testEncodeSurfaceDynamicSyncFrameNative()
149 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncodeDynamicBitrate() local
155 …private static native boolean testEncodeSurfaceDynamicBitrateNative(int fd, long offset, long size, in testEncodeSurfaceDynamicBitrateNative()
185 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testEncodePersistentSurface() local
192 private static native boolean testEncodePersistentSurfaceNative(int fd, long offset, long size, in testEncodePersistentSurfaceNative()
DNativeDecoderTest.java184 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testExtractor() local
216 private static int[] getSampleSizes(FileDescriptor fd, long offset, long size) in getSampleSizes()
269 private static native int[] getSampleSizesNative(int fd, long offset, long size); in getSampleSizesNative()
280 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testExtractorFileDurationNative() local
304 private static native long getExtractorFileDurationNative(int fd, long offset, long size); in getExtractorFileDurationNative()
380 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testDecoder() local
400 private static int[] getDecodedData(FileDescriptor fd, long offset, long size) in getDecodedData()
553 private static native int[] getDecodedDataNative(int fd, long offset, long size, boolean wrapFd, in getDecodedDataNative()
583 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testVideoPlayback() local
592 int fd, long startOffset, long length); in testPlaybackNative()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-5862/
Dpoc.c33 unsigned int get_speakerid(int fd) { in get_speakerid()
57 int fd = -1; in main() local
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java95 FileDescriptor fd = createReadOnlyFileDescriptor( in testConstructor_FD() local
112 FileDescriptor fd = createReadOnlyFileDescriptor( in testIteration_FD() local
162 FileDescriptor fd = createReadOnlyFileDescriptor( in testFindEntry_FD() local
190 FileDescriptor fd = createReadOnlyFileDescriptor( in testGetManifest_FD() local
213 FileDescriptor fd = createReadOnlyFileDescriptor( in testJarSigning_wellFormed_FD() local
242 FileDescriptor fd = createReadOnlyFileDescriptor( in testJarSigning_fudgedEntry_FD() local
272 FileDescriptor fd = createReadOnlyFileDescriptor( in testJarSigning_modifiedClass_FD() local
339 FileDescriptor fd = createReadOnlyFileDescriptor( in verifyThrowsOnInitFD() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-5867/
Dpoc.c35 unsigned int get_doblycontrolid(int fd) { in get_doblycontrolid()
59 int fd = -1; in main() local
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteStatementTest.java247 ParcelFileDescriptor fd = stm.simpleQueryForBlobFileDescriptor(); in doTestSimpleQueryForBlobFileDescriptorSuccess() local
257 ParcelFileDescriptor fd = stm.simpleQueryForBlobFileDescriptor(); in testSimpleQueryForBlobFileDescriptorSuccessParam() local
266 ParcelFileDescriptor fd = null; in testGetBlobFailureNoParam() local
287 ParcelFileDescriptor fd = null; in testGetBlobFailureParam() local
324 private static void assertFileDescriptorContent(byte[] expected, ParcelFileDescriptor fd) in assertFileDescriptorContent()
/cts/tests/tests/net/native/dns/
DNativeDnsAsyncTest.cpp37 int getAsyncResponse(int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
78 void expectAnswersValid(int fd, int ipType, int expectedRcode) { in expectAnswersValid()
95 void expectAnswersNotValid(int fd, int expectedErrno) { in expectAnswersNotValid()
195 int fd = android_res_nquery( in TEST() local
208 int fd = android_res_nquery( in TEST() local
227 int fd = android_res_nsend(NETWORK_UNSPECIFIED, buf, 10, 0); in TEST() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0426/
Dpoc.c36 int fd = lstat("/bugreports", &buf); in main() local
/cts/hostsidetests/securitybulletin/securityPatch/Bug-38195738/
Dpoc.c28 int fd = open("/dev/kgsl-3d0", 0); in main() local
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.cpp80 int getAsyncResponse(JNIEnv* env, int fd, int timeoutMs, int* rcode, uint8_t* buf, size_t bufLen) { in getAsyncResponse()
123 int expectAnswersValid(JNIEnv* env, int fd, int family, int expectedRcode) { in expectAnswersValid()
139 int expectAnswersNotValid(JNIEnv* env, int fd, int expectedErrno) { in expectAnswersNotValid()
156 int fd = android_res_nquery(handle, kHostname, ns_c_in, ns_t_a, 0); in Java_android_net_cts_MultinetworkApiTest_runResNqueryCheck() local
217 int fd = android_res_nquery(handle, kNxDomainName, ns_c_in, ns_t_a, 0); in Java_android_net_cts_MultinetworkApiTest_runResNnxDomainCheck() local
253 int fd = android_res_nquery(handle, kGoogleName, ns_c_in, ns_t_a, 0); in Java_android_net_cts_MultinetworkApiTest_runResNcancelCheck() local
268 int fd = android_res_nquery(handle, "", ns_c_in, ns_t_a, 0); in Java_android_net_cts_MultinetworkApiTest_runResNapiMalformedCheck() local
356 int fd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork() local
417 int fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() local
/cts/hostsidetests/appbinding/app/src/com/android/cts/appbinding/app/
DMyService.java25 protected void dump(FileDescriptor fd, PrintWriter writer, String[] args) { in dump()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c266 void enter_looper(int fd) { in enter_looper()
272 void init_binder(int fd) { in init_binder()
280 int fd = open("/dev/binder", O_RDONLY); in open_binder() local
287 static inline void binder_rw(int fd, void *rbuf, u32 rsize, in binder_rw()
303 void binder_read(int fd, void *rbuf, u32 rsize, u32 *read_consumed) { in binder_read()
307 static inline void binder_write(int fd, buf_t *buf) { in binder_write()
315 void do_send_txn(int fd, u32 to, u32 code, buf_t *trdat, buf_t *troff, int oneway, int is_reply, bi… in do_send_txn()
337 void send_txn(int fd, u32 to, u32 code, buf_t *trdat, buf_t *troff) { in send_txn()
341 void send_reply(int fd) { in send_reply()
345 static inline void chg_ref(int fd, unsigned desc, u32 cmd) { in chg_ref()
[all …]
/cts/tests/tests/security/src/android/security/cts/
DFileDescriptorTest.java65 FileDescriptor fd = new FileDescriptor(); in testCLOEXEC() local
/cts/tests/tests/os/src/android/os/cts/
DISeccompIsolatedService.aidl29 boolean writeToFile(in ParcelFileDescriptor fd); in writeToFile()
DMessageQueueTest.java418 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks1()
448 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks1()
500 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks2()
530 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks2()
590 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks3()
674 public int onFileDescriptorEvents(FileDescriptor fd, int events) { in testPathologicalFileDescriptorReuseCallbacks4()
809 int fd = oldPipe[0].detachFd(); in hijackFd() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9424/
Dpoc.cpp35 MyMemoryHeap(int fd) { mFd = fd; } in MyMemoryHeap()
82 int fd = ashmem_create_region("ele7enxxh", 4096); in set_heap() local
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_SyncTest.cpp82 jobject syncFileInfo(JNIEnv* /*env*/, jclass /*clazz*/, jint fd) { in syncFileInfo()
90 void syncClose(int fd) { in syncClose()
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py31 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, chart): argument
/cts/hostsidetests/cpptools/test-apps/ConnectorNativeProgram/
Dconnector.cpp42 int fd; in main() local
/cts/tests/tests/os/jni/
Dandroid_os_cts_SharedMemory.cpp25 int fd = ASharedMemory_dupFromJava(env, jSharedMemory); in nWriteByte() local
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java394 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd()
424 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_ttc()
455 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_vf()
486 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_override()
510 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_override()
541 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_subdata()
573 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_subdata_ttc()
607 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_subdata_vf()
640 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_subdata_override()
666 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_subdata_override()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DSyncTest.java119 private static native SyncFileInfo nSyncFileInfo(int fd); in nSyncFileInfo()
120 private static native void nSyncClose(int fd); in nSyncClose()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testAutoCloseOutputStream() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0334/
Dpoc.c33 int fd, rc; in main() local

12345