/frameworks/native/cmds/atrace/ |
D | atrace.rc | 6 chmod 0222 /sys/kernel/debug/tracing/trace_marker 7 chmod 0222 /sys/kernel/tracing/trace_marker 10 write /proc/sys/kernel/sched_schedstats 1 14 chmod 0666 /sys/kernel/debug/tracing/trace_clock 15 chmod 0666 /sys/kernel/tracing/trace_clock 16 chmod 0666 /sys/kernel/debug/tracing/buffer_size_kb 17 chmod 0666 /sys/kernel/tracing/buffer_size_kb 18 chmod 0666 /sys/kernel/debug/tracing/options/overwrite 19 chmod 0666 /sys/kernel/tracing/options/overwrite 20 chmod 0666 /sys/kernel/debug/tracing/options/print-tgid [all …]
|
D | atrace_userdebug.rc | 11 chmod 0666 /sys/kernel/tracing/set_event 12 chmod 0666 /sys/kernel/debug/tracing/set_event 14 chmod 0666 /sys/kernel/tracing/events/workqueue/enable 15 chmod 0666 /sys/kernel/debug/tracing/events/workqueue/enable 16 chmod 0666 /sys/kernel/tracing/events/regulator/enable 17 chmod 0666 /sys/kernel/debug/tracing/events/regulator/enable 18 chmod 0666 /sys/kernel/tracing/events/filemap/enable 19 chmod 0666 /sys/kernel/debug/tracing/events/filemap/enable 22 chmod 0666 /sys/kernel/tracing/events/irq/enable 23 chmod 0666 /sys/kernel/debug/tracing/events/irq/enable [all …]
|
/frameworks/opt/net/wifi/service/ |
D | wifi-events.rc | 18 setprop sys.wifitracing.started 0 20 on property:sys.boot_completed=1 && property:sys.wifitracing.started=0 22 mkdir /sys/kernel/debug/tracing/instances/wifi 711 23 restorecon_recursive /sys/kernel/debug/tracing/instances/wifi 24 write /sys/kernel/debug/tracing/instances/wifi/tracing_on 0 25 write /sys/kernel/debug/tracing/instances/wifi/buffer_size_kb 1 26 write /sys/kernel/debug/tracing/instances/wifi/trace_options disable_on_free 28 mkdir /sys/kernel/tracing/instances/wifi 711 29 restorecon_recursive /sys/kernel/tracing/instances/wifi 30 write /sys/kernel/tracing/instances/wifi/tracing_on 0 [all …]
|
/frameworks/base/startop/scripts/app_startup/ |
D | query_compiler_filter_test.py | 38 import sys 50 old_stdout = sys.stdout 51 old_stderr = sys.stderr 53 sys.stdout = new_stdout 55 sys.stderr = new_stderr 59 sys.stdout = old_stdout 60 sys.stderr = old_stderr 68 old_argv = sys.argv 69 sys.argv = [sys.argv[0]] + argv 73 sys.argv = old_argv
|
D | app_startup_runner_test.py | 38 import sys 54 old_stdout = sys.stdout 55 old_stderr = sys.stderr 56 sys.stdout = io.StringIO() 57 sys.stderr = io.StringIO() 61 sys.stdout = old_stdout 62 sys.stderr = old_stderr
|
/frameworks/compile/mclinker/lib/Support/ |
D | FileSystem.cpp | 16 bool mcld::sys::fs::exists(const Path& pPath) { in exists() 17 mcld::sys::fs::FileStatus file_status; in exists() 18 mcld::sys::fs::detail::status(pPath, file_status); in exists() 19 return (file_status.type() != mcld::sys::fs::StatusError) && in exists() 20 (file_status.type() != mcld::sys::fs::FileNotFound); in exists() 23 bool mcld::sys::fs::is_directory(const Path& pPath) { in is_directory() 26 return (file_status.type() == mcld::sys::fs::DirectoryFile); in is_directory()
|
D | FileOutputBuffer.cpp | 15 FileOutputBuffer::FileOutputBuffer(llvm::sys::fs::mapped_file_region* pRegion, in FileOutputBuffer() 32 ec = llvm::sys::fs::resize_file(pFileHandle.handler(), pSize); in create() 36 std::unique_ptr<llvm::sys::fs::mapped_file_region> mapped_file( in create() 37 new llvm::sys::fs::mapped_file_region(pFileHandle.handler(), in create() 38 llvm::sys::fs::mapped_file_region::readwrite, pSize, 0, ec)); in create()
|
/frameworks/compile/mclinker/include/mcld/MC/ |
D | SearchDirs.h | 44 explicit SearchDirs(const sys::fs::Path& pSysRoot); 49 sys::fs::Path* find(const std::string& pNamespec, 52 const sys::fs::Path* find(const std::string& pNamespec, 55 void setSysRoot(const sys::fs::Path& pSysRoot) { m_SysRoot = pSysRoot; } in setSysRoot() 56 const sys::fs::Path& sysroot() const { return m_SysRoot; } in sysroot() 69 bool insert(const sys::fs::Path& pDirectory); 73 sys::fs::Path m_SysRoot;
|
D | CommandAction.h | 30 InputFileAction(unsigned int pPosition, const sys::fs::Path& pPath); 34 const sys::fs::Path& path() const { return m_Path; } in path() 39 sys::fs::Path m_Path; 61 BitcodeAction(unsigned int pPosition, const sys::fs::Path& pPath); 63 const sys::fs::Path& path() const { return m_Path; } in path() 68 sys::fs::Path m_Path;
|
D | Input.h | 51 const sys::fs::Path& pPath, 56 const sys::fs::Path& pPath, 67 const sys::fs::Path& path() const { return m_Path; } in path() 69 void setPath(const sys::fs::Path& pPath) { m_Path = pPath; } in setPath() 112 sys::fs::Path m_Path;
|
/frameworks/compile/mclinker/lib/MC/ |
D | MCLDDirectory.cpp | 30 sys::fs::detail::open_dir(*this); in MCLDDirectory() 44 sys::fs::detail::open_dir(*this); in MCLDDirectory() 58 sys::fs::detail::open_dir(*this); in MCLDDirectory() 72 sys::fs::detail::open_dir(*this); in assign() 73 Directory::m_FileStatus = sys::fs::FileStatus(); in assign() 74 Directory::m_SymLinkStatus = sys::fs::FileStatus(); in assign() 87 void MCLDDirectory::setSysroot(const sys::fs::Path& pSysroot) { in setSysroot() 93 sys::fs::detail::canonicalize(Directory::m_Path.native()); in setSysroot() 94 sys::fs::detail::open_dir(*this); in setSysroot()
|
D | SearchDirs.cpp | 34 SearchDirs::SearchDirs(const sys::fs::Path& pSysRoot) : m_SysRoot(pSysRoot) { in SearchDirs() 66 bool SearchDirs::insert(const sys::fs::Path& pPath) { in insert() 70 mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, in find() 107 if (mcld::sys::fs::detail::shared_library_extension == in find() 121 mcld::sys::fs::detail::static_library_extension == in find() 135 const mcld::sys::fs::Path* SearchDirs::find(const std::string& pNamespec, in find() 172 if (mcld::sys::fs::detail::shared_library_extension == in find() 186 mcld::sys::fs::detail::static_library_extension == in find()
|
D | ContextFactory.cpp | 18 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) { in ContextFactory() 24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { in produce() 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); in produce() 35 return produce(sys::fs::Path(pPath)); in produce()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | RealPath.h | 16 namespace sys { 52 struct less<mcld::sys::fs::RealPath> 53 : public binary_function<mcld::sys::fs::RealPath, 54 mcld::sys::fs::RealPath, 56 bool operator()(const mcld::sys::fs::RealPath& pX, 57 const mcld::sys::fs::RealPath& pY) const {
|
D | Directory.h | 21 namespace sys { 32 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache( 90 mcld::sys::fs::Path m_Path; 95 mcld::sys::fs::PathCache m_Cache; 110 friend mcld::sys::fs::PathCache::entry_type* detail::bring_one_into_cache( 115 typedef mcld::sys::fs::PathCache DirCache;
|
D | Path.h | 26 namespace sys { 159 struct less<mcld::sys::fs::Path> 160 : public binary_function<mcld::sys::fs::Path, mcld::sys::fs::Path, bool> { 161 bool operator()(const mcld::sys::fs::Path& pX, 162 const mcld::sys::fs::Path& pY) const {
|
/frameworks/native/opengl/tools/glgen2/registry/ |
D | genheaders.py | 24 import sys, time, pdb, string, cProfile 49 while (i < len(sys.argv)): 50 arg = sys.argv[i] 53 write('Enabling debug (-debug)', file=sys.stderr) 56 write('Enabling dump (-dump)', file=sys.stderr) 59 write('Disabling inclusion protection in output headers', file=sys.stderr) 62 write('Enabling profiling (-profile)', file=sys.stderr) 65 regFilename = sys.argv[i] 67 write('Using registry ', regFilename, file=sys.stderr) 69 write('Enabling timing (-time)', file=sys.stderr) [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 33 import sys 707 print >> sys.stderr, ('Usage: {} [forward] [backward] [backward19] [help|-h|--help]\n' 708 .format(sys.argv[0])) 709 print >> sys.stderr, ('[forward]: write forward compatibility Makefile to\n {}\n' 711 print >> sys.stderr, ('[backward]: write backward compatibility Java file to\n {}\n' 713 print >> sys.stderr, ('[backward19]: write backward compatibility Java file (19) to\n {}\n' 715 print >> sys.stderr, ('[backward19]: write backward compatibility Makefile (19) to\n {}\n' 717 print >> sys.stderr, ('[supportlib]: generate support lib unit tests to\n {}\n' 719 print >> sys.stderr, ('[supportlib19]: generate support lib Makefile (19) to\n {}\n' 721 print >> sys.stderr, 'if no options are chosen, then all files are generated' [all …]
|
/frameworks/native/opengl/tools/glgen2/ |
D | glgen.py | 22 import sys 27 regpath = os.path.join(sys.path[0], "registry") 28 if sys.path[1] != regpath: 29 sys.path.insert(1, regpath) 117 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None) 142 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None) 213 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None)
|
/frameworks/base/services/tests/ |
D | runtests.py | 19 import sys 75 if len(sys.argv) != 1: 77 (' '.join(sys.argv[1:]), runner)) 90 sys.exit(main())
|
/frameworks/base/tools/aapt2/tools/ |
D | fix_resources.py | 10 import sys 57 if len(sys.argv) < 2: 58 print >> sys.stderr, "please specify a path to a resource directory" 59 sys.exit(1) 61 res_path = os.path.abspath(sys.argv[1])
|
/frameworks/rs/tests/lldb/tests/ |
D | run_test.py | 21 import sys 177 sys.stdout.flush() 197 sys.stdout.flush() 198 sys.exit(num) 266 sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', 0) 386 print('Internal test suite error', file=sys.stderr) 398 print(error, file=sys.stderr) 409 file=sys.stderr) 421 print(' '.join(sys.argv))
|
/frameworks/base/libs/hwui/tests/scripts/ |
D | process_systrace.py | 3 import codecs, httplib, json, os, urllib, shutil, subprocess, sys, argparse 7 script_dir = os.path.dirname(os.path.abspath(sys.argv[0])) 27 sys.exit(1) 33 sys.exit(os.system(run_command))
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | System.inc | 14 #include <sys/types.h> 15 #include <sys/stat.h> 19 namespace sys { 49 } // namespace sys
|
/frameworks/compile/libbcc/lib/ |
D | CompilerConfig.cpp | 39 if (llvm::sys::getHostCPUFeatures(features)) { in AddX86NativeCPUFeatures() 110 llvm::sys::getHostCPUFeatures(features); in initializeArch() 157 setCPU(llvm::sys::getHostCPUName()); in initializeArch() 171 setCPU(llvm::sys::getHostCPUName()); in initializeArch() 199 setCPU(llvm::sys::getHostCPUName()); in initializeArch() 212 setCPU(llvm::sys::getHostCPUName()); in initializeArch()
|