Home
last modified time | relevance | path

Searched refs:FileDescriptorAllowlist (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/core/jni/
H A Dfd_utils.h48 class FileDescriptorAllowlist {
51 static FileDescriptorAllowlist* Get();
63 FileDescriptorAllowlist();
65 static FileDescriptorAllowlist* instance_;
69 DISALLOW_COPY_AND_ASSIGN(FileDescriptorAllowlist);
H A Dfd_utils.cpp55 FileDescriptorAllowlist* FileDescriptorAllowlist::Get() { in Get()
57 instance_ = new FileDescriptorAllowlist(); in Get()
66 bool FileDescriptorAllowlist::IsAllowed(const std::string& path) const { in IsAllowed()
168 FileDescriptorAllowlist::FileDescriptorAllowlist() : allowlist_() {} in FileDescriptorAllowlist() function in FileDescriptorAllowlist
170 FileDescriptorAllowlist* FileDescriptorAllowlist::instance_ = nullptr;
224 const FileDescriptorAllowlist* allowlist = FileDescriptorAllowlist::Get(); in CreateFromFd()
H A Dcom_android_internal_os_Zygote.cpp2554 FileDescriptorAllowlist::Get()->Allow(path_cstr); in com_android_internal_os_Zygote_nativeAllowFileAcrossFork()