Home
last modified time | relevance | path

Searched refs:FileDescriptor (Results 1 – 25 of 48) sorted by relevance

12

/system/update_engine/payload_consumer/
Dverity_writer_android.h54 bool Compute(FileDescriptor* _read_fd, FileDescriptor* _write_fd);
68 FileDescriptor* read_fd_;
69 FileDescriptor* write_fd_;
89 bool Finalize(FileDescriptor* read_fd, FileDescriptor* write_fd) override;
90 bool IncrementalFinalize(FileDescriptor* read_fd,
91 FileDescriptor* write_fd) override;
100 static bool EncodeFEC(FileDescriptor* read_fd,
101 FileDescriptor* write_fd,
Dfile_descriptor.h45 class FileDescriptor; variable
46 using FileDescriptorPtr = std::shared_ptr<FileDescriptor>;
49 class FileDescriptor {
51 FileDescriptor() {} in FileDescriptor() function
52 virtual ~FileDescriptor() {} in ~FileDescriptor()
114 DISALLOW_COPY_AND_ASSIGN(FileDescriptor);
118 class EintrSafeFileDescriptor final : public FileDescriptor {
Dcached_file_descriptor.h32 class CachedFileDescriptorBase : public FileDescriptor {
61 virtual FileDescriptor* GetFd() = 0;
80 virtual FileDescriptor* GetFd() { return fd_.get(); } in GetFd()
86 UnownedCachedFileDescriptor(FileDescriptor* fd, size_t cache_size) in UnownedCachedFileDescriptor()
89 void SetFD(FileDescriptor* fd);
92 virtual FileDescriptor* GetFd() { return fd_; } in GetFd()
93 FileDescriptor* fd_;
Dverity_writer_interface.h44 virtual bool Finalize(FileDescriptor* read_fd, FileDescriptor* write_fd) { in Finalize()
52 virtual bool IncrementalFinalize(FileDescriptor* read_fd,
53 FileDescriptor* write_fd) = 0;
Dverity_writer_android.cc70 bool IncrementalEncodeFEC::Compute(FileDescriptor* _read_fd, in Compute()
71 FileDescriptor* _write_fd) { in Compute()
237 bool VerityWriterAndroid::Finalize(FileDescriptor* read_fd, in Finalize()
238 FileDescriptor* write_fd) { in Finalize()
278 bool VerityWriterAndroid::IncrementalFinalize(FileDescriptor* read_fd, in IncrementalFinalize()
279 FileDescriptor* write_fd) { in IncrementalFinalize()
328 bool VerityWriterAndroid::EncodeFEC(FileDescriptor* read_fd, in EncodeFEC()
329 FileDescriptor* write_fd, in EncodeFEC()
Dcow_writer_file_descriptor.h30 class CowWriterFileDescriptor final : public FileDescriptor {
36 std::unique_ptr<FileDescriptor> cow_reader,
Dfilesystem_verifier_action.h90 void WriteVerityData(FileDescriptor* fd,
143 std::unique_ptr<FileDescriptor> partition_fd_;
Dfec_file_descriptor.h33 class FecFileDescriptor : public FileDescriptor {
Dcached_file_descriptor.cc99 void UnownedCachedFileDescriptor::SetFD(FileDescriptor* fd) { in SetFD()
Dfake_file_descriptor.h36 class FakeFileDescriptor : public FileDescriptor {
/system/tools/aidl/tests/android/aidl/tests/
DICppJavaTests.aidl41 FileDescriptor RepeatFileDescriptor(in FileDescriptor read); in RepeatFileDescriptor()
42 FileDescriptor[] ReverseFileDescriptorArray( in ReverseFileDescriptorArray()
43 in FileDescriptor[] input, out FileDescriptor[] repeated); in ReverseFileDescriptorArray()
/system/tools/aidl/tests/golden_output/aidl-cpp-java-test-interface-java-source/gen/android/aidl/tests/
DICppJavaTests.java37 …@Override public java.io.FileDescriptor RepeatFileDescriptor(java.io.FileDescriptor read) throws a… in RepeatFileDescriptor()
41 …@Override public java.io.FileDescriptor[] ReverseFileDescriptorArray(java.io.FileDescriptor[] inpu… in ReverseFileDescriptorArray()
217 java.io.FileDescriptor _arg0; in onTransact()
220 java.io.FileDescriptor _result = this.RepeatFileDescriptor(_arg0); in onTransact()
227 java.io.FileDescriptor[] _arg0; in onTransact()
229 java.io.FileDescriptor[] _arg1; in onTransact()
234 _arg1 = new java.io.FileDescriptor[_arg1_length]; in onTransact()
237 java.io.FileDescriptor[] _result = this.ReverseFileDescriptorArray(_arg0, _arg1); in onTransact()
383 …@Override public java.io.FileDescriptor RepeatFileDescriptor(java.io.FileDescriptor read) throws a… in RepeatFileDescriptor()
387 java.io.FileDescriptor _result; in RepeatFileDescriptor()
[all …]
/system/tools/aidl/tests/golden_output/frozen/aidl-cpp-java-test-interface-java-source/gen/android/aidl/tests/
DICppJavaTests.java37 …@Override public java.io.FileDescriptor RepeatFileDescriptor(java.io.FileDescriptor read) throws a… in RepeatFileDescriptor()
41 …@Override public java.io.FileDescriptor[] ReverseFileDescriptorArray(java.io.FileDescriptor[] inpu… in ReverseFileDescriptorArray()
217 java.io.FileDescriptor _arg0; in onTransact()
220 java.io.FileDescriptor _result = this.RepeatFileDescriptor(_arg0); in onTransact()
227 java.io.FileDescriptor[] _arg0; in onTransact()
229 java.io.FileDescriptor[] _arg1; in onTransact()
234 _arg1 = new java.io.FileDescriptor[_arg1_length]; in onTransact()
237 java.io.FileDescriptor[] _result = this.ReverseFileDescriptorArray(_arg0, _arg1); in onTransact()
383 …@Override public java.io.FileDescriptor RepeatFileDescriptor(java.io.FileDescriptor read) throws a… in RepeatFileDescriptor()
387 java.io.FileDescriptor _result; in RepeatFileDescriptor()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dmock_cow_writer.h24 using FileDescriptor = chromeos_update_engine::FileDescriptor;
40 MOCK_METHOD(std::unique_ptr<FileDescriptor>, OpenFileDescriptor,
Dcow_writer.h72 using FileDescriptor = chromeos_update_engine::FileDescriptor;
116 virtual std::unique_ptr<FileDescriptor> OpenFileDescriptor(
Dcow_reader.h28 class FileDescriptor; variable
39 using FileDescriptor = chromeos_update_engine::FileDescriptor;
/system/vold/binder/android/os/
DIVoldMountCallback.aidl21 boolean onVolumeChecking(FileDescriptor fuseFd, @utf8InCpp String path, in onVolumeChecking()
DIVold.aidl80 FileDescriptor mountAppFuse(int uid, int mountId); in mountAppFuse()
129 FileDescriptor openAppFuseFile(int uid, int mountId, int fileId, int flags); in openAppFuseFile()
/system/tools/aidl/tests/corpus/
Djava_map1 …er_out\ .\ tests/IFoo.aidl\ interface IFoo { boolean getFds(out Map<String,FileDescriptor> fds); }
/system/tools/aidl/tests/java/src/android/aidl/service/
DTestServiceServer.java60 import java.io.FileDescriptor;
702 public FileDescriptor RepeatFileDescriptor(FileDescriptor read) throws RemoteException { in RepeatFileDescriptor()
706 public FileDescriptor[] ReverseFileDescriptorArray( in ReverseFileDescriptorArray()
707 FileDescriptor[] input, FileDescriptor[] repeated) throws RemoteException { in ReverseFileDescriptorArray()
708 FileDescriptor[] reversed = new FileDescriptor[input.length]; in ReverseFileDescriptorArray()
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dsnapshot_reader.h29 class CompressedSnapshotReader : public chromeos_update_engine::FileDescriptor {
/system/update_engine/common/
Dmock_dynamic_partition_control.h48 MOCK_METHOD(std::unique_ptr<FileDescriptor>,
Ddynamic_partition_control_stub.h72 std::unique_ptr<FileDescriptor> OpenCowFd(
/system/core/init/
Dservice_utils.h74 struct FileDescriptor { struct
/system/tools/aidl/tests/java/src/android/aidl/tests/
DTestServiceClient.java59 import java.io.FileDescriptor;
514 private void writeToFd(FileDescriptor fd, byte[] testData) throws IOException { in writeToFd()
536 FileDescriptor descriptor = fos.getFD(); in testFileDescriptorPassing()
537 FileDescriptor journeyed = cpp_java_tests.RepeatFileDescriptor(descriptor); in testFileDescriptorPassing()
554 FileDescriptor[] descriptors = new FileDescriptor[kTestSize]; in testFileDescriptorArrayPassing()
561 FileDescriptor[] repeated = new FileDescriptor[kTestSize]; in testFileDescriptorArrayPassing()
562 FileDescriptor[] reversed = cpp_java_tests.ReverseFileDescriptorArray(descriptors, repeated); in testFileDescriptorArrayPassing()

12