Home
last modified time | relevance | path

Searched refs:dirname (Results 1 – 25 of 35) sorted by relevance

12

/system/netd/server/
DInterfaceController.cpp53 const char* dirname, const char* subdirname, const char* basename, in writeValueToPath() argument
55 std::string path(StringPrintf("%s/%s/%s", dirname, subdirname, basename)); in writeValueToPath()
59 void setOnAllInterfaces(const char* dirname, const char* basename, const char* value) { in setOnAllInterfaces() argument
61 writeValueToPath(dirname, "default", basename, value); in setOnAllInterfaces()
64 DIR* dir = opendir(dirname); in setOnAllInterfaces()
66 ALOGE("Can't list %s: %s", dirname, strerror(errno)); in setOnAllInterfaces()
74 writeValueToPath(dirname, d->d_name, basename, value); in setOnAllInterfaces()
/system/extras/verity/
Dverity_verifier5 VERITYVERIFIER_HOME=`dirname "$0"`
6 VERITYVERIFIER_HOME=`dirname "$VERITYVERIFIER_HOME"`
Dboot_signer5 BOOTSIGNER_HOME=`dirname "$0"`
6 BOOTSIGNER_HOME=`dirname "$BOOTSIGNER_HOME"`
Dkeystore_signer5 KEYSTORESIGNER_HOME=`dirname "$0"`
6 KEYSTORESIGNER_HOME=`dirname "$KEYSTORESIGNER_HOME"`
Dverity_signer5 VERITYSIGNER_HOME=`dirname "$0"`
6 VERITYSIGNER_HOME=`dirname "$VERITYSIGNER_HOME"`
/system/core/debuggerd/
Dgetevent.cpp105 static int read_notify(const char* dirname, int nfd) { in read_notify() argument
122 strcpy(devname, dirname); in read_notify()
143 static int scan_dir(const char* dirname) { in scan_dir() argument
148 dir = opendir(dirname); in scan_dir()
151 strcpy(devname, dirname); in scan_dir()
/system/extras/ext4_utils/
Dext4_crypt.cpp72 static bool is_dir_empty(const char *dirname, bool *is_empty) in is_dir_empty() argument
75 auto dirp = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(dirname), closedir); in is_dir_empty()
77 PLOG(ERROR) << "Unable to read directory: " << dirname; in is_dir_empty()
85 PLOG(ERROR) << "Unable to read directory: " << dirname; in is_dir_empty()
/system/extras/tests/net_test/
Drun_net_test.sh51 cd $(dirname $0)
120 dir=/host$(dirname $(readlink -f $0))
123 exec $KERNEL_BINARY umid=net_test ubda=$(dirname $0)/$ROOTFS \
Dping6_test.sh16 $(dirname $0)/ping6_test.py
/system/core/toolbox/
Dgetevent.c281 const char *dirname = "/sys/kernel/debug/hid"; in print_hid_descriptor() local
291 dir = opendir(dirname); in print_hid_descriptor()
296 snprintf(filename, sizeof(filename), "%s/%s/rdesc", dirname, de->d_name); in print_hid_descriptor()
432 static int read_notify(const char *dirname, int nfd, int print_flags) in read_notify() argument
451 strcpy(devname, dirname); in read_notify()
474 static int scan_dir(const char *dirname, int print_flags) in scan_dir() argument
480 dir = opendir(dirname); in scan_dir()
483 strcpy(devname, dirname); in scan_dir()
/system/extras/simpleperf/
Ddso.cpp92 std::string dirname = symfs_dir; in SetSymFsDir() local
93 if (!dirname.empty()) { in SetSymFsDir()
94 if (dirname.back() != '/') { in SetSymFsDir()
95 dirname.push_back('/'); in SetSymFsDir()
105 symfs_dir_ = dirname; in SetSymFsDir()
/system/core/init/
Dueventd.h33 const char *dirname; member
Dueventd_keywords.h9 KEYWORD(dirname, OPTION, 1)
Dueventd_parser.cpp117 s->dirname = "/dev"; in parse_subsystem()
145 s->dirname = args[1]; in parse_line_subsystem()
Ddevices.cpp617 static bool assemble_devpath(char *devpath, const char *dirname, in assemble_devpath() argument
620 int s = snprintf(devpath, DEVPATH_LEN, "%s/%s", dirname, devname); in assemble_devpath()
627 dirname, devname, DEVPATH_LEN); in assemble_devpath()
676 if (!assemble_devpath(devpath, subsystem->dirname, devname)) in handle_generic_device_event()
/system/update_engine/include/
Dupdate_includes.sh20 MY_DIR=$(dirname "$0")
/system/connectivity/shill/bin/
Dtest_set_wifi_regulatory38 . $(dirname $0)/set_wifi_regulatory
Dreload_network_device48 if [ $(basename $(dirname "${DEVPATH}")) != 'net' ] ; then
/system/extras/systrace_analysis/
Danalyze_trace.py30 this_script_path = os.path.dirname(os.path.realpath(__file__))
/system/extras/latencytop/
Dlatencytop.c203 char dirname[MAX_FILENAME]; in read_process_stats() local
209 sprintf(dirname, "/proc/%d/task", pid); in read_process_stats()
210 dir = opendir(dirname); in read_process_stats()
/system/extras/tests/workloads/
Dfeedly-chrome.sh14 CMDDIR=$(dirname $0 2>/dev/null)
Dyoutube.sh29 CMDDIR=$(dirname $0 2>/dev/null)
Dchromefling.sh37 CMDDIR=$(dirname $0 2>/dev/null)
Drecentfling.sh38 CMDDIR=$(dirname $0 2>/dev/null)
Dpwrsummary.sh15 CMDDIR=$(dirname $0 2>/dev/null)

12