/system/extras/verity/ |
D | verity_signer | 5 VERITYSIGNER_HOME=`dirname "$0"` 6 VERITYSIGNER_HOME=`dirname "$VERITYSIGNER_HOME"`
|
D | boot_signer | 5 BOOTSIGNER_HOME=`dirname "$0"` 6 BOOTSIGNER_HOME=`dirname "$BOOTSIGNER_HOME"`
|
/system/extras/libfscrypt/ |
D | fscrypt.cpp | 62 static void log_ls(const char* dirname) { in log_ls() argument 63 std::array<const char*, 3> argv = {"ls", "-laZ", dirname}; in log_ls() 91 static bool is_dir_empty(const char *dirname, bool *is_empty) in is_dir_empty() argument 94 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty() 96 PLOG(ERROR) << "Unable to read directory: " << dirname; in is_dir_empty() 104 PLOG(ERROR) << "Unable to read directory: " << dirname; in is_dir_empty()
|
/system/extras/simpleperf/scripts/ |
D | update.py | 26 THIS_DIR = os.path.realpath(os.path.dirname(__file__)) 148 dirname = os.path.dirname(install_path) 149 if not os.path.isdir(dirname): 150 os.makedirs(dirname)
|
D | inferno.sh | 2 SCRIPTPATH=$(dirname "$0")
|
D | utils.py | 33 return os.path.dirname(os.path.realpath(__file__)) 100 dirname = os.path.join(get_script_dir(), 'bin') 106 dirname = os.path.join(dirname, 'windows') 110 dirname = os.path.join(dirname, 'darwin') 112 dirname = os.path.join(dirname, 'linux') 113 dirname = os.path.join(dirname, 'x86_64' if sys.maxsize > 2 ** 32 else 'x86') 114 binary_path = os.path.join(dirname, binary_name)
|
D | test.py | 209 self.check_exist(dirname="binary_cache") 211 def check_exist(self, filename=None, dirname=None): argument 214 if dirname: 215 self.assertTrue(os.path.isdir(dirname), dirname) 217 def check_file_under_dir(self, dirname, filename): argument 218 self.check_exist(dirname=dirname) 219 for _, _, files in os.walk(dirname): 223 self.fail("Failed to call check_file_under_dir(dir=%s, file=%s)" % (dirname, filename)) 281 self.check_exist(dirname="binary_cache") 298 self.check_exist(dirname="annotated_files") [all …]
|
/system/libufdt/tests/ |
D | verify_dto_inc.sh | 46 OVERLAY_DTS_DIR=`dirname "$OVERLAY_DTS"` 53 BASE_DTS_DIR=`dirname "$BASE_DTS"`
|
/system/core/rootdir/ |
D | ueventd.rc | 6 dirname /dev/graphics 10 dirname /dev/dri 14 dirname /dev/input 18 dirname /dev/snd
|
/system/tools/aidl/ |
D | io_delegate.cpp | 203 static void add_list_files(const string& dirname, vector<string>* result) { in add_list_files() argument 205 std::unique_ptr<DIR, decltype(&closedir)> dir(opendir(dirname.c_str()), closedir); in add_list_files() 212 result->emplace_back(dirname + OS_PATH_SEPARATOR + ent->d_name); in add_list_files() 214 add_list_files(dirname + OS_PATH_SEPARATOR + ent->d_name, result); in add_list_files()
|
/system/netd/server/ |
D | InterfaceController.cpp | 114 const char* dirname, const char* subdirname, const char* basename, in writeValueToPath() argument 116 std::string path(StringPrintf("%s/%s/%s", dirname, subdirname, basename)); in writeValueToPath() 122 const std::string& dirname, in forEachInterface() argument 125 fn(dirname, "default"); in forEachInterface() 126 DIR* dir = opendir(dirname.c_str()); in forEachInterface() 128 ALOGE("Can't list %s: %s", dirname.c_str(), strerror(errno)); in forEachInterface() 139 fn(dirname, ent->d_name); in forEachInterface() 144 void setOnAllInterfaces(const char* dirname, const char* basename, const char* value) { in setOnAllInterfaces() argument 148 forEachInterface(dirname, fn); in setOnAllInterfaces()
|
/system/extras/postinst/ |
D | postinst.sh | 53 my_dir=$(dirname "$0")
|
/system/core/toolbox/ |
D | getevent.c | 280 const char *dirname = "/sys/kernel/debug/hid"; in print_hid_descriptor() local 290 dir = opendir(dirname); in print_hid_descriptor() 295 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); in print_hid_descriptor() 431 static int read_notify(const char *dirname, int nfd, int print_flags) in read_notify() argument 450 strcpy(devname, dirname); in read_notify() 473 static int scan_dir(const char *dirname, int print_flags) in scan_dir() argument 479 dir = opendir(dirname); in scan_dir() 482 strcpy(devname, dirname); in scan_dir()
|
/system/core/trusty/storage/proxy/ |
D | storage.h | 42 int storage_init(const char *dirname);
|
D | storage.c | 468 int storage_init(const char *dirname) in storage_init() argument 476 ssdir_fd = open(dirname, O_RDONLY); in storage_init() 479 dirname, strerror(errno)); in storage_init() 482 ssdir_name = dirname; in storage_init()
|
/system/sepolicy/build/ |
D | file_utils.py | 28 parent_dir = os.path.dirname(file_path)
|
/system/extras/systrace_analysis/ |
D | analyze_trace.py | 30 this_script_path = os.path.dirname(os.path.realpath(__file__))
|
/system/tools/hidl/ |
D | update-makefiles-helper.sh | 38 find . -type f -name \*.hal -exec dirname {} \; | sort -u | \
|
/system/bt/test/ |
D | run_host_unit_tests.py | 44 def check_dir_exists(dir, dirname): argument 46 print "Couldn't find %s (%s)!" % (dirname, dir)
|
/system/extras/simpleperf/ |
D | gtest_main.cpp | 73 testdata_dir = std::string(dirname(argv[0])) + "/testdata"; in main()
|
/system/extras/tests/workloads/ |
D | feedly-chrome.sh | 14 CMDDIR=$(dirname $0 2>/dev/null)
|
D | youtube.sh | 29 CMDDIR=$(dirname $0 2>/dev/null)
|
D | chromefling.sh | 37 CMDDIR=$(dirname $0 2>/dev/null)
|
/system/extras/simpleperf/scripts/inferno/ |
D | inferno.py | 40 SCRIPTS_PATH = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) 157 with open(os.path.join(os.path.dirname(__file__), local_path), 'r') as f:
|
/system/extras/latencytop/ |
D | latencytop.c | 201 char dirname[MAX_FILENAME]; in read_process_stats() local 207 sprintf(dirname, "/proc/%d/task", pid); in read_process_stats() 208 dir = opendir(dirname); in read_process_stats()
|