Searched refs:UniqueFile (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/jni/ |
D | android_os_Debug.h | 32 using UniqueFile = std::unique_ptr<FILE, decltype(&safeFclose)>; variable 34 inline UniqueFile MakeUniqueFile(const char* path, const char* mode) { in MakeUniqueFile() 35 return UniqueFile(fopen(path, mode), safeFclose); in MakeUniqueFile()
|
D | android_os_Debug.cpp | 613 UniqueFile fp = MakeUniqueFile(BINDER_STATS, "re"); in read_binder_stat() 660 static bool openFile(JNIEnv* env, jobject fileDescriptor, UniqueFile& fp) in openFile() 697 UniqueFile fp(nullptr, safeFclose); in android_os_Debug_dumpNativeHeap() 719 UniqueFile fp(nullptr, safeFclose); in android_os_Debug_dumpNativeMallocInfo() 773 UniqueFile file = MakeUniqueFile(status_path.c_str(), "re"); in android_os_Debug_getFreeZramKb()
|
D | android_util_Process.cpp | 1113 UniqueFile file = MakeUniqueFile(status_path.c_str(), "re"); in android_os_Process_getRss()
|
/frameworks/native/services/vr/performanced/ |
D | cpu_set.h | 45 UniqueFile OpenPropertyFilePointer(const std::string& name) const; 48 UniqueFile OpenFilePointer(const std::string& name,
|
D | unique_file.h | 15 using UniqueFile = std::unique_ptr<FILE, FileDeleter>; variable
|
D | task.cpp | 71 UniqueFile Task::OpenTaskFilePointer(const std::string& name) const { in OpenTaskFilePointer() 80 UniqueFile fp(fdopen(fd.release(), "r")); in OpenTaskFilePointer()
|
D | cpu_set.cpp | 208 UniqueFile CpuSet::OpenPropertyFilePointer(const std::string& name) const { in OpenPropertyFilePointer() 218 UniqueFile CpuSet::OpenFilePointer(const std::string& name, int flags) const { in OpenFilePointer() 227 UniqueFile fp(fdopen(fd.release(), "r")); in OpenFilePointer()
|
D | performance_service_tests.cpp | 25 using android::dvr::UniqueFile; 34 std::pair<UniqueFile, int> OpenTaskFile(pid_t task_id, in OpenTaskFile() 39 UniqueFile file{fopen(stream.str().c_str(), "r")}; in OpenTaskFile() 46 UniqueFile file; in GetTaskCpuSet()
|
D | task.h | 68 UniqueFile OpenTaskFilePointer(const std::string& name) const;
|