Home
last modified time | relevance | path

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

12345678910>>...28

/frameworks/base/core/java/android/os/
DNativeHandle.java28 import java.io.FileDescriptor;
40 private FileDescriptor[] mFds;
48 this(new FileDescriptor[0], new int[0], false); in NativeHandle()
55 public NativeHandle(@NonNull FileDescriptor descriptor, boolean own) { in NativeHandle()
56 this(new FileDescriptor[] {descriptor}, new int[0], own); in NativeHandle()
64 private static FileDescriptor[] createFileDescriptorArray(@NonNull int[] fds) { in createFileDescriptorArray()
65 FileDescriptor[] list = new FileDescriptor[fds.length]; in createFileDescriptorArray()
67 FileDescriptor descriptor = new FileDescriptor(); in createFileDescriptorArray()
89 public NativeHandle(@NonNull FileDescriptor[] fds, @NonNull int[] ints, boolean own) { in NativeHandle()
114 FileDescriptor[] fds = new FileDescriptor[mFds.length]; in dup()
[all …]
DParcelFileDescriptor.java53 import java.io.FileDescriptor;
71 private final FileDescriptor mFd;
77 private FileDescriptor mCommFd;
183 public ParcelFileDescriptor(FileDescriptor fd) { in ParcelFileDescriptor()
188 public ParcelFileDescriptor(FileDescriptor fd, FileDescriptor commChannel) { in ParcelFileDescriptor()
220 final FileDescriptor fd = openInternal(file, mode); in open()
253 final FileDescriptor fd = openInternal(file, mode); in open()
262 final FileDescriptor original = new FileDescriptor(); in fromPfd()
268 public static ParcelFileDescriptor fromFd(FileDescriptor fd, Handler handler, in fromFd()
277 final FileDescriptor[] comm = createCommSocketPair(); in fromFd()
[all …]
DFileBridge.java32 import java.io.FileDescriptor;
61 private FileDescriptor mTarget;
63 private final FileDescriptor mServer = new FileDescriptor();
64 private final FileDescriptor mClient = new FileDescriptor();
87 public void setTargetFile(FileDescriptor target) { in setTargetFile()
91 public FileDescriptor getClientSocket() { in getClientSocket()
138 private final FileDescriptor mClient;
146 public FileBridgeOutputStream(FileDescriptor client) { in FileBridgeOutputStream()
DIBinder.java23 import java.io.FileDescriptor;
216 public void dump(@NonNull FileDescriptor fd, @Nullable String[] args) throws RemoteException; in dump()
226 public void dumpAsync(@NonNull FileDescriptor fd, @Nullable String[] args) in dumpAsync()
241 public void shellCommand(@Nullable FileDescriptor in, @Nullable FileDescriptor out, in shellCommand()
242 @Nullable FileDescriptor err, in shellCommand()
DSharedMemory.java29 import java.io.FileDescriptor;
41 private final FileDescriptor mFileDescriptor;
46 private SharedMemory(FileDescriptor fd) { in SharedMemory()
146 public @NonNull FileDescriptor getFileDescriptor() { in getFileDescriptor()
279 FileDescriptor descriptor = source.readRawFileDescriptor();
293 private FileDescriptor mFd;
296 private Closer(FileDescriptor fd, MemoryRegistration memoryReference) { in Closer()
362 private static native FileDescriptor nCreate(String name, int size) throws ErrnoException; in nCreate()
363 private static native int nGetSize(FileDescriptor fd); in nGetSize()
364 private static native int nSetProt(FileDescriptor fd, int prot); in nSetProt()
DShellCommand.java25 import java.io.FileDescriptor;
41 private FileDescriptor mIn;
42 private FileDescriptor mOut;
43 private FileDescriptor mErr;
60 public void init(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, in init()
80 public int exec(Binder target, FileDescriptor in, FileDescriptor out, FileDescriptor err, in exec()
151 public FileDescriptor getOutFileDescriptor() { in getOutFileDescriptor()
178 public FileDescriptor getErrFileDescriptor() { in getErrFileDescriptor()
208 public FileDescriptor getInFileDescriptor() { in getInFileDescriptor()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DFileDescriptor.cs44 public sealed class FileDescriptor : IDescriptor class
46 …private FileDescriptor(ByteString descriptorData, FileDescriptorProto proto, FileDescriptor[] depe… in FileDescriptor() method in Google.Protobuf.Reflection.FileDescriptor
51 … Dependencies = new ReadOnlyCollection<FileDescriptor>((FileDescriptor[]) dependencies.Clone()); in FileDescriptor()
90 …private static IList<FileDescriptor> DeterminePublicDependencies(FileDescriptor @this, FileDescrip…
92 var nameToFileMap = new Dictionary<string, FileDescriptor>();
97 var publicDependencies = new List<FileDescriptor>();
106 FileDescriptor file = nameToFileMap[name];
120 return new ReadOnlyCollection<FileDescriptor>(publicDependencies);
157 public IList<FileDescriptor> Dependencies { get; }
162 public IList<FileDescriptor> PublicDependencies { get; }
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h169 return message->file()->syntax() != FileDescriptor::SYNTAX_PROTO3; in PreserveUnknownFields()
174 const FileDescriptor* file, const Options& options);
180 inline bool UseUnknownFieldSet(const FileDescriptor* file, in UseUnknownFieldSet()
188 bool HasMapFields(const FileDescriptor* file);
191 bool HasEnumDefinitions(const FileDescriptor* file);
195 inline bool HasGeneratedMethods(const FileDescriptor* file, in HasGeneratedMethods()
201 inline bool HasDescriptorMethods(const FileDescriptor* file, in HasDescriptorMethods()
207 inline bool HasGenericServices(const FileDescriptor* file, in HasGenericServices()
217 inline bool HasFastArraySerialization(const FileDescriptor* file, in HasFastArraySerialization()
223 bool StaticInitializersForced(const FileDescriptor* file,
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_name_resolver.h44 class FileDescriptor; variable
59 string GetFileClassName(const FileDescriptor* file, bool immutable);
61 string GetFileImmutableClassName(const FileDescriptor* file);
64 string GetFileDefaultImmutableClassName(const FileDescriptor* file);
68 bool HasConflictingClassName(const FileDescriptor* file,
75 string GetDescriptorClassName(const FileDescriptor* file);
81 string GetClassName(const FileDescriptor* descriptor, bool immutable);
106 const FileDescriptor* file,
112 const FileDescriptor* file,
115 map<const FileDescriptor*, string> file_immutable_outer_class_names_;
Djava_helpers.h89 string FileClassName(const FileDescriptor* file, bool immutable = true);
92 string FileJavaPackage(const FileDescriptor* file, bool immutable = true);
103 const FileDescriptor* file);
112 string ClassName(const FileDescriptor* descriptor);
138 const FileDescriptor* descriptor, bool immutable) { in MultipleJavaFiles()
232 inline bool HasDescriptorMethods(const FileDescriptor* descriptor, in HasDescriptorMethods()
239 inline bool HasGenericServices(const FileDescriptor *file, bool enforce_lite) { in HasGenericServices()
347 inline bool SupportFieldPresence(const FileDescriptor* descriptor) { in SupportFieldPresence()
348 return descriptor->syntax() != FileDescriptor::SYNTAX_PROTO3; in SupportFieldPresence()
352 inline bool ExposePublicParser(const FileDescriptor* descriptor) { in ExposePublicParser()
[all …]
Djava_name_resolver.cc55 const FileDescriptor* file) { in StripPackageName()
120 const FileDescriptor* file) { in GetFileDefaultImmutableClassName()
132 const FileDescriptor* file) { in GetFileImmutableClassName()
147 string ClassNameResolver::GetFileClassName(const FileDescriptor* file, in GetFileClassName()
159 const FileDescriptor* file, const string& classname) { in HasConflictingClassName()
179 const FileDescriptor* descriptor) { in GetDescriptorClassName()
183 string ClassNameResolver::GetClassName(const FileDescriptor* descriptor, in GetClassName()
194 const FileDescriptor* file, in GetClassFullName()
234 const FileDescriptor* file, in GetJavaClassFullName()
/frameworks/base/core/java/android/net/
DLocalSocketImpl.java27 import java.io.FileDescriptor;
45 private FileDescriptor fd;
52 FileDescriptor[] inboundFileDescriptors;
55 FileDescriptor[] outboundFileDescriptors;
65 FileDescriptor myFd = fd; in available()
88 FileDescriptor myFd = fd; in read()
106 FileDescriptor myFd = fd; in read()
141 FileDescriptor myFd = fd; in write()
155 FileDescriptor myFd = fd; in write()
169 FileDescriptor myFd = fd; in flush()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor.h82 class FileDescriptor; variable
189 const FileDescriptor* file() const;
387 const FileDescriptor* file_;
423 friend class FileDescriptor; variable
515 const FileDescriptor* file() const;// File in which this field was defined.
688 const FileDescriptor* file_;
729 friend class FileDescriptor; variable
819 const FileDescriptor* file() const;
894 const FileDescriptor* file_;
915 friend class FileDescriptor; variable
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java43 import com.google.protobuf.Descriptors.FileDescriptor;
92 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
474 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException()
475 new FileDescriptor[0]); in testDescriptorValidatorException()
514 FileDescriptor file = in testDescriptorComplexCrosslink()
515 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorComplexCrosslink()
516 new FileDescriptor[0]); in testDescriptorComplexCrosslink()
551 FileDescriptor fooFile = Descriptors.FileDescriptor.buildFrom(fooProto, in testDependencyOrder()
552 new FileDescriptor[0]); in testDependencyOrder()
553 FileDescriptor barFile = Descriptors.FileDescriptor.buildFrom(barProto, in testDependencyOrder()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DDescriptors.java34 import com.google.protobuf.Descriptors.FileDescriptor.Syntax;
75 public static final class FileDescriptor extends GenericDescriptor { class in Descriptors
90 public FileDescriptor getFile() { in getFile()
131 public List<FileDescriptor> getDependencies() { in getDependencies()
136 public List<FileDescriptor> getPublicDependencies() { in getPublicDependencies()
266 public static FileDescriptor buildFrom(final FileDescriptorProto proto, in buildFrom()
267 final FileDescriptor[] dependencies) in buildFrom()
287 public static FileDescriptor buildFrom( in buildFrom()
288 final FileDescriptorProto proto, final FileDescriptor[] dependencies, in buildFrom()
302 final FileDescriptor result = new FileDescriptor( in buildFrom()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Ddescriptor_containers.h43 class FileDescriptor; variable
87 PyObject* NewFileMessageTypesByName(const FileDescriptor* descriptor);
89 PyObject* NewFileEnumTypesByName(const FileDescriptor* descriptor);
91 PyObject* NewFileExtensionsByName(const FileDescriptor* descriptor);
93 PyObject* NewFileServicesByName(const FileDescriptor* descriptor);
95 PyObject* NewFileDependencies(const FileDescriptor* descriptor);
96 PyObject* NewFilePublicDependencies(const FileDescriptor* descriptor);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java40 import com.google.protobuf.Descriptors.FileDescriptor;
92 FileDescriptor file = UnittestProto.getDescriptor(); in testFileDescriptor()
452 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorValidatorException()
453 new FileDescriptor[0]); in testDescriptorValidatorException()
492 FileDescriptor file = in testDescriptorComplexCrosslink()
493 Descriptors.FileDescriptor.buildFrom(fileDescriptorProto, in testDescriptorComplexCrosslink()
494 new FileDescriptor[0]); in testDescriptorComplexCrosslink()
523 FileDescriptor fooFile = Descriptors.FileDescriptor.buildFrom(fooProto, in testInvalidPublicDependency()
524 new FileDescriptor[0]); in testInvalidPublicDependency()
526 Descriptors.FileDescriptor.buildFrom(barProto, in testInvalidPublicDependency()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.h73 string FilePath(const FileDescriptor* file);
76 string FilePathBasename(const FileDescriptor* file);
81 string FileClassName(const FileDescriptor* file);
111 inline bool HasFieldPresence(const FileDescriptor* file) { in HasFieldPresence()
112 return file->syntax() != FileDescriptor::SYNTAX_PROTO3; in HasFieldPresence()
115 inline bool HasPreservingUnknownEnumSemantics(const FileDescriptor* file) { in HasPreservingUnknownEnumSemantics()
116 return file->syntax() == FileDescriptor::SYNTAX_PROTO3; in HasPreservingUnknownEnumSemantics()
184 bool IsProtobufLibraryBundledProtoFile(const FileDescriptor* file);
189 bool ValidateObjCClassPrefix(const FileDescriptor* file,
/frameworks/base/core/tests/coretests/src/android/os/
DRedactingFileDescriptorTest.java38 import java.io.FileDescriptor;
66 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte()
82 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges()
104 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile()
117 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testReadWrite()
174 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtStart()
186 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtOffset()
198 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionStart()
210 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionEnd()
222 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeOutsideRedaction()
[all …]
/frameworks/opt/gamesdk/samples/tuningfork/prototest/src/
Ddynamicproto.cc46 void fileDescriptorDependencies(const FileDescriptor* fdesc, in fileDescriptorDependencies()
47 std::vector<const FileDescriptor*>& result) { in fileDescriptorDependencies()
59 std::vector<const FileDescriptor*>
61 std::vector<const FileDescriptor*> result; in fileDescriptors()
63 const FileDescriptor* fdesc = importer->Import(file_name); in fileDescriptors()
73 void extensionsOf(const FileDescriptor* desc, const std::string& full_name, in extensionsOf()
90 std::vector<const EnumDescriptor*> enums(const FileDescriptor* extDesc) { in enums()
116 Message* newMessage(const FileDescriptor* fdesc, const std::string& name) { in newMessage()
Ddynamicproto.h18 std::vector<const FileDescriptor*> fileDescriptors(const std::string& file_name);
21 void extensionsOf(const FileDescriptor* desc,
26 std::vector<const EnumDescriptor*> enums(const FileDescriptor* desc);
33 Message* newMessage(const FileDescriptor* desc, const std::string& message_type);
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/js/
Djs_generator.h46 class FileDescriptor; variable
98 virtual bool Generate(const FileDescriptor* file, in Generate()
108 virtual bool GenerateAll(const vector<const FileDescriptor*>& files,
120 const vector<const FileDescriptor*>& file,
124 const FileDescriptor* file,
151 const vector<const FileDescriptor*>& files,
185 const FileDescriptor* file) const;
191 const vector<const FileDescriptor*>& file) const;
195 const FileDescriptor* root,
196 std::set<const FileDescriptor*>* all_files,
[all …]
/frameworks/base/core/java/com/android/server/
DNetworkManagementSocketTagger.java26 import java.io.FileDescriptor;
75 public void tag(FileDescriptor fd) throws SocketException { in tag()
88 private void tagSocketFd(FileDescriptor fd, int tag, int uid) { in tagSocketFd()
102 public void untag(FileDescriptor fd) throws SocketException { in untag()
109 private void unTagSocketFd(FileDescriptor fd) { in unTagSocketFd()
158 private static native int native_tagSocketFd(FileDescriptor fd, int tag, int uid); in native_tagSocketFd()
159 private static native int native_untagSocketFd(FileDescriptor fd); in native_untagSocketFd()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dcommand_line_interface.h54 class FileDescriptor; // descriptor.h variable
238 bool GenerateOutput(const vector<const FileDescriptor*>& parsed_files,
241 bool GeneratePluginOutput(const vector<const FileDescriptor*>& parsed_files,
251 bool WriteDescriptorSet(const vector<const FileDescriptor*> parsed_files);
255 const vector<const FileDescriptor*>& parsed_files,
269 const FileDescriptor* file,
272 set<const FileDescriptor*>* already_seen,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/csharp/
Dcsharp_names.h48 class FileDescriptor; variable
59 string GetFileNamespace(const FileDescriptor* descriptor);
75 string GetReflectionClassName(const FileDescriptor* descriptor);
92 const google::protobuf::FileDescriptor* descriptor,

12345678910>>...28