Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 25 of 44) 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/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.cpp50 int fd = syscall(__NR_perf_event_open, attr, 0, -1, -1, 0); in android_security_cts_NativeCodeTest_doPerfEventTest() local
75 int fd[2]; in android_security_cts_NativeCodeTest_doPerfEventTest2() local
128 static void* mmap_syscall(void* addr, size_t len, int prot, int flags, int fd, off_t offset) in mmap_syscall()
147 int fd = open("/dev/mali0", O_RDWR); in android_security_cts_NativeCodeTest_doCVE20141710Test() local
263 static int fd[2]; variable
Dandroid_security_cts_MMapExecutableTest.cpp42 int fd = open(filename.c_str(), O_RDONLY); in mmap_executable() local
/cts/apps/CameraITS/tests/scene3/
Dtest_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface): argument
Dtest_reprocess_edge_enhancement.py28 def test_edge_mode(cam, edge_mode, sensitivity, exp, fd, out_surface, argument
/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()
595 AssetFileDescriptor fd = mResources.openRawResourceFd(res); in testPssh() local
617 private static native boolean testPsshNative(int fd, long offset, long size); in testPsshNative()
DUtils.java85 ParcelFileDescriptor fd = null; in toggleNotificationPolicyAccess() 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/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testAutoCloseOutputStream() local
DAssetFileDescriptorTest.java73 ParcelFileDescriptor fd = ParcelFileDescriptor.open( in testConstructor() local
DAssetFileDescriptor_AutoCloseInputStreamTest.java161 ParcelFileDescriptor fd = in openInput() local
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java486 FileDescriptor fd = mRemoteSocketFactoryClient.openSocketFd(host, port, TIMEOUT_MS); in openSocketFdInOtherApp() local
490 private void sendRequest(FileDescriptor fd, String host) throws Exception { in sendRequest()
507 private void assertSocketStillOpen(FileDescriptor fd, String host) throws Exception { in assertSocketStillOpen()
515 private void assertSocketClosed(FileDescriptor fd, String host) throws Exception { in assertSocketClosed()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DServiceControlUtils.java58 ParcelFileDescriptor fd = uiAutomation.executeShellCommand("settings --user cur put secure " in enableSpeakingAndVibratingServices() local
/cts/suite/audio_quality/lib/src/audio/
DAudioPlaybackLocal.cpp101 int fd; in doStop() member
/cts/tests/tests/print/src/android/print/cts/
DPrinterInfoTest.java98 ParcelFileDescriptor fd = (ParcelFileDescriptor) args[1]; in createMockPrintDocumentAdapter() local
DPrintServicesTest.java125 ParcelFileDescriptor fd = (ParcelFileDescriptor) args[1]; in createMockPrintDocumentAdapter() local
DPrintJobTest.java105 ParcelFileDescriptor fd = (ParcelFileDescriptor) args[1]; in createMockPrintDocumentAdapter() 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/net/src/android/net/cts/
DMultinetworkSysctlTest.java63 FileDescriptor fd = Os.open(fileName, 0, OsConstants.O_RDONLY); in readFile() local
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/
DPingReflector.java37 public PingReflector(FileDescriptor fd, int mtu) { in PingReflector()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DShellCommandBuilder.java73 try (ParcelFileDescriptor fd = automation.executeShellCommand(command)) { in execShellCommand()
/cts/tests/aslr/src/
DAslrMallocTest.cpp84 for (auto fd : fds) { in GetAddress() 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()

12