Home
last modified time | relevance | path

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

12

/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/media/src/android/media/cts/
DNativeDecoderTest.java114 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testExtractor() local
132 private static int[] getSampleSizes(FileDescriptor fd, long offset, long size) in getSampleSizes()
182 private static native int[] getSampleSizesNative(int fd, long offset, long size); in getSampleSizesNative()
210 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testDecoder() local
225 private static int[] getDecodedData(FileDescriptor fd, long offset, long size) in getDecodedData()
386 private static native int[] getDecodedDataNative(int fd, long offset, long size) in getDecodedDataNative()
411 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testVideoPlayback() local
420 int fd, long startOffset, long length); in testPlaybackNative()
492 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testPssh() local
514 private static native boolean testPsshNative(int fd, long offset, long size); in testPsshNative()
DSoundPoolTest.java105 FileDescriptor fd = afd.getFileDescriptor(); in testLoad() local
/cts/tests/tests/security/jni/
Dandroid_security_cts_CharDeviceTest.cpp37 int fd = open("/dev/exynos-mem", O_RDWR); in android_security_cts_CharDeviceTest_doExynosWriteTest() local
75 int fd = open("/dev/exynos-mem", O_RDONLY); in android_security_cts_CharDeviceTest_doExynosReadTest() local
Dandroid_security_cts_NativeCodeTest.cpp48 int fd = syscall(__NR_perf_event_open, attr, 0, -1, -1, 0); in android_security_cts_NativeCodeTest_doPerfEventTest() local
73 int fd[2]; in android_security_cts_NativeCodeTest_doPerfEventTest2() local
126 static void* mmap_syscall(void* addr, size_t len, int prot, int flags, int fd, off_t offset) in mmap_syscall()
145 int fd = open("/dev/mali0", O_RDWR); in android_security_cts_NativeCodeTest_doCVE20141710Test() local
Dandroid_security_cts_MMapExecutableTest.cpp42 int fd = open(filename.c_str(), O_RDONLY); in mmap_executable() local
/cts/apps/CameraITS/tests/scene3/
Dtest_reprocess_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, argument
/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
DSeccompTest.java253 ParcelFileDescriptor fd = null; in doFileWriteTest() local
DParcelFileDescriptorTest.java130 private static void assertFileDescriptorContent(byte[] expected, ParcelFileDescriptor fd) in assertFileDescriptorContent()
152 FileDescriptor fd = pfd.getFileDescriptor(); in testFromDataSkip() local
DBinderTest.java373 public void dump(FileDescriptor fd, PrintWriter fout, String[] args) { in dump()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testAutoCloseOutputStream() local
DAssetFileDescriptor_AutoCloseInputStreamTest.java161 ParcelFileDescriptor fd = in openInput() local
/cts/suite/audio_quality/lib/src/audio/
DAudioPlaybackLocal.cpp101 int fd; in doStop() member
DRemoteAudio.cpp138 int RemoteAudio::socketRxCallback(int fd, int events, void* data) in socketRxCallback()
/cts/tests/tests/net/src/android/net/cts/
DLocalSocketTest.java66 FileDescriptor fd = clientSocket.getFileDescriptor(); in testLocalConnections() local
DMultinetworkSysctlTest.java63 FileDescriptor fd = Os.open(fileName, 0, OsConstants.O_RDONLY); in readFile() local
/cts/tests/tests/net/jni/
DNativeMultinetworkJni.c76 int fd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in Java_android_net_cts_MultinetworkApiTest_runSetsocknetwork() local
136 int fd = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in Java_android_net_cts_MultinetworkApiTest_runDatagramCheck() local
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp151 jclass /*clazz*/, int fd, jlong offset, jlong size) in Java_android_media_cts_NativeDecoderTest_getSampleSizesNative()
221 jclass /*clazz*/, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_getDecodedDataNative()
372 jclass /*clazz*/, jobject surface, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_testPlaybackNative()
576 jclass /*clazz*/, int fd, jlong offset, jlong size) { in Java_android_media_cts_NativeDecoderTest_testPsshNative()
/cts/tests/tests/drm/lib/
DTestPlugin.cpp99 String8 TestPlugIn::onGetOriginalMimeType(int uniqueId, const String8& path, int fd) { in onGetOriginalMimeType()
150 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) { in onOpenDecryptSession()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DPacketReflector.java58 public PacketReflector(FileDescriptor fd, int mtu) { in PacketReflector()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvContractTest.java280 try (AssetFileDescriptor fd = mContentResolver.openAssetFileDescriptor(logoUri, "r")) { in verifyLogoIsReadable()
299 try (AssetFileDescriptor fd = mContentResolver.openAssetFileDescriptor(logoUri, "w")) { in testChannelLogo()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java625 private static void assertFileDescriptorContent(byte[] expected, ParcelFileDescriptor fd) in assertFileDescriptorContent()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java146 FileDescriptor fd = pfd.getFileDescriptor(); in testNewInstanceStringAndFileDescriptor() local

12